CN103500350A - Chinese-sensible code and digital watermark-based anti-counterfeit method - Google Patents

Chinese-sensible code and digital watermark-based anti-counterfeit method Download PDF

Info

Publication number
CN103500350A
CN103500350A CN201310471737.7A CN201310471737A CN103500350A CN 103500350 A CN103500350 A CN 103500350A CN 201310471737 A CN201310471737 A CN 201310471737A CN 103500350 A CN103500350 A CN 103500350A
Authority
CN
China
Prior art keywords
image
watermark
information
chinese letter
commodity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310471737.7A
Other languages
Chinese (zh)
Other versions
CN103500350B (en
Inventor
姚文斌
王真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201310471737.7A priority Critical patent/CN103500350B/en
Publication of CN103500350A publication Critical patent/CN103500350A/en
Application granted granted Critical
Publication of CN103500350B publication Critical patent/CN103500350B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a Chinese-sensible code and digital watermark-based anti-counterfeit method. A Chinese-sensible code is hidden in any number image as watermark information; then a digital image in which a bar code watermark is embedded is added to a relevant position of a commodity to be anti-counterfeited; a detection system extracts and decodes the bar code watermark in the anti-counterfeit image to acquire relevant information on the commodity so as to judge the authenticity of the commodity.

Description

A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking
(1) technical field
The present invention relates to a kind of method for anti-counterfeit based on Chinese letter co and digital watermarking.
(2) background technology
Along with the development of technology, two-dimensional bar code is because of its numerous outstanding advantages, large such as data capacity, be applicable to various occasions, folding-proof, portable, cost is low etc., be widely used in to the identification of commodity and false proof on.But generate one by one the Quick Response Code product information of encryption by two-dimension code anti-counterfeit system corresponding product, by Quick Response Code printing or labeling in the packing of product, the user only need be separated code check by two-dimension code anti-counterfeit system or the cell phone software of appointment, can know the certified products security information of this product.The tamperproof that appears as merchandise news of false proof Quick Response Code, trace to the source and the product false proof identification provides a kind of simple and convenient, also method more accurately.But Quick Response Code now all adopts disclosed coding mode, easily to be copied, this is subject to a lot of restrictions with regard to the application that makes Quick Response Code, and therefore, the anti-counterfeiting technology of the Quick Response Code of research safety will be significant.
Digital watermarking is the important research means in false proof field, has utilized visual redundancy or sense of hearing redundancy properties, secret information is hidden in Digital Media, and makes people embed the difference of media data afterwards by perception information.Only have by some ad hoc fashion, these information could be extracted or detected from host's media, realize in this way the examination to media.Based on these characteristics, digital watermarking has become an important research direction in false proof field.
So some scholars combine by digital watermarking and some two-dimensional bar codes the research of carrying out anti-counterfeiting technology, have proposed many solutions, have all obtained remarkable achievement.The 2D bar code technology of these researchs based on some main flows: PDF417 code, QR code, Data Matrix code etc.
These two-dimensional bar codes, all from external introduction, can not adapt to the domestic application environment fully, and cost are higher.
For addressing this problem, the present invention proposes Chinese letter co and digital watermarking are combined and carry out the false proof of commodity, is more suitable for domestic applied environment, and has reduced cost.
Chinese letter co is the Quick Response Code of China's independent research, and its national standard " Chinese letter co " (GB/T21049-2007) is issued on August 23rd, 2007, and comes into effect on February 1st, 2008.The generation of Chinese letter co and recognition system are all China's independent development, will greatly reduce the system cost of China's application 2D bar code technology.Chinese letter co has the advantages such as strong, the anti-distortion of encode Chinese characters for computer ability, fouling resistance, information capacity be large, supports 1,600,000 Chinese character information characters, and while encoding a large amount of Chinese character information, the Chinese letter co symbol area of same information content is well below other bar code symbols.
The bar-code structure of Chinese letter co is mainly by symbol version and specification, position probing figure, the quadrate array that position probing figure cut section, correction graph, function information zone, coding region, these seven of clear areas part form.For the Chinese letter co symbol of all versions, the position of its white space and position probing figure is all more fixing, so when Chinese letter co during as watermark, because embedded location is determined, its white space and position probing figure do not need, and can take many quantity of information, should give removal.
And Chinese letter co is directly embedded in carrier image as watermark, its robustness is not strong, and easily is cracked.Increase its security so need to carry out scramble to it, strengthen the ability of its opposing malicious attack.Common disorder method has Arnold conversion and Magic Square Transformation, and to recently saying, the Arnold mapping algorithm is simple and the calculating cost is less.
Be provided with image A and can use A={a (x, y), 1≤x≤M, 1≤y≤M} means, the method for image A being carried out to an Arnold conversion is:
Each pixel (x, y) on image is pressed: converted.
For the embedding of watermark, general digital watermarking algorithm mostly is based on transform domain at present, such as: discrete cosine transform (DCT), discrete Fourier transformation (DFT), wavelet transform (DWT) etc.Wherein, DWT not only can mate the characteristic of HVS (Human Visual System) preferably, and with MPEG4, JPEG2000 compression standard compatibility, and utilize the watermark that wavelet transformation produces to there is good visual effect, and have can resisting various attacks ability.Digital watermark technology based on the DWT territory is current main research direction.
Wavelet transform is processed for image, picture breakdown is become to the subimage of different spaces, different frequency, is called subband.Four subbands that image generates after the one-level wavelet transformation, be respectively level, vertical, diagonal line and low frequency sub-band, and low frequency sub-band carries the most energy of image.The secondary wavelet transformation continues to be decomposed into level, vertical, diagonal angle, four frequency bands of low frequency to low frequency sub-band, finally obtains seven subbands.And the secondary wavelet inverse transformation is the inverted order of this process.
(3) summary of the invention
The present invention proposes a kind of method for anti-counterfeit based on Chinese letter co and digital watermarking.Using Chinese letter co as watermark information, be hidden in the Any Digit image, then the digital picture that has embedded bar code watermark is added to the relevant position that needs false proof commodity, detection system is extracted and is decoded the bar code watermark embedded in anti-counterfeiting image, obtain thus the relevant information of these commodity, thus the judgement commodity true and false.
The object of the present invention is achieved like this:
The details of commodity are encoded into to Chinese letter co, remove its white space and position probing figure, as watermarking images, and this watermarking images is carried out to Arnold convert scramble.Then, carrier image is carried out to secondary DWT conversion, the watermarking images after scramble is embedded into to the low frequency sub-band of image, then inverse transformation recovers the image that has embedded watermark through secondary DWT.
After above processing, the image information that has embedded watermark is added in commodity as anti-counterfeiting mark, complete the false proof processing of commodity.The inverted order that verifies as above step of merchandise news, utilize detection software to obtain image information, carries out secondary DWT conversion, extracts the watermark information be embedded in low frequency sub-band, the information extracted carried out to the Arnold inverse permutation, the watermarking images be restored out.This image is the Chinese letter co of merchandise news, and it is decoded and can complete the evaluation to commodity true and false.
Its concrete implementation step is:
(1) making of anti-counterfeiting mark:
A) dependent merchandise information X is encoded as anti-counterfeiting information, obtained Chinese letter co A 1;
A) remove Chinese letter co A 1white space and position probing figure, obtain bianry image A 2, suppose that its picture size is M*M, image has M*M pixel;
B) get the carrier image B that picture size is 4M*4M, it is carried out to secondary DWT conversion, obtain 7 subbands;
C) get low-frequency approximation subband wherein, its picture size should be M*M, uses B 1={ 1≤y≤M} means for b (x, y), 1≤x≤M, wherein each pixel of b (x, y) presentation video;
D) by A 2convert to carry out scramble through k Arnold, obtain the bianry image A after scramble 3={ 1≤y≤M}, as watermarking images for a (x, y), 1≤x≤M;
E) by watermarking images A 3press B '=B 1+ α A 3each pixel is calculated, realize the embedding of watermark, obtain mixed watermarking images B ', wherein, α is the watermark embed strength factor;
F) mixed watermarking images B' is carried out to secondary DWT inverse transformation, obtained embedding the image B of watermark 2
G) by the embedding that obtains the image B of watermark 2add in commodity, can be used as anti-counterfeiting mark;
(2) extraction of anti-counterfeiting information and checking:
A) obtain the image B that has embedded watermark 2;
B) to image B 2carry out secondary DWT conversion, obtain seven subbands, obtain low frequency sub-band B wherein 3;
C) press B 3=B 1+ α A 4each pixel is calculated, realized the extraction of watermark, obtained bianry image A 4;
D) to A 4carry out k Arnold inverse permutation, can obtain the Chinese letter co image A 5;
E) to the Chinese letter co image A 5decoding, can obtain relevant anti-counterfeiting information Y;
F) the information X in information Y and step (1) is compared, can verify the true and false of commodity.
Key of the present invention is how Chinese letter co is rationally embedded in carrier image as watermark.For this reason, by Chinese letter co and carrier image are done to some processing, for example according to the Chinese letter co feature, remove the line shuffle of going forward side by side of its white space and position probing figure, carrier image is carried out to wavelet transformation, increase robustness and the security of watermark, make the embedding effect of watermark more perfect.
Its main innovate point is as follows:
1. Chinese letter co and watermark are combined for false proof, set Chinese letter co recognition property is good, easy to use, strong robustness, fouling resistance is effective, cost is low characteristics and the security of watermark, complements each other, and reaches better antifalse effect.
2. telescopiny has been carried out to some and processed, combined the feature of Chinese letter co and the characteristics of watermark, can embed better, guaranteed security and robustness.
(4) accompanying drawing explanation
Fig. 1 Chinese letter co schematic diagram
Fig. 2 removes the Chinese letter co of white space and position probing figure
(5) embodiment
Below in conjunction with accompanying drawing, for example the present invention is described in more detail:
The method of the invention is characterised in that:
The details of commodity are encoded into to Chinese letter co, remove its white space and position probing figure, as watermarking images, and this watermarking images is carried out to Arnold convert scramble.Then, carrier image is carried out to secondary DWT conversion, the watermarking images after scramble is embedded into to the low frequency sub-band of image, then inverse transformation recovers the image that has embedded watermark through secondary DWT.
After above processing, the image information that has embedded watermark is added in commodity as anti-counterfeiting mark, complete the false proof processing of commodity.The inverted order that verifies as above step of merchandise news, utilize detection software to obtain image information, carries out secondary DWT conversion, extracts the watermark information be embedded in low frequency sub-band, the information extracted carried out to the Arnold inverse permutation, the watermarking images be restored out.This image is the Chinese letter co of merchandise news, and it is decoded and can complete the evaluation to commodity true and false.
Its concrete implementation step is:
(1) making of anti-counterfeiting mark:
H) dependent merchandise information X is encoded as anti-counterfeiting information, obtained Chinese letter co A 1;
B) remove Chinese letter co A 1white space and position probing figure, obtain bianry image A 2, suppose that its picture size is M*M, image has M*M pixel;
I) get the carrier image B that picture size is 4M*4M, it is carried out to secondary DWT conversion, obtain 7 subbands;
J) get low-frequency approximation subband wherein, its picture size should be M*M, uses B 1={ 1≤y≤M} means for b (x, y), 1≤x≤M, wherein each pixel of b (x, y) presentation video;
K) by A 2convert to carry out scramble through k Arnold, obtain the bianry image A after scramble 3={ 1≤y≤M}, as watermarking images for a (x, y), 1≤x≤M;
L) by watermarking images A 3press B '=B 1+ α A 3each pixel is calculated, realize the embedding of watermark, obtain mixed watermarking images B ', wherein, α is the watermark embed strength factor;
M) mixed watermarking images B' is carried out to secondary DWT inverse transformation, obtained embedding the image B of watermark 2
N) by the embedding that obtains the image B of watermark 2add in commodity, can be used as anti-counterfeiting mark;
(2) extraction of anti-counterfeiting information and checking:
G) obtain the image B that has embedded watermark 2;
H) to image B 2carry out secondary DWT conversion, obtain seven subbands, obtain low frequency sub-band B wherein 3;
I) press B 3=B 1+ α A 4each pixel is calculated, realized the extraction of watermark, obtained bianry image A 4;
J) to A 4carry out k Arnold inverse permutation, can obtain the Chinese letter co image A 5;
K) to the Chinese letter co image A 5decoding, can obtain relevant anti-counterfeiting information Y;
L) the information X in information Y and step (1) is compared, can verify the true and false of commodity.

