InvertedText method (Main Control)

Visual Basic Example
Visual C++ 4.0 example

Syntax short InvertedText (long uFlags, 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:

image\invert1.gif

Inverting the area of inverted text yields:

image\invert2.gif

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.

See Also

Elements:  InvertedText event

Topics:  Raster Images: Cleaning - up 1-Bit Images