Integer-based accurate conversion between RGB and HSV color spaces

Display Omitted Conversion algorithm between 24-bit RGB and integer HSV is proposed.The algorithm is as accurate as the classical real-valued one.Performance measurement results show a speed gain of about two times.The resulting HSV color can be packed into 48 bits.Floating-point variables and Lookup tables are not used. This paper introduces a new fast integer-based algorithm to convert the RGB color representation to HSV and vice versa. The proposed algorithm is as accurate as the classical real-valued one. The use of only integer operations increases performance and portability. Performance measurement results show a speed gain of about two times when compared with the classical C++ language implementation on PC platforms. Lookup tables are not involved, thus the memory usage is minimal. The resulting HSV color can be packed into 48 bits. The proposed method can safely replace the commonly used floating-point implementation.

[1]  Abdolreza Rashno,et al.  An efficient content-based image retrieval with ant colony optimization feature selection schema based on wavelet and color features , 2015, 2015 The International Symposium on Artificial Intelligence and Signal Processing (AISP).

[2]  Alvy Ray Smith,et al.  Color gamut transform pairs , 1978, SIGGRAPH.

[3]  Wenyi Wang,et al.  Robust Image Chroma-Keying: A Quadmap Approach Based on Global Sampling and Local Affinity , 2015, IEEE Transactions on Broadcasting.

[4]  T. Venugopal,et al.  Multiple face detection in color images , 2015, 2015 International Conference on Signal Processing and Communication Engineering Systems.

[5]  Saiping Ji,et al.  A fog level detection method based on image HSV color histogram , 2014, 2014 IEEE International Conference on Progress in Informatics and Computing.

[6]  P. Ganesan,et al.  HSV color space based segmentation of region of interest in satellite images , 2014, 2014 International Conference on Control, Instrumentation, Communication and Computational Technologies (ICCICCT).

[7]  Chia-Chi Sung,et al.  Improving visibility and fidelity of underwater images using an adaptive restoration algorithm , 2014, OCEANS 2014 - TAIPEI.

[8]  A R Smith,et al.  Color Gamut Transformation Pairs , 1978 .

[9]  Yang Yang,et al.  A fast algorithm for color space conversion and rounding error analysis based on fixed-point digital signal processors , 2014, Comput. Electr. Eng..

[10]  Hitoshi Kiya,et al.  A fixed-point tone mapping operation for HDR images in the RGBE format , 2013, 2013 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference.

[11]  Liu Feng,et al.  An efficient detection method for rare colored capsule based on RGB and HSV color space , 2014, 2014 IEEE International Conference on Granular Computing (GrC).

[12]  R. Raja,et al.  Robust indoor/outdoor scene classification , 2015, 2015 Eighth International Conference on Advances in Pattern Recognition (ICAPR).

[13]  Georgios S. Paschos,et al.  Perceptually uniform color spaces for color texture analysis: an empirical evaluation , 2001, IEEE Trans. Image Process..

[14]  Ankit Chaudhary,et al.  Automated switching system for skin pixel segmentation in varied lighting , 2012, 2012 19th International Conference on Mechatronics and Machine Vision in Practice (M2VIP).

[15]  Subhasmita Sahoo,et al.  Floating to Fixed-Point Translation with Its Application to Speech-Based Emotion Recognition , 2014, 2014 Fourth International Conference of Emerging Applications of Information Technology.