How to extract SURF features from more than two images i.e. from a folder of facial images?

1 次查看(过去 30 天)
I had tried the basic SURF features extraction using steps from MATLAB documentation. It works on two images, now i want to extract surf features from more images i.e. a folder of image. And how to get extracted features??
Thank you..
I want to extract features from folder of facial images using SURF descriptor.I tried with the below code but I'm getting error " _Subscripted assignment dimension mismatch.
Error in t8 (line 11) [features(:,i), valid_points(:,i)] = extractFeatures(I1, points1);"

采纳的回答

Image Analyst
Image Analyst 2016-9-25
Regarding your new/edited question....
Just use normal debugging techniques, like assigning the outputs to variables:
[out1, out2] = extractFeatures(I1, points1);
Now, see if out1 has the same number of rows as features, and if out2 has the same number of rows as valid_points. Really, it's just standard debugging techniques.

更多回答(1 个)

Image Analyst
Image Analyst 2016-9-23
In the middle of those loops over different files, place your code to do SURF.

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by