FlowJ
Class FlowJDisplay

java.lang.Object
  extended by FlowJ.FlowJDisplay
Direct Known Subclasses:
OF3DDisplay

public class FlowJDisplay
extends java.lang.Object

OFDisplay class implements the 2D display of 2D flow fields in different formats. Copyright (c) 1999-2003, Michael Abramoff. All rights reserved.


Field Summary
static int DCM2D
           
static int DCM3D
           
static int DCM3DNOISE
           
static int DCNOISE
           
static java.lang.String[] description
           
static int QUIVER
           
static int SPOTNOISE
           
 
Constructor Summary
FlowJDisplay()
           
 
Method Summary
static ij.process.ImageProcessor dcmImage(FlowJFlow f, ij.process.ImageProcessor image, double scale, double rho)
           
static ij.process.ImageProcessor mapImage(float[][][] f, boolean[][] full, ij.process.ImageProcessor image, int mapping, int mappingaxes, double pFactor, double qFactor, double rho)
          Map the 2D flow field f into an imageprocessor ([vx, vy][y][x]).
static ij.process.ImageProcessor quiver(FlowJFlow f, double scale, double rho)
           
static java.lang.String toString(int mapping, double scale, double rho)
          Convert FlowJDisplay parameters to a String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DCM2D

public static final int DCM2D
See Also:
Constant Field Values

QUIVER

public static final int QUIVER
See Also:
Constant Field Values

DCNOISE

public static final int DCNOISE
See Also:
Constant Field Values

SPOTNOISE

public static final int SPOTNOISE
See Also:
Constant Field Values

DCM3D

public static final int DCM3D
See Also:
Constant Field Values

DCM3DNOISE

public static final int DCM3DNOISE
See Also:
Constant Field Values

description

public static java.lang.String[] description
Constructor Detail

FlowJDisplay

public FlowJDisplay()
Method Detail

quiver

public static ij.process.ImageProcessor quiver(FlowJFlow f,
                                               double scale,
                                               double rho)

dcmImage

public static ij.process.ImageProcessor dcmImage(FlowJFlow f,
                                                 ij.process.ImageProcessor image,
                                                 double scale,
                                                 double rho)

toString

public static java.lang.String toString(int mapping,
                                        double scale,
                                        double rho)
Convert FlowJDisplay parameters to a String.


mapImage

public static ij.process.ImageProcessor mapImage(float[][][] f,
                                                 boolean[][] full,
                                                 ij.process.ImageProcessor image,
                                                 int mapping,
                                                 int mappingaxes,
                                                 double pFactor,
                                                 double qFactor,
                                                 double rho)
Map the 2D flow field f into an imageprocessor ([vx, vy][y][x]).

Parameters:
f - is a 2D flow field.
full - tells whether or not the f at x,y is a full flow field.
image - is an optional 2D background image.
mapping - determines one of the mappingtypes.
mappingaxes - determines the axes along which the mapping will be rotated.
pFactor - and qFactor are 2D scaling factors.
rho - determines the maximal mapped magnitude.