help me solve this error detectSURFFeatures
Mostra commenti meno recenti
i am having following sample code: I = imread('box.jpg'); points = detectSURFFeatures(I);
imshow(I); hold on;
plot(points.selectStrongest(10));
i am getting this error:
Error using detectSURFFeatures
Expected input number 1, I, to be two-dimensional.
Error in detectSURFFeatures>parseInputs (line 130) validateattributes(I,{'logical', 'uint8', 'int16', 'uint16', ...
Error in detectSURFFeatures (line 81) [Iu8, params] = parseInputs(I,varargin{:});
Error in Untitled3 (line 2) points = detectSURFFeatures(I); pls help me solve this.
Risposta accettata
Più risposte (1)
Anand
il 12 Mar 2016
0 voti
What does class(I) return? If it does not return one of the following, your image is not of the right type:
'logical', 'uint8', 'int16', 'uint16', 'single', 'double'
1 Commento
india king
il 12 Mar 2016
Categorie
Scopri di più su Computer Vision Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!