public class Jpeg2000GrindTest extends Object
| Modifier and Type | Class and Description | 
|---|---|
(package private) class  | 
Jpeg2000GrindTest.ChannelRunnable  | 
(package private) class  | 
Jpeg2000GrindTest.TileRunnable  | 
| Modifier and Type | Field and Description | 
|---|---|
private int | 
bytesPerPixel  | 
private Map<Integer,String> | 
hashDigests  | 
private File | 
id  | 
private Map<Integer,IFD> | 
ifds
All the IFDs we have used for each "plane". 
 | 
private int | 
lastIFD
Last IFD we used during a tile write operation. 
 | 
private static org.slf4j.Logger | 
LOGGER  | 
static String | 
PIXEL_TYPE  | 
private ExecutorService | 
pool
Thread pool executor service. 
 | 
static int | 
SIZE_C  | 
static int | 
SIZE_T  | 
static int | 
SIZE_X  | 
static int | 
SIZE_Y  | 
static int | 
SIZE_Z  | 
static int | 
THREAD_POOL_SIZE  | 
static int | 
TILE_HEIGHT  | 
static int | 
TILE_WIDTH  | 
private TiffWriter | 
writer  | 
| Constructor and Description | 
|---|
Jpeg2000GrindTest()  | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
initializeWriter(String output,
                String compression,
                boolean bigTiff)
Initializes the writer. 
 | 
void | 
setup()  | 
void | 
tearDown()  | 
void | 
testPyramidReadTilesMultiThreaded()  | 
void | 
testPyramidWriteTiles()  | 
private static final org.slf4j.Logger LOGGER
public static final String PIXEL_TYPE
public static final int SIZE_X
public static final int SIZE_Y
public static final int SIZE_Z
public static final int SIZE_C
public static final int SIZE_T
public static final int TILE_WIDTH
public static final int TILE_HEIGHT
public static final int THREAD_POOL_SIZE
private int bytesPerPixel
private TiffWriter writer
private File id
private int lastIFD
private ExecutorService pool
private void initializeWriter(String output, String compression, boolean bigTiff) throws Exception
output - The file where to write the compressed data.compression - The compression to use.bigTiff - Pass true to set the bigTiff
 flag, false otherwise.Exception - Thrown if an error occurred.Copyright © 2015 Open Microscopy Environment