ImgDespeckleSmart

Top  Previous  Next

Prototype

 

ImgDespeckleSmart(intImageHandle, intMaxWidth, intMaxHeight)

 

Description

 

Despeckles the image using a smart mode by removing black pixels with a maximum predefined size unless they are in text rows.  This prevent removal of textual points as periods, commas, colons, and semicolons ( . , : ; ).

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

intMaxWidth: max width of pixel elements to be deleted.

 

intMaxHeight: max height of pixel elements to be deleted.

 

 

Returned value

 

None.

 

Notes

 

If the image has a complex layout, the ImgDespeckleSmart cannot find rows with accuracy and the function can fail.

 

Example

 

// Image smart despeckling

ImgDespeckleSmart(_CurrentImage,3,3);