Claims (1)

1. the method for anti-counterfeit based on Chinese letter co and digital watermarking, it is characterized in that: the object of the present invention is achieved like this:
The details of commodity are encoded into to Chinese letter co, remove its white space and position probing figure, as watermarking images, and this watermarking images is carried out to Arnold convert scramble.Then, carrier image is carried out to secondary DWT conversion, the watermarking images after scramble is embedded into to the low frequency sub-band of image, then inverse transformation recovers the image that has embedded watermark through secondary DWT.
After above processing, the image information that has embedded watermark is added in commodity as anti-counterfeiting mark, complete the false proof processing of commodity.The inverted order that verifies as above step of merchandise news, utilize detection software to obtain image information, carries out secondary DWT conversion, extracts the watermark information be embedded in low frequency sub-band, the information extracted carried out to the Arnold inverse permutation, the watermarking images be restored out.This image is the Chinese letter co of merchandise news, and it is decoded and can complete the evaluation to commodity true and false.
Its concrete implementation step is:
(1) making of anti-counterfeiting mark:
(1) dependent merchandise information X is encoded as anti-counterfeiting information, obtained Chinese letter co A 1;
A) remove Chinese letter co A 1white space and position probing figure, obtain bianry image A 2, suppose that its picture size is M*M, image has M*M pixel;
(2) get the carrier image B that picture size is 4M*4M, it is carried out to secondary DWT conversion, obtain 7 subbands;
(3) get low-frequency approximation subband wherein, its picture size should be M*M, uses B 1={ 1≤y≤M} means for b (x, y), 1≤x≤M, wherein each pixel of b (x, y) presentation video;
(4) by A 2convert to carry out scramble through k Arnold, obtain the bianry image after scramble
A 3={ 1≤y≤M}, as watermarking images for a (x, y), 1≤x≤M;
(5) by watermarking images A 3press B '=B 1+ α A 3each pixel is calculated, realize the embedding of watermark, obtain mixed watermarking images B ', wherein, α is the watermark embed strength factor;
(6) mixed watermarking images B' is carried out to secondary DWT inverse transformation, obtained embedding the image B of watermark 2
(7) by the embedding that obtains the image B of watermark 2add in commodity, can be used as anti-counterfeiting mark;
(2) extraction of anti-counterfeiting information and checking:
A) obtain the image B that has embedded watermark 2;
B) to image B 2carry out secondary DWT conversion, obtain seven subbands, obtain low frequency sub-band B wherein 3;
C) press B 3=B 1+ α A 4each pixel is calculated, realized the extraction of watermark, obtained bianry image A 4;
D) to A 4carry out k Arnold inverse permutation, can obtain the Chinese letter co image A 5;
E) to the Chinese letter co image A 5decoding, can obtain relevant anti-counterfeiting information Y;
F) the information X in information Y and step (1) is compared, can verify the true and false of commodity.
Key of the present invention is how Chinese letter co is rationally embedded in carrier image as watermark.For this reason, by Chinese letter co and carrier image are done to some processing, for example according to the Chinese letter co feature, remove the line shuffle of going forward side by side of its white space and position probing figure, carrier image is carried out to wavelet transformation, increase robustness and the security of watermark, make the embedding effect of watermark more perfect.
CN201310471737.7A 2013-10-11 2013-10-11 A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking Expired - Fee Related CN103500350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310471737.7A CN103500350B (en) 2013-10-11 2013-10-11 A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310471737.7A CN103500350B (en) 2013-10-11 2013-10-11 A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking

