fable.imageviewer.internal
Class ImageUtils
java.lang.Object
fable.imageviewer.internal.ImageUtils
public class ImageUtils
- extends java.lang.Object
ImageUtils is a class of utilities used mainly by the ImageView class. It
consists of static methods for doing a number of useful image related jobs.
- Author:
- Andy Gotz
Method Summary |
static ImageComponent |
getComponentFromPartSelected()
|
static void |
Slice2DArea(int _y1,
int _z1,
int _y2,
int _z2)
Make and display a 2d image by taking a 2d slice across all images
currently selected in sample navigator. |
static void |
Slice2DLine(int _y1,
int _z1,
int _y2,
int _z2,
int _width)
Make and display a 2d image by taking a 1d slice across all images
currently selected in the sample navigator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageUtils
public ImageUtils()
Slice2DLine
public static void Slice2DLine(int _y1,
int _z1,
int _y2,
int _z2,
int _width)
- Make and display a 2d image by taking a 1d slice across all images
currently selected in the sample navigator.
This action runs as a job because it can take a lot time to read all the
images.
- Parameters:
y1
- - line start xz1
- - line start yy2
- - line end xz2
- - line end ywidth
- - line width
Slice2DArea
public static void Slice2DArea(int _y1,
int _z1,
int _y2,
int _z2)
- Make and display a 2d image by taking a 2d slice across all images
currently selected in sample navigator.
This action runs as a job because it can take a lot time to read all the
images.
- Parameters:
_y1
- - area to slice starts at [y1,z1]_z1
- - area to slice starts at [y1,z1]_y2
- - area to slice ends at [y2,z2]_z2
- - area to slice ends at [y2,z2]
getComponentFromPartSelected
public static ImageComponent getComponentFromPartSelected()