How to find union of two SURFPOINTS variables?

1 Ansicht (letzte 30 Tage)
soumyajit datta
soumyajit datta am 25 Apr. 2019
Bearbeitet: Qu Cao am 19 Nov. 2019
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

Antworten (1)

Qu Cao
Qu Cao am 19 Nov. 2019
Bearbeitet: Qu Cao am 19 Nov. 2019
surf3 = union(surf1, surf2, 'rows');

Community Treasure Hunt

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

Start Hunting!

Translated by