public abstract class AbstractComputeThresholdHistogram<T extends RealType<T>> extends AbstractUnaryHybridCF<Histogram1d<T>,T> implements ComputeThresholdHistogram<T>
ComputeThresholdHistogram
implementations.SpecialOp.Flavor
Constructor and Description |
---|
AbstractComputeThresholdHistogram() |
Modifier and Type | Method and Description |
---|---|
void |
compute(Histogram1d<T> input,
T output)
Computes the output given some input.
|
T |
createOutput(Histogram1d<T> input)
Create an output object given some input.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeBin
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, setInput
run
setOutput
candidates, filterArity, op
ops, setEnvironment
initialize
public void compute(Histogram1d<T> input, T output)
UnaryComputerOp
compute
in interface UnaryComputerOp<Histogram1d<T extends RealType<T>>,T extends RealType<T>>
input
- Argument to the computation, which must be non-nulloutput
- Object where the computation's result will be stored, which
must be non-null and a different object than input
public T createOutput(Histogram1d<T> input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<Histogram1d<T extends RealType<T>>,T extends RealType<T>>
input
- which determines how to create the outputCopyright © 2014–2022 ImageJ. All rights reserved.