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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|