How to find union of two SURFPOINTS variables?

1 次查看(过去 30 天)
I have SURFPOINTS variables
surf1=detectSURFFeatures(Img1);
surf2=detectSURFFeatures(Img2);
How to find UNION of the two surfpoints surf1 & surf2 so that i get an object which is contains all surf features from both images and no repetition of features occur.
The straight forward union function is not working in case of surfpoints
surf3=union(surf1,surf2)
is throwing up error that sort feature is not aplicable for surfpoints object

回答(1 个)

Qu Cao
Qu Cao 2019-11-19
编辑:Qu Cao 2019-11-19
surf3 = union(surf1, surf2, 'rows');

类别

Help CenterFile Exchange 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by