public abstract class AbstractThin extends AbstractUnaryHybridCF<RandomAccessibleInterval<BitType>,RandomAccessibleInterval<BitType>>
SpecialOp.Flavor
Modifier and Type | Field and Description |
---|---|
protected ThinningStrategy |
m_strategy |
Constructor and Description |
---|
AbstractThin() |
Modifier and Type | Method and Description |
---|---|
void |
compute(RandomAccessibleInterval<BitType> input,
RandomAccessibleInterval<BitType> output)
Computes the output given some input.
|
RandomAccessibleInterval<BitType> |
createOutput(RandomAccessibleInterval<BitType> 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
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, setInput
run
setOutput
candidates, filterArity, op
ops, setEnvironment
initialize
protected ThinningStrategy m_strategy
public RandomAccessibleInterval<BitType> createOutput(RandomAccessibleInterval<BitType> input)
UnaryOutputFactory
input
- which determines how to create the outputpublic void compute(RandomAccessibleInterval<BitType> input, RandomAccessibleInterval<BitType> output)
UnaryComputerOp
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
Copyright © 2014–2022 ImageJ. All rights reserved.