| Despite the rapid update and iteration of smart devices and mobile Internet,two-dimensional code technology is still showing fissionable development in various fields.In the background of the big data era,the traditional two-dimensional code can no longer meet the demand of information capacity and application diversity,and it does not have an anti-counterfeiting function,making it difficult to avoid the risk of counterfeit copying.As an important direction for the future development of two-dimensional code,color two-dimensional code has gradually become a research hotspot because of its unique appearance and functional characteristics added by colors.The existing color two-dimensional codes require huge hardware and software support systems and are limited by market cultivation and application promotion,so their direct readability has become a difficult problem to overcome.Therefore,it is of great significance to study a color anti-counterfeit two-dimensional code that can be easily read while improving the capacity.In response to the problems of limited capacity,single function,weak anti-counterfeiting security and indirect readability of color two-dimensional codes in black and white two-dimensional codes,this thesis proposes a new type of color anti-counterfeiting two-dimensional code that can be read directly,and designs a complete set of encoding and decoding schemes.Based on RGB color space and spectral diversity,the gray segmentation model is established,and multiple types of different identification information are combined together by multiplexing and color coding technology.The public coding information of items(such as advertisement,public inquiry information,etc.)is presented in plain code,and the undisclosed secret information such as traceability,blockchain,and anti-counterfeiting authentication is concealed in the form of hidden code.With the plain code as the carrier image and the hidden code as the modulation information for color coding of grayscale.According to the provided algorithmic process,the two are compounded into one to generate a high-capacity color anti-counterfeiting two-dimensional code;the optimal design of this code is realized by grayscale testing of each base color and its mixed colors,and the grayscale redundancy under the stable state of reading is found,which greatly improves the robustness and reliability of decoding.The innovations of this thesis are as follows:(1)The color coding is carried out by using the grayscale of color,and the machine readability of the two-dimensional code is maintained by accurate grayscale segmentation,and a color anti-counterfeit two-dimensional code with multiple codes of plain and dark information is generated.(2)This code can be read without special scanning tools or equipment and can be effectively distinguished between plain and hidden codes through optical filters,which meets the diverse interactive needs of high capacity,safe anti-counterfeiting,and direct reading.(3)Combining this technology with metamerism,a multi-spectrum-multi-chromatographic color anti-counterfeiting two-dimensional code is produced,which h as strong anti-replication and multiple anti-counterfeiting properties.(4)This type of two-dimensional code not only solves the compatibility problem of multi-code integration but also breaks through the technical bottleneck of halftone printout,which has unique application advantages and broad development prospects in the fields of printing anti-counterfeit labels and commodity marketing. |