Computer Engineering and Applications ›› 2020, Vol. 56 ›› Issue (6): 224-230.DOI: 10.3778/j.issn.1002-8331.1909-0064

Previous Articles     Next Articles

FPGA Implementation of Affine Transformation Based on Pre-interpolation

WU Yiyang, FAN Fan, ZHOU Yi, HUANG Jun   

  1. 1.School of Electronic Information, Wuhan University, Wuhan 430072, China
    2.Institute of Aerospace Science and Technology, Wuhan University, Wuhan 430072, China
  • Online:2020-03-15 Published:2020-03-13



  1. 1.武汉大学 电子信息学院,武汉 430072
    2.武汉大学 宇航科学与技术研究院,武汉 430072


The FPGA implementation of the affine transformation on the real-time video is mostly based on backward mapping, which derives the target image by bilinear interpolation of the four neighborhood pixels. However, the transmission of the four neighborhood pixels on the memory requires FPGA to provide the four times data bandwidth of the original image stream, resulting in the defects of high memory cost and low throughput. To solve this problem, the pre-interpolation based affine transformation is proposed in this paper. This method which adopts the four-corner mapping to construct the mapping function can perform bilinear interpolation before the image data flow is cached on the memory, so the four times data transmission bandwidthon the memory can be removed. Experiments on FPGA demonstrate that the proposed method has better overall performance in terms of throughput and memory cost compared to the affine transformation based on the backward mapping.

Key words: affine transformation, pre-interpolation, four-corner mapping, Field Programmable Gate Array(FPGA)



关键词: 仿射变换, 前置插值, 四角点映射, 现场可编程门阵列(FPGA)