NAME
laplace - laplace filter an image
PROTOTYPE
unitptr laplace( int dx, int dy, unitptr dest)
ARGUMENTS
- int dx
- width of image rectangle
- int dy
- height of image rectangle
- unitptr dest
- host unit
RETURN VALUE:
unitptr u pointer to newly created 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
3x3 laplace filter mask and returns result at packed output
field X_out.
SEE ALSO:
pic_to_gabor, convolution, sobel_x, sobel_y
FILE
/homes/jontrup/nst5/man/../o.sol2//../foldersrc/nst_filter.c