public abstract class PhotometricInterpreter extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected int |
predictor |
protected int |
samplesPerPixel |
protected int |
width |
Constructor and Description |
---|
PhotometricInterpreter(int samplesPerPixel,
int[] bitsPerSample,
int predictor,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
protected int |
getBitsPerSample(int offset) |
abstract void |
interpretPixel(ImageBuilder imageBuilder,
int[] samples,
int x,
int y) |
protected final int samplesPerPixel
protected final int predictor
protected final int width
protected final int height
public PhotometricInterpreter(int samplesPerPixel, int[] bitsPerSample, int predictor, int width, int height)
public abstract void interpretPixel(ImageBuilder imageBuilder, int[] samples, int x, int y) throws ImageReadException, IOException
ImageReadException
IOException
protected int getBitsPerSample(int offset)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.