I'm playing around with the imgradientxy function
img2 = imread('image2.jpg'); [Gx,Gy] = imgradientxy(img2,'soble');
its exactly the same as the one in the documentations but it keeps throwing me the errors
Error using imgradientxy Expected input number 1, I, to be two-dimensional.
Best Answer