ImageGear for C and C++ on Windows v19.9 - Updated
IG_IC_remove_lines
API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_remove_lines

This function automatically detects and removes the horizontal and vertical lines on the 1-bit scanned image such as frames and tables.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_IC_remove_lines(
            HIGEAR hIGear,
            LPAT_IC_LINE_OPTIONS lpParameters
);

Arguments:

Name Type Description
hIGear HIGEAR Image to which to apply punch holes removal.
lpParameters LPAT_IC_LINE_OPTIONS Parameters for dot lines removal method.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

Indexed RGB – 1 bpp.

Sample:

ImageClean

Remarks:

This function takes a 1-bit image page and the set of advanced parameters specifying the orientation of lines to detect and its parameters.

Also refer to AT_IC_LINE_OPTIONS.