Publications (2)

Publication Number Publication Date
CN103500350A true CN103500350A (en) 2014-01-08
CN103500350B CN103500350B (en) 2016-03-30

Family

ID=49865555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310471737.7A Expired - Fee Related CN103500350B (en) 2013-10-11 2013-10-11 A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking

Country Status (1)

Country Link
CN (1) CN103500350B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971105A (en) * 2014-05-27 2014-08-06 海南大学 Big-data DWT (Discrete Wavelet Transform) robust watermarking-based anti-illumination attack face recognition method
CN105184734A (en) * 2015-10-15 2015-12-23 中国科学院计算机网络信息中心 IOT (Internet of Things) heterogeneous identification generation method based on technology of digital signal processing
CN109191360A (en) * 2018-08-17 2019-01-11 河南工业大学 SAR image digital watermarking generation and analysis method and device based on scrambling encryption two dimensional code
CN110097488A (en) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 The generation of stealthy digital watermarking and extracting method and device
CN114757317A (en) * 2022-06-16 2022-07-15 武汉朗修科技有限公司 Method for making and verifying anti-counterfeiting texture pattern

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5825892A (en) * 1996-10-28 1998-10-20 International Business Machines Corporation Protecting images with an image watermark
CN1262510A (en) * 1999-01-19 2000-08-09 日本电气株式会社 Method and device for inserting electronic watermark into digital image and testing electronic watermark
CN1421814A (en) * 2001-11-30 2003-06-04 温天 Digital anti-fake method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5825892A (en) * 1996-10-28 1998-10-20 International Business Machines Corporation Protecting images with an image watermark
CN1262510A (en) * 1999-01-19 2000-08-09 日本电气株式会社 Method and device for inserting electronic watermark into digital image and testing electronic watermark
CN1421814A (en) * 2001-11-30 2003-06-04 温天 Digital anti-fake method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103971105A (en) * 2014-05-27 2014-08-06 海南大学 Big-data DWT (Discrete Wavelet Transform) robust watermarking-based anti-illumination attack face recognition method
CN105184734A (en) * 2015-10-15 2015-12-23 中国科学院计算机网络信息中心 IOT (Internet of Things) heterogeneous identification generation method based on technology of digital signal processing
CN105184734B (en) * 2015-10-15 2018-08-21 中国科学院计算机网络信息中心 Internet of Things isomery mark generating method based on Digital Signal Processing
CN110097488A (en) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 The generation of stealthy digital watermarking and extracting method and device
CN110097488B (en) * 2018-01-29 2023-10-24 阿里巴巴集团控股有限公司 Invisible digital watermark generation and extraction method and device
CN109191360A (en) * 2018-08-17 2019-01-11 河南工业大学 SAR image digital watermarking generation and analysis method and device based on scrambling encryption two dimensional code
CN109191360B (en) * 2018-08-17 2022-10-18 河南工业大学 SAR image digital watermark generation and analysis method and device based on scrambling encrypted two-dimensional code
CN114757317A (en) * 2022-06-16 2022-07-15 武汉朗修科技有限公司 Method for making and verifying anti-counterfeiting texture pattern
CN114757317B (en) * 2022-06-16 2022-09-27 武汉朗修科技有限公司 Method for making and verifying anti-fake grain pattern

