OOF2: The Manual

Name

MinimumEntropy (MinimumEntropyThreshold) — Compute the threshold value by Li’s iterative Minimum Cross Entropy method.

Synopsis

MinimumEntropyThreshold(tolerance)

Details

  • Base class: ThresholdMethod
  • Parameters:

    tolerance
    Stop iterating when the threshold change is less than this. Type: A real number, or the value automatic.

Description

MinimumEntropy thresholding uses Li's Iterative Minimum Cross Entropy method. It is a wrapper around the scikit-image routine skimage.filters.threshold_li.

The algorithm adjusts the threshold iteratively until the change in one iteration is less than the given tolerance. If tolerance is set to automatic, iteration proceeds until the change is smaller than the minimum difference between intensities in the image.

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

Figure 6.93. Thresholding an Image with MinimumEntropyThreshold

Thresholding an Image with MinimumEntropyThreshold

A section of a micrograph, left, and the result of applying MinimumEntropy thresholding with tolerance=automatic.