Module org.scijava.ops.image
Class ComputeRenyiEntropyThreshold<T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.threshold.AbstractComputeThresholdHistogram<T>
-
- org.scijava.ops.image.threshold.renyiEntropy.ComputeRenyiEntropyThreshold<T>
-
- All Implemented Interfaces:
BiConsumer<Histogram1d<T>,T>,Computers.Arity1<Histogram1d<T>,T>
public class ComputeRenyiEntropyThreshold<T extends RealType<T>> extends AbstractComputeThresholdHistogram<T>
Implements a Renyi entropy based threshold method by Kapur, Sahoo, & Wong.- Author:
- Barry DeZonia, Gabriel Landini
- Implementation Note:
- op names='threshold.renyiEntropy', priority='100.'
-
-
Constructor Summary
Constructors Constructor Description ComputeRenyiEntropyThreshold()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static longcomputeBin(long[] histogram)Kapur J.N., Sahoo P.K., and Wong A.K.C.longcomputeBin(Histogram1d<T> hist)-
Methods inherited from class org.scijava.ops.image.threshold.AbstractComputeThresholdHistogram
compute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface org.scijava.function.Computers.Arity1
accept
-
-
-
-
Method Detail
-
computeBin
public long computeBin(Histogram1d<T> hist)
- Specified by:
computeBinin classAbstractComputeThresholdHistogram<T extends RealType<T>>- Parameters:
hist- theHistogram1d- Returns:
- the Renyi Entropy threshold value
-
computeBin
public static long computeBin(long[] histogram)
Kapur J.N., Sahoo P.K., and Wong A.K.C. (1985) "A New Method for
Gray-Level Picture Thresholding Using the Entropy of the Histogram"
Graphical Models and Image Processing, 29(3): 273-285
M. Emre Celebi
06.15.2007
Ported to ImageJ plugin by G.Landini from E Celebi's fourier_0.8
routines
-
-