public class ScaleRealTypes<I extends RealType<I>,O extends RealType<O>> extends RealTypeConverter<I,O> implements Ops.Convert.Scale
SpecialOp.Flavor| Modifier and Type | Field and Description |
|---|---|
protected double |
factor |
protected double |
inMin |
protected double |
outMin |
NAME| Constructor and Description |
|---|
ScaleRealTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkInput(I inType,
O outType)
Allows the convert pix operation to determine some parameters from the
concrete input and output types.
|
void |
compute(I input,
O output)
Computes the output given some input.
|
checkInputin, out, setInput, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcompute, getIndependentInstance, run, runruncandidates, filterArity, opinitializeprotected double inMin
protected double outMin
protected double factor
public void compute(I input, O output)
UnaryComputerOppublic void checkInput(I inType, O outType)
RealTypeConvertercheckInput in class RealTypeConverter<I extends RealType<I>,O extends RealType<O>>Copyright © 2014–2022 ImageJ. All rights reserved.