Prototype
ImgDespeckleZonal(inImageHandle, intMaxWidth, intMaxHeight, intMinPointDensity, intTileSize)
Description
It despeckles the image using a zonal filter, removing black elements with a maximum predefined size unless the number of speckle points in each tile is under a specified threshold: this prevent remotion of textual points in low density noise areas.
Parameters
inImageHandle: 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);
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);