T - element typepublic class ListTopHat<T extends RealType<T>> extends AbstractBinaryHybridCF<RandomAccessibleInterval<T>,List<Shape>,IterableInterval<T>> implements Ops.Morphology.TopHat, Contingent
RandomAccessibleInterval using a
List of Shapes. It is the caller's responsibility to provide
a RandomAccessibleInterval with enough padding for the output.TopHatSpecialOp.FlavorNAME| Constructor and Description |
|---|
ListTopHat() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RandomAccessibleInterval<T> in1,
List<Shape> in2,
IterableInterval<T> out)
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,
List<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, List<Shape> in2)
BinaryOutputFactorycreateOutput in interface BinaryOutputFactory<RandomAccessibleInterval<T extends RealType<T>>,List<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, List<Shape> in2, IterableInterval<T> out)
BinaryComputerOpcompute in interface BinaryComputerOp<RandomAccessibleInterval<T extends RealType<T>>,List<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-nullout - 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.