Add Triangle thresholding algorithm
Add Triangle method for automatic threshold computation next to the existing Otsu's method. Triangle deals better with images whose histogram does not contain dominant peak. See paper Zack GW, Rogers WE, Latt SA.: Automatic measurement of sister chromatid exchange frequency. J Histochem Cytochem. 1977 Jul;25(7):741-53.
This commit is contained in:
@@ -430,7 +430,7 @@ Applies a fixed-level threshold to each array element.
|
||||
|
||||
:param maxval: Maximum value to use with ``THRESH_BINARY`` and ``THRESH_BINARY_INV`` threshold types.
|
||||
|
||||
:param type: Threshold type. For details, see :ocv:func:`threshold` . The ``THRESH_OTSU`` threshold type is not supported.
|
||||
:param type: Threshold type. For details, see :ocv:func:`threshold` . The ``THRESH_OTSU`` and ``THRESH_TRIANGLE`` threshold types are not supported.
|
||||
|
||||
:param stream: Stream for the asynchronous version.
|
||||
|
||||
|
Reference in New Issue
Block a user