A fast method for RGB to YCrCb conversion based on FPGA
Hongxu Jiang, Hanqing Li, Tingshan Liu, Ping Zhang, Jinyuan Lu · 2013
Both RGB and YCrCb color space are often used in video image processing, along with the wide application of FPGA in the field of video image processing, RGB to YCrCb color space conversion is frequently needed on FPGA. This paper analyzes the process of RGB to YCrCb color space conversion on FPGA, and proposes a fast conversion method using look-up table and pipeline technology. Firstly, on the premise of holding accuracy, floating point numbers are expanded to integer which is convenient for FPGA processing. Secondly, aimed at the speed limitation of multiplication in conversion, multiplications are transformed to look-up tables and additions. Finally, in the course of numerous addition operations, pipeline technology is fully utilized to further improve the operation speed. The proposed method which is implemented on XC4VLX15 chip for color space conversion, obtains maximum operating frequency of 358MHz, 3.5 times faster than that of direct method. Experimental results demonstrate that the proposed method can effectively improve the speed of RGB to YCrCb color space conversion when compared with existing method.