I - type of inputO - type of output (for both the op and its worker)DI - type of input accepted by the worker oppublic abstract class UHCFViaUHCF<I extends DI,O,DI> extends AbstractUnaryHybridCF<I,O> implements DelegatingUnaryOp<I,O,DI,O,UnaryHybridCF<DI,O>>
UnaryHybridCFs that delegate to other
UnaryHybridCFs.SpecialOp.Flavor| Constructor and Description |
|---|
UHCFViaUHCF() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(I input,
O output)
Computes the output given some input.
|
O |
createOutput(I 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, waitcreateWorkergetArity, getIndependentInstance, run, runcandidates, filterArity, opops, setEnvironmentin, setInputcalculate, calculate, createOutput, getIndependentInstance, run, runcomputerunsetOutputpublic O createOutput(I input)
UnaryOutputFactorycreateOutput in interface UnaryOutputFactory<I extends DI,O>input - which determines how to create the outputpublic void initialize()
Initializableinitialize in interface Initializablepublic void compute(I input, O output)
UnaryComputerOpcompute in interface UnaryComputerOp<I extends DI,O>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 inputCopyright © 2014–2022 ImageJ. All rights reserved.