Module org.scijava.ops.image
Package org.scijava.ops.image.threshold
Class AbstractComputeThresholdHistogram<T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.threshold.AbstractComputeThresholdHistogram<T>
-
- All Implemented Interfaces:
BiConsumer<Histogram1d<T>,T>,Computers.Arity1<Histogram1d<T>,T>
- Direct Known Subclasses:
ComputeHuangThreshold,ComputeIJ1Threshold,ComputeIntermodesThreshold,ComputeIsoDataThreshold,ComputeLiThreshold,ComputeMaxEntropyThreshold,ComputeMaxLikelihoodThreshold,ComputeMeanThreshold,ComputeMinErrorThreshold,ComputeMinimumThreshold,ComputeMomentsThreshold,ComputeOtsuThreshold,ComputePercentileThreshold,ComputeRenyiEntropyThreshold,ComputeRosinThreshold,ComputeShanbhagThreshold,ComputeTriangleThreshold,ComputeYenThreshold
public abstract class AbstractComputeThresholdHistogram<T extends RealType<T>> extends Object implements Computers.Arity1<Histogram1d<T>,T>
Abstract superclass for histogram threshold computations.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description AbstractComputeThresholdHistogram()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcompute(Histogram1d<T> input, T output)TODOprotected abstract longcomputeBin(Histogram1d<T> input)-
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
-
compute
public void compute(Histogram1d<T> input, T output)
TODO- Specified by:
computein interfaceComputers.Arity1<Histogram1d<T extends RealType<T>>,T extends RealType<T>>- Parameters:
input-output-
-
computeBin
protected abstract long computeBin(Histogram1d<T> input)
-
-