How to detect SURF features on image in matlab?

I am using detectSURFfeature tool but it is not working. Whatever is the image the error is shown as "Undefined function 'detectSURFFeatures' for input arguments of type 'uint8'". But the input is of uint8 only.

Answers (2)

Thorsten
Thorsten on 17 Dec 2014
Edited: Thorsten on 17 Dec 2014
You probably have to convert the image to double
I = im2double(I);
or (without the Image Processing TB)
I = double(I)/255;

1 Comment

Thank you Thosten. But it is not working too. Now the error changed to "Undefined function 'detectSURFFeatures' for input arguments of type 'double'."

Sign in to comment.

detectSURFFeatures has been available in the Computer Vision System Toolbox since the R2011b release. So to use it you need MATLAB R2011b or later with the Computer Vision System Toolbox.

2 Comments

Thank you. I am using matlab 2014 a with necessary extensions. Error is some where in the code.
Hi Bhuvan,
What do you see if you do
>> which detectSURFFeatures
Also, can you please verify that you indeed have the Computer Vision System Toolbox installed? Do you see it listed if you do
>> ver

Sign in to comment.

Categories

Asked:

on 17 Dec 2014

Commented:

on 6 Jan 2015

Community Treasure Hunt

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

Start Hunting!