InvertedText method (ILEADRasterProcess)
short InvertedText (ILEADRaster *pRaster, InvertedTextFlags Flags, long iMinInvertWidth, long iMinInvertHeight, long iMinBlackPercent, long iMaxBlackPercent); | |
Overview |
Refer to Cleaning - up 1-Bit Images |
Remarks
(Document/Medical) Finds and inverts areas of inverted text in a 1-bit black and white image.
Inverted text is commonly found in scanned text documents.
Below is an example of inverted text often found in scanned images:
Inverting the area of inverted text yields:
This method works only on 1-bit black and white images.
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 by using the InvertedText event.
This method triggers both the InvertedText 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: |