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>>
UnaryHybridCF
s that delegate to other
UnaryHybridCF
s.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, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWorker
getArity, getIndependentInstance, run, run
candidates, filterArity, op
ops, setEnvironment
in, setInput
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
run
setOutput
public O createOutput(I input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<I extends DI,O>
input
- which determines how to create the outputpublic void initialize()
Initializable
initialize
in interface Initializable
public void compute(I input, O output)
UnaryComputerOp
compute
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 input
Copyright © 2014–2022 ImageJ. All rights reserved.