public abstract class AbstractLUTRealTransform extends Object implements InvertibleRealTransform
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
lut |
protected int |
lutMaxIndex |
protected int |
numSourceDimensions |
protected int |
numTargetDimensions |
| Constructor and Description |
|---|
AbstractLUTRealTransform(double[] lut,
int numSourceDimensions,
int numTargetDimensions) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
apply(double x) |
protected double |
applyChecked(double x) |
protected double |
applyInverse(double y) |
protected double |
applyInverseChecked(double y) |
protected int |
findFloorIndex(double y)
Finds the LUT index i of the largest value smaller than or equal y for
all y in [lut[0],lut[max]] both inclusive.
|
double |
maxTransformedCoordinate() |
double |
minTransformedCoordinate() |
int |
numSourceDimensions() |
int |
numTargetDimensions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyInverse, applyInverse, applyInverse, copy, inverseapply, apply, apply, isIdentityprotected final int numSourceDimensions
protected final int numTargetDimensions
protected final int lutMaxIndex
protected final double[] lut
public AbstractLUTRealTransform(double[] lut,
int numSourceDimensions,
int numTargetDimensions)
protected double apply(double x)
protected double applyChecked(double x)
protected int findFloorIndex(double y)
y - protected double applyInverse(double y)
protected double applyInverseChecked(double y)
public double minTransformedCoordinate()
public double maxTransformedCoordinate()
public int numSourceDimensions()
numSourceDimensions in interface RealTransformpublic int numTargetDimensions()
numTargetDimensions in interface RealTransformCopyright © 2015–2021 Fiji. All rights reserved.