• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学 ›› 2026, Vol. 48 ›› Issue (3): 467-475.

• 图形与图像 • 上一篇    下一篇

基于FPGA实现的改进误差补偿图像放大算法研究

万子荣,张彩珍   

  1. (兰州交通大学电子与信息工程学院,甘肃 兰州 730070)

  • 收稿日期:2024-04-09 修回日期:2024-10-30 出版日期:2026-03-25 发布日期:2026-03-25
  • 基金资助:
    甘肃省自然科学基金(23JRRA844);兰州交通大学教学改革项目(JGY202301)


An improved error compensation image magnification algorithm based on FPGA implementation

WAN Zirong,ZHANG Caizhen   

  1. (School of Electronic and Information Engineering,Lanzhou Jiaotong University,Lanzhou 730070,China)
  • Received:2024-04-09 Revised:2024-10-30 Online:2026-03-25 Published:2026-03-25

摘要: 为了尽可能地保持边缘信息,提高图像放大后的视觉效果,提出一种基于FPGA实现的改进误差补偿图像放大算法。该算法基于误差补偿理论,在对每个像素点进行误差补偿修正的基础上,增加了引导滤波。利用误差补偿后的图像作为引导滤波的引导图像和输入图像以保留更多的边缘信息,调整像素的权重并将参数ε设置为0.1。采用峰值信噪比PSNR、均值梯度和梯度标准差,对改进算法及双线性误差补偿算法进行了实验研究对比分析。研究结果表明,改进算法将图像的PSNR增加了3~9 dB,均值梯度减小了9~36,梯度标准差减少了8~26,可以有效改善图像边缘失真的情况。


关键词: 图像放大, 误差补偿, FPGA, 引导滤波, 边缘失真

Abstract: In order to maintain the edge information as much as possible and improve the visual effect of the enlarged image, an improved error compensation image enlargement algorithm based on FPGA implementation is proposed. The algorithm  is based on the theory of error compensation and adds a guided filter based on error compensation correction for each pixel. The error-compensated image is adopted as the guided image and input image of the guided  filter, adjusting pixel weights and setting the parameter ε to 0.1 to preserve more edge information. Experimental evaluations were conducted using peak signal-to-noise ratio(PSNR), mean gradient, and gradient standard deviation to compare the improved algorithm with the bilinear error compensation algorithm and analyze the results against those reported in the literature. The findings indicate that, compared to other algorithms, the improved algorithm increases the image’s PSNR by 3 dB to 9 dB, reduces the mean gradient by 9 to 36, and decreases the gradient standard deviation by 8 to 26, effectively mitigating edge distortion in images.

Key words: image enlargement, error compensation, FPGA, guided filter, edge distortion