[go: up one dir, main page]

CN106875326B - Method for hiding and extracting audio anti-counterfeiting signal in printed image - Google Patents

Method for hiding and extracting audio anti-counterfeiting signal in printed image Download PDF

Info

Publication number
CN106875326B
CN106875326B CN201710093183.XA CN201710093183A CN106875326B CN 106875326 B CN106875326 B CN 106875326B CN 201710093183 A CN201710093183 A CN 201710093183A CN 106875326 B CN106875326 B CN 106875326B
Authority
CN
China
Prior art keywords
information
audio
image
watermark
counterfeiting
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.)
Active
Application number
CN201710093183.XA
Other languages
Chinese (zh)
Other versions
CN106875326A (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.)
Shenzhen Huiyifeng Printing Technology Co ltd
Original Assignee
Hunan University of Technology
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 Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201710093183.XA priority Critical patent/CN106875326B/en
Publication of CN106875326A publication Critical patent/CN106875326A/en
Application granted granted Critical
Publication of CN106875326B publication Critical patent/CN106875326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0052Embedding of the watermark in the frequency domain
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0065Extraction of an embedded watermark; Reliable detection

Landscapes

  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

本发明针对当前包装印刷防伪技术以二值或伪随机置乱序列为水印信息的水印防伪方法信息单一、在印刷‑扫描后鲁棒性与不可见性有待提高的问题,将人耳较为敏感的音频信息与包装防伪结合起来,提出一种在印刷图像中隐藏和提取音频防伪信号的方法,为一种基于音频信息矩阵化及映射操作的音频信息全息方法与基于小波变换及四元数傅里叶变换的彩色印刷制品防伪方法,包括:(Ⅰ)将音频防伪信息制作为水印信息,(Ⅱ)确认宿主图像中的水印嵌入位置,(Ⅲ)变换得到含音频水印信息的彩色图像,并用于印刷制版输出;以及将音频防伪信息从印刷图像中提取两个过程,该方法结合人耳的听觉特性,在水印鲁棒性与不可见性相结合方面有很好的平衡效果。

Figure 201710093183

The present invention aims at the problems of the current packaging and printing anti-counterfeiting technology that uses binary or pseudo-random scrambled sequences as watermark information, the information is single, and the robustness and invisibility need to be improved after printing-scanning. Combining audio information and packaging anti-counterfeiting, a method for hiding and extracting audio anti-counterfeiting signals in printed images is proposed. The anti-counterfeiting method for color printed products by leaf transformation includes: (I) making audio anti-counterfeiting information as watermark information, (II) confirming the watermark embedding position in the host image, (III) transforming to obtain a color image containing audio watermark information, and using it for Printing plate-making output; and extracting audio anti-counterfeiting information from printed images are two processes. This method combines the auditory characteristics of human ears and has a good balance in the combination of watermark robustness and invisibility.

Figure 201710093183

Description

一种在印刷图像中隐藏和提取音频防伪信号的方法A method for hiding and extracting audio anti-counterfeiting signals in printed images

技术领域technical field

本发明涉及一种音频防伪方法,尤其是一种在印刷图像中隐藏和提取音频防伪信号的方法,属于包装印刷品的防伪技术领域。The invention relates to an audio anti-counterfeiting method, in particular to a method for hiding and extracting an audio anti-counterfeiting signal in a printed image, and belongs to the technical field of anti-counterfeiting of packaged printed matter.

背景技术Background technique

当前,假冒伪劣商品对人们的生活及经济的发展造成了不利的影响,因此,利用科学技术手段研究防伪技术,杜绝假冒商品造成危害显得尤为重要。目前的商品防伪包装多依赖于包装材料与防伪码设计的防伪,虽然这些防伪技术已经发展到一定程度,但假冒者仍能通过各种手段复制模仿部分防伪技术,在商品流通过程中仍存在着许多缺点。At present, counterfeit and shoddy goods have a negative impact on people's lives and economic development. Therefore, it is particularly important to use scientific and technological means to study anti-counterfeiting technology and prevent the harm caused by counterfeit goods. At present, the anti-counterfeiting packaging of commodities mostly relies on the anti-counterfeiting of packaging materials and anti-counterfeiting code design. Although these anti-counterfeiting technologies have been developed to a certain extent, counterfeiters can still copy and imitate some anti-counterfeiting technologies through various means. Many disadvantages.

全息水印防伪技术有着较好的鲁棒性与安全性,可作为一种绿色智能化防伪技术应用于包装防伪领域,降低防伪包装成本,还可通过手机等复制成像设备进行快速认证,提高了防伪包装的有效利用率。为实现水印防伪方法在印刷图像中的应用,多是对水印算法的鲁棒性等性能进行优化与创新,相比图像信息下的视觉感受系统,人耳可以接受动态极大的不同强度的声音,通过经外耳的直接声与反射声的微小时间差别(距离、时间、频率差异)对不同方向音源做出分辨,还可在复杂噪声环境中,对感兴趣声源自动选听。The holographic watermark anti-counterfeiting technology has good robustness and security, and can be used as a green and intelligent anti-counterfeiting technology in the field of packaging anti-counterfeiting to reduce the cost of anti-counterfeiting packaging. Effective utilization of packaging. In order to realize the application of watermarking anti-counterfeiting methods in printed images, the performance of the watermarking algorithm, such as the robustness, is mostly optimized and innovated. Compared with the visual perception system under image information, the human ear can accept extremely dynamic sounds of different intensities. , through the small time difference (distance, time, frequency difference) between the direct sound and the reflected sound through the outer ear to distinguish the sound sources in different directions, and can also automatically select the sound source of interest in a complex noise environment.

通过对国内专利进行检索,发现有相关专利,举例如下:Through the search of domestic patents, it is found that there are related patents, such as the following:

1.专利申请号CN201380010689.X,名称为“用于视障人士的可听凭证识别”的发明专利公开一种凭证或物品,其承载所述凭证或物品的用于可听鉴定的信息,其中所述信息以频率相对于时间的谱密度函数(声谱图)的形式位于所述凭证或物品之内或之上,所述声谱图使用凭证防伪工具实现。进一步公开一种用于制作所述凭证或物品的方法;用于表现来自所述凭证或物品的可听鉴定信息的读取设备,一种用于鉴定所述凭证或物品的方法以及出于凭证鉴定目的对声谱图的使用。1. Patent application number CN201380010689.X, the invention patent titled "Audible Credential Recognition for Visually Impaired Persons" discloses a credential or article that carries the information for audible identification of the credential or article, wherein The information is located in or on the credential or item in the form of a spectral density function of frequency versus time (a spectrogram) implemented using credential anti-counterfeiting tools. Further disclosed is a method for making the voucher or item; a reading device for representing audible authentication information from the voucher or item, a method for authenticating the voucher or item, and a method for authenticating the voucher or item Use of spectrograms for identification purposes.

2.专利申请号CN200810196257.3,名称为“用于声频文件的数字水印制作及识别方法”的发明专利公开了一种用于声频文件的数字水印制作方法及识别方法。在待处理的声频数字文件中添加水印作为版权标记信息,其特征在于:所述的水印采用经转换的声纹信息实现,包括:采集一段标识版权的语音信号并获得声纹水印图像;转换成一维二值序列组,每一矩阵单元的灰度值采用一个8位二进制数表示;待插入水印的声频文件分段,对每段声频分别进行频域变换,获得频谱文件;在每段频谱文件中嵌入一位一维二值序列组水印数据,所述嵌入方法是量化修改频谱文件系数的方法;进行反变换,获得嵌入水印的声频数据,与其余未处理的声频数据组合,即得到带有数字水印的声频数字文件。识别时进行反向分离操作。本发明有效解决了数字声频产品的版权认证问题。2. Patent application number CN200810196257.3, the invention patent titled "Method for Making and Recognition of Digital Watermarks for Audio Files" discloses a method for making and recognizing digital watermarks for audio files. A watermark is added as copyright marking information in the audio digital file to be processed, and it is characterized in that: the watermark is realized by using the converted voiceprint information, including: collecting a piece of voice signal identifying copyright and obtaining a voiceprint watermark image; converting it into a Two-dimensional binary sequence group, the gray value of each matrix unit is represented by an 8-bit binary number; the audio file to be inserted into the watermark is segmented, and each segment of audio frequency is transformed in the frequency domain to obtain a spectrum file; in each segment of the spectrum file Embed one-bit one-dimensional binary sequence group watermark data in it, and the embedding method is a method of quantifying and modifying the coefficients of the spectrum file; perform inverse transformation to obtain the audio data embedded in the watermark, and combine with the remaining unprocessed audio data to obtain a Digitally watermarked audio digital files. Reverse separation operation is performed during identification. The invention effectively solves the copyright authentication problem of digital audio products.

