Class IsodataThresholderSlow

java.lang.Object
imagingbook.common.threshold.global.IsodataThresholderSlow
All Implemented Interfaces:
GlobalThresholder, Thresholder

public class IsodataThresholderSlow extends Object implements GlobalThresholder

Slow version of the IsodataThresholder using explicit recalculation of background and foreground means in every iteration. See [1], Alg. 9.2.

[1] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).

Version:
2022/08/01
  • Constructor Details

  • Method Details

    • getThreshold

      public float getThreshold(int[] h)
      Description copied from interface: GlobalThresholder
      Returns a single (global) threshold value for the specified histogram.
      Specified by:
      getThreshold in interface GlobalThresholder
      Parameters:
      h - a histogram (array of frequencies)
      Returns:
      a single (global) threshold value