A fast algorithm for color space conversion and rounding error analysis based on fixed-point digital signal processors

被引:5
|
作者
Liu, Zhao-Guang [1 ]
Du, Sheng-Yong [2 ]
Yang, Yang [3 ]
Ji, Xiu-Hua [1 ]
机构
[1] Shandong Univ Finance & Econ, Sch Comp Sci & Technol, Shandong Prov Key Lab Digital Media Technol, Jinan, Peoples R China
[2] Shandong Univ Finance & Econ, Sch Management Sci & Engn, Jinan, Peoples R China
[3] Shandong Univ, Sch Informat Sci & Engn, Jinan 250100, Peoples R China
基金
中国国家自然科学基金;
关键词
RGB;
D O I
10.1016/j.compeleceng.2013.01.011
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The YCbCr (luminance, chrominance-blue, and chrominance-red) color space is adopted in video codecs or transmission, while the HSV (hue, saturation and value) color space is used in some video analysis algorithms. In this paper, a fast algorithm based on fixed-point digital signal processors (DSPs) is proposed for YCbCr to HSV conversion. Floating-point multiplications are replaced with fixed-point shifts, 16-bit fixed-point multiplications, and additions. To compensate for rounding error and convert floating-point multiplication into 16-bit fixed-point multiplication in the calculation, tables occupying 225 bytes and 256 bytes are established, respectively. According to the experimental results, the error caused by the proposal is within the acceptable range. At the same time, the proposed algorithm is about 10 times faster than traditional YCbCr to HSV conversion algorithm on a fixed-point digital signal processor (DSP) platform and about 1.41 times faster on a personal computer (PC) platform. (c) 2013 Elsevier Ltd. All rights reserved.
引用
收藏
页码:1405 / 1414
页数:10
相关论文
共 50 条