上述专利虽然都涉及到将声频作为水印添加,但都没有将声音作为水印信息隐藏于印刷包装防伪图像的方案,没有将人耳对音频接收的优点很好的发挥。Although the above patents all involve adding audio as a watermark, they do not have the solution of hiding the audio as watermark information in the printing and packaging anti-counterfeiting image, and do not give full play to the advantages of audio reception by the human ear.

发明内容SUMMARY OF THE INVENTION

本发明针对当前包装印刷防伪技术以二值或伪随机置乱序列为水印信息的水印防伪方法信息单一、在印刷-扫描后鲁棒性与不可见性有待提高的问题,将人耳较为敏感的音频信息与包装防伪结合起来,提出一种在印刷图像中隐藏和提取音频防伪信号的方法,为一种基于音频信息矩阵化及映射操作的音频信息全息方法与基于小波变换及四元数傅里叶变换的彩色印刷制品防伪方法,该方法结合人耳的听觉特性,在水印鲁棒性与不可见性相结合方面有很好的平衡效果。The invention aims at the problems of the current packaging and printing anti-counterfeiting technology that uses binary or pseudo-random scrambled sequences as watermark information, the information is single, and the robustness and invisibility need to be improved after printing-scanning. Combining audio information and packaging anti-counterfeiting, a method for hiding and extracting audio anti-counterfeiting signals in printed images is proposed. The anti-counterfeiting method of color printing products based on leaf transformation, the method combines the auditory characteristics of the human ear, and has a good balance effect in the combination of watermark robustness and invisibility.

本发明为解决上述问题所采用的技术手段为:一种在印刷图像中隐藏和提取音频防伪信号的方法,包括将音频防伪信号隐藏于印刷图像中及将音频防伪信息从印刷图像中提取两个过程;其中将音频防伪信号隐藏于印刷图像中即以音频为水印防伪信息、以图像为宿主信息,包括:(Ⅰ)将音频防伪信息制作为水印信息,(Ⅱ)确认宿主图像中的水印嵌入位置,(Ⅲ)变换得到含音频水印信息的彩色图像,并用于印刷制版输出;将音频防伪信息从印刷图像中提取即为隐藏的逆过程,包括:(A)用成像设备获取图像,(B)对图像校正后进行信息变换,(C)全息复现后恢复音频防伪信息。The technical means adopted by the present invention to solve the above problems are: a method for hiding and extracting audio anti-counterfeiting signals in a printed image, including hiding the audio anti-counterfeiting signal in the printed image and extracting two audio anti-counterfeiting information from the printed image. The process; in which the audio anti-counterfeiting signal is hidden in the printed image, that is, the audio is used as the watermark anti-counterfeiting information, and the image is used as the host information, including: (I) making the audio anti-counterfeiting information as watermark information, (II) confirming the embedding of the watermark in the host image (III) Transform to obtain a color image containing audio watermark information, and use it for printing plate-making output; extracting audio anti-counterfeiting information from the printed image is the hidden inverse process, including: (A) Obtaining the image with an imaging device, (B) ) to perform information transformation after image correction, (C) to restore audio anti-counterfeiting information after holographic reproduction.

进一步地,(Ⅰ)将音频防伪信息制作为水印信息包括将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息,将二维矩阵制作为傅里叶全息水印图,经小波变换得到水印嵌入信息。Further, (I) making the audio anti-counterfeiting information as watermark information includes quantizing the audio information samples into one-dimensional matrix information and then increasing the dimension into two-dimensional matrix information, making the two-dimensional matrix into a Fourier holographic watermark, and performing wavelet transformation. Get the watermark embedding information.

进一步地,将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息即对单声道音频信息采样,提取音频信息的符号信息,量化为一维矩阵音频符号信息,将一维矩阵音频符号信息映射到简单离散灰度范围分布并升维为二维矩阵。Further, after quantizing the audio information sampling into one-dimensional matrix information, the dimension is increased to two-dimensional matrix information, that is, sampling the monophonic audio information, extracting the symbol information of the audio information, quantizing it into one-dimensional matrix audio symbol information, and converting the one-dimensional matrix Audio symbol information is mapped to a simple discrete grayscale distribution and upscaled to a two-dimensional matrix.

进一步地,一维矩阵音频符号信息映射的简单离散灰度范围为[0, 0.5, 1],升维按照行或者列排列的方式进行。Further, the simple discrete grayscale range of the audio symbol information mapping of the one-dimensional matrix is [0, 0.5, 1], and the dimension increase is performed in the manner of row or column arrangement.

进一步地,将二维矩阵制作为傅里叶全息水印图即对二维矩阵扩频后得到扩频水印图像并乘以一个随机相位以降低全息图的动态范围,然后对其进行傅里叶变换得到傅里叶频谱、振幅信息和相位信息,根据光学离轴全息图透过率函数得到全息图,最后对全息图归一化得到傅里叶全息水印。Further, the two-dimensional matrix is made into a Fourier holographic watermark image, that is, the two-dimensional matrix is spread to obtain a spread-spectrum watermark image and multiplied by a random phase to reduce the dynamic range of the hologram, and then Fourier transform is performed on it. The Fourier spectrum, amplitude information and phase information are obtained, and the hologram is obtained according to the optical off-axis hologram transmittance function. Finally, the Fourier holographic watermark is obtained by normalizing the hologram.

进一步地,经小波变换得到水印嵌入信息即将制作的含音频符号信息的水印全息图进行Haar小波分解变换,取对角高频分量信息作为待嵌入水印信息。Further, the watermark hologram containing the audio symbol information to be produced after the watermark embedding information obtained by wavelet transformation is subjected to Haar wavelet decomposition transformation, and the diagonal high-frequency component information is taken as the watermark information to be embedded.

进一步地,(Ⅱ)确认宿主图像中的水印嵌入位置包括将宿主图像通过小波分解构造为实部为0的四元数虚部,并进行四元数傅里叶变换,取实部中频作为水印嵌入位置。Further, (II) confirming the embedding position of the watermark in the host image includes constructing the host image into a quaternion imaginary part with a real part of 0 through wavelet decomposition, and performing a quaternion Fourier transform, taking the intermediate frequency of the real part as the watermark. Embed location.

进一步地,将宿主图像通过小波分解构造为实部为0的四元数虚部即将RGB模式下的宿主图像进行分通道处理,对每个色彩通道图像分别进行Haar小波分解,取其低频逼近子图信息构造为实部为0的四元数的三个虚部。Further, the host image is constructed into a quaternion imaginary part with a real part of 0 through wavelet decomposition, that is, the host image in RGB mode is divided into channels, and each color channel image is subjected to Haar wavelet decomposition, and its low-frequency approximation is taken. The graph information is constructed as the three imaginary parts of a quaternion whose real part is 0.

进一步地,进行的四元数傅里叶变换为四元数傅里叶左变换。Further, the performed quaternion Fourier transform is a left quaternion Fourier transform.

进一步地,(Ⅲ)变换得到含音频水印信息的彩色图像即将音频嵌入信息加性嵌入到宿主图像的嵌入位置,将新的实部中频部分与虚部结合进行逆四元数傅里叶变换和逆小波变换得到含有音频水印信息的防伪图像。Further, (III) transform to obtain a color image containing audio watermark information, that is to add the audio embedding information to the embedding position of the host image, and combine the new real part and intermediate frequency part with the imaginary part to perform inverse quaternion Fourier transform and sum. The anti-counterfeiting image containing audio watermark information is obtained by inverse wavelet transform.

进一步地,(B)对图像校正后进行信息变换即对获得的数字图像经过色彩、尺寸等校正后分别进行Haar小波变换与四元数傅里叶变换。Further, (B) performing information transformation after correcting the image, that is, performing Haar wavelet transform and quaternion Fourier transform on the obtained digital image after correcting the color and size.

进一步地,进行Haar小波变换与四元数傅里叶变换即对待检测图像的三个通道图像分别进行Haar小波分解,取三个低频逼近子图作为四元数矩阵的三个虚部,构造四元数矩阵,进行四元数傅里叶左变换,提取实部中频位置嵌入信息。Further, the Haar wavelet transform and the quaternion Fourier transform are performed, that is, the three channel images of the image to be detected are respectively subjected to Haar wavelet decomposition, and three low-frequency approximation subgraphs are taken as the three imaginary parts of the quaternion matrix to construct four Arion matrix, quaternion Fourier left transform is performed, and the embedded information of the real part intermediate frequency position is extracted.

