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 loci.common.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(loci.common.RandomAccessInputStream in,
int imageWidth) |
void |
initialize(loci.common.RandomAccessInputStream in,
int y,
int h,
int imageWidth) |
void |
initialize(String id,
int imageWidth) |
int[] |
preprocess(loci.common.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 loci.common.RandomAccessInputStream in
public void initialize(String id, int imageWidth)
public void initialize(loci.common.RandomAccessInputStream in, int imageWidth)
public void initialize(loci.common.RandomAccessInputStream in, int y, int h, int imageWidth)
public int[] preprocess(loci.common.RandomAccessInputStream in)
public byte[] getScanline(int y)
public int getWidth()
public int getHeight()
public void close()
Copyright © 2017 Open Microscopy Environment