Clear Filters
Clear Filters

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

1 view (last 30 days)
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);"

Accepted Answer

Image Analyst
Image Analyst on 25 Sep 2016
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.

More Answers (1)

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

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!