Prototype
ImgBackTrackThreshold (intImageHandle, intMinThreshold, intMaxThreshold, floatContribute, intLocalWidth, intLocalHeight)
Description
It convert a grayscale image applying background tracking thresholding. Each pixel of image is binarized using a local threshold value computed automatically analizing surrounding pixels in the specified window size so that a global autocalucate threshold is corrected using a local value. The process can be customized selecting several parameters.
Parameters
intImageHandle: integer value corresponding to the image handle.
intMinThreshold: value specifying minimal threshold to use.
intMaxThreshold: value specifying maximum threshold to use.
floatContribute: the contribute, between 0.0 and 1.0 of local threshold over global threshold
intLocalWidth: value specifying window width.
intLocalHeight: value specifying window height.
Returned value
None.
Example
//It applies background tracking thresholding
ImgBackTrackThreshold(_CurrentImage,140,200,0.7,5,5);