DotRemove method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax:

int DotRemove(unsigned uProcessFlags, int nMinDotWidth, int nMinDotHeight, int nMaxDotWidth, int nMaxDotHeight );

Delphi Syntax:

function DotRemove(uProcessFlags: L_UINT32; nMinDotWidth: L_INT32; nMinDotHeight: L_INT32; nMaxDotWidth: L_INT32; nMaxDotHeight: L_INT32):L_INT;

Overview

Refer to Cleaning Up 1-Bit Images

Remarks

(Document/Medical)This method finds and removes dots, specks, and blobs of various sizes in 1-bit documents. The dots, specks, and blobs may or may not be all black.

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 OnDotRemove event.

This method triggers both the OnDotRemove event and the OnStatus 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:

OnDotRemove event

Topics:

Raster Images: Cleaning - up 1-Bit Images