进一步地,(C)全息复现后恢复音频防伪信息即对提取的嵌入信息进行全息复现得到二维水印信息,将提取信息进行降维后选取阈值范围,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值,恢复为符号信息,经后处理后进行音频输出。Further, (C) restoring the audio anti-counterfeiting information after holographic reproduction, that is, performing holographic reproduction on the extracted embedded information to obtain two-dimensional watermark information, reducing the dimension of the extracted information and selecting a threshold range, and decomposing the data within the threshold range and transforming it. , take the value with the highest positive code rate as the optimal threshold, restore it to symbol information, and perform audio output after post-processing.

进一步地,全息复现得到二维水印信息即提取的嵌入信息作逆傅里叶变换,可获得含有零级像、原始像和共轭像的再现图像,取原始像位置信息得到二维水印信息。Further, the holographic reproduction obtains the two-dimensional watermark information, that is, the extracted embedded information is subjected to inverse Fourier transform, and the reproduced image containing the zero-order image, the original image and the conjugate image can be obtained, and the two-dimensional watermark information is obtained by taking the position information of the original image. .

进一步地,将提取信息进行降维后选取阈值范围即按行或列降维方式降维为一维,根据灰度直方图的衰减趋势,选取具有最明显衰减的区域作为初选阈值范围。Further, after dimensionality reduction of the extracted information, the threshold range is selected, that is, the dimension is reduced to one dimension by row or column dimensionality reduction. According to the attenuation trend of the gray histogram, the region with the most obvious attenuation is selected as the primary threshold range.

进一步地,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值即将阈值范围内数据进行n次分解,将分解的每一个数据作为初选阈值对提取信息进行简单离散变换,并与原嵌入水印符号信息进行对比,根据逻辑乘法正码率得到具有最高正码率的最优阈值。Further, the data in the threshold range is decomposed and transformed, and the value with the highest positive code rate is taken as the optimal threshold, that is, the data in the threshold range is decomposed n times, and each decomposed data is used as the primary threshold to extract information. Discrete transformation, and compared with the original embedded watermark symbol information, the optimal threshold with the highest positive code rate is obtained according to the positive code rate of logical multiplication.

进一步地,恢复为符号信息,经后处理后进行音频输出即根据最优阈值,将提取的一维信息映射恢复为符号信息,经去噪等后处理后进行音频输出。Further, it is restored to symbol information, and audio output is performed after post-processing, that is, according to the optimal threshold, the extracted one-dimensional information map is restored to symbol information, and audio output is performed after post-processing such as denoising.

本发明的有益效果是:The beneficial effects of the present invention are:

1. 本发明将原始待加密的水印信息经过傅里叶全息水印技术可制成的傅里叶全息图,可以实现加密与增强鲁棒性的两方面的优势。1. In the present invention, the original watermark information to be encrypted can be produced by Fourier holographic watermarking technology, which can realize the advantages of encryption and enhanced robustness.

2. 本发明通过小波变换对图像进行多分辨率分析,将水印信息嵌入到小波变换提取的人眼不敏感高频分量中,有利于水印防伪方法不可见性的实现,将音频防伪信号作为全息水印隐藏于印刷图像中,增加了伪造的难度。2. The present invention performs multi-resolution analysis on the image through wavelet transform, and embeds the watermark information into the high-frequency components that are insensitive to the human eye extracted by wavelet transform, which is beneficial to the realization of the invisibility of the watermark anti-counterfeiting method, and uses the audio anti-counterfeiting signal as a holographic signal. Watermarks are hidden in printed images, making forgery more difficult.

3. 本发明将彩色图像使用四元数矩阵表示,将三个通道分量综合考虑,使其成为一个整体的处理方法有利于保持不同通道间的固有联系。3. In the present invention, the color image is represented by a quaternion matrix, and the three channel components are comprehensively considered to make it a whole processing method, which is conducive to maintaining the inherent relationship between different channels.

4. 本发明充分利用了人耳的听觉特性,借助智能手机等移动终端提取隐藏于印刷图像的音频信息,鉴别商品包装真伪,在增强商品包装防伪力度的同时,提升了用户进行商品包装真伪鉴别行为的体验兴趣。4. The present invention makes full use of the auditory characteristics of the human ear, extracts the audio information hidden in the printed images with the help of mobile terminals such as smart phones, and identifies the authenticity of commodity packaging. Experiential interest in pseudo-discriminatory behavior.

附图说明Description of drawings

图1为本发明音频水印信息全息图的制作流程;Fig. 1 is the production process of the audio watermark information hologram of the present invention;

图2为本发明以音频为水印信息的全息水印算法嵌入流程;Fig. 2 is the holographic watermarking algorithm embedding flow process of the present invention taking audio as watermark information;

图3为本发明以音频为水印信息的全息水印算法提取流程。FIG. 3 is the extraction process of the holographic watermarking algorithm using audio as watermark information according to the present invention.

具体实施方式Detailed ways

下面结合附图对本发明进一步说明。The present invention will be further described below with reference to the accompanying drawings.

实施例一Example 1

如图1-图3所示,一种在印刷图像中隐藏和提取音频防伪信号的方法,包括将音频防伪信号隐藏于印刷图像中及将音频防伪信息从印刷图像中提取两个过程;其中将音频防伪信号隐藏于印刷图像中即以音频为水印防伪信息、以图像为宿主信息,包括:(Ⅰ)将音频防伪信息制作为水印信息,(Ⅱ)确认宿主图像中的水印嵌入位置,(Ⅲ)变换得到含音频水印信息的彩色图像,并用于印刷制版输出;将音频防伪信息从印刷图像中提取即为隐藏的逆过程,包括:(A)用成像设备获取图像,(B)校正后进行信息变换,(C)全息复现后恢复音频防伪信息。As shown in Figures 1-3, a method for hiding and extracting audio anti-counterfeiting signals in a printed image includes two processes of hiding the audio anti-counterfeiting signal in the printed image and extracting the audio anti-counterfeiting information from the printed image; wherein the The audio anti-counterfeiting signal is hidden in the printed image, that is, the audio is used as the watermark anti-counterfeiting information, and the image is used as the host information, including: (I) making the audio anti-counterfeiting information as the watermark information, (II) confirming the watermark embedding position in the host image, (III) ) transform to obtain a color image containing audio watermark information, and use it for printing plate-making output; extracting audio anti-counterfeiting information from the printed image is the hidden inverse process, including: (A) using an imaging device to obtain the image, (B) After correcting Information transformation, (C) restore audio anti-counterfeiting information after holographic reproduction.

进一步地,(Ⅰ)将音频防伪信息制作为水印信息包括将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息,将二维矩阵制作为傅里叶全息水印图,经小波变换得到水印嵌入信息。Further, (I) making the audio anti-counterfeiting information as watermark information includes quantizing the audio information samples into one-dimensional matrix information and then increasing the dimension into two-dimensional matrix information, making the two-dimensional matrix into a Fourier holographic watermark, and performing wavelet transformation. Get the watermark embedding information.

进一步地,将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息即对单声道音频信息采样,提取音频信息的符号信息,量化为一维矩阵音频符号信息,将一维矩阵音频符号信息映射到简单离散灰度范围分布并升维为二维矩阵。Further, after quantizing the audio information sampling into one-dimensional matrix information, the dimension is increased to two-dimensional matrix information, that is, sampling the monophonic audio information, extracting the symbol information of the audio information, quantizing it into one-dimensional matrix audio symbol information, and converting the one-dimensional matrix Audio symbol information is mapped to a simple discrete grayscale distribution and upscaled to a two-dimensional matrix.

对音频信息进行采样,获得采样数据为L、采样频率为Fs的音频信息A,

Figure 947604DEST_PATH_IMAGE001
,归一化后
Figure 855517DEST_PATH_IMAGE002
,选取关键信息处的M1∙M2个长度采样数据的音频信息I,数据不足可用使用0补足,数据超出只截取关键部分信息。Sampling the audio information to obtain audio information A with sampling data L and sampling frequency Fs,
Figure 947604DEST_PATH_IMAGE001
, after normalization
Figure 855517DEST_PATH_IMAGE002
, select the audio information I of the M1∙M2 length sample data at the key information, and use 0 to make up for the lack of data, and only intercept the key part of the information if the data exceeds.

