摘要
目前实时视频的仿射变换FPGA实现方法主要基于反向映射原理。该方法在缓存一帧图像后采用四邻域像素的双线性插值得到仿射图像,但是四邻域像素的存储器读写需要FPGA提供四倍于原始图像流的传输带宽,导致FPGA无法同时兼顾存储资源消耗与数据吞吐率。针对该问题,提出了一种插值前置的仿射变换FPGA实现方法,该方法采用四角点映射方式将双线性插值计算提前到存储器缓存原始图像之前,避免双线性插值直接读写存储器所导致的数据带宽倍增问题。实验结果表明,与基于反向映射的仿射变换FPGA实现方法相比,该方法在保证高数据吞吐率的同时,降低了存储资源的消耗。
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.
作者
吴艺阳
樊凡
周怡
黄珺
WU Yiyang;FAN Fan;ZHOU Yi;HUANG Jun(School of Electronic Information,Wuhan University,Wuhan 430072,China;Institute of Aerospace Science and Technology,Wuhan University,Wuhan 430072,China)
出处
《计算机工程与应用》
CSCD
北大核心
2020年第6期224-230,共7页
Computer Engineering and Applications
基金
国家自然科学基金(No.61605146)