Class IsodataThresholder

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

public class IsodataThresholder extends Object implements GlobalThresholder

This is an implementation of the global thresholder proposed by Ridler and Calvard [1]. See Sec. 9.1.3 (Alg. 9.3) of [2] for a detailed description.

[1] T.W. Ridler, S. Calvard, Picture thresholding using an iterative selection method, IEEE Transactions on Systems, Man and Cybernetics, SMC-8 (August 1978) 630-632.
[2] W. Burger, M.J. Burge, Digital Image Processing – An Algorithmic Introduction, 3rd ed, Springer (2022).

Version:
2022/04/02
  • 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