FlowJ
Class FlowJMapper
java.lang.Object
FlowJ.FlowJMapper
- Direct Known Subclasses:
- Flow3JColorNoiseMapper, Flow3JDynamicColorMapper, FlowJColorNoiseMapper, FlowJDynamicColorMapper, FlowJQuiverMapper, FlowJSpotNoiseMapper
public class FlowJMapper
- extends java.lang.Object
This class is the superclass for the OF display mappers.
Copyright (c) 1999-2003, Michael Abramoff. All rights reserved.
|
Constructor Summary |
FlowJMapper()
|
FlowJMapper(ij.process.ImageProcessor impr,
float[][][] flow,
int axes,
int maxp,
int maxq,
double pScaling,
double qScaling,
double rho)
|
|
Method Summary |
static float[] |
bl(float[][][] v,
int x,
int y,
double dx,
double dy)
This is a HACK and should not be here. |
void |
pixel(int ip,
int iq,
int ix,
int iy,
double dx,
double dy)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlowJMapper
public FlowJMapper()
FlowJMapper
public FlowJMapper(ij.process.ImageProcessor impr,
float[][][] flow,
int axes,
int maxp,
int maxq,
double pScaling,
double qScaling,
double rho)
pixel
public void pixel(int ip,
int iq,
int ix,
int iy,
double dx,
double dy)
bl
public static float[] bl(float[][][] v,
int x,
int y,
double dx,
double dy)
- This is a HACK and should not be here.
Bilinear interpolation of 2D or 3D-vector organised as float[][][].
- Parameters:
v - the 2-D matrix or 3-D volume to be interpolated.x - the integer x position at which to interpolate.y - the integer x position at which to interpolate.dx - the x-weight to use for interpolation.dy - the y-weight to use for interpolation.
- Returns:
- a vector with the interpolated x and y values.