Description: 实现jpeg图像解码功能。
代码设计思路:1, Reconstruct the Huffman/RLE stream to a sequence
2, Arrange the sequence to a matrix using the zigzag scanning backwards
3, Multiply the matrix by quantization table
4, Perform inverse DCT
5, Shift the values by +128
6, Transform back to RGB color space
-Realize jpeg image decoding capabilities. Code design: 1, Reconstruct the Huffman/RLE stream to a sequence2, Arrange the sequence to a matrix using the zigzag scanning backwards3, Multiply the matrix by quantization table Platform: |
Size: 186368 |
Author:颜新卉 |
Hits: