public class DefaultDistanceTransform<B extends BooleanType<B>,T extends RealType<T>> extends AbstractUnaryHybridCF<RandomAccessibleInterval<B>,RandomAccessibleInterval<T>> implements Ops.Image.DistanceTransform, Contingent
SpecialOp.FlavorALIASES, NAME| Constructor and Description |
|---|
DefaultDistanceTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RandomAccessibleInterval<B> in,
RandomAccessibleInterval<T> out)
Computes the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
RandomAccessibleInterval<T> |
createOutput(RandomAccessibleInterval<B> in)
Create an output object given some input.
|
void |
initialize()
Initializes the object.
|
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, calculate, createOutput, getIndependentInstance, run, runcomputein, setInputrunsetOutputcandidates, filterArity, oppublic boolean conforms()
Contingentconforms in interface Contingentpublic void initialize()
Initializableinitialize in interface Initializablepublic RandomAccessibleInterval<T> createOutput(RandomAccessibleInterval<B> in)
UnaryOutputFactorycreateOutput in interface UnaryOutputFactory<RandomAccessibleInterval<B extends BooleanType<B>>,RandomAccessibleInterval<T extends RealType<T>>>in - which determines how to create the outputpublic void compute(RandomAccessibleInterval<B> in, RandomAccessibleInterval<T> out)
UnaryComputerOpcompute in interface UnaryComputerOp<RandomAccessibleInterval<B extends BooleanType<B>>,RandomAccessibleInterval<T extends RealType<T>>>in - 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 inputCopyright © 2014–2022 ImageJ. All rights reserved.