M-File Help: imeshgrid View code for imeshgrid

imeshgrid

Domain matrices for image

[u,v] = imeshgrid(im) are matrices that describe the domain of image im and can be used for the evaluation of functions over the image. u and v are the same szie as im. The element u(v,u) = u and v(v,u) = v.

[u,v] = imeshgrid(im, n) as above but...

[u,v] = imeshgrid(w, H) as above but the domain is WxH.

[u,v] = imeshgrid(size) as above but the domain is described size which is scalar SIZExSIZE or a 2-vector [w H].

See also

meshgrid


 

© 1990-2012 Peter Corke.