一维矩阵音频符号信息映射的简单离散灰度范围为[0, 0.5, 1],实现音频信息在纸张承印物上的传递:The simple discrete grayscale range of one-dimensional matrix audio symbol information mapping is [0, 0.5, 1], which realizes the transmission of audio information on paper substrates:

Figure 180713DEST_PATH_IMAGE003
Figure 180713DEST_PATH_IMAGE003

升维按照行排列的方式进行,得到V(x,y)The ascending dimension is performed in a row-arranged manner to obtain V(x,y) :

进一步地,将二维矩阵制作为傅里叶全息水印图即对二维矩阵V(x,y)扩频后得到的扩频水印图像f(x, y)乘以一个随机相位φ(x, y)以降低全息图的动态范围,然后对其进行傅里叶变换得到傅里叶频谱F(x, y)、振幅信息A(x, y)和相位信息ϕ(x, y): Further, the two-dimensional matrix is made into a Fourier holographic watermark image, that is, the spread-spectrum watermark image f(x, y) obtained by spreading the two-dimensional matrix V(x, y) is multiplied by a random phase φ(x , y) y) to reduce the dynamic range of the hologram, and then Fourier transform it to obtain the Fourier spectrum F(x, y) , the amplitude information A(x, y) and the phase information ϕ(x, y):

Figure 120167DEST_PATH_IMAGE005
其中real[]和imag[]分别为取复波面的实部与虚部操作,根据光学离轴全息图透过率函数得到全息图,全息图透过率函数表达式:
Figure 120167DEST_PATH_IMAGE005
Among them, real[] and imag[] are the operations of taking the real part and imaginary part of the complex wave surface, respectively. The hologram is obtained according to the optical off-axis hologram transmittance function. The hologram transmittance function expression is:

Figure 894088DEST_PATH_IMAGE006
Figure 894088DEST_PATH_IMAGE006

Figure 336440DEST_PATH_IMAGE007
在再现图像时不起作用,且增加了全息图的带宽,用I分量来代替式中的
Figure 537614DEST_PATH_IMAGE008
,推出以下全息函数:because
Figure 336440DEST_PATH_IMAGE007
It does not work when reproducing the image, and increases the bandwidth of the hologram, replace the I component in the formula
Figure 537614DEST_PATH_IMAGE008
, the following holographic function is derived:

Figure 668512DEST_PATH_IMAGE009
Figure 668512DEST_PATH_IMAGE009

其中,I为常数,归一化操作使得则:where I is a constant, and the normalization operation is such that but:

Figure 534193DEST_PATH_IMAGE011
Figure 534193DEST_PATH_IMAGE011

最后对全息图归一化得到傅里叶全息水印H(x, y)Finally, the hologram is normalized to obtain the Fourier holographic watermark H(x, y) .

进一步地,经小波变换得到水印嵌入信息即将制作的含音频符号信息的水印全息图H(x, y)进行Haar小波分解变换,取对角高频分量信息w(x, y)作为待嵌入水印信息。Further, the watermark hologram H(x, y) containing the audio symbol information to be produced after the watermark embedding information is obtained through wavelet transformation is subjected to Haar wavelet decomposition transformation, and the diagonal high-frequency component information w(x, y) is taken as the watermark to be embedded. information.

进一步地,(Ⅱ)确认宿主图像中的水印嵌入位置包括将宿主图像通过小波分解构造为实部为0的四元数虚部,并进行四元数傅里叶变换,取实部中频作为水印嵌入位置。Further, (II) confirming the embedding position of the watermark in the host image includes constructing the host image into a quaternion imaginary part with a real part of 0 through wavelet decomposition, and performing a quaternion Fourier transform, taking the intermediate frequency of the real part as the watermark. Embed location.

进一步地,将宿主图像通过小波分解构造为实部为0的四元数虚部即将RGB模式下的宿主图像进行分通道处理,对每个色彩通道图像分别进行Haar小波分解,取其低频逼近子图信息构造为实部为0的四元数的三个虚部,四元数构造的数学公式表述为:q=a+bi+cj+dk,其中a,b,c,d是实数,i, j, 为虚数,为互相垂直的三维空间单位向量,用四元数表示原彩色图像,即彩色图像表示为:Further, the host image is constructed into a quaternion imaginary part with a real part of 0 through wavelet decomposition, that is, the host image in RGB mode is divided into channels, and each color channel image is subjected to Haar wavelet decomposition, and its low-frequency approximation is taken. The graph information is constructed as the three imaginary parts of the quaternion whose real part is 0. The mathematical formula of the quaternion construction is expressed as: q=a+bi+cj+dk, where a, b, c, d are real numbers, i , j, is an imaginary number, which is a three-dimensional space unit vector perpendicular to each other, and a quaternion is used to represent the original color image, that is, the color image is expressed as:

.

进一步地,进行的四元数傅里叶变换为四元数傅里叶左变换,左变换公式为:Further, the performed quaternion Fourier transform is the left quaternion Fourier transform, and the left transform formula is:

Figure 711413DEST_PATH_IMAGE013
,其中u=0,1,...,M-1;v=0,1,…,N-1,将得到的实部中频部分作为水印的嵌入位置I(m, n)。
Figure 711413DEST_PATH_IMAGE013
, where u=0, 1, ..., M-1; v=0, 1, ..., N-1, and the obtained real intermediate frequency part is taken as the embedding position I(m, n) of the watermark.

进一步地,(Ⅲ)变换得到含音频水印信息的彩色图像即将音频嵌入信息加性嵌入到宿主图像的嵌入位置:

Figure 577869DEST_PATH_IMAGE014
,将新的实部中频部分与虚部结合进行逆四元数傅里叶变换和逆小波变换得到含有音频水印信息的防伪图像,其中逆四元数傅里叶变换公式为:Further, (III) transforms to obtain a color image containing audio watermark information, that is, the audio embedding information is additively embedded into the embedding position of the host image:
Figure 577869DEST_PATH_IMAGE014
, the new real part and the intermediate frequency part are combined with the imaginary part to perform inverse quaternion Fourier transform and inverse wavelet transform to obtain an anti-counterfeiting image containing audio watermark information, where the inverse quaternion Fourier transform formula is:

Figure 479966DEST_PATH_IMAGE015
,其中m=0,1,...,M-1;n=0,1,…,N-1。
Figure 479966DEST_PATH_IMAGE015
, where m=0,1,...,M-1; n=0,1,...,N-1.

进一步地,(A)用成像设备获取图像即通过手机获得包装印刷品上的数字图像。Further, (A) obtaining an image with an imaging device, that is, obtaining a digital image on a printed package through a mobile phone.

进一步地,(B)校正后进行信息变换即对获得的数字图像经过色彩、尺寸等校正后分别进行Haar小波变换与四元数傅里叶变换。Further, (B) performing information transformation after correction, that is, performing Haar wavelet transform and quaternion Fourier transform on the obtained digital image after correction of color and size, etc. respectively.

进一步地,进行Haar小波变换与四元数傅里叶变换即对待检测图像的三个通道图像分别进行Haar小波分解,取三个低频逼近子图作为四元数矩阵的三个虚部,构造四元数矩阵,进行四元数傅里叶左变换:Further, the Haar wavelet transform and the quaternion Fourier transform are performed, that is, the three channel images of the image to be detected are respectively subjected to Haar wavelet decomposition, and three low-frequency approximation subgraphs are taken as the three imaginary parts of the quaternion matrix to construct four Arion matrix, quaternion left Fourier transform:

Figure 960626DEST_PATH_IMAGE016
,其中u=0,1,...,M-1;v=0,1,…,N-1,提取实部中频位置嵌入信息。
Figure 960626DEST_PATH_IMAGE016
, where u=0, 1, ..., M-1; v=0, 1, ..., N-1, extract the real part IF position embedding information.

进一步地,(C)全息复现后恢复音频防伪信息即对提取的嵌入信息进行全息复现得到二维水印信息,将提取信息进行降维后选取阈值范围,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值,恢复为符号信息,经后处理后进行音频输出。Further, (C) restoring the audio anti-counterfeiting information after holographic reproduction, that is, performing holographic reproduction on the extracted embedded information to obtain two-dimensional watermark information, reducing the dimension of the extracted information and selecting a threshold range, and decomposing the data within the threshold range and transforming it. , take the value with the highest positive code rate as the optimal threshold, restore it to symbol information, and perform audio output after post-processing.

进一步地,全息复现得到二维水印信息即提取的嵌入信息作逆傅里叶变换,可获得含有零级像、原始像和共轭像的再现图像,取原始像位置信息得到二维水印信息。Further, the holographic reproduction obtains the two-dimensional watermark information, that is, the extracted embedded information is subjected to inverse Fourier transform, and the reproduced image containing the zero-order image, the original image and the conjugate image can be obtained, and the two-dimensional watermark information is obtained by taking the position information of the original image. .

