针对JPEG压缩编码在各种嵌入式系统中的广泛应用,提出基于通用DSP,采用软件方法实现图像JPEG压缩编码的方法;文中首先给出了JPEG基本顺序过程的算法实现流程,同时重点研究了该方法中FDCT变换的快速算法和Huffman编码的代码实现;最后给出了彩色原始图像由不同的量化表得出的实验结果,并给出实验评价,实验结果表明这种方法有效地减小了图片存储所需空间,提高了系统的实时性和应用价值。
Aim at widespread application of JPEG compressed encoding in kinds of embedded system, proposed a method based on the general DSP and use the software to realize picture JPEG compression code. At first, giving the basic sequence process's algorithm realization flow , at the same time, study in the fast FDCT transformation algorithm and the Huffman code realizes with emphasis. At the last , giving the colored primitive image' s experimental result obtained by the different quantification tables , and obtains the experiment appraisement. The experimental result indicate that this method reduced effectively the space of the picture, enhances system's Real-time performance and the application value.