Smooth method (ILEADRasterProcess)

Visual Basic Example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short Smooth (ILEADRaster* pRaster, long iLength, SmoothFlags Flags);

Overview

Refer to Cleaning - up 1-Bit Images

Remarks

(Document/Medical) Smooths the bumps and fills in the nicks of a 1-bit black and white image.

This method smooths the text in scanned text documents.

The behavior of this method can be modified by using the Smooth event.

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.

This method triggers both the Smooth event and the ProgressStatus event.

See Also

Elements:

Smooth event

Topics:

Raster Images: Cleaning - up 1-Bit Images