进一步地,将提取信息进行降维后选取阈值范围即按行降维方式降维为一维,根据灰度直方图的衰减趋势,选取具有最明显衰减的区域作为初选阈值范围。Further, after dimensionality reduction of the extracted information, the threshold range is selected, that is, the dimension is reduced to one dimension by row dimensionality reduction, and the region with the most obvious attenuation is selected as the primary threshold range according to the attenuation trend of the gray histogram.

进一步地,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值即将阈值范围内数据进行n次分解(2次以上),将分解的每一个数据作为初选阈值对提取信息进行简单离散变换,并与原嵌入水印符号信息进行对比,根据逻辑乘法正码率得到具有最高正码率的最优阈值:Further, the data in the threshold range is decomposed and transformed, and the value with the highest positive code rate is taken as the optimal threshold, that is, the data in the threshold range is decomposed n times (more than 2 times), and each decomposed data is used as the primary selection threshold. Simple discrete transformation is performed on the extracted information, and compared with the original embedded watermark symbol information, the optimal threshold with the highest positive code rate is obtained according to the positive code rate of logical multiplication:

Figure 830231DEST_PATH_IMAGE017
Figure 830231DEST_PATH_IMAGE017

e(i)为提取的二值音频信息中的逻辑乘法计算上相同的个数,并根据:e(i) is the same number of logical multiplications in the extracted binary audio information, and is calculated according to:

LP(Logical positive rate )(e)=e(MN)/MN,得到提取信息的逻辑乘法正码率。LP(Logical positive rate )(e)=e(MN)/MN, the logical multiplication positive code rate for extracting information is obtained.

进一步地,恢复为符号信息,经后处理后进行音频输出即根据最优阈值,将提取的一维信息映射恢复为符号信息,经去噪等后处理后进行音频输出:Further, it is restored to symbol information, and audio output is performed after post-processing, that is, according to the optimal threshold, the extracted one-dimensional information map is restored to symbol information, and audio output is performed after post-processing such as denoising:

b、c为阈值范围,n为分段数。b and c are the threshold range, and n is the number of segments.

实施例二Embodiment 2

本实施例与实施例一基本原理相同,只是细节操作有所区别,一种在印刷图像中隐藏和提取音频防伪信号的方法,包括将音频防伪信号隐藏于印刷图像中及将音频防伪信息从印刷图像中提取两个过程;其中将音频防伪信号隐藏于印刷图像中即以音频为水印防伪信息、以图像为宿主信息,包括:(Ⅰ)将音频防伪信息制作为水印信息,(Ⅱ)确认宿主图像中的水印嵌入位置,(Ⅲ)变换得到含音频水印信息的彩色图像,并用于印刷制版输出;将音频防伪信息从印刷图像中提取即为隐藏的逆过程,包括:(A)用成像设备获取图像,(B)校正后进行信息变换,(C)全息复现后恢复音频防伪信息。The basic principle of this embodiment is the same as that of the first embodiment, but the details are different. A method for hiding and extracting audio anti-counterfeiting signals in a printed image includes hiding the audio anti-counterfeiting signal in the printed image and extracting the audio anti-counterfeiting information from the printed image. There are two processes of extracting from the image; in which the audio anti-counterfeiting signal is hidden in the printed image, that is, the audio is used as the watermark anti-counterfeiting information, and the image is used as the host information, including: (I) Making the audio anti-counterfeiting information as watermark information, (II) Confirming the host The watermark embedding position in the image, (III) transform to obtain a color image containing audio watermark information, and use it for printing plate-making output; extracting audio anti-counterfeiting information from the printed image is the hidden inverse process, including: (A) Using imaging equipment Image acquisition, (B) information transformation after correction, (C) restoration of audio anti-counterfeiting information after holographic reproduction.

进一步地,(Ⅰ)将音频防伪信息制作为水印信息包括将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息,将二维矩阵制作为傅里叶全息水印图,经小波变换得到水印嵌入信息。Further, (I) making the audio anti-counterfeiting information as watermark information includes quantizing the audio information samples into one-dimensional matrix information and then increasing the dimension into two-dimensional matrix information, making the two-dimensional matrix into a Fourier holographic watermark, and performing wavelet transformation. Get the watermark embedding information.

进一步地,将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息即对单声道音频信息采样,提取音频信息的符号信息,量化为一维矩阵音频符号信息,将一维矩阵音频符号信息映射到简单离散灰度范围分布并升维为二维矩阵。Further, after quantizing the audio information sampling into one-dimensional matrix information, the dimension is increased to two-dimensional matrix information, that is, sampling the monophonic audio information, extracting the symbol information of the audio information, quantizing it into one-dimensional matrix audio symbol information, and converting the one-dimensional matrix Audio symbol information is mapped to a simple discrete grayscale distribution and upscaled to a two-dimensional matrix.

对音频信息进行采样,获得采样数据为L、采样频率为Fs的音频信息A,,归一化后

Figure 256981DEST_PATH_IMAGE019
,选取关键信息处的M1∙M2个长度采样数据的音频信息I,数据不足可用使用0补足,数据超出只截取关键部分信息。Sampling the audio information to obtain audio information A with sampling data L and sampling frequency Fs, after normalization
Figure 256981DEST_PATH_IMAGE019
, select the audio information I of the M1∙M2 length sample data at the key information, and use 0 to make up for the lack of data, and only intercept the key part of the information if the data exceeds.

一维矩阵音频符号信息映射的简单离散灰度范围为[0, 0.5, 1],实现音频信息在纸张承印物上的传递:The simple discrete grayscale range of one-dimensional matrix audio symbol information mapping is [0, 0.5, 1], which realizes the transmission of audio information on paper substrates:

Figure 908542DEST_PATH_IMAGE020
Figure 908542DEST_PATH_IMAGE020

升维按照列排列的方式进行,得到V(x,y)The ascending dimension is performed in a columnar arrangement to obtain V(x,y) :

Figure 750596DEST_PATH_IMAGE021
Figure 750596DEST_PATH_IMAGE021

进一步地,将二维矩阵制作为傅里叶全息水印图即对二维矩阵V(x,y)扩频后得到的扩频水印图像f(x, y)乘以一个随机相位φ(x, y)以降低全息图的动态范围,然后对其进行傅里叶变换得到傅里叶频谱F(x, y)、振幅信息A(x, y)和相位信息ϕ(x, y): Further, the two-dimensional matrix is made into a Fourier holographic watermark image, that is, the spread-spectrum watermark image f(x, y) obtained by spreading the two-dimensional matrix V(x, y) is multiplied by a random phase φ(x , y) y) to reduce the dynamic range of the hologram, and then Fourier transform it to obtain the Fourier spectrum F(x, y) , the amplitude information A(x, y) and the phase information ϕ(x, y):

其中real[]和imag[]分别为取复波面的实部与虚部操作,根据光学离轴全息图透过率函数得到全息图,全息图透过率函数表达式:Among them, real[] and imag[] are the operations of taking the real part and imaginary part of the complex wave surface, respectively. The hologram is obtained according to the optical off-axis hologram transmittance function. The hologram transmittance function expression is:

Figure 159471DEST_PATH_IMAGE024
在再现图像时不起作用,且增加了全息图的带宽,用I分量来代替式中的
Figure 301871DEST_PATH_IMAGE025
,推出以下全息函数:because
Figure 159471DEST_PATH_IMAGE024
It does not work when reproducing the image, and increases the bandwidth of the hologram, replace the I component in the formula
Figure 301871DEST_PATH_IMAGE025
, the following holographic function is derived:

Figure 812356DEST_PATH_IMAGE026
Figure 812356DEST_PATH_IMAGE026

其中,I为常数,归一化操作使得

Figure 481234DEST_PATH_IMAGE027
=1,R 0=1,则:where I is a constant, and the normalization operation is such that
Figure 481234DEST_PATH_IMAGE027
=1, R 0 =1, then:

Figure 536915DEST_PATH_IMAGE028
Figure 536915DEST_PATH_IMAGE028
;

最后对全息图归一化得到傅里叶全息水印H(x, y)Finally, the hologram is normalized to obtain the Fourier holographic watermark H(x, y) .

