Creative Commons License

Creative Commons Attribution 4.0 International License
This work is licensed under a Creative Commons Attribution 4.0 International License.


Objective To provide a faster and more effective way for consumers to obtain the additional information of product, the color quick response (QR) code is printed on product packaging. To improve decoding accuracy of color QR codes. This paper constructs a color matching model with good performance, which restrains aliasing between two color encoding modules of color QR code. Methods By comparing and analyzing the character of several typical color spaces, the HSV color space was chosen for its favorable attributes. Based on the enlarging capacity principle of color QR code and the maximum rule of relative Euclidean distance, 2n-1 base-color points are set in the HSV space, and 2n-1 pair-color points are calculated by using color distance equation, resulting in a formula capable of encoding 2n colors. Results Results show that the color gamut of QR code pictures generated using our proposed model is wider than that generated using another color matching model. Color aliasing between two encoding modules was greatly restrained. Conclusion The proposed color matching model offers good performance, based upon wider color gamut and reduced aliasing, for generating color QR codes in the HSV color space. Consumers can scan the printed color QR code on product packaging with their electronic devices to obtain more exhaustive information of product effectively.