NAME
gauss - gauss filter an image
PROTOTYPE
unitptr gauss( int dx, int dy, float *scale, float *sig, unitptr dest)
ARGUMENTS
- int dx
- width of image rectangle
- int dy
- height of image rectangle
- float *scale
- pointer to normalization factor
- float *sig
- pointer to width of gaussian kernel
- unitptr dest
- host unit
INTERFACE OF CREATED UNIT:
- X_in[dx*dy]:
- (packed input field) pixel values of
source image
- X_out[dx*dy]:
- (packed output field 0) result image
DESCRIPTION:
Creates unit that computes convolution of rectangular image
region of dx*dy pixels given at input field X_in with a
gaussian kernel given by
m[x,y] = N * exp(- (x^2+y^2)/2*sig^2 )
The normalization constant N is determined such that the sum
of all mask elements is unity.
SEE ALSO:
mexican, laplace, convolution, sobel_x, sobel_y
FILE
/homes/jontrup/nst5/man/../o.sol2//../foldersrc/nst_filter.c