public class DefaultFloodFill<T extends Type<T> & Comparable<T>> extends AbstractBinaryHybridCF<RandomAccessibleInterval<T>,Localizable,RandomAccessibleInterval<T>> implements Ops.Morphology.FloodFill
SpecialOp.FlavorNAME| Constructor and Description |
|---|
DefaultFloodFill() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RandomAccessibleInterval<T> op0,
Localizable loc,
RandomAccessibleInterval<T> r)
Computes the output given two inputs.
|
RandomAccessibleInterval<T> |
createOutput(RandomAccessibleInterval<T> input1,
Localizable input2)
Create an output object given two inputs.
|
void |
initialize()
Initializes the object.
|
in1, in2, out, setInput1, setInput2, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, calculate, createOutput, getIndependentInstance, run, runcomputein, in1, in2, setInput, setInput1, setInput2calculate, createOutput, runcomputerunsetOutputcandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic void compute(RandomAccessibleInterval<T> op0, Localizable loc, RandomAccessibleInterval<T> r)
BinaryComputerOpcompute in interface BinaryComputerOp<RandomAccessibleInterval<T extends Type<T> & Comparable<T>>,Localizable,RandomAccessibleInterval<T extends Type<T> & Comparable<T>>>op0 - first argument to the computation, which
must be non-nullloc - second argument to the computation, which
must be non-nullr - object where the computation's result will be stored, which
must be non-null and a different object than
input1 and input2public RandomAccessibleInterval<T> createOutput(RandomAccessibleInterval<T> input1, Localizable input2)
BinaryOutputFactorycreateOutput in interface BinaryOutputFactory<RandomAccessibleInterval<T extends Type<T> & Comparable<T>>,Localizable,RandomAccessibleInterval<T extends Type<T> & Comparable<T>>>input1 - first input which determines how to create the outputinput2 - second input which determines how to create the outputCopyright © 2014–2022 ImageJ. All rights reserved.