Prototype
ImgThreshold (intImageHandle, intThreshold)
Description
It threshold an image, creating a monochrome image. All gray levels under the threshold level are converted in black and all pixel above are converted in white.
Parameters
intImageHandle: integer value corresponding to the image handle.
intThreshold: threshold value in range 0 - 255.
Returned value
None.
Note
See ImgAutoThreshold, ImgAdvancedThreshold and ImgDynamicThreshold for alternative threshold methods.
Example
//It applies thresholding using 127 as value
ImgThreshold(_CurrentImage,127);