ImgDespeckleSmart
Previous  Top  Next

Prototype

ImgDespeckleSmart(intImageHandle, intMaxWidth, intMaxHeight)

Description

It despeckles the image in a smart mode, removing black elements with a maximum predefined size unless they are in text rows: this prevent remotion of textual points as :;.,

Parameters

intImageHandle: integer value corresponding to the image handle.
intMaxWidth: max width of elements that must be deleted (in pixel);
intMaxHeight: max height of elements that must be deleted (in pixel);

Returned value

None.

Notes

If the image has a coplex layout the system cannot find row with accuracy and the function can fails.

Example

//image smart despeckling
ImgDespeckleSmart(_CurrentImage,3,3);