M-File Help: radgrad View code for radgrad

radgrad

Radial gradient

[gr,gt] = radgrad(im) is the radial and tangential gradient of the image im. At each pixel the image gradient vector is resolved into the radial and tangential directions.

[gr,gt] = radgrad(im, centre) as above but the centre of the image is specified as centre=[X,Y] rather than the centre pixel of im.

radgrad(im) as above but the result is displayed graphically.

See also

isobel


 

© 1990-2012 Peter Corke.