Filtering of CPL images.

Functions

cpl_error_code irplib_image_filter_background_line (cpl_image *self, const cpl_image *other, int hsize, cpl_boolean vertical)
 Filter the background of an image with horizontal or vertical lines.

Detailed Description

Synopsis:
     #include <irplib_filter.h>
Example:

Function Documentation

cpl_error_code irplib_image_filter_background_line ( cpl_image *  self,
const cpl_image *  other,
int  hsize,
cpl_boolean  vertical 
)

Filter the background of an image with horizontal or vertical lines.

Parameters:
self Filtered image
other Image to filter, use NULL for in-place filtering
hsize Filtering half-size, total size is 1 + 2 * hsize
vertical True iff the lines are vertical
Returns:
CPL_ERROR_NONE or the relevant CPL error code

If the background varies strongly along the line, it can be detected and removed with a unit width 1+2*hsize median filter, where hsize is an upper bound on the line width.

Definition at line 80 of file irplib_filter.c.

Referenced by irplib_slitpos_analysis().


Generated on 8 Mar 2011 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1