T - element typepublic class DefaultErode<T extends RealType<T>> extends AbstractBinaryHybridCF<RandomAccessibleInterval<T>,Shape,IterableInterval<T>> implements Ops.Morphology.Erode, Contingent
RandomAccessibleInterval using a single
Shape.ErosionSpecialOp.FlavorNAME| Constructor and Description |
|---|
DefaultErode() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RandomAccessibleInterval<T> in1,
Shape in2,
IterableInterval<T> output)
Computes the output given two inputs.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
IterableInterval<T> |
createOutput(RandomAccessibleInterval<T> in1,
Shape in2)
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 boolean conforms()
Contingentconforms in interface Contingentpublic void initialize()
Initializableinitialize in interface Initializablepublic IterableInterval<T> createOutput(RandomAccessibleInterval<T> in1, Shape in2)
BinaryOutputFactorycreateOutput in interface BinaryOutputFactory<RandomAccessibleInterval<T extends RealType<T>>,Shape,IterableInterval<T extends RealType<T>>>in1 - first input which determines how to create the outputin2 - second input which determines how to create the outputpublic void compute(RandomAccessibleInterval<T> in1, Shape in2, IterableInterval<T> output)
BinaryComputerOpcompute in interface BinaryComputerOp<RandomAccessibleInterval<T extends RealType<T>>,Shape,IterableInterval<T extends RealType<T>>>in1 - first argument to the computation, which
must be non-nullin2 - 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 input2Copyright © 2014–2022 ImageJ. All rights reserved.