next up previous contents
Next: Pixel Processing Up: Image Processing Previous: Introduction   Contents

Convolution and Filtering

The following section describes specific and general image convolution software.

Imrect *im_conv_h(Imrect * im1, Prof1 * prof)
Convolves the image im1 with a horizontal (x based) convolution profile prof. Contributions to the convolution external to the original image are set to zero.

Imrect *im_conv_v(Imrect * im1, Prof1 * prof)
Convolves the image im1 with a vertical (y based) convolution profile prof. Contributions to the convolution external to the original image are set to zero.

Imrect *im_conv_separable(Imrect * im1, Prof1 * prof_h, Prof1 * prof_v)
Concolves the image with the specified horizontal and vertical decomposition of the required kernel using the routines described above.

Imrect *im_filter_cols(Imrect * image, void (*func) ( /* ??? */ ), void *data)
Applies the function func(float *line, ly, uy, data) to the specified image. The data field allows extra parameters to be passed to this generic image processing function.

Imrect *im_filter_rows(Imrect * image, void (*func) ( /* ??? */ ), void *data)
Applies the function func(float *line, lx, ux, data) to the specified image.


next up previous contents
Next: Pixel Processing Up: Image Processing Previous: Introduction   Contents
root 2017-11-18