public static class ConvertTypes.ComplexToUint8<C extends ComplexType<C>> extends AbstractUnaryHybridCF<C,UnsignedByteType> implements Ops.Convert.Uint8
SpecialOp.Flavor
ALIASES, NAME
Constructor and Description |
---|
ComplexToUint8() |
Modifier and Type | Method and Description |
---|---|
void |
compute(C input,
UnsignedByteType output)
Computes the output given some input.
|
UnsignedByteType |
createOutput(C input)
Create an output object given some input.
|
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
initialize
public UnsignedByteType createOutput(C input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<C extends ComplexType<C>,UnsignedByteType>
input
- which determines how to create the outputpublic void compute(C input, UnsignedByteType output)
UnaryComputerOp
compute
in interface UnaryComputerOp<C extends ComplexType<C>,UnsignedByteType>
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.