NAME
sobel_x sobel_y - sobel filter an image
PROTOTYPES
unitptr sobel_x( int dx, int dy, unitptr dest)
unitptr sobel_y( 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 sobel filter mask and returns result at packed output field X_out.
SEE ALSO:
pic_to_gabor, convolution, laplace
FILE
/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/nst_filter.c