public abstract class AbstractApplyThresholdImg<T> extends AbstractApplyThresholdIterable<T,IterableInterval<T>,IterableInterval<BitType>>
ApplyThresholdIterable
implementations that
operate on Img
objects.SpecialOp.Flavor
Modifier and Type | Field and Description |
---|---|
protected UnaryFunctionOp<IterableInterval<T>,Histogram1d<T>> |
histCreator |
protected UnaryFunctionOp<IterableInterval<T>,Img<BitType>> |
imgCreator |
applyThresholdComp
NAME
Constructor and Description |
---|
AbstractApplyThresholdImg() |
Modifier and Type | Method and Description |
---|---|
Img<BitType> |
createOutput(IterableInterval<T> input)
Create an output object given some input.
|
void |
initialize()
Initializes the object.
|
compute
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getThreshold
compute, getIndependentInstance, run, run
in, setInput
run
candidates, filterArity, op
ops, setEnvironment
setOutput
calculate, calculate, createOutput, getIndependentInstance, run, run
run
protected UnaryFunctionOp<IterableInterval<T>,Histogram1d<T>> histCreator
protected UnaryFunctionOp<IterableInterval<T>,Img<BitType>> imgCreator
public void initialize()
Initializable
public Img<BitType> createOutput(IterableInterval<T> input)
UnaryOutputFactory
input
- which determines how to create the outputCopyright © 2014–2022 ImageJ. All rights reserved.