public class AddNoiseRealTypeCFI<T extends RealType<T>> extends AbstractUnaryHybridCFI<T,T> implements Ops.Filter.AddNoise
This op is a hybrid computer/function/inplace, since input and output types
are the same. For input and output of different types, see
AddNoiseRealType.
SpecialOp.FlavorNAME| Constructor and Description |
|---|
AddNoiseRealTypeCFI() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(T input,
T output)
Computes the output given some input.
|
T |
createOutput(T input)
Create an output object given some input.
|
void |
mutate(T arg)
Mutates the given input argument in-place.
|
in, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentgetIndependentInstance, run, run, runcalculate, calculate, createOutputcomputesetOutputincandidates, filterArity, opinitializesetInputpublic void compute(T input, T output)
UnaryComputerOppublic void mutate(T arg)
UnaryInplaceOppublic T createOutput(T input)
UnaryOutputFactorycreateOutput in interface UnaryOutputFactory<T extends RealType<T>,T extends RealType<T>>input - which determines how to create the outputCopyright © 2014–2022 ImageJ. All rights reserved.