How do I get the correct data type for detectSURFFeatures?

For the function 'detectSURFFeatures', I cannot get it to work because I am somehow using the wrong datatype. I have converted the image into all possible datatypes, but it is still not working. It is also already in greyscale. Please help.

2 个评论

Can you let me know what is the input to the 'detectSURFFeatures' in your case? What is the dimension of the input and do you get any error when you use the function?
Input: 648 x 1128 uint8 greyscale matrix
Error: Undefined function 'detectSURFFeatures' for input arguments of type 'uint8'.
Error in Laser_Finder (line 12) laserPoints = detectSURFFeatures(laser_Image,'NumOctaves',1);

请先登录,再进行评论。

回答(1 个)

It sounds like you may not have the Computer Vision System Toolbox installed. Or you may not have a license. Or you may have an older version. detectSURFFeatures was introduced in R2011b.

类别

帮助中心File Exchange 中查找有关 Computer Vision with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by