java.lang.Object
non_com.media.jai.codec.SimpleRenderedImage
non_com.media.jai.codec.FPXImage
- All Implemented Interfaces:
- java.awt.image.RenderedImage
- public class FPXImage
- extends SimpleRenderedImage
| Fields inherited from class non_com.media.jai.codec.SimpleRenderedImage |
colorModel, height, minX, minY, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width |
|
Method Summary |
private void |
addLPSTRProperty(java.lang.String name,
PropertySet ps,
int id)
|
private void |
addLPWSTRProperty(java.lang.String name,
PropertySet ps,
int id)
|
private void |
addUI4Property(java.lang.String name,
PropertySet ps,
int id)
|
private int |
getCompressionSubtype(int tileIndex)
|
private int |
getCompressionType(int tileIndex)
|
private void |
getImageInfo()
|
private java.awt.image.Raster |
getJPEGCompressedTile(int tileX,
int tileY)
|
private void |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String name)
Gets the Property attribute of the FPXImage object |
java.lang.String[] |
getPropertyNames()
Gets the PropertyNames attribute of the FPXImage object |
private java.awt.image.Raster |
getSingleColorCompressedTile(int tileX,
int tileY)
|
private void |
getSummaryInformation()
|
java.awt.image.Raster |
getTile(int tileX,
int tileY)
Gets the Tile attribute of the FPXImage object |
private int |
getTileOffset(int tileIndex)
|
private int |
getTileSize(int tileIndex)
|
private java.awt.image.Raster |
getUncompressedTile(int tileX,
int tileY)
|
private byte |
PhotoYCCToNIFBlue(float scaledY,
float Cb,
float Cr)
|
private byte |
PhotoYCCToNIFGreen(float scaledY,
float Cb,
float Cr)
|
private byte |
PhotoYCCToNIFRed(float scaledY,
float Cb,
float Cr)
|
private void |
readImageContents()
|
private void |
readResolution()
|
private byte |
YCCToNIFBlue(float Y,
float Cb,
float Cr)
|
private byte |
YCCToNIFGreen(float Y,
float Cb,
float Cr)
|
private byte |
YCCToNIFRed(float Y,
float Cb,
float Cr)
|
| Methods inherited from class non_com.media.jai.codec.SimpleRenderedImage |
copyData, getBounds, getColorModel, getData, getData, getHeight, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, 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 |
SUBIMAGE_COLOR_SPACE_COLORLESS
private static final int SUBIMAGE_COLOR_SPACE_COLORLESS
- See Also:
- Constant Field Values
SUBIMAGE_COLOR_SPACE_MONOCHROME
private static final int SUBIMAGE_COLOR_SPACE_MONOCHROME
- See Also:
- Constant Field Values
SUBIMAGE_COLOR_SPACE_PHOTOYCC
private static final int SUBIMAGE_COLOR_SPACE_PHOTOYCC
- See Also:
- Constant Field Values
SUBIMAGE_COLOR_SPACE_NIFRGB
private static final int SUBIMAGE_COLOR_SPACE_NIFRGB
- See Also:
- Constant Field Values
COLORSPACE_NAME
private static final java.lang.String[] COLORSPACE_NAME
RGBBits8
private static final int[] RGBBits8
colorModelRGB8
private static final java.awt.image.ComponentColorModel colorModelRGB8
PhotoYCCToRGBLUT
private static final byte[] PhotoYCCToRGBLUT
storage
StructuredStorage storage
numResolutions
int numResolutions
highestResWidth
int highestResWidth
highestResHeight
int highestResHeight
defaultDisplayHeight
float defaultDisplayHeight
defaultDisplayWidth
float defaultDisplayWidth
displayHeightWidthUnits
int displayHeightWidthUnits
subimageValid
boolean[] subimageValid
subimageWidth
int[] subimageWidth
subimageHeight
int[] subimageHeight
subimageColor
int[][] subimageColor
decimationMethod
int[] decimationMethod
decimationPrefilterWidth
float[] decimationPrefilterWidth
highestResolution
int highestResolution
maxJPEGTableIndex
int maxJPEGTableIndex
JPEGTable
byte[][] JPEGTable
numChannels
int numChannels
tileHeaderTableOffset
int tileHeaderTableOffset
tileHeaderEntryLength
int tileHeaderEntryLength
subimageHeaderStream
SeekableStream subimageHeaderStream
subimageDataStream
SeekableStream subimageDataStream
resolution
int resolution
tilesAcross
int tilesAcross
bandOffsets
int[] bandOffsets
properties
java.util.Hashtable properties
FPXImage
public FPXImage(SeekableStream stream,
FPXDecodeParam param)
throws java.io.IOException
- Constructor for the FPXImage object
getTile
public java.awt.image.Raster getTile(int tileX,
int tileY)
- Gets the Tile attribute of the FPXImage object
getPropertyNames
public java.lang.String[] getPropertyNames()
- Gets the PropertyNames attribute of the FPXImage object
- Specified by:
getPropertyNames in interface java.awt.image.RenderedImage- Overrides:
getPropertyNames in class SimpleRenderedImage
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Gets the Property attribute of the FPXImage object
- Specified by:
getProperty in interface java.awt.image.RenderedImage- Overrides:
getProperty in class SimpleRenderedImage
getTileOffset
private int getTileOffset(int tileIndex)
throws java.io.IOException
getTileSize
private int getTileSize(int tileIndex)
throws java.io.IOException
getCompressionType
private int getCompressionType(int tileIndex)
throws java.io.IOException
getCompressionSubtype
private int getCompressionSubtype(int tileIndex)
throws java.io.IOException
getUncompressedTile
private java.awt.image.Raster getUncompressedTile(int tileX,
int tileY)
throws java.io.IOException
getSingleColorCompressedTile
private java.awt.image.Raster getSingleColorCompressedTile(int tileX,
int tileY)
throws java.io.IOException
getJPEGCompressedTile
private java.awt.image.Raster getJPEGCompressedTile(int tileX,
int tileY)
throws java.io.IOException
getSummaryInformation
private void getSummaryInformation()
getImageInfo
private void getImageInfo()
getProperties
private void getProperties()
readImageContents
private void readImageContents()
throws java.io.IOException
readResolution
private void readResolution()
throws java.io.IOException
PhotoYCCToNIFRed
private final byte PhotoYCCToNIFRed(float scaledY,
float Cb,
float Cr)
PhotoYCCToNIFGreen
private final byte PhotoYCCToNIFGreen(float scaledY,
float Cb,
float Cr)
PhotoYCCToNIFBlue
private final byte PhotoYCCToNIFBlue(float scaledY,
float Cb,
float Cr)
YCCToNIFRed
private final byte YCCToNIFRed(float Y,
float Cb,
float Cr)
YCCToNIFGreen
private final byte YCCToNIFGreen(float Y,
float Cb,
float Cr)
YCCToNIFBlue
private final byte YCCToNIFBlue(float Y,
float Cb,
float Cr)
addLPSTRProperty
private void addLPSTRProperty(java.lang.String name,
PropertySet ps,
int id)
addLPWSTRProperty
private void addLPWSTRProperty(java.lang.String name,
PropertySet ps,
int id)
addUI4Property
private void addUI4Property(java.lang.String name,
PropertySet ps,
int id)