进一步地,经小波变换得到水印嵌入信息即将制作的含音频符号信息的水印全息图H(x, y)进行Haar小波分解变换,取对角高频分量信息w(x, y)作为待嵌入水印信息。Further, the watermark hologram H(x, y) containing the audio symbol information to be produced after the watermark embedding information is obtained through wavelet transformation is subjected to Haar wavelet decomposition transformation, and the diagonal high-frequency component information w(x, y) is taken as the watermark to be embedded. information.

进一步地,(Ⅱ)确认宿主图像中的水印嵌入位置包括将宿主图像通过小波分解构造为实部为0的四元数虚部,并进行四元数傅里叶变换,取实部中频作为水印嵌入位置。Further, (II) confirming the embedding position of the watermark in the host image includes constructing the host image into a quaternion imaginary part with a real part of 0 through wavelet decomposition, and performing a quaternion Fourier transform, taking the intermediate frequency of the real part as the watermark. Embed location.

进一步地,将宿主图像通过小波分解构造为实部为0的四元数虚部即将RGB模式下的宿主图像进行分通道处理,对每个色彩通道图像分别进行Haar小波分解,取其低频逼近子图信息构造为实部为0的四元数的三个虚部,四元数构造的数学公式表述为:q=a+bi+cj+dk,其中a,b,c,d是实数,i, j, 为虚数,为互相垂直的三维空间单位向量,用四元数表示原彩色图像,即彩色图像表示为:Further, the host image is constructed into a quaternion imaginary part with a real part of 0 through wavelet decomposition, that is, the host image in RGB mode is divided into channels, and each color channel image is subjected to Haar wavelet decomposition, and its low-frequency approximation is taken. The graph information is constructed as the three imaginary parts of the quaternion whose real part is 0. The mathematical formula of the quaternion construction is expressed as: q=a+bi+cj+dk, where a, b, c, d are real numbers, i , j, is an imaginary number, which is a three-dimensional space unit vector perpendicular to each other, and a quaternion is used to represent the original color image, that is, the color image is expressed as:

Figure 104294DEST_PATH_IMAGE029
Figure 104294DEST_PATH_IMAGE029
.

进一步地,进行的四元数傅里叶变换为四元数傅里叶左变换,左变换公式为:Further, the performed quaternion Fourier transform is the left quaternion Fourier transform, and the left transform formula is:

Figure 169202DEST_PATH_IMAGE030
,其中u=0,1,...,M-1;v=0,1,…,N-1,将得到的实部中频部分作为水印的嵌入位置I(m, n)。
Figure 169202DEST_PATH_IMAGE030
, where u=0, 1, ..., M-1; v=0, 1, ..., N-1, and the obtained real intermediate frequency part is taken as the embedding position I(m, n) of the watermark.

进一步地,(Ⅲ)变换得到含音频水印信息的彩色图像即将音频嵌入信息加性嵌入到宿主图像的嵌入位置:

Figure 692587DEST_PATH_IMAGE031
,将新的实部中频部分与虚部结合进行逆四元数傅里叶变换和逆小波变换得到含有音频水印信息的防伪图像,其中逆四元数傅里叶变换公式为:逆变换为:Further, (III) transform to obtain a color image containing audio watermark information, that is, the audio embedding information is additively embedded into the embedding position of the host image:
Figure 692587DEST_PATH_IMAGE031
, the new real part and the intermediate frequency part are combined with the imaginary part to perform inverse quaternion Fourier transform and inverse wavelet transform to obtain an anti-counterfeiting image containing audio watermark information, where the inverse quaternion Fourier transform formula is: The inverse transform is:

Figure 171366DEST_PATH_IMAGE032
,其中m=0,1,...,M-1;n=0,1,…,N-1。
Figure 171366DEST_PATH_IMAGE032
, where m=0,1,...,M-1; n=0,1,...,N-1.

进一步地,(A)用成像设备获取图像即通过扫描仪获得包装印刷品上的数字图像。Further, (A) obtaining an image with an imaging device, that is, obtaining a digital image on a printed package by a scanner.

进一步地,(B)校正后进行信息变换即对获得的数字图像经过色彩、尺寸等校正后分别进行Haar小波变换与四元数傅里叶变换。Further, (B) performing information transformation after correction, that is, performing Haar wavelet transform and quaternion Fourier transform on the obtained digital image after correction of color and size, etc. respectively.

进一步地,进行Haar小波变换与四元数傅里叶变换即对待检测图像的三个通道图像分别进行Haar小波分解,取三个低频逼近子图作为四元数矩阵的三个虚部,构造四元数矩阵,进行四元数傅里叶左变换:Further, the Haar wavelet transform and the quaternion Fourier transform are performed, that is, the three channel images of the image to be detected are respectively subjected to Haar wavelet decomposition, and three low-frequency approximation subgraphs are taken as the three imaginary parts of the quaternion matrix to construct four Arion matrix, quaternion left Fourier transform:

Figure 475308DEST_PATH_IMAGE033
,其中u=0,1,...,M-1;v=0,1,…,N-1,提取实部中频位置嵌入信息。
Figure 475308DEST_PATH_IMAGE033
, where u=0, 1, ..., M-1; v=0, 1, ..., N-1, extract the real part IF position embedding information.

进一步地,(C)全息复现后恢复音频防伪信息即对提取的嵌入信息进行全息复现得到二维水印信息,将提取信息进行降维后选取阈值范围,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值,恢复为符号信息,经后处理后进行音频输出。Further, (C) restoring the audio anti-counterfeiting information after holographic reproduction, that is, performing holographic reproduction on the extracted embedded information to obtain two-dimensional watermark information, reducing the dimension of the extracted information and selecting a threshold range, and decomposing the data within the threshold range and transforming it. , take the value with the highest positive code rate as the optimal threshold, restore it to symbol information, and perform audio output after post-processing.

进一步地,全息复现得到二维水印信息即提取的嵌入信息作逆傅里叶变换,可获得含有零级像、原始像和共轭像的再现图像,取原始像位置信息得到二维水印信息。Further, the holographic reproduction obtains the two-dimensional watermark information, that is, the extracted embedded information is subjected to inverse Fourier transform, and the reproduced image containing the zero-order image, the original image and the conjugate image can be obtained, and the two-dimensional watermark information is obtained by taking the position information of the original image. .

进一步地,将提取信息进行降维后选取阈值范围即按列降维方式降维为一维,根据灰度直方图的衰减趋势,选取具有最明显衰减的区域作为初选阈值范围。Further, after dimensionality reduction of the extracted information, the threshold range is selected, that is, the dimension is reduced to one dimension according to the column dimensionality reduction method, and the region with the most obvious attenuation is selected as the primary threshold range according to the attenuation trend of the gray histogram.

进一步地,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值即将阈值范围内数据进行n次分解(3次以上),将分解的每一个数据作为初选阈值对提取信息进行简单离散变换,并与原嵌入水印符号信息进行对比,根据逻辑乘法正码率得到具有最高正码率的最优阈值:Further, the data in the threshold range is decomposed and transformed, and the value with the highest positive code rate is taken as the optimal threshold, that is, the data in the threshold range is decomposed n times (more than 3 times), and each decomposed data is used as the primary selection threshold. Simple discrete transformation is performed on the extracted information, and compared with the original embedded watermark symbol information, the optimal threshold with the highest positive code rate is obtained according to the positive code rate of logical multiplication:

Figure 829061DEST_PATH_IMAGE034
Figure 829061DEST_PATH_IMAGE034

e(i)为提取的二值音频信息中的逻辑乘法计算上相同的个数,并根据:e(i) is the same number of logical multiplications in the extracted binary audio information, and is calculated according to:

LP(Logical positive rate )(e)=e(MN)/MN,得到提取信息的逻辑乘法正码率。LP(Logical positive rate )(e)=e(MN)/MN, the logical multiplication positive code rate for extracting information is obtained.

进一步地,恢复为符号信息,经后处理后进行音频输出即根据最优阈值,将提取的一维信息映射恢复为符号信息,经去噪等后处理后进行音频输出:Further, it is restored to symbol information, and audio output is performed after post-processing, that is, according to the optimal threshold, the extracted one-dimensional information map is restored to symbol information, and audio output is performed after post-processing such as denoising:

Figure 269269DEST_PATH_IMAGE035
Figure 269269DEST_PATH_IMAGE035

b、c为阈值范围,n为分段数。b and c are the threshold range, and n is the number of segments.

由此可见,本发明还具有以下有益效果:Thus, the present invention also has the following beneficial effects:

1. 本发明将原始待加密的水印信息经过傅里叶全息水印技术可制成的傅里叶全息图,可以实现加密与增强鲁棒性的两方面的优势。1. In the present invention, the original watermark information to be encrypted can be produced by Fourier holographic watermarking technology, which can realize the advantages of encryption and enhanced robustness.

