M-File Help: gauss2d | View code for gauss2d |
Gaussian kernel
out = gauss2d(im, sigma, C) is a unit volume Gaussian kernel rendered into matrix out (WxH) the same size as im (WxH). The Gaussian has a standard deviation of sigma. The Gaussian is centered at C=[U,V].
© 1990-2012 Peter Corke.