OOF2: The Manual

Name

Triangle (TriangleThreshold) — Use the triangle method to compute the threshold value.

Synopsis

TriangleThreshold(nbins)

Details

  • Base class: ThresholdMethod
  • Parameters:

    nbins
    Number of histogram bins. Type: Integer.

Description

This thresholding method uses the triangle algorithm. It is a wrapper around skimage.filters.threshold_triangle from scikit-image.

The Image is first converted from color to grayscale if necessary.