Also Published As

Publication number Publication date
CN103500350B (en) 2016-03-30

Similar Documents

Publication Publication Date Title
Singh et al. Robust and imperceptible dual watermarking for telemedicine applications
Singh et al. Wavelet based image watermarking: futuristic concepts in information security
CN101847251B (en) Digital watermark embedding and extraction method based on chaos sequences
CN103700061B (en) A kind of digital figure watermark based on compressed sensing embeds and extracting method
CN103500350B (en) A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking
Huo et al. Alterable-capacity fragile watermarking scheme with restoration capability
CN102096894B (en) Image fragile watermarking algorithm capable of realizing accurate positioning of tampered region
Zhang Digital watermarking technology: A review
CN102880999B (en) Color image digital watermark method capable of resisting stamping, printing and scanning processes
Wu et al. SVD-based self-embedding image authentication scheme using quick response code features
Chung et al. Image hidden technique using QR-barcode
CN105608661A (en) Shear wave domain audio watermark embedding and detecting method based on robust QR decomposition
CN103279917A (en) Transforming domain geometric-attack-resistant gray level image digital watermark technology
Ullah et al. Dual-purpose semi-fragile watermark: authentication and recovery of digital images
CN103150701A (en) QR (Quick Response) code watermarking algorithm with strong robustness
Al-Qershi et al. Authentication and data hiding using a reversible ROI-based watermarking scheme for DICOM images
CN103996164B (en) Medical image zero watermarking embedding and extracting method based on real fractional Fourier transform
Tiwari et al. Comparative evaluation of semi fragile watermarking algorithms for image authentication
CN108985082B (en) Medical image encryption method based on digital watermark
Zhang et al. An improved digital watermarking technology based on QR code
Ayangar et al. A novel DWT-SVD based watermarking scheme
CN103079066B (en) Image watermark embedding and extracting method combining ridgelet transform and DCT transform
CN101817268A (en) Application of digital watermarking in RFID technology
Wu Quantization-based image authentication scheme using QR error correction
Gopalakrishnan et al. Semi fragile watermarking using Gaussian mixture model for malicious image attacks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160330

Termination date: 20161011

CF01 Termination of patent right due to non-payment of annual fee