public class JPEGTileDecoder extends Object
Modifier and Type | Class and Description |
---|---|
(package private) class |
JPEGTileDecoder.TileCache |
(package private) class |
JPEGTileDecoder.TileConsumer |
Modifier and Type | Field and Description |
---|---|
private JPEGTileDecoder.TileConsumer |
consumer |
private RandomAccessInputStream |
in |
protected static org.slf4j.Logger |
LOGGER |
private JPEGTileDecoder.TileCache |
tiles |
Constructor and Description |
---|
JPEGTileDecoder() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getHeight() |
byte[] |
getScanline(int y) |
int |
getWidth() |
void |
initialize(RandomAccessInputStream in,
int imageWidth) |
void |
initialize(RandomAccessInputStream in,
int y,
int h,
int imageWidth) |
void |
initialize(String id,
int imageWidth) |
int[] |
preprocess(RandomAccessInputStream in)
Pre-process the stream to make sure that the
image width and height are non-zero.
|
protected static final org.slf4j.Logger LOGGER
private JPEGTileDecoder.TileConsumer consumer
private JPEGTileDecoder.TileCache tiles
private RandomAccessInputStream in
public void initialize(String id, int imageWidth)
public void initialize(RandomAccessInputStream in, int imageWidth)
public void initialize(RandomAccessInputStream in, int y, int h, int imageWidth)
public int[] preprocess(RandomAccessInputStream in)
public byte[] getScanline(int y)
public int getWidth()
public int getHeight()
public void close()
Copyright © 2016 Open Microscopy Environment