public class DefaultCCA<T extends IntegerType<T>,L,I extends IntegerType<I>> extends AbstractUnaryHybridCF<RandomAccessibleInterval<T>,ImgLabeling<L,I>> implements Contingent, Ops.Labeling.CCA
ConnectedComponents of
ImgLib2-algorithms.SpecialOp.FlavorALIASES, NAME| Constructor and Description |
|---|
DefaultCCA() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(RandomAccessibleInterval<T> input,
ImgLabeling<L,I> output)
Computes the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
ImgLabeling<L,I> |
createOutput(RandomAccessibleInterval<T> input)
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 void initialize()
Initializableinitialize in interface Initializablepublic void compute(RandomAccessibleInterval<T> input, ImgLabeling<L,I> output)
UnaryComputerOpcompute in interface UnaryComputerOp<RandomAccessibleInterval<T extends IntegerType<T>>,ImgLabeling<L,I extends IntegerType<I>>>input - 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 inputpublic ImgLabeling<L,I> createOutput(RandomAccessibleInterval<T> input)
UnaryOutputFactorycreateOutput in interface UnaryOutputFactory<RandomAccessibleInterval<T extends IntegerType<T>>,ImgLabeling<L,I extends IntegerType<I>>>input - which determines how to create the outputpublic boolean conforms()
Contingentconforms in interface ContingentCopyright © 2014–2022 ImageJ. All rights reserved.