[gx,gy]=gaussgradient(IM,sigma) outputs the gradient image gx and gy of
image IM using a 2-D Gaussian kernel. Sigma is the standard deviation of
this kernel along both directions.
Hey, nice job man! I can easily visulaize the variations in my image.
But what if i m in 3D. With image in 2D and a time factor that is adds to the third dimenstion ?
Seems like you are calculating too small kernel sizes when higher values of sigma are used, e.g., when sigma>10 the kernels are clearly truncated. With sigma>40 your kernel size becomes imaginary.
there was a problem using the function imshow(fim(1:50,1:50),'InitialMagnification','fit'); in 'fit'
i can't solve it
06 Jul 2006
renuka patnaik
there was a problem using the function imshow(fim(1:50,1:50),'InitialMagnification','fit'); in 'fit'
25 Nov 2005
Michal Kujalowicz
Theare is a problem with fim=mat2gray(im); instruction,in "testgaussgradient.m" (matlab R14)I got "matrix im should be a double error".
It can be solved by adding im=double(im);
after reading image (3 line)
16 Sep 2005
H N
Image processing toolbox is not required if you use conv2 instead of imfilt.