How to find union of two SURFPOINTS variables?

1 vue (au cours des 30 derniers jours)
soumyajit datta
soumyajit datta le 25 Avr 2019
Modifié(e) : Qu Cao le 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

Réponses (1)

Qu Cao
Qu Cao le 19 Nov 2019
Modifié(e) : Qu Cao le 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