CN103500350B - A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking - Google Patents

A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking Download PDF

Info

Publication number
CN103500350B
CN103500350B CN201310471737.7A CN201310471737A CN103500350B CN 103500350 B CN103500350 B CN 103500350B CN 201310471737 A CN201310471737 A CN 201310471737A CN 103500350 B CN103500350 B CN 103500350B
Authority
CN
China
Prior art keywords
image
watermark
information
embedded
chinese letter
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.)
Expired - Fee Related
Application number
CN201310471737.7A
Other languages
Chinese (zh)
Other versions
CN103500350A (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

Abstract

The present invention proposes a kind of method for anti-counterfeit based on Chinese letter co and digital watermarking.Chinese letter co is hidden in Any Digit image as watermark information, then the digital picture that embedded in bar code watermark is added to the relevant position needing false proof commodity, detection system is extracted the bar code watermark embedded in anti-counterfeiting image and is decoded, obtain the relevant information of these commodity thus, thus judge commodity true and false.

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 advantage, and such as data capacity is large, be applicable to various occasion, folding-proof, portable, cost is low, be widely used in the identification of commodity and false proof on.The two-dimensional code product information that product generates encryption is one by one may correspond to by two-dimension code anti-counterfeit system, by Quick Response Code printing or labeling in the packing of product, user only need carry out solution code check by the two-dimension code anti-counterfeit system of specifying or cell phone software, can know the certified products security information of this product.The tamperproof appearing as merchandise news of anti-fake two-dimension code, to trace to the source and 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 copied, this is subject to a lot of restriction with regard to making the application of 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 of anti-counterfeit field, make use of visual redundancy or sense of hearing redundancy properties, is hidden in Digital Media by secret information, and make people cannot perception information embed after the difference of media data.Only have by some ad hoc fashion, these information could be extracted from host's media or detect, realize the examination to media in this way.Based on these features, digital watermarking has become an important research direction of anti-counterfeit field.
So digital watermarking is combined with some two-dimensional bar codes the research carrying out anti-counterfeiting technology by some scholars, propose many solutions, all achieve remarkable achievement.These researchs are based on the 2D bar code technology of some main flows: PDF417 code, QR code, DataMatrix code etc.
These two-dimensional bar codes, all from external introduction, can not adapt to domestic application environment completely, and cost are higher.
For addressing this problem, the present invention proposes Chinese letter co to combine with digital watermarking to carry out the false proof of commodity, is more suitable for domestic applied environment, and reduces cost.
Chinese letter co is the Quick Response Code of China's independent research, and its national standard " Chinese letter co " (GB/T21049-2007) 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 encode a large amount of Chinese character information time, 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 primarily of symbol version and specification, position test pattern, the quadrate array of position test pattern cut section, correction graph, function information region, coding region, these seven, clear area part composition.For the Chinese letter co symbol of all versions, the position of its white space and position test pattern is all more fixing, so when Chinese letter co is as watermark, because embedded location is determined, its white space and position test pattern do not need, and can take many quantity of information, should give removal.
And using Chinese letter co directly as in watermark embedment carrier image, its robustness is not strong, and be easily cracked.So need to carry out scramble to increase its security to it, strengthen the ability of its opposing malicious attack.Common disorder method has Arnold conversion and Magic Square Transformation, contrast, and Arnold conversion algorithm is simple and calculating cost is less.
Be provided with image A to represent with A={a (x, y), 1≤x≤M, 1≤y≤M}, the method for image A being carried out to an Arnold conversion is:
Each pixel (x, y) on image is pressed: convert.
For the embedding of watermark, digital watermarking algorithm general is at present mostly based on transform domain, such as: discrete cosine transform (DCT), discrete Fourier transformation (DFT), wavelet transform (DWT) etc.Wherein, DWT not only can mate the characteristic of HVS (HumanVisualSystem) preferably, and compatible with MPEG4, JPEG2000 compression standard, and the watermark utilizing wavelet transformation to produce has good visual effect, and have can the ability of resisting various attacks.Digital watermark technology based on DWT territory is research direction main at present.
Wavelet transform is used for image procossing, namely picture breakdown is become the subimage of different spaces, different frequency, is called subband.Four subbands that image generates after one-level wavelet transformation, be respectively level, vertical, diagonal line and low frequency sub-band, low frequency sub-band carries the most energy of image.Namely secondary wavelet transformation continues the level that is decomposed into, vertical, diagonal angle, low frequency four frequency bands low frequency sub-band, finally obtains seven subbands.And the secondary wavelet inverse transformation i.e. 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.Chinese letter co is hidden in Any Digit image as watermark information, then the digital picture that embedded in bar code watermark is added to the relevant position needing false proof commodity, detection system is extracted the bar code watermark embedded in anti-counterfeiting image and is decoded, obtain the relevant information of these commodity thus, thus judge commodity true and false.
The object of the present invention is achieved like this:
The details of commodity are encoded into Chinese letter co, remove its white space and position test pattern, as watermarking images, and Arnold conversion is carried out to this watermarking images carry out scramble.Then, secondary DWT conversion is carried out to carrier image, the watermarking images after scramble is embedded into the low frequency sub-band of image, then recover through secondary DWT inverse transformation the image that embedded in watermark.
After processing above, the image information that embedded in watermark is added in commodity as anti-counterfeiting mark, completes the false proof process of commodity.The inverted order verifying as above step of merchandise news, utilizes inspection software to obtain image information, carries out secondary DWT conversion, extract the watermark information be embedded in low frequency sub-band, the information extracted is carried out Arnold inverse permutation, the watermarking images be restored out.This image is the Chinese letter co of merchandise news, carries out to it qualification that can complete commodity true and false of decoding.
Its concrete implementation step is:
(1) making of anti-counterfeiting mark:
A) dependent merchandise information X is encoded as anti-counterfeiting information, obtain Chinese letter co A 1;
A) Chinese letter co A is removed 1white space and position test pattern, obtain bianry image A 2, suppose that its picture size is M*M, namely image has M*M pixel;
B) get the carrier image B that picture size is 4M*4M, secondary DWT conversion is carried out to it, obtain 7 subbands;
C) get low-frequency approximation subband wherein, its picture size should be M*M, uses B 1={ b (x, y), 1≤x≤M, 1≤y≤M} represents, wherein b (x, y) represents each pixel of image;
D) by A 2carry out scramble through k Arnold conversion, obtain the bianry image A after scramble 3={ a (x, y), 1≤x≤M, 1≤y≤M}, as watermarking images;
E) by watermarking images A 3by B '=B 1+ α A 3calculate each pixel, realize the embedding of watermark, obtain mixed watermarking images B ', wherein, α is the watermark embed strength factor;
F) secondary DWT inverse transformation is carried out to mixed watermarking images B', obtain the image B that embedded in watermark 2
G) the image B that embedded in watermark will obtained 2add in commodity, namely can be used as anti-counterfeiting mark;
(2) extraction of anti-counterfeiting information and checking:
A) the image B that embedded in watermark is obtained 2;
B) to image B 2carry out secondary DWT conversion, obtain seven subbands, obtain low frequency sub-band B wherein 3;
C) by B 3=B 1+ α A 4each pixel is calculated, realizes the extraction of watermark, obtain bianry image A 4;
D) to A 4carry out k Arnold inverse permutation, Chinese letter co image A can be obtained 5;
E) to 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, the true and false of commodity can be verified.
Key of the present invention is how rationally to be embedded in carrier image as watermark by Chinese letter co.For this reason, by doing some process to Chinese letter co and carrier image, such as, remove its white space and position test pattern according to Chinese letter co feature and to go forward side by side line shuffle, wavelet transformation is carried out to carrier image, increase robustness and the security of watermark, make the embedding effect of watermark more perfect.
Its main innovate point is as follows:
1. combine Chinese letter co for false proof with watermark, the feature that set Chinese letter co recognition property is good, easy to use, strong robustness, fouling resistance are effective, cost is low and the security of watermark, complement each other, reach better antifalse effect.
2. pair telescopiny has carried out some process, combines the feature of Chinese letter co and the feature of watermark, can embed better, ensure that 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 test pattern
(5) embodiment
Below in conjunction with accompanying drawing citing, the present invention is described in more detail:
The feature of the method for the invention is:
The details of commodity are encoded into Chinese letter co, remove its white space and position test pattern, as watermarking images, and Arnold conversion is carried out to this watermarking images carry out scramble.Then, secondary DWT conversion is carried out to carrier image, the watermarking images after scramble is embedded into the low frequency sub-band of image, then recover through secondary DWT inverse transformation the image that embedded in watermark.
After processing above, the image information that embedded in watermark is added in commodity as anti-counterfeiting mark, completes the false proof process of commodity.The inverted order verifying as above step of merchandise news, utilizes inspection software to obtain image information, carries out secondary DWT conversion, extract the watermark information be embedded in low frequency sub-band, the information extracted is carried out Arnold inverse permutation, the watermarking images be restored out.This image is the Chinese letter co of merchandise news, carries out to it qualification that can complete commodity true and false of decoding.
Its concrete implementation step is:
(1) making of anti-counterfeiting mark:
H) dependent merchandise information X is encoded as anti-counterfeiting information, obtain Chinese letter co A 1;
B) Chinese letter co A is removed 1white space and position test pattern, obtain bianry image A 2, suppose that its picture size is M*M, namely image has M*M pixel;
I) get the carrier image B that picture size is 4M*4M, secondary DWT conversion is carried out to it, obtain 7 subbands;
J) get low-frequency approximation subband wherein, its picture size should be M*M, uses B 1={ b (x, y), 1≤x≤M, 1≤y≤M} represents, wherein b (x, y) represents each pixel of image;
K) by A 2carry out scramble through k Arnold conversion, obtain the bianry image A after scramble 3={ a (x, y), 1≤x≤M, 1≤y≤M}, as watermarking images;
L) by watermarking images A 3by B '=B 1+ α A 3calculate each pixel, realize the embedding of watermark, obtain mixed watermarking images B ', wherein, α is the watermark embed strength factor;
M) secondary DWT inverse transformation is carried out to mixed watermarking images B', obtain the image B that embedded in watermark 2
N) the image B that embedded in watermark will obtained 2add in commodity, namely can be used as anti-counterfeiting mark;
(2) extraction of anti-counterfeiting information and checking:
G) the image B that embedded in watermark is obtained 2;
H) to image B 2carry out secondary DWT conversion, obtain seven subbands, obtain low frequency sub-band B wherein 3;
I) by B 3=B 1+ α A 4each pixel is calculated, realizes the extraction of watermark, obtain bianry image A 4;
J) to A 4carry out k Arnold inverse permutation, Chinese letter co image A can be obtained 5;
K) to 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, the true and false of commodity can be verified.

