针对图像编码与重构系统的实际需求,设计了一种基于HPS和FPGA的图像处理系统。该系统实现了图像的实时采集、压缩、传输和重构。系统采用DE1-So C开发板,在FPGA中设计了D5M摄像头、SDRAM、VGA的IP核,在QSYS中利用AXI和Avalon总线连接IP核,利用Linux C编程在HPS中实现了图像的压缩感知(CS)编码和传输,在MATLAB上位机中接收压缩数据并实现图像的重构,减少了FPGA资源使用和设计复杂度。结果表明,该系统能够实现任意自然图像的处理,图像压缩比约为8%,PSNR约为41 d B,应用灵活,可移植性强,能够满足实际工程的需要。
In view of the practical demand of the image coding and reconstruction system, this paper designed an image processing system based on HPS and FPGA at the DE1-SoC board which can realize the real-time collection, compression, transmission and reconstruction of the image. The IP core of DSM camera , SDRAM and VGA were designed in FPGA, and then the AXI and Avalon bus were used to connect the IP core in QSYS. Linux C programmed was used to achieve the image of CS coding and transmission in HPS. Finally, receiving data and reconstructing image by MATLAB in the PC, it can reduce the resource of FPAG and the complexity of design. The results show that the system can realize the capturing and compression transmission of any natu- ral image, the image compression ratio is about 8%, PSNR is about 41 dB. It has flexible application and portability, and can meet the needs of practical engineering.