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.
|
checkInput
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
compute, getIndependentInstance, run, run
run
candidates, filterArity, op
initialize
protected double inMin
protected double outMin
protected double factor
public void compute(I input, O output)
UnaryComputerOp
public void checkInput(I inType, O outType)
RealTypeConverter
checkInput
in class RealTypeConverter<I extends RealType<I>,O extends RealType<O>>
Copyright © 2014–2022 ImageJ. All rights reserved.