Claims (1)

1., based on a method for anti-counterfeit for Chinese letter co and digital watermarking, it is characterized in that:
The details of commodity are encoded into Chinese letter co, remove its white space and position test pattern, as watermarking images, and Arnold conversion is carried out to this watermarking images carry out scramble, then, secondary DWT conversion is carried out to carrier image, the watermarking images after scramble is embedded into the low frequency sub-band of carrier image, then recover through secondary DWT inverse transformation the image that embedded in watermark;
After processing above, the image information that embedded in watermark is added in commodity as anti-counterfeiting mark, completes the false proof process of commodity; The inverted order verifying as above step of merchandise news, inspection software is utilized to obtain image information, carry out secondary DWT conversion, extract the watermark information be embedded in low frequency sub-band, the information extracted is carried out Arnold inverse permutation, the watermarking images be restored out, this watermarking images recovered is the Chinese letter co of merchandise news, carry out to it qualification that can complete commodity true and false of decoding, its concrete implementation step is:
(1) making of anti-counterfeiting mark:
Dependent merchandise information X is encoded as anti-counterfeiting information, obtains Chinese letter co A 1;
Remove Chinese letter co A 1white space and position test pattern, obtain bianry image A 2, suppose that its picture size is M*M, namely image has M*M pixel;
Get the carrier image B that picture size is 4M*4M, secondary DWT conversion is carried out to it, obtain 7 subbands;
Get low-frequency approximation subband wherein, its picture size should be M*M, uses B 1={ b (x, y), 1≤x≤M, 1≤y≤M} represents, wherein b (x, y) represents each pixel of image;
By A 2carry out scramble through k Arnold conversion, obtain the bianry image A after scramble 3={ a (x, y), 1≤x≤M, 1≤y≤M}, as watermarking images;
By watermarking images A 3by B '=B 1+ α A 3calculate each pixel, realize the embedding of watermark, obtain mixed watermarking images B ', wherein, α is the watermark embed strength factor;
Secondary DWT inverse transformation is carried out to mixed watermarking images B ', obtains the image B that embedded in watermark 2;
By the image B that embedded in watermark obtained 2add in commodity, namely can be used as anti-counterfeiting mark;
(2) extraction of anti-counterfeiting information and checking:
Obtain the image B that embedded in watermark 2;
To image B 2carry out secondary DWT conversion, obtain seven subbands, obtain low frequency sub-band B wherein 3;
By B 3=B 1+ α A 4each pixel is calculated, realizes the extraction of watermark, obtain bianry image A 4;
To A 4carry out k Arnold inverse permutation, Chinese letter co image A can be obtained 5;
To Chinese letter co image A 5decoding, can obtain relevant anti-counterfeiting information Y;
Information X in information Y and step (1) is compared, the true and false of commodity can be verified.
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 CN103500350A (en) 2014-01-08
CN103500350B true 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)

