摘要
在实际应用中,模糊图像清晰化处理难以在空域实现,为此需对图像进行频域转换,在频域中实现图像去模糊。采用FPGA开发平台“硬件”实现图像处理,实时性强,但消耗资源过多,执行效率低。针对此问题,提出了一种“软硬结合”的设计方案,以DE1-SoC开发板为硬件平台,在FPGA中配置Frame Reader、SDRAM、混合器、频域转换模块等,并映射到HPS中,HPS利用HPS-FPGA总线访问SDARM,获取模糊图像频谱图。利用Linux C编程在HPS中对模糊图像频谱图进行模糊尺度及角度估计,得到点扩散函数PSF,并利用经典复原算法进行复原,实现图像盲去模糊。系统应用基2-DIT-FFT对图像的行列依次进行频域转换,相比于固有IP核及通用频域转换模块,提高了图像频域转换精度,减少硬件资源消耗。
In practical applications, it is difficult to make blurred images clear in spatial domain. Therefore, it is necessary to transform the image in frequency domain and implement image deblurring in frequency domain. When using the development platform of FPGA, image processing is realized by pure hardware, which has strong real-time performance, but consumes too much resources and low execution efficiency. In order to solve this problem, this paper proposes a design scheme of combining hardware and software, which uses DE1-SoC development board as hardware platform, configures Frame Reader, SDRAM, mixer, frequency domain conversion module in FPGA, and maps them to HPS. HPS accesses SDARM using HPS-FPGA bus, and obtains the spectrum of blurred image. In HPS, it uses Linux C programming to estimate the scale and angle for blurred image spectrum, namely PSF, and restores it with classical restoration algorithm to realize blind deblurring. The system uses base 2-DIT-FFT to convert the rows and columns of images in frequency domain. Compared with the inherent IP core and general frequency domain conversion module, the system improves the image quality and reduces the consumption of hardware resources.
作者
李菁菁
刘云飞
Li Jingjing;Liu Yunfei(Institute of Information Science and Technology,Nanjing Forestry University,Nanjing 210037,China)
出处
《电子技术应用》
2019年第7期107-111,116,共6页
Application of Electronic Technique
基金
十三五国家重点研发计划(2017YFD0600900)