| In current rapid development of information age,the amount and types of information that people need to store,transfer and express have also increased dramatically,this paper has studies a kind of colored two-dimensional code technology which can enlarge the data storage capacity.Compared with the traditional black and white QR code,it has the advantage of large capacity density while having a colored appearance.For emerge in an endless stream of malicious tampering,infringement and other phenomena of digital products,this paper proposes a digital watermarking algorithm which embedding the designed capacity-amplified colored two-dimensional code into the colored carrier image as watermarking information,it can provide a more effective solution for the copyright protection and legal use of digital products.The research content of this paper mainly includes the capacity amplification technology of colored two-dimensional code,the design and implementation of generation and recognition system as well as digital image watermarking algorithm based on discrete wavelet transform(DWT).By increasing the storage number in the two-dimensional code module,the storage capacity of the two-dimensional code information can be amplified to generate the corresponding 4-color and 8-color two-dimensional codes.HSL color space model is used to determine the color selection scheme of colored two-dimensional code.This paper studies the coding and decoding principle of colored two-dimensional code and proposes to realize the generation and recognition of 4-color and 8-color two-dimensional codes by combining and separating color channels.A method based on Hough detection is used to realize tilt correction of colored two-dimensional code images.By writing the corresponding error correcting code and decoding algorithm,it realizes the generation of the corresponding error correcting code word of data information and the automatic error detection and error correction of data information,which makes up the deficiency of current research in this field.The information storage capacity of colored two-dimensional code is compared with that of traditional black and white two-dimensional code.The results show that4-color and 8-color two-dimensional codes can theoretically achieve 2 times and 3 times of information capacity amplification.After the related system requirements analysis and functional structure design,the software Qt Creator is used to develop 4-color and 8-color two-dimensional code generation and recognition system based on the Windows platform.The automatic generation and accurate recognition of 4-color and 8-color two-dimensional codes can be realized by using the four functional modes of generation,merging,separation and recognition of the system.After the overall test of the system,the results show that each part of the system can work normally and achieve the expected function.DWT digital image watermarking algorithm based on colored two-dimensional code is designed in this paper.The image scrambling technique of Arnold transform is used to encrypt and protect the watermarking information.The watermark images are layered into the corresponding carrier images by fusion embedding method.By analyzing the characteristics of the wavelet basis function and testing the embedding strength,the appropriate value of the wavelet basis function and the embedding strength of the watermark information are determined.The experimental results of watermarking embedding and extraction show that the algorithm has good invisibility and the similarity between the extracted watermarking and the original watermarking is high.After the attack test of digital image watermarking algorithm in this paper,the results show that it has good robustness in resisting geometric attack and signal processing attack. |