Can I explicitly define the size of "points" matrix returned by detectSURFFeatures function?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sai Kumar Dwivedi
am 12 Mär. 2015
Kommentiert: Dima Lisin
am 12 Mär. 2015
I am using ORL dataset for face recognition. For feature extraction I am using inbuilt function detectSURFFeatures. But the function returns different size of points matrix for different image. Is there any way I can explicitly restrict the size of points matrix it returns.
points = detectSURFFeatures(I);
% The points matrix is different for different image.
0 Kommentare
Akzeptierte Antwort
Dima Lisin
am 12 Mär. 2015
Hi Sai,
No, there is no way to explicitly restrict the number of points in the detectSURFFeatures function itself. The number of points it returns depends on the content of the image and the parameters, such as 'MetricThreshold'. However, you can limit the number of points after the fact. For example, you can use the selectStrongest method of the returned SURFPoints object to get the n strongest features.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Computer Vision with Simulink finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!