public abstract class AbstractLUTRealTransformField extends Object implements InvertibleRealTransform
Modifier and Type | Field and Description |
---|---|
protected RandomAccess<DoubleType> |
access |
protected int |
lutMaxIndex |
protected RandomAccessibleInterval<DoubleType> |
luts |
protected int |
numSourceDimensions |
protected int |
numTargetDimensions |
protected int |
transformDimension |
Constructor and Description |
---|
AbstractLUTRealTransformField(double[] lut,
int numSourceDimensions,
int numTargetDimensions,
long... dimensions) |
AbstractLUTRealTransformField(int numSourceDimensions,
int numTargetDimensions,
RandomAccessibleInterval<DoubleType> luts) |
Modifier and Type | Method and Description |
---|---|
protected double |
apply(double z,
int x,
int y) |
protected double |
applyChecked(double z,
int x,
int y) |
protected double |
applyInverse(double zPrime,
int x,
int y) |
protected double |
applyInverseChecked(double zPrime,
int x,
int y) |
protected int |
findFloorIndex(double zPrime,
int x,
int y)
Implemented as bin-search.
|
double |
maxTransformedCoordinate(int x,
int y) |
double |
minTransformedCoordinate(int x,
int y) |
int |
numSourceDimensions() |
int |
numTargetDimensions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyInverse, applyInverse, applyInverse, copy, inverse
apply, apply, apply, isIdentity
protected final int numSourceDimensions
protected final int numTargetDimensions
protected final int lutMaxIndex
protected final RandomAccessibleInterval<DoubleType> luts
protected final int transformDimension
protected final RandomAccess<DoubleType> access
public AbstractLUTRealTransformField(double[] lut, int numSourceDimensions, int numTargetDimensions, long... dimensions)
public AbstractLUTRealTransformField(int numSourceDimensions, int numTargetDimensions, RandomAccessibleInterval<DoubleType> luts)
protected double apply(double z, int x, int y)
protected double applyChecked(double z, int x, int y)
protected int findFloorIndex(double zPrime, int x, int y)
protected double applyInverse(double zPrime, int x, int y)
protected double applyInverseChecked(double zPrime, int x, int y)
public double minTransformedCoordinate(int x, int y)
public double maxTransformedCoordinate(int x, int y)
public int numSourceDimensions()
numSourceDimensions
in interface RealTransform
public int numTargetDimensions()
numTargetDimensions
in interface RealTransform
Copyright © 2015–2021 Fiji. All rights reserved.