public class J2KImageReadParamJava extends J2KImageReadParam
ImageReadParam
for reading images in
the JPEG 2000 format.
The decoding parameters for JPEG 2000 are listed below:
Parameter Name | Description |
---|---|
decodingRate | Specifies the decoding rate in bits per pixel (bpp) where the
number of pixels is related to the image's original size (Note:
this parameter is not affected by resolution ). The
codestream is either parsed (default) or truncated depending
parsingEnabled . The default is Double.MAX_VALUE .
It means decoding with the encoding rate.
|
resolution | Specifies the resolution level wanted for the decoded image
(0 means the lowest available resolution, the resolution
level gives an image with the original dimension). If the given index
is greater than the number of available resolution levels of the
compressed image, the decoded image has the lowest available
resolution (among all tile-components). This parameter affects only
the inverse wavelet transform and not the number of bytes read by the
codestream parser, which depends only on decodingRate .
|
noROIDescaling | Ensures that no ROI de-scaling is performed. Decompression is done like there is no ROI in the image. |
parsingEnabled | Enable the parsing mode or not when the decoding rate is specified. If it is false, the codestream is decoded as if it were truncated to the given rate. If it is true, the decoder creates, truncates and decodes a virtual layer progressive codestream with the same truncation points in each code-block. |
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset
Constructor and Description |
---|
J2KImageReadParamJava()
Constructs a default instance of
J2KImageReadParamJava . |
J2KImageReadParamJava(ImageReadParam param) |
Modifier and Type | Method and Description |
---|---|
boolean |
getNoROIDescaling()
Gets
noROIDescaling |
boolean |
getParsingEnabled()
Gets
parsingEnabled |
void |
setNoROIDescaling(boolean value)
Sets
noROIDescaling |
void |
setParsingEnabled(boolean value)
Sets
parsingEnabled |
getDecodingRate, getResolution, setDecodingRate, setResolution
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling
public J2KImageReadParamJava()
J2KImageReadParamJava
.public J2KImageReadParamJava(ImageReadParam param)
public void setNoROIDescaling(boolean value)
noROIDescaling
public boolean getNoROIDescaling()
noROIDescaling
public void setParsingEnabled(boolean value)
parsingEnabled
public boolean getParsingEnabled()
parsingEnabled
Copyright © 2014 Open Microscopy Environment