摘要: |
图像传感器在采集每一个像素时仅采集它的R、G、B其中一种颜色分量的强度信息.在彩色数字图像系统中,需对传感器图像进行实时处理和颜色插值.邻近插值算法的时间复杂度和空间复杂度都较小,可以通过流处理实现,这使得它容易在FPGA上实现且节省硬件资源.在进行硬件实现之前首先通过MATLAB对邻近插值法的还原效果进行验证.硬件设计中使用移位寄存器连接FIFO的架构,并使用标准Verilog代码编写实现,最终用Modelsim仿真验证设计. |
关键词: 邻近插值法 流处理 Bayer RGB FPGA |
DOI: |
分类号: |
基金项目: |
|
Implementation of restoring Bayer RGB on FPGA through Nearest Neighbor Interpolation |
WANG Jian, YING Jun, ZENG Weijun, ZENG Shuang
|
College of Informiation,Mechanical and Electrical Engineering,Shanghai Normal University
|
Abstract: |
Image sensors only sample the intensity information of one color component of RGB when each pixel is collected.In color digital image system,it needs real-time processing and color interpolation for the sensor image.Both time complexity and space complexity of Nearest Neighbor Interpolation(NNI) are smaller and can be achieved by stream processing,which makes it easy to be implemented in the FPGA hardware and is hardware resource-saving.First,the NNI′s restoration effect of neighbor interpolation method is verified by MATLAB before making hardware implementation.In the hardware design,shift register is used to connect FIFO′s framework,standard Verilog code is used for realization and finally Modelsim is used to simulate and verify design. |
Key words: Nearest Neighbor Interpolation(NNI) sream processing Bayer RGB FPGA |