FlowJ
Class FlowJDisplay
java.lang.Object
|
+--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.
Method Summary |
static ij.process.ImageProcessor |
dcmImage(FlowJFlow f,
ij.process.ImageProcessor image,
float scale,
float rho)
|
static ij.process.ImageProcessor |
mapImage(float[][][] f,
boolean[][] full,
ij.process.ImageProcessor image,
int mapping,
int mappingaxes,
float pFactor,
float qFactor,
float rho)
Map the 2D flow field f into an imageprocessor ([vx, vy][y][x]). |
static ij.process.ImageProcessor |
quiver(FlowJFlow f,
float scale,
float rho)
|
static java.lang.String |
toString(int mapping,
float scale,
float rho)
Convert FlowJDisplay parameters to a String. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DCM2D
public static final int DCM2D
QUIVER
public static final int QUIVER
DCNOISE
public static final int DCNOISE
SPOTNOISE
public static final int SPOTNOISE
DCM3D
public static final int DCM3D
DCM3DNOISE
public static final int DCM3DNOISE
description
public static java.lang.String[] description
FlowJDisplay
public FlowJDisplay()
quiver
public static ij.process.ImageProcessor quiver(FlowJFlow f,
float scale,
float rho)
dcmImage
public static ij.process.ImageProcessor dcmImage(FlowJFlow f,
ij.process.ImageProcessor image,
float scale,
float rho)
toString
public static java.lang.String toString(int mapping,
float scale,
float 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,
float pFactor,
float qFactor,
float 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.
Submit a bug or feature
Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.