Home

Simple Image Thresholding

state-of-the-art parameter tuning

Original
Result
source image

Parameters

Thresholds

The minimum and maximum thresholds of the image, resulting in a binary image of the given range. Depending on the type of algorithm selected (see the 'type' tab), the maxium value may be unused.

Type

Type of algorithm use to calculate the threshold. Check out the documentation for further information on each type. Speical algorithms such as THRESH_OTSU and THRESH_TRIANGLE are not included for simplicity.

Code

Reference


*Disclaimer*: This site is not in any way associated with the OpenCV organization. Visit OpenCV.org for an updated documentation for the latest functions.

This site is built on the sheer annoyance and repetitive frustration the author experienced while tuning parameters on OpenCV. It is casually maintained in my spare time. You can DM me on Github for any feature suggestions.

© 2020~ Yu-Kai Wang

@Github