Families Citing this family (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
CN105184734B (en) * 2015-10-15 2018-08-21 中国科学院计算机网络信息中心 Internet of Things isomery mark generating method based on Digital Signal Processing
CN110097488B (en) * 2018-01-29 2023-10-24 阿里巴巴集团控股有限公司 Invisible digital watermark generation and extraction method and device
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
CN114757317B (en) * 2022-06-16 2022-09-27 武汉朗修科技有限公司 Method for making and verifying anti-fake grain 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

Also Published As

Publication number Publication date
CN103500350A (en) 2014-01-08

Similar Documents

Publication Publication Date Title
CN103500350B (en) A kind of method for anti-counterfeit based on Chinese letter co and digital watermarking
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
CN102880999B (en) Color image digital watermark method capable of resisting stamping, printing and scanning processes
CN105608661B (en) Based on the robust QR shearing wave zone audio frequency watermark insertion decomposed and detection method
Chen et al. Identification recovery scheme using quick response (QR) code and watermarking technique
Zhang et al. A contour-based semi-fragile image watermarking algorithm in DWT domain
Chung et al. Image hidden technique using QR-barcode
CN103279917A (en) Transforming domain geometric-attack-resistant gray level image digital watermark technology
CN103150701A (en) QR (Quick Response) code watermarking algorithm with strong robustness
CN104408684A (en) Digital watermarking method with high robustness
Al-Qershi et al. Authentication and data hiding using a reversible ROI-based watermarking scheme for DICOM images
Zhang et al. An improved digital watermarking technology based on QR code
Singh A survey on image steganography techniques
CN103079066B (en) Image watermark embedding and extracting method combining ridgelet transform and DCT transform
CN101817268A (en) Application of digital watermarking in RFID technology
CN106097238B (en) The copy-right protection method and system of image data
Song et al. Image tamper detection and recovery using dual watermark
Tiwari et al. Semifragile watermarking schemes for image authentication-A survey
Deng et al. CDMA watermarking algorithm based on wavelet basis
Zhang et al. Robust digital image watermarking in DWT-SVD domain
CN104143173A (en) Image self-adaption blind watermarking algorithm based on DWT-DCT
Wang et al. A novel scrambling digital image watermarking algorithm based on contourlet transform
Chen et al. A digital watermarking based on discrete fractional fourier transformation DWT and SVD
Huang Perceptual image watermarking algorithm based on magic squares scrambling in DWT

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160330

Termination date: 20161011