HolePunchRemove method (ILEADRasterProcess)
short HolePunchRemove (ILEADRaster *pRaster, HolePunchRemoveFlags Flags, long iMinHoleCount, long iMaxHoleCount, long iMinHoleWidth, long iMinHoleHeight, long iMaxHoleWidth, long iMaxHoleHeight, HolePunchRemoveConstants Location); | |
Overview |
Refer to Cleaning - up 1-Bit Images |
Remarks
(Document/Medical) This method detects and removes hole punches, common in scanned documents.
This method works only on 1-bit black and white images.
Hole punch configurations may consist of 2 or more holes.
If a region is selected, only the selected region will be changed by this method. If no region is selected, the whole image will be processed.
The behavior of this method can be modified using the HolePunchRemove event.
This method triggers both the HolePunchRemove event and the ProgressStatus event.
This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also
Elements: |
|
Topics: |