public class JPEG2000CodecOptions extends CodecOptions
Modifier and Type | Field and Description |
---|---|
int[] |
codeBlockSize
The maximum code-block size to use per tile-component as it would be
provided to:
J2KImageWriteParam.setCodeBlockSize(int[])
(WRITE). |
java.lang.Integer |
numDecompositionLevels
The number of decomposition levels as would be provided to:
J2KImageWriteParam.setNumDecompositionLevels(int)
(WRITE). |
java.lang.Integer |
resolution
The resolution level as would be provided to:
J2KImageReadParam.setResolution(int)
(READ). |
boolean |
writeBox
Whether or not to write a boxed stream, i.e.
|
bitsPerSample, channels, colorModel, height, interleaved, littleEndian, lossless, maxBytes, previousImage, quality, signed, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width, ycbcr
Constructor and Description |
---|
JPEG2000CodecOptions()
Creates a new instance.
|
JPEG2000CodecOptions(CodecOptions options)
Creates a new instance with options.
|
Modifier and Type | Method and Description |
---|---|
static JPEG2000CodecOptions |
getDefaultOptions()
Return JPEG2000CodecOptions with reasonable default values.
|
static JPEG2000CodecOptions |
getDefaultOptions(CodecOptions options)
Return JPEG2000CodecOptions using the given CodecOptions as the default.
|
public int[] codeBlockSize
J2KImageWriteParam.setCodeBlockSize(int[])
(WRITE).public java.lang.Integer numDecompositionLevels
J2KImageWriteParam.setNumDecompositionLevels(int)
(WRITE). Leaving this value null
signifies that when a JPEG
2000 parameter set is created for the purposes of compression the number
of decomposition levels will be left as the default.public java.lang.Integer resolution
J2KImageReadParam.setResolution(int)
(READ). Leaving this value null
signifies that when a JPEG
2000 parameter set is created for the purposes of compression the number
of decomposition levels will be left as the default.public boolean writeBox
public JPEG2000CodecOptions()
public JPEG2000CodecOptions(CodecOptions options)
options
- The option to set.public static JPEG2000CodecOptions getDefaultOptions()
public static JPEG2000CodecOptions getDefaultOptions(CodecOptions options)
options
- The specified options.Copyright © 2017 Open Microscopy Environment