| Algorithm 5. Pseudocode for the compressor part of the proposed near-lossless compression. |
|
Input: // hyperspectral data. Outputs: vecSeed, vecUnary. Initialization: . For all Do 1. Seed generation 2. Quadrature-based square rooting 3. Preparing the compressed stream the corresponding order of the seed value within the lookup table of the index (Table A1). the number of bits that correspond to index (Table 4). . ) // add the encoded seed to vecSeed vector. the corresponding unary code of the index value. ) // add unary code to vecUnary vector. End Do |