Edge detection error message
Ältere Kommentare anzeigen
Why isn't the following code working?
>> str=sprintf('Scratch1.jpg');
>> img_ORG = imread(str);
>> fsc = edge(img_ORG, 'Canny');
Error using edge
Expected input number 1, I, to be two-dimensional.
Error in edge>parse_inputs (line 449)
validateattributes(I,{'numeric','logical'},{'real','nonsparse','2d'},mfilename,'I',1);
Error in edge (line 189)
[a,method,thresh,sigma,thinning,H,kx,ky] = parse_inputs(varargin{:});
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!