摘要
提出了一种基于STM32F417的JPEG图像压缩算法优化实现方案。该方案针对STM32在控制和数字信号处理方面的突出特性,将单周期指令应用于离散余弦变换、量化、熵编码处理过程的复杂运算中,在单周期时钟内完成多步计算,从而提高了算法的运算速度。实验结果表明,基于STM32F417的JPEG算法优化方案,在图像压缩质量恒定的情况下,有效地提升了JPEG算法的压缩效率,降低了运算时间,提高了图像压缩的实时性。
This paper proposed an optimized implementation program of JPEG image compression algorithm based on the STM32F417. Using the advantages of STM32 in controlling and digital signal processing to the image compression, the single-cycle instruction is ap- plied to the complex arithmetic of discrete cosine transform, quantization and entropy coding process, the optimized program can com- plete the multi-step calculations in a single clock cycle and speed up the process. Experimental results show that the proposed program highly improve the compression efficiency of JPEG algorithm with a constant image compression quality. Moreover, it reduces the algo- rithm executing time, and enhances the real-time of image compression.
出处
《洛阳理工学院学报(自然科学版)》
2016年第4期68-72,共5页
Journal of Luoyang Institute of Science and Technology:Natural Science Edition