public class InverseCoordinateTransformMap2D extends Object implements InverseCoordinateTransform
InverseCoordinateTransform that is saved as a LUT on integer
 coordinates.| Modifier and Type | Field and Description | 
|---|---|
protected int | 
height  | 
protected float[][] | 
map
target coordinates addressed interleaved as
 map[ row ][ 2 * column ] = x
 map[ row ][ 2 * column + 1 ] = y 
 | 
protected int | 
width  | 
| Constructor and Description | 
|---|
InverseCoordinateTransformMap2D(FileInputStream fis)  | 
InverseCoordinateTransformMap2D(float[][] map)  | 
InverseCoordinateTransformMap2D(InverseCoordinateTransform t,
                               int width,
                               int height)  | 
| Modifier and Type | Method and Description | 
|---|---|
double[] | 
applyInverse(double[] location)
Apply the inverse of the model to a point location 
 | 
void | 
applyInverseInPlace(double[] location)
apply the inverse of the model to a point location 
 | 
void | 
export(FileOutputStream fos)  | 
int | 
getHeight()  | 
int | 
getWidth()  | 
protected final float[][] map
protected final int width
protected final int height
public InverseCoordinateTransformMap2D(float[][] map)
public InverseCoordinateTransformMap2D(InverseCoordinateTransform t, int width, int height)
public InverseCoordinateTransformMap2D(FileInputStream fis) throws IOException
IOExceptionpublic final int getWidth()
public final int getHeight()
public void export(FileOutputStream fos) throws IOException
IOExceptionpublic double[] applyInverse(double[] location)
InverseCoordinateTransformapplyInverse in interface InverseCoordinateTransformpublic void applyInverseInPlace(double[] location)
InverseCoordinateTransformapplyInverseInPlace in interface InverseCoordinateTransformCopyright © 2015–2021 Fiji. All rights reserved.