Implementing JPEG 2000 Plug in Features
JPEG 2000 is a wavelet-based compression stored in a hierarchical format, which contains several stored resolutions of the image in the same bit-stream without duplication. For that reason, a JPEG 2000 compressed image can then be sent to a device in the resolution that best fits, without additional storage overhead.
The LEADTOOLS JPEG 2000 Plug in provides support for encoding and decoding a JPEG 2000 bit-stream. The JPEG 2000 compression provides greater flexibility and better image quality, especially at higher compression ratios, than standard JPEG. The greater flexibility includes the ability to control:
whether or not to transform RGB images to YUV prior to compression
the type of quantization to use when determining the quantization step size
the amount of compression
the size and location of tiles
the number of resolution levels in the bit-stream
the progression order
the code block height and width
whether to use markers to help detect corruption during transmission
etc.
LEADTOOLS provides a FILEJ2KOPTIONS structure for controlling the JPEG 2000 features listed above. To determine the current settings for the JPEG 2000 features, use the LDicomDS::GetJ2KOptions function. To change the JPEG 2000 features, use the LDicomDS::SetJ2KOptions function.
To get the default settings for the JPEG2000 features, use the LDicomDS::GetDefaultJ2KOptions function.
This support is available only in the LEADTOOLS JPEG 2000 Plug in, and must be unlocked. For more information on unlocking this support, refer to JPEG 2000 Plug In Support Instructions.