毛昕蓉, 刘铠铭, 汪乐意, 韩晓冰. 基于FPGA的图像畸变矫正算法研究[J]. 应用光学, 2020, 41(1): 86-93. DOI: 10.5768/JAO202041.0102004
引用本文: 毛昕蓉, 刘铠铭, 汪乐意, 韩晓冰. 基于FPGA的图像畸变矫正算法研究[J]. 应用光学, 2020, 41(1): 86-93. DOI: 10.5768/JAO202041.0102004
MAO Xinrong, LIU Kaiming, WANG Leyi, HAN Xiaobing. Image distortion correction algorithm based on FPGA[J]. Journal of Applied Optics, 2020, 41(1): 86-93. DOI: 10.5768/JAO202041.0102004
Citation: MAO Xinrong, LIU Kaiming, WANG Leyi, HAN Xiaobing. Image distortion correction algorithm based on FPGA[J]. Journal of Applied Optics, 2020, 41(1): 86-93. DOI: 10.5768/JAO202041.0102004

基于FPGA的图像畸变矫正算法研究

Image distortion correction algorithm based on FPGA

  • 摘要: 在机器视觉中需要对采集到的带有畸变的图像进行矫正。为了提高对畸变图像校正的实时性,针对使用FPGA实现图像畸变矫正算法时,存在的在线计算逆向映射坐标复杂和片上ROM容量不够问题,压缩了逆向映射表,并在FPGA上利用插值方法在线重建了逆向映射表。通过查找重建的逆向映射表来获取逆向映射坐标,从而降低了FPGA的在线计算量和片上ROM的容量需求。MATLAB仿真结果显示,当压缩参数n分别取4、8、16时都能够对畸变图像进行较好的矫正,并且图像信息不会丢失。仿真结果验证了算法的有效性,该算法可用于基于FPGA的图像畸变矫正。

     

    Abstract: In machine vision, the collected images with distortion need to be corrected. In order to improve the real-time performance of distorted images correction, aiming at the problem of complex on-line calculation of reverse mapping coordinates and insufficient ROM capacity on chip when using FPGA(Field-Programmable Gate Array) to realize the algorithm of image distortion correction, the compressed reverse mapping table was reconstructed online by interpolation method on FPGA. The reverse mapping coordinates were obtained by seeking the reconstructed reverse mapping table, which reduced the online computation of FPGA and the capacity requirement of ROM on chip. The simulation results of MATLAB show that when the compressed parameters are 4, 8 and 16, respectively,the distortion images can be corrected better and the image information cannot be lost. The simulation results verify the effectiveness of algorithm, which can be used for image distortion correction based on FPGA.

     

/

返回文章
返回