Content deleted Content added
Omnipaedista (talk | contribs) these are sources, not citations |
Omnipaedista (talk | contribs) as per MOS:CAPS |
||
Line 26:
Histogram shape-based methods in particular, but also many other thresholding algorithms, make certain assumptions about the image intensity probability distribution. The most common thresholding methods work on bimodal distributions, but algorithms have also been developed for [[Unimodal thresholding|unimodal distributions]], multimodal distributions, and [[Circular thresholding|circular distributions]].
== Automatic
Automatic
# Select initial threshold value, typically the mean 8-bit value of the original image.
Line 40:
The limit mentioned above is user definable. A larger limit will allow a greater difference between successive threshold values. Advantages of this can be quicker execution but with a less clear boundary between background and foreground. Picking starting thresholds is often done by taking the mean value of the grayscale image. However, it is also possible to pick out the starting threshold values based on the two well separated peaks of the image histogram and finding the average pixel value of those points. This can allow the algorithm to converge faster; allowing a much smaller limit to be chosen.
=== Method
Automatic thresholding will work best when a good background to foreground contrast ratio exists. Meaning the picture must be taken in good lighting conditions with minimal glare.
|