T
- public class CopyImgLabeling<T extends IntegerType<T> & NativeType<T>,L> extends AbstractUnaryHybridCF<ImgLabeling<L,T>,ImgLabeling<L,T>> implements Ops.Copy.ImgLabeling, Contingent
ImgLabeling
into another ImgLabeling
SpecialOp.Flavor
NAME
Constructor and Description |
---|
CopyImgLabeling() |
Modifier and Type | Method and Description |
---|---|
void |
compute(ImgLabeling<L,T> input,
ImgLabeling<L,T> 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,T> |
createOutput(ImgLabeling<L,T> input)
Create an output object given some input.
|
void |
initialize()
Initializes the object.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, setInput
run
setOutput
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public ImgLabeling<L,T> createOutput(ImgLabeling<L,T> input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<ImgLabeling<L,T extends IntegerType<T> & NativeType<T>>,ImgLabeling<L,T extends IntegerType<T> & NativeType<T>>>
input
- which determines how to create the outputpublic void compute(ImgLabeling<L,T> input, ImgLabeling<L,T> output)
UnaryComputerOp
compute
in interface UnaryComputerOp<ImgLabeling<L,T extends IntegerType<T> & NativeType<T>>,ImgLabeling<L,T extends IntegerType<T> & NativeType<T>>>
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 input
public boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.