public abstract class LocalThresholdMethodHistogram<T extends RealType<T>,O extends BooleanType<O>> extends AbstractCenterAwareComputerOp<T,O>
AbstractCenterAwareComputerOp for use in LocalThresholds.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, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, getIndependentInstance, run, runin, in1, in2, setInput, setInput1, setInput2compute, runruncandidates, filterArity, opops, setEnvironmentsetOutputprotected 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()
Initializablepublic void compute(Iterable<T> neighborhood, T center, O output)
BinaryComputerOpneighborhood - 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 input2protected abstract UnaryComputerOp<Histogram1d<T>,T> getThresholdComputer()
Copyright © 2014–2022 ImageJ. All rights reserved.