JPEG2000 Kakadu Source Code 3: Code Decoding (1)

xiaoxiao2021-03-06  20

The content of this chapter may involve some knowledge of signal and image processing, I will use more formal expressions as much as possible, and the specific content can be referred to related books. Some basic knowledge of JPEG2000 signal and information processing can also refer to my notes: http://lincoln.yu.googlepages.com/sgnotes.zip

The code stream decoding process starts from the construction declaration of the KDU_CODESTREAM CODESTREAM in the main function. The binding of the input stream is then complete, and some basic settings of Codestream. Then obtain the number of channels in the channel according to the existing information of CODESTREAM and acquire the image size (DIMENSION) information of each channel. Then complete the configuration of the output stream. Then two While nesting is a key step in decoding.

Decoding is based on a unit type KDE_FLOW_CONTROL, which is based on the pointer array of Tile. The first layer of While is scanned by the For loop to call the Advance_tile process to determine if each array unit is completed. The second layer of while is decoding each unit in the line. Thus, Advance_Components and Process_components are the core decoding steps.

转载请注明原文地址:https://www.9cbs.com/read-50204.html

New Post(0)