| Algorithm 3. Pseudocode for the decompressor part of the proposed lossless compression. | |
|
Inputs: vecRice, vecFrac, vecRLE, vecUnary. Output: // reconstructed hyperspectral data. Initializations: the number of bits derived from the next unary code in vecUnary. bits from vecRLE. For all in vecRLE Do While Do If Then Else get the next rice code from vecRice. ) If Then the value of the next unary code from vecFrac Else bits from vecFrac. End If End Do End Do |