说明: 实现基本JPEG的压缩和编码
% 1. 首先通过DCT变换去除数据冗余;
% 2. 使用量化表对DCT系数进行量化;
% 3. 对量化后的系数进行Huffman编码。
(achieve basic JPEG compression and coding% 1. First through DCT remove data redundancy; % 2. Using quantitative table right DCT coefficient quantization; 3. Right quantized coefficients of Huffman coding.)