#include "BIDocImg.H"
HANDLE CALLBACK LineRemover( HANDLE HDIB,
int Precent)
Description
This function will detect and remove lines from fax images. The function works for only monochrome, 8 and 24 bit per pixel grayscale images. Sensitivity of line detection and removing can be tuned by the Precent parameter.
Parameters
|
HANDLE |
HDIB |
Handle of the image to remove lines. |
|
int |
Precent |
Sensitivity of line removing. This parameter specifies the regularness of the lines to be removed. Range: 0 (weakest condition : removes the most line parts) to 100 (straitest condition : removes the less line parts). |
Return values
The handle of the new, DIB or NULL if an error occurred.
Programming notes
The function will not free the input DIB.
Requirements
Header : Declared in BIDocImg.h; include BIDocImg.h.
Library : Use BIDocImg.lib.
DLLs : BIDocImg.dll.