public abstract class LocalThresholdMethodHistogram<T extends RealType<T>,O extends BooleanType<O>> extends AbstractCenterAwareComputerOp<T,O>
AbstractCenterAwareComputerOp
for use in LocalThreshold
s.SpecialOp.Flavor
Modifier and Type | Field and Description |
---|---|
protected BinaryComputerOp<T,T,O> |
applyThreshold |
protected UnaryFunctionOp<Iterable<T>,Histogram1d<T>> |
histCreator |
protected UnaryComputerOp<Histogram1d<T>,T> |
thresholdComputer |
Constructor and Description |
---|
LocalThresholdMethodHistogram() |
Modifier and Type | Method and Description |
---|---|
void |
compute(Iterable<T> neighborhood,
T center,
O output)
Computes the output given two inputs.
|
protected abstract UnaryComputerOp<Histogram1d<T>,T> |
getThresholdComputer() |
void |
initialize()
Initializes the object.
|
in1, in2, out, setInput1, setInput2, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, getIndependentInstance, run, run
in, in1, in2, setInput, setInput1, setInput2
compute, run
run
candidates, filterArity, op
ops, setEnvironment
setOutput
protected UnaryFunctionOp<Iterable<T extends RealType<T>>,Histogram1d<T extends RealType<T>>> histCreator
protected UnaryComputerOp<Histogram1d<T extends RealType<T>>,T extends RealType<T>> thresholdComputer
protected BinaryComputerOp<T extends RealType<T>,T extends RealType<T>,O extends BooleanType<O>> applyThreshold
public void initialize()
Initializable
public void compute(Iterable<T> neighborhood, T center, O output)
BinaryComputerOp
neighborhood
- first argument to the computation, which
must be non-nullcenter
- second 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
input1
and input2
protected abstract UnaryComputerOp<Histogram1d<T>,T> getThresholdComputer()
Copyright © 2014–2022 ImageJ. All rights reserved.