T
- element typepublic class ListBlackTopHat<T extends RealType<T>> extends AbstractBinaryHybridCF<RandomAccessibleInterval<T>,List<Shape>,IterableInterval<T>> implements Ops.Morphology.BlackTopHat, Contingent
RandomAccessibleInterval
using a
List
of Shape
s. It is the caller's responsibility to provide
a RandomAccessibleInterval
with enough padding for the output.BlackTopHat
SpecialOp.Flavor
NAME
Constructor and Description |
---|
ListBlackTopHat() |
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, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, in1, in2, setInput, setInput1, setInput2
calculate, createOutput, run
compute
run
setOutput
candidates, filterArity, op
public boolean conforms()
Contingent
conforms
in interface Contingent
public void initialize()
Initializable
initialize
in interface Initializable
public IterableInterval<T> createOutput(RandomAccessibleInterval<T> in1, List<Shape> in2)
BinaryOutputFactory
createOutput
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)
BinaryComputerOp
compute
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 input2
Copyright © 2014–2022 ImageJ. All rights reserved.