2. 本发明通过小波变换对图像进行多分辨率分析,将水印信息嵌入到小波变换提取的人眼不敏感高频分量中,有利于水印防伪方法不可见性的实现,将音频防伪信号作为全息水印隐藏于印刷图像中,增加了伪造的难度。2. The present invention performs multi-resolution analysis on the image through wavelet transform, and embeds the watermark information into the high-frequency components that are insensitive to the human eye extracted by wavelet transform, which is beneficial to the realization of the invisibility of the watermark anti-counterfeiting method, and uses the audio anti-counterfeiting signal as a holographic signal. Watermarks are hidden in printed images, making forgery more difficult.

3. 本发明将彩色图像使用四元数矩阵表示,将三个通道分量综合考虑,使其成为一个整体的处理方法有利于保持不同通道间的固有联系。3. In the present invention, the color image is represented by a quaternion matrix, and the three channel components are comprehensively considered to make it a whole processing method, which is conducive to maintaining the inherent relationship between different channels.

4. 本发明充分利用了人耳的听觉特性,借助智能手机等移动终端提取隐藏于印刷图像的音频信息,鉴别商品包装真伪,在增强商品包装防伪力度的同时,提升了用户进行商品包装真伪鉴别行为的体验兴趣。4. The present invention makes full use of the auditory characteristics of the human ear, extracts the audio information hidden in the printed images with the help of mobile terminals such as smart phones, and identifies the authenticity of commodity packaging. Experiential interest in pseudo-discriminatory behavior.

Claims (8)

1.一种在印刷图像中隐藏和提取音频防伪信号的方法,包括将音频防伪信号隐藏于印刷图像中及将音频防伪信息从印刷图像中提取两个过程,其特征在于:将音频防伪信号隐藏于印刷图像中是指以音频为水印防伪信息、以图像为宿主信息,包括:(Ⅰ)将音频防伪信息制作为水印信息,(Ⅱ)确认宿主图像中的水印嵌入位置,(Ⅲ)变换得到含音频水印信息的彩色图像,并用于印刷制版输出;将音频防伪信息从印刷图像中提取是指将音频防伪信号隐藏于印刷图像中的逆过程,包括:(A)用成像设备获取图像,(B)对图像校正后进行信息变换,(C)全息复现后恢复音频防伪信息;1. a method for concealing and extracting audio anti-counterfeiting signal in printed image, comprising audio anti-counterfeiting signal hidden in printed image and two processes of audio anti-counterfeiting information being extracted from printed image, it is characterized in that: audio anti-counterfeiting signal is hidden In the printed image, it refers to the audio as the watermark anti-counterfeiting information and the image as the host information, including: (I) making the audio anti-counterfeiting information as the watermark information, (II) confirming the watermark embedding position in the host image, (III) transforming to obtain Color images containing audio watermark information, and used for printing plate-making output; extracting audio anti-counterfeiting information from printed images refers to the inverse process of hiding audio anti-counterfeiting signals in printed images, including: (A) using imaging equipment to obtain images, ( B) Perform information transformation after image correction, (C) restore audio anti-counterfeiting information after holographic reproduction; 所述(Ⅰ)将音频防伪信息制作为水印信息包括将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息,将二维矩阵制作为傅里叶全息水印图,经小波变换得到水印嵌入信息;The (I) making the audio anti-counterfeiting information as watermark information includes quantizing the audio information samples into one-dimensional matrix information and then increasing the dimension into two-dimensional matrix information; watermark embedded information; 所述将音频信息采样量化为一维矩阵信息后升维为二维矩阵信息即对单声道音频信息采样,提取音频信息的符号信息,量化为一维矩阵音频符号信息,将一维矩阵音频符号信息映射到简单离散灰度范围分布并升维为二维矩阵;The audio information sampling is quantized into one-dimensional matrix information and then upscaled to two-dimensional matrix information, that is, the monophonic audio information is sampled, the symbol information of the audio information is extracted, quantized into one-dimensional matrix audio symbol information, and the one-dimensional matrix audio The symbolic information is mapped to a simple discrete grayscale distribution and raised to a two-dimensional matrix; 所述一维矩阵音频符号信息映射的简单离散灰度范围为[0,0.5,1],实现音频信息在纸张承印物上的传递:The simple discrete grayscale range of the one-dimensional matrix audio symbol information mapping is [0, 0.5, 1], and realizes the transmission of audio information on the paper substrate:
Figure 251563DEST_PATH_IMAGE002
Figure 251563DEST_PATH_IMAGE002
升维按照行或者列排列的方式进行,得到V(x,y)The ascending dimension is arranged in rows or columns to obtain V(x,y) :
Figure 510244DEST_PATH_IMAGE004
Figure 510244DEST_PATH_IMAGE004
;
所述将二维矩阵制作为傅里叶全息水印图即对二维矩阵扩频后得到扩频水印图像并乘以一个随机相位以降低全息图的动态范围,然后对其进行傅里叶变换得到傅里叶频谱、振幅信息和相位信息,根据光学离轴全息图透过率函数得到全息图,最后对全息图归一化得到傅里叶全息水印;The two-dimensional matrix is made into a Fourier holographic watermark image, that is, after the two-dimensional matrix is spread, a spread-spectrum watermark image is obtained and multiplied by a random phase to reduce the dynamic range of the hologram, and then Fourier transform is performed on it to obtain Fourier spectrum, amplitude information and phase information, obtain the hologram according to the optical off-axis hologram transmittance function, and finally normalize the hologram to obtain the Fourier holographic watermark; 所述经小波变换得到水印嵌入信息即将制作的含音频符号信息的水印全息图进行Haar小波分解变换,取对角高频分量信息作为待嵌入水印信息。The watermark hologram containing the audio symbol information to be produced after the wavelet transform obtains the watermark embedding information is subjected to Haar wavelet decomposition transformation, and the diagonal high-frequency component information is taken as the watermark information to be embedded.
2.如权利要求1所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述(Ⅱ)确认宿主图像中的水印嵌入位置包括将宿主图像通过小波分解构造为实部为0的四元数虚部,并进行四元数傅里叶变换,取实部中频作为水印嵌入位置。2. The method for hiding and extracting audio anti-counterfeiting signals in a printed image as claimed in claim 1, wherein (II) confirming the watermark embedding position in the host image comprises constructing the host image into a real part through wavelet decomposition The imaginary part of the quaternion is 0, and the quaternion Fourier transform is performed, and the intermediate frequency of the real part is taken as the watermark embedding position. 3.如权利要求2所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述将宿主图像通过小波分解构造为实部为0的四元数虚部即将RGB模式下的宿主图像进行分通道处理,对每个色彩通道图像分别进行Haar小波分解,取其低频逼近子图信息构造为实部为0的四元数的三个虚部;3. the method for concealing and extracting audio anti-counterfeiting signal in printed image as claimed in claim 2, it is characterized in that: described host image is constructed by wavelet decomposition to be the quaternion imaginary part whose real part is 0, namely under RGB mode The host image is divided into channels, and each color channel image is subjected to Haar wavelet decomposition, and its low-frequency approximation sub-image information is constructed as the three imaginary parts of the quaternion whose real part is 0; 所述进行的四元数傅里叶变换为四元数傅里叶左变换。The performed quaternion Fourier transform is a left quaternion Fourier transform. 4.如权利要求1所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述(Ⅲ)变换得到含音频水印信息的彩色图像即将音频嵌入信息加性嵌入到宿主图像的嵌入位置,将新的实部中频部分与虚部结合进行逆四元数傅里叶变换和逆小波变换得到含有音频水印信息的防伪图像。4. The method for hiding and extracting audio anti-counterfeiting signals in a printed image as claimed in claim 1, characterized in that: said (III) transforming to obtain a color image containing audio watermark information is to add the audio embedding information to the host image The new real part and the intermediate frequency part are combined with the imaginary part to perform inverse quaternion Fourier transform and inverse wavelet transform to obtain an anti-counterfeiting image containing audio watermark information. 5.如权利要求1所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述(B)对图像校正后进行信息变换即对获得的数字图像经过色彩、尺寸校正后分别进行Haar小波变换与四元数傅里叶变换。5 . The method for hiding and extracting audio anti-counterfeiting signals from a printed image as claimed in claim 1 , wherein (B) performing information transformation after image correction, that is, after color and size correction of the obtained digital image. 6 . Haar wavelet transform and quaternion Fourier transform are carried out respectively. 6.如权利要求5所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述进行Haar小波变换与四元数傅里叶变换即对待检测图像的三个通道图像分别进行Haar小波分解,取三个低频逼近子图作为四元数矩阵的三个虚部,构造四元数矩阵,进行四元数傅里叶左变换,提取实部中频位置嵌入信息。6. the method for hiding and extracting audio anti-counterfeiting signal in printed image as claimed in claim 5, it is characterized in that: described carrying out Haar wavelet transform and quaternion Fourier transform namely three channel images of the image to be detected are respectively Perform Haar wavelet decomposition, take three low-frequency approximation subgraphs as the three imaginary parts of the quaternion matrix, construct the quaternion matrix, perform the left Fourier transform of the quaternion, and extract the intermediate frequency position embedding information of the real part. 7.如权利要求1所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述(C)全息复现后恢复音频防伪信息即对提取的嵌入信息进行全息复现得到二维水印信息,将提取信息进行降维后选取阈值范围,对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值,恢复为符号信息,经后处理后进行音频输出。7 . The method for hiding and extracting audio anti-counterfeiting signals in a printed image according to claim 1 , wherein: (C) restoring the audio anti-counterfeiting information after holographic reproduction is obtained by holographic reproduction of the extracted embedded information. 8 . For two-dimensional watermark information, the extracted information is dimensionally reduced and then the threshold range is selected, the data within the threshold range is decomposed and transformed, and the value with the highest positive code rate is taken as the optimal threshold value, which is restored to symbol information, and the audio is processed after post-processing. output. 8.如权利要求7所述的在印刷图像中隐藏和提取音频防伪信号的方法,其特征在于:所述全息复现得到二维水印信息即提取的嵌入信息作逆傅里叶变换,可获得含有零级像、原始像和共轭像的再现图像,取原始像位置信息得到二维水印信息;8. The method for hiding and extracting audio anti-counterfeiting signals in a printed image as claimed in claim 7, wherein the holographic reproduction obtains the two-dimensional watermark information, that is, the extracted embedded information does inverse Fourier transform, and can obtain The reconstructed image containing the zero-order image, the original image and the conjugated image, obtain the two-dimensional watermark information by taking the position information of the original image; 所述将提取信息进行降维后选取阈值范围即按行或列降维方式降维为一维,根据灰度直方图的衰减趋势,选取具有最明显衰减的区域作为初选阈值范围;After the extracted information is reduced in dimension, the threshold range is selected, that is, the dimension is reduced to one dimension by row or column dimension reduction, and the region with the most obvious attenuation is selected as the primary selection threshold range according to the attenuation trend of the gray histogram; 所述对阈值范围内数据进行分解后变换,取具有最高正码率的值为最优阈值即将阈值范围内数据进行n次分解,将分解的每一个数据作为初选阈值对提取信息进行简单离散变换,并与原嵌入水印符号信息进行对比,根据逻辑乘法正码率得到具有最高正码率的最优阈值。The data in the threshold range is decomposed and transformed, and the value with the highest positive code rate is taken as the optimal threshold, that is, the data in the threshold range is decomposed n times, and each decomposed data is used as the primary selection threshold to perform simple discrete extraction of information. Transform and compare with the original embedded watermark symbol information, and obtain the optimal threshold with the highest positive code rate according to the positive code rate of logical multiplication.
CN201710093183.XA 2017-02-21 2017-02-21 Method for hiding and extracting audio anti-counterfeiting signal in printed image Active CN106875326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710093183.XA CN106875326B (en) 2017-02-21 2017-02-21 Method for hiding and extracting audio anti-counterfeiting signal in printed image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710093183.XA CN106875326B (en) 2017-02-21 2017-02-21 Method for hiding and extracting audio anti-counterfeiting signal in printed image

