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.Flavor
NAME
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, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
getIndependentInstance, run, run, run
calculate, calculate, createOutput
compute
setOutput
in
candidates, filterArity, op
initialize
setInput
public void compute(T input, T output)
UnaryComputerOp
public void mutate(T arg)
UnaryInplaceOp
public T createOutput(T input)
UnaryOutputFactory
createOutput
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.