ImgDespeckleZonal

Top  Previous  Next

Prototype

 

ImgDespeckleZonal(intImageHandle, intMaxWidth, intMaxHeight, intMinPointDensity, intTileSize)

 

Description

 

Despeckles the image using a zonal filter, removing black pixels with a maximum predefined size unless the number of speckle points in each tile is under a specified threshold: this prevent removal of punctuation characters in low density noise areas.

 

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.

 

intMinPointDensity: minimum point density enabling removal (in points per tile).

 

intTileSize: side size of each square area (tile) analyzed by this procedure (in pixel).

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Image despeckling zonal

ImgDespeckleZonal(_CurrentImage,3,3,5,100);