Publications (2)

Publication Number Publication Date
CN106875326A CN106875326A (en) 2017-06-20
CN106875326B true CN106875326B (en) 2020-02-07

Family

ID=59167264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710093183.XA Active CN106875326B (en) 2017-02-21 2017-02-21 Method for hiding and extracting audio anti-counterfeiting signal in printed image

Country Status (1)

Country Link
CN (1) CN106875326B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864398B (en) * 2017-11-08 2020-03-20 司马大大(北京)智能系统有限公司 Audio and video merging method and device
CN108595927B (en) * 2018-04-04 2023-09-19 北京市商汤科技开发有限公司 Identity authentication, unlocking and payment method and device, storage medium, product and equipment
CN110557350A (en) * 2018-06-04 2019-12-10 索尼公司 Electronic device and communication method
CN110262860A (en) * 2019-04-29 2019-09-20 上海掌门科技有限公司 A kind of method and apparatus generating personalized image information
CN113362835B (en) * 2020-03-05 2024-06-07 杭州网易云音乐科技有限公司 Audio watermarking method, device, electronic equipment and storage medium
CN114670564B (en) * 2022-03-28 2024-03-22 深圳新宏泽包装有限公司 Intelligent printing method for packaging box with anti-counterfeiting hologram

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290772A (en) * 2008-03-27 2008-10-22 上海交通大学 Audio Zero Watermark Embedding and Extraction Method Based on Vector Quantization of Mixed Domain Coefficients
CN102142258A (en) * 2011-03-31 2011-08-03 上海第二工业大学 Wavelet transform and Arnold based adaptive gray-scale watermark embedded method
CN105512999A (en) * 2015-08-24 2016-04-20 湖南工业大学 Dual-transform color image holographic watermarking method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614914B1 (en) * 1995-05-08 2003-09-02 Digimarc Corporation Watermark embedder and reader

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101290772A (en) * 2008-03-27 2008-10-22 上海交通大学 Audio Zero Watermark Embedding and Extraction Method Based on Vector Quantization of Mixed Domain Coefficients
CN102142258A (en) * 2011-03-31 2011-08-03 上海第二工业大学 Wavelet transform and Arnold based adaptive gray-scale watermark embedded method
CN105512999A (en) * 2015-08-24 2016-04-20 湖南工业大学 Dual-transform color image holographic watermarking method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于图像载体的一种音频信号水印算法;张骏, 陶亮;《计算机技术与发展》;20110331;第21卷(第3期);185-189 *

Also Published As

Publication number Publication date
CN106875326A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106875326B (en) Method for hiding and extracting audio anti-counterfeiting signal in printed image
Saadi et al. Novel secured scheme for blind audio/speech norm-space watermarking by Arnold algorithm
Cheema et al. A novel optimized semi-blind scheme for color image watermarking
US7386729B2 (en) Method of inserting/detecting digital watermark and apparatus for using thereof
Hien et al. Robust multi-logo watermarking by RDWT and ICA
Bedi et al. Multimodal biometric authentication using PSO based watermarking
JPH09191394A (en) Electronic watermark insert method
CN104680470A (en) Method for embedding and extracting strong robustness hologram watermark on the basis of DWT-SVD (Discrete Wavelet Transform-Singular Value Decomposition)
Nguyen et al. A simple ICA-based digital image watermarking scheme
Malonia et al. Digital image watermarking using discrete wavelet transform and arithmetic progression technique
Maity et al. Perceptually adaptive spread transform image watermarking scheme using Hadamard transform
Prathap et al. Hybrid robust watermarking for color images
Venkatesha et al. Blind Image Watermarking Scheme Utilizing 3-Level Discrete Wavelet Transform (DWT) for Enhanced Security
Singh et al. A hybrid algorithm for image watermarking against signal processing attacks
El Hajji et al. New image watermarking algorithm based on mixed scales wavelets
Das et al. Implementation and analysis of digital watermarking techniques for multimedia authentication
Mishra et al. An effective audio watermarking using DWT-SVD
WO2001088883A1 (en) Digital watermarking method and apparatus using a color image as a watermark
Thanki Advanced techniques for audio watermarking
Dutta et al. An efficient and secure digital image watermarking using features from iris image
CN110400247B (en) Printing, printing and shooting resistant semi-blind watermarking method based on color image
Gupta et al. Digital image watermarking using uncorrelated color space
Tsai et al. Adaptive signal-dependent audio watermarking based on human auditory system and neural networks
Thomas et al. Reversible color image watermarking scheme based on contourlet transform and principal component analysis
Bhuvanya et al. Secret data sharing using steganography and image processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240913

Address after: 518000 no.1219, sightseeing Road, Guihua community, Guanlan street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN HUIYIFENG PRINTING TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: No. 88, Taishan Road, Tianyuan District, Zhuzhou City, Hunan Province, 412007

Patentee before: HUNAN University OF TECHNOLOGY

Country or region before: China