Undefined function 'imgradientxy' for input arguments of type 'uint8'.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
KaMu
am 4 Dez. 2013
Kommentiert: Image Analyst
am 4 Dez. 2013
Hello, I am trying simple example for imgradient:
I=imread('Gray.png');
[Gx, Gy] = imgradientxy(I);
[Gmag, Gdir] = imgradient(Gx, Gy);
figure, imshow(Gmag, []), title('Gradient magnitude')
figure, imshow(Gdir, []), title('Gradient direction')
title('Gradient Magnitude (Gmag) and Gradient Direction (Gdir) using Sobel method')
figure; imshowpair(Gx, Gy, 'montage'); axis off;
title('Directional Gradients, Gx and Gy, using Sobel method');
but it gave this error:
Undefined function 'imgradientxy' for input arguments of type 'uint8'.
I am using Matlab (R2011b) and as I heard that these functions are new. How can solve this problem?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!