detectSURFFeatures shows error.
Show older comments
Im Using Matlab 2013a version and having a problem when using command:
boxPoints = detectSURFFeatures(boxImage);
Got error
Error using detectSURFFeatures
Expected input number 1, I, to be two-dimensional.
Error in detectSURFFeatures>parseInputs (line 82)
validateattributes(I,{'logical','uint8', 'int16', 'uint16', ...
Error in detectSURFFeatures (line 71)
[Iu8 params] = parseInputs(I,varargin{:});
As I am beginner and trying to use Matlab for Image processing and seeking help from the example available on the following link: http://www.mathworks.com/help/vision/examples/object-detection-in-a-cluttered-scene-using-point-feature-matching.html#btt5qyu
3 Comments
Sehar Un Nisa
on 5 Nov 2016
I am having same error with greyscale image
Error in detectSURFFeatures (line 71) [Iu8 params] = parseInputs(I,varargin{:});
Walter Roberson
on 5 Nov 2016
Please show size() of the image.
It is possible for an image to look gray but actually be an RGB image. If the Red, Green, and Blue color planes are identical at each pixel, then the image will be an RGB image with gray content.
Mohamed Inamul Hasan A
on 24 Feb 2019
tq dude.... It works
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing and Computer Vision 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!