BorderRemove method (ILEADRasterProcess)

Visual Basic Example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short BorderRemove (ILEADRaster *pRaster, BorderRemoveFlags Flags, BorderRemoveConstants BorderToRemove, long iBorderPercent, long iWhiteNoiseLength, long iVariance);

Overview

Refer to Cleaning - up 1-Bit Images

Remarks

(Document/Medical) Removes borders from 1-bit images. To "fine-tune" the performance of this method, try modifying the values for iWhiteNoiseLength, iBorderPercent and iVariance.

This method triggers both the BorderRemove 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:

BorderRemove event

Topics:

Raster Images: Cleaning - up 1-Bit Images