org.apache.sanselan.formats.tiff.photometricinterpreters
Class PhotometricInterpreter
java.lang.Object
org.apache.sanselan.formats.tiff.photometricinterpreters.PhotometricInterpreter
- Direct Known Subclasses:
- PhotometricInterpreterBiLevel, PhotometricInterpreterCIELAB, PhotometricInterpreterCMYK, PhotometricInterpreterLogLUV, PhotometricInterpreterPalette, PhotometricInterpreterRGB, PhotometricInterpreterYCbCr
public abstract class PhotometricInterpreter
- extends java.lang.Object
Constructor Summary |
PhotometricInterpreter(int fSamplesPerPixel,
int[] fBitsPerSample,
int Predictor,
int width,
int height)
|
Method Summary |
void |
dumpstats()
|
abstract void |
interpretPixel(java.awt.image.BufferedImage bi,
int[] samples,
int x,
int y)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
samplesPerPixel
protected final int samplesPerPixel
bitsPerSample
protected final int[] bitsPerSample
predictor
protected final int predictor
width
protected final int width
height
protected final int height
PhotometricInterpreter
public PhotometricInterpreter(int fSamplesPerPixel,
int[] fBitsPerSample,
int Predictor,
int width,
int height)
interpretPixel
public abstract void interpretPixel(java.awt.image.BufferedImage bi,
int[] samples,
int x,
int y)
throws ImageReadException,
java.io.IOException
- Throws:
ImageReadException
java.io.IOException
dumpstats
public void dumpstats()
throws ImageReadException,
java.io.IOException
- Throws:
ImageReadException
java.io.IOException
Copyright © 2007-2009. All Rights Reserved.