|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.media.jai.codecimpl.SimpleRenderedImage
uk.ac.essex.common.image.DicomImage
public class DicomImage
A class defines the decoded 12-bit DICOM image. This class contains a single-tile short-type image in a little-endian file format. A list of primary medical image parameters such as image width, image height, image position, image orientation, and etc are decoded and stored in this class. Note that this simple DICOM decoder may not support some of the DICOM images. In this case, the user should extend the functionality of this class or write their own DICOM decoder.
Field Summary |
---|
Fields inherited from class com.sun.media.jai.codecimpl.SimpleRenderedImage |
---|
colorModel, height, minX, minY, properties, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width |
Constructor Summary | |
---|---|
DicomImage(java.lang.String fileName)
Constructor. |
Method Summary | |
---|---|
java.awt.image.Raster |
computeTile(int tileX,
int tileY)
Create the single tile of this image. |
int |
getMaximum()
Return the maximum pixel value in this image. |
int |
getMinimum()
Return the minimum pixel value of this image. |
double |
getPixelSizeX()
Return the pixel size in X-direction, in mm . |
double |
getPixelSizeY()
Return the pixel size in Y-direction, in mm . |
java.awt.image.Raster |
getTile(int tileX,
int tileY)
Get the tile. |
Methods inherited from class com.sun.media.jai.codecimpl.SimpleRenderedImage |
---|
copyData, getBounds, getColorModel, getData, getData, getHeight, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, tileXToX, tileXToX, tileYToY, tileYToY, XToTileX, XToTileX, YToTileY, YToTileY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DicomImage(java.lang.String fileName)
Method Detail |
---|
public double getPixelSizeX()
mm
.
public double getPixelSizeY()
mm
.
public int getMaximum()
public int getMinimum()
public java.awt.image.Raster getTile(int tileX, int tileY)
java.lang.IllegalArgumentException
- When the tile position is not
(0, 0)
.public java.awt.image.Raster computeTile(int tileX, int tileY)
(0, 0)
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |