Class ComputeHuangThreshold<T extends RealType<T>>

    • Constructor Detail

      • ComputeHuangThreshold

        public ComputeHuangThreshold()
    • Method Detail

      • computeBin

        public static long computeBin​(long[] histogram)
        Implements Huang's fuzzy thresholding method
        Uses Shannon's entropy function (one can also use Yager's entropy function) Huang L.-K. and Wang M.-J.J. (1995) "Image Thresholding by Minimizing the Measures of Fuzziness" Pattern Recognition, 28(1): 41-51
        Reimplemented (to handle 16-bit efficiently) by Johannes Schindelin Jan 31, 2011