CN100385459C - An Image Watermarking Method Based on Finite Ridgelet Transform - Google Patents

An Image Watermarking Method Based on Finite Ridgelet Transform Download PDF

Info

Publication number
CN100385459C
CN100385459C CNB2006100213681A CN200610021368A CN100385459C CN 100385459 C CN100385459 C CN 100385459C CN B2006100213681 A CNB2006100213681 A CN B2006100213681A CN 200610021368 A CN200610021368 A CN 200610021368A CN 100385459 C CN100385459 C CN 100385459C
Authority
CN
China
Prior art keywords
watermark
image
sequence
frat
embed
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
CNB2006100213681A
Other languages
Chinese (zh)
Other versions
CN1885338A (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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CNB2006100213681A priority Critical patent/CN100385459C/en
Publication of CN1885338A publication Critical patent/CN1885338A/en
Application granted granted Critical
Publication of CN100385459C publication Critical patent/CN100385459C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

一种基于有限脊波变换的图像水印方法,属于信息安全技术领域,特别涉及有限脊波变换理论和图像数字水印技术。首先对图像分成素数p个分块,并产生一个长度为L=p-1的水印序列w={wi|wi∈{-1,1},0≤i≤L-1};然后对每个分块分别做有限脊波变换;在变换得到的脊波域中搜寻能量最大的一个方向,将水印嵌入到这个方向上;水印嵌入时采用的公式考虑了人眼对不同方向变化的敏感度,在不同方向上水印嵌入的强度不同;对每个图像分块都嵌入相同的水印,实现了水印的局部化。本发明提供的图像水印方法具有很好的水印不可见性,在水印检测时相关检测值区分度高,对常规图像处理操作具备鲁棒性,尤其能抵御图像剪裁攻击。

An image watermarking method based on finite ridgelet transform belongs to the technical field of information security, and in particular relates to finite ridgelet transform theory and image digital watermarking technology. First divide the image into prime p blocks, and generate a watermark sequence w={w i |w i ∈ {-1, 1}, 0≤i≤L-1} with a length of L=p-1; then Each block is subjected to finite ridgelet transformation; search for a direction with the largest energy in the transformed ridgelet domain, and embed the watermark in this direction; the formula used for watermark embedding takes into account the sensitivity of the human eye to changes in different directions The intensity of watermark embedding is different in different directions; the same watermark is embedded in each image block, which realizes the localization of watermark. The image watermark method provided by the invention has good watermark invisibility, high degree of discrimination of relevant detection values during watermark detection, robustness to conventional image processing operations, and especially can resist image clipping attacks.

Description

一种基于有限脊波变换的图像水印方法 An Image Watermarking Method Based on Finite Ridgelet Transform

技术领域technical field

一种基于有限脊波变换的图像水印方法,属于信息安全技术领域,特别涉及有限脊波变换理论和图像数字水印技术。An image watermarking method based on finite ridgelet transform belongs to the technical field of information security, and in particular relates to finite ridgelet transform theory and image digital watermarking technology.

背景技术Background technique

数字化技术和网络技术的飞速发展在许多方面改变了人们的生活。基于计算机和网络的多媒体信息交换为数字作品的使用、传播提供了便利的途径,使数字作品与传统作品相比,有很大的优越性。然而,网络信息时代的到来也对版权保护提出了新的挑战,传统的信息加密技术已无法满足实际应用的需要。数字水印技术是一门新兴的学科交叉的应用技术,它吸收了众多学科领域的思想和理论。简单地说,数字水印技术是一种信息隐藏技术,它的基本思想是在数字图像、音频和视频等数字产品中嵌入秘密信息,以便保护数字产品的版权、证明产品的真实可靠性、跟踪盗版行为或者提供产品的附加信息。数字水印技术已经成为当前多媒体信息安全研究领域发展最快的热点技术,正受到国际学术界和企业界的高度关注。因此,无论从理论角度还是应用角度来看,开展对数字水印技术的研究,既具有重要的学术意义,也具有极为重要的经济意义。详见文献:J.Cox,L.Miller,A.Bloom,“Digital Watermarking”,Morgan Kaufmann,2003和文献:孙圣和,陆哲明,牛夏牧,“数字水印技术及应用”,科学出版社,2004等。The rapid development of digital technology and network technology has changed people's life in many ways. The exchange of multimedia information based on computer and network provides a convenient way for the use and dissemination of digital works, which makes digital works have great advantages compared with traditional works. However, the advent of the network information age also poses new challenges to copyright protection, and the traditional information encryption technology can no longer meet the needs of practical applications. Digital watermarking technology is an emerging interdisciplinary application technology, which absorbs ideas and theories from many disciplines. Simply put, digital watermarking technology is an information hiding technology. Its basic idea is to embed secret information in digital products such as digital images, audio and video, in order to protect the copyright of digital products, prove the authenticity of products, and track piracy. conduct or provide additional information about a product. Digital watermarking technology has become the fastest-growing hot technology in the field of multimedia information security research, and is being highly concerned by international academic circles and business circles. Therefore, no matter from the theoretical point of view or the application point of view, it is of great academic and economic significance to carry out research on digital watermarking technology. For details, see the literature: J.Cox, L.Miller, A.Bloom, "Digital Watermarking", Morgan Kaufmann, 2003 and the literature: Sun Shenghe, Lu Zheming, Niu Xiamu, "Digital Watermarking Technology and Application", Science Press, 2004 wait.

图像数字水印技术是数字水印技术的一个重要研究领域。从90年代人们提出数字水印技术以来,各式各样的图像水印算法不断涌现。比较常见的图像水印嵌入算法可以分为三大类:Image digital watermarking technology is an important research field of digital watermarking technology. Since the digital watermarking technology was proposed in the 1990s, various image watermarking algorithms have emerged continuously. The more common image watermark embedding algorithms can be divided into three categories:

(1)空间域水印嵌入算法。早期人们对数字水印的研究基本上是基于空间域的,算法相对简单,实时性较强,但在鲁棒性上不如变换域算法。详见文献:R.G.Van Schyndel,A.Z.Trickle,N.Mee,C.F.Osborne,“A Digital Watermark”,Proceedings of IEEE InternationalConference on Image Processing,1994,2:86-90和文献:周利军,周源华,支铮,“基于m序列的多重图像水印”,上海交通大学学报,2001,35(9):1317-1320等。(1) Spatial domain watermark embedding algorithm. Early research on digital watermarking was basically based on the space domain, the algorithm is relatively simple, and the real-time performance is strong, but it is not as robust as the transform domain algorithm. See literature for details: R.G.Van Schyndel, A.Z.Trickle, N.Mee, C.F.Osborne, "A Digital Watermark", Proceedings of IEEE International Conference on Image Processing, 1994, 2:86-90 and literature: Zhou Lijun, Zhou Yuanhua, Zhi Zheng, " Multiple image watermarking based on m-sequence", Journal of Shanghai Jiaotong University, 2001, 35(9): 1317-1320, etc.

(2)DCT域水印嵌入算法。离散余弦变换(DCT)是数字信号处理技术中最常用的线性变换之一,它是实变换,具有很好的能量压缩能力和去相关能力。特别地,数字图像的JPEG压缩标准就是建立在DCT基础上的。因此,DCT在数字水印处理技术中受到了普遍重视。详见文献:I.J.Cox,J.Kalian,T.Leighton,T.Shamoon,“Secure Spread Spectrum Watermarkingfor Multimedia”,IEEE Trans.on Image Processing.1997,6(12):1673-1687和文献:M.A.Suhail,M.S.Obaidat,“Digital Watermarking-based DCT and JPEG Model”,IEEE Trans.onInstrumentation and Measurement,2003,52(5):1640-1647等。(2) Watermark embedding algorithm in DCT domain. Discrete cosine transform (DCT) is one of the most commonly used linear transforms in digital signal processing technology. It is a real transform with good energy compression and decorrelation capabilities. In particular, the JPEG compression standard for digital images is based on DCT. Therefore, DCT has received general attention in digital watermark processing technology. See literature for details: I.J.Cox, J.Kalian, T.Leighton, T.Shamoon, "Secure Spread Spectrum Watermarking for Multimedia", IEEE Trans.on Image Processing.1997, 6(12): 1673-1687 and literature: M.A.Suhail, M.S.Obaidat, "Digital Watermarking-based DCT and JPEG Model", IEEE Trans.onInstrumentation and Measurement, 2003, 52(5): 1640-1647, etc.

(3)DWT域嵌入算法。小波变换和小波分析作为一种数学工具,是对傅立叶变换和窗口傅立叶变换的一个重大突破,已经成为数据压缩、处理和分析最有用的工具。小波变换域数字水印方法兼具时空域方法和DCT变换域方法的优点,是当前数字水印算法研究的热点和最重要的研究方向。详见文献:A.Lumini,D.Maio,“A Wavelet-based Image WatermarkingScheme”,International Conference on Information Technology:Coding and Computing,March27-29,2000:122-127和文献:S.Tsekeridou,I.Pitas,“Waveleet-based Self-similar Watermarkingfor Still Images”,ISCAS’2000,May 28-31,2000,1:220-223等。(3) DWT domain embedding algorithm. As a mathematical tool, wavelet transform and wavelet analysis are a major breakthrough of Fourier transform and window Fourier transform, and have become the most useful tools for data compression, processing and analysis. The digital watermarking method in the wavelet transform domain combines the advantages of the space-time domain method and the DCT transform domain method, and is the hot spot and the most important research direction of the current digital watermarking algorithm research. See literature: A.Lumini, D.Maio, "A Wavelet-based Image WatermarkingScheme", International Conference on Information Technology: Coding and Computing, March27-29, 2000: 122-127 and literature: S.Tsekeridou, I.Pitas , "Waveleet-based Self-similar Watermarking for Still Images", ISCAS'2000, May 28-31, 2000, 1:220-223 et al.

小波分析在处理一维分段光滑函数时有优秀的表现,因为小波擅长于捕捉零维(点)的奇异性。而对二维分段光滑信号,例如图像,广泛具有一维奇异性,例如光滑的曲线构成的物体边缘。小波分析线状奇异性并不是一个很好的表示工具。为了克服小波处理高维情况的薄弱,Candes和Donoho提出了一种新的多尺度变换——脊波。脊波可以有效地处理二维空间中线条的奇异性。有限脊波变换则是一种可逆的离散脊波变换,与其他脊波变换离散化方案相比有很多优点。详见文献:E.J.Candes,D.L.Donoho,“Ridgelets:A key tohigher-dimensional intermittency”,Phil.Trans,1999,2495-2595和文献:Minh.N.Do,MartinVetterli,“The Finite Ridgelet Transform for Image Representation”,IEEE Transactions on ImageProcessing,2003,12(1):16-28等。Wavelet analysis has excellent performance when dealing with one-dimensional piecewise smooth functions, because wavelet is good at capturing the singularity of zero dimension (point). For two-dimensional piecewise smooth signals, such as images, they generally have a one-dimensional heterogeneity, such as the edges of objects composed of smooth curves. Wavelet analysis of linear singularities is not a very good representation tool. In order to overcome the weakness of wavelet in dealing with high-dimensional situations, Candes and Donoho proposed a new multi-scale transformation - ridgelet. Ridgelets can effectively deal with the singularity of lines in two-dimensional space. The finite ridgelet transform is a reversible discrete ridgelet transform, which has many advantages compared with other ridgelet transform discretization schemes. See literature: E.J.Candes, D.L.Donoho, "Ridgelets: A key to higher-dimensional intermittency", Phil.Trans, 1999, 2495-2595 and literature: Minh.N.Do, Martin Vetterli, "The Finite Ridgelet Transform for Image Representation" , IEEE Transactions on Image Processing, 2003, 12(1): 16-28, etc.

发明内容Contents of the invention

本发明的任务是提供一种基于有限脊波变换的图像水印算法,它具有局部化水印的特点,在对图像的常规操作下具备鲁棒性。The task of the present invention is to provide an image watermarking algorithm based on finite ridgelet transform, which has the characteristics of localized watermarking and is robust under normal operations on images.

为了方便地描述本发明内容,首先对一些术语进行定义。In order to describe the content of the present invention conveniently, some terms are defined first.

定义1.图像。本发明中提到的图像都是指二维静止灰度图像。Definition 1. Image. The images mentioned in the present invention all refer to two-dimensional still grayscale images.

定义2.水印。嵌入到图像中的包含版权信息的序列。本发明中使用的水印序列为二进制双极性序列{-1,1}。Definition 2. Watermark. A sequence containing copyright information embedded in an image. The watermark sequence used in the present invention is a binary bipolar sequence {-1, 1}.

定义3.水印嵌入。指将水印通过某种方法嵌入到原始图像中,得到嵌入了水印的图像。Definition 3. Watermark embedding. It refers to embedding the watermark into the original image by a certain method to obtain the image embedded with the watermark.

定义4.水印检测。指对一幅可疑图像进行检测,判断其是否含有水印。Definition 4. Watermark detection. Refers to the detection of a suspicious image to determine whether it contains a watermark.

定义5.FRAT。有限Radon变换,是有限脊波变换的重要组成部分。定义如下:一个实函数f在有限平面Zp 2上的FRAT定义为:Definition 5. FRAT. The finite Radon transform is an important part of the finite ridgelet transform. The definition is as follows: The FRAT of a real function f on the finite plane Z p 2 is defined as:

rr kk [[ ll ]] == FRAFRA TT ff (( kk ,, ll )) == 11 pp ΣΣ (( ii ,, jj )) ∈∈ LL kk ,, ll ff [[ ii ,, jj ]]

其中,Lk,l={(i,j):j=ki+l(mod p),i∈Zp},0≤k≤p,Zp={0,1,...,p-1}。where, L k, l = {(i, j): j = ki+l(mod p), i∈Z p }, 0≤k≤p, Z p ={0,1,...,p- 1}.

定义6.FBP。有限反射投影算子,是有限Radon变换的逆变换。定义如下:Definition 6. FBP. The finite reflection projection operator is the inverse transformation of the finite Radon transformation. It is defined as follows:

FBPFBP rr (( ii ,, jj )) == 11 pp ΣΣ kk ,, ll ∈∈ PP ii ,, jj rr kk [[ ll ]] ,, (( ii ,, jj )) ∈∈ ZZ pp 22

其中,Pi,j={(k,l):l=j-ki(mod p),k∈Zp}∪{(p,i)}。Wherein, P i,j ={(k,l):l=j-ki(mod p), k∈Z p }∪{(p,i)}.

定义7.FRAT系数矩阵。对p×p大小的矩阵做FRAT变换,得到的矩阵即为FRAT系数矩阵。FRAT系数矩阵大小为(p+1)×p。其中,p+1行代表分解成了p+1个方向,p列代表每个方向上有p个位移对应的p个系数。Definition 7. FRAT coefficient matrix. The FRAT transformation is performed on the matrix of p×p size, and the obtained matrix is the FRAT coefficient matrix. The size of the FRAT coefficient matrix is (p+1)×p. Among them, the p+1 row represents the decomposition into p+1 directions, and the p column represents p coefficients corresponding to p displacements in each direction.

定义8.一维离散小波分解。对一维离散信号进行离散小波变换,可分解出第一层近似分量(代表信号的低频部分)和第一层细节分量(代表信号的高频部分)。其中第一层近似分量又可继续分解为第二层近似分量和第二层细节分量,依此类推。Definition 8. One-dimensional discrete wavelet decomposition. Discrete wavelet transform on one-dimensional discrete signal can decompose the first-level approximate component (representing the low-frequency part of the signal) and the first-level detail component (representing the high-frequency part of the signal). The first-level approximation component can be further decomposed into the second-level approximation component and the second-level detail component, and so on.

定义9.有限脊波变换。先对空域中的矩阵做FRAT,得到FRAT系数矩阵,再对FRAT系数矩阵的每一行序列做一维离散小波变换。整个过程就为有限脊波变换。Definition 9. Finite ridgelet transform. First, FRAT is performed on the matrix in the air domain to obtain the FRAT coefficient matrix, and then one-dimensional discrete wavelet transform is performed on each row sequence of the FRAT coefficient matrix. The whole process is finite ridgelet transform.

定义10.相关系数。这里指互相关系数,表征两个信号的相关程度。其值在[-1,1]之间。相关系数越大,表示两个信号的相似程度越大。Definition 10. Correlation coefficient. Here refers to the cross-correlation coefficient, which characterizes the degree of correlation between two signals. Its value is between [-1, 1]. The larger the correlation coefficient, the greater the similarity between the two signals.

定义11.检测阈值。判定水印是否存在的门限值。Definition 11. Detection Threshold. Threshold value for determining whether a watermark exists.

定义12.PSNR。峰值信噪比。一种基于像素的衡量图像质量的测试方法。Definition 12. PSNR. Peak Signal to Noise Ratio. A pixel-based test method for measuring image quality.

本发明详细技术方案为:Detailed technical scheme of the present invention is:

一种基于有限脊波变换的图像水印方法,包括水印嵌入和水印检测过程,其特征是,所述水印嵌入过程包含下列步骤:A method for image watermarking based on finite ridgelet transform, comprising watermark embedding and watermark detection process, characterized in that said watermark embedding process comprises the following steps:

步骤1、产生一个长度为L=p-1(p为一素数)的水印序列w={wi|wi∈{-1,1},0≤i≤L-1}。Step 1. Generate a watermark sequence w={w i |w i ∈{-1, 1}, 0≤i≤L-1} whose length is L=p-1 (p is a prime number).

步骤2、选定分块大小p(p=L+1),对原始图像I进行分块,设总共能分成N个分块,即得到分块图像Bx,0≤x≤N-1。Step 2. Select the block size p (p=L+1), and divide the original image I into N blocks in total, that is, obtain the block image B x , 0≤x≤N-1.

步骤3、对各个分块图像,进行以下操作:Step 3. For each block image, perform the following operations:

步骤3-1、对分块图像Bx,0≤x≤N-1,做FRAT变换,得到(p+1)×p大小的FRAT系数矩阵Rx,0≤x≤N-1。Step 3-1. Perform FRAT transformation on the block image B x , 0≤x≤N-1, to obtain a FRAT coefficient matrix R x of size (p+1)×p, 0≤x≤N-1.

步骤3-2、对FRAT系数矩阵Rx的每一行做一维离散小波分解,得到第一层细节分量序列dx,k,0≤x≤N-1,0≤k≤p。Step 3-2. Perform one-dimensional discrete wavelet decomposition on each row of the FRAT coefficient matrix R x to obtain the first layer detail component sequence d x, k , 0≤x≤N-1, 0≤k≤p.

步骤3-3、计算序列dx,k的能量ez,kStep 3-3, calculating the energy e z , k of the sequence d x , k ,

ee xx ,, kk == 11 pp -- 11 ΣΣ ii == 00 pp -- 22 dd xx ,, kk ,, ii 22

步骤3-4、固定参数x,找出ex,k中最大的一个ex,m,对应的细节分量序列为dx,mStep 3-4, fix the parameter x, find the largest ex,m among ex ,k , and the corresponding detail component sequence is dx ,m .

步骤3-5、按下式将水印嵌入到序列dx,m中,Step 3-5, embed the watermark into the sequence d x, m according to the formula,

d′x,m,i=dx,m,imβwi,0≤i≤p-2d' x, m, i = d x, m, i + α m βw i , 0≤i≤p-2

其中,αm是方向敏感因子,它反映了人眼对不同方向的敏感程度。β是自适应缩放因子,由dx,m,i的值决定,可以采用如下的折线函数来决定β:Among them, α m is the direction sensitivity factor, which reflects the sensitivity of human eyes to different directions. β is an adaptive scaling factor, which is determined by the values of d x, m, and i . The following broken line function can be used to determine β:

ββ == bb ,, || dd xx ,, mm ,, ii || ≤≤ aa ββ == bb aa || dd xx ,, mm ,, ii || ,, || dd xx ,, mm ,, ii || >> aa

其中,a,b(a>0,b>0)是人为设定的常数。Wherein, a, b (a>0, b>0) are constants set artificially.

步骤3-6、根据以上步骤,得到嵌入水印后的FRAT系数矩阵R′x,对其做FBP,得到嵌入水印的分块图像B′xStep 3-6. According to the above steps, obtain the FRAT coefficient matrix R′ x after embedding the watermark, perform FBP on it, and obtain the block image B′ x embedded with the watermark.

步骤4、将所有嵌入水印的分块图像B′x,重新拼接起来,就得到嵌入水印的图像I。Step 4. All the watermark-embedded block images B′ x are reassembled to obtain the watermark-embedded image I.

所述水印检测过程包含下列步骤:The watermark detection process includes the following steps:

步骤1、获知水印嵌入时的必要参数。包括分块大小p和水印序列w等。Step 1. Obtain the necessary parameters when embedding the watermark. Including block size p and watermark sequence w etc.

步骤2、将待检测图像I′分成N个分块,分块图像为:Cx,0≤x ≤N-1。Step 2. Divide the image I' to be detected into N blocks, and the block image is: C x , 0≤x≤N-1.

步骤3、对各个分块,进行以下操作:Step 3. For each block, perform the following operations:

步骤3-1、对分块图像Cx,0≤x≤N-1,做FRAT变换,得到(p+1)×p大小的FRAT系数矩阵Wx,0≤x≤N-1。Step 3-1. Perform FRAT transformation on the block image C x , 0≤x≤N-1, to obtain a FRAT coefficient matrix W x of size (p+1)×p, 0≤x≤N-1.

步骤3-2、对FRAT系数矩阵Wx的每一行做一维离散小波分解,得到第一层细节分量序列d′x,k,0≤x≤N-1,0≤k≤p。Step 3-2. Perform one-dimensional discrete wavelet decomposition on each row of the FRAT coefficient matrix W x to obtain the first-level detail component sequence d′ x, k , 0≤x≤N-1, 0≤k≤p.

步骤3-3、计算序列d′x,k的能量e′x,kStep 3-3, calculate the energy e′ x, k of the sequence d′ x , k ,

ee xx ,, kk ′′ == 11 pp -- 11 ΣΣ ii == 00 pp -- 22 dd xx ,, kk ,, ii ′′ 22 ;;

步骤3-4、固定参数x,找出e′x,k中最大的一个e′x,m,对应的细节分量序列为d′x,m,即找到了水印嵌入的位置。Step 3-4, fix the parameter x, find the largest e′ x ,m among e′ x,k , and the corresponding detail component sequence is d′ x,m , that is, find the position of watermark embedding.

步骤3-5、计算序列d′x,m与水印序列w的相关系数,Step 3-5, calculate the correlation coefficient between the sequence d' x, m and the watermark sequence w,

zz xx == ΣΣ ii dd xx ,, mm ,, ii ′′ ww ii ΣΣ ii dd xx ,, mm ,, ii ′′ 22 ΣΣ ii ww ii 22 ,, 00 ≤≤ ii ≤≤ pp -- 22

步骤4、对所有分块得到的相关系数zx,0≤x≤N-1做一平均,得到整幅图像与水印的相关系数z。Step 4. Average the correlation coefficients z x obtained from all blocks, where 0≤x≤N-1, to obtain the correlation coefficient z between the entire image and the watermark.

步骤5、设定检测阈值zt,并判断:若z<zt,判定图像不含水印;若z≥zt,判定图像含有水印。Step 5. Set the detection threshold z t and determine: if z<z t , it is determined that the image does not contain a watermark; if z≥z t , it is determined that the image contains a watermark.

上述方案中,步骤2中所述分块大小p等于17。In the above solution, the block size p in step 2 is equal to 17.

需要说明的是:It should be noted:

1.嵌入过程步骤2中要求分块大小的选定,p是一个素数,这是必须的。因为FRAT要求进行变换的矩阵必须是p×p大小且p为素数。因为受FRAT和本嵌入算法的限制,这里嵌入的水印序列长度只能为p。1. The selection of block size is required in step 2 of the embedding process, and p is a prime number, which is necessary. Because FRAT requires that the transformed matrix must be p×p in size and p is a prime number. Due to the limitation of FRAT and this embedding algorithm, the length of the watermark sequence embedded here can only be p.

2.对图像进行分块处理的原因在于:有限脊波变换只适合于处理图像的直线特征,而现实图像中的曲线线条比直线线条存在得更为普遍。若直接对整幅图像作有限脊波变换,那么变换后的结果对直线特征的表征是粗糙且不准确的。所以,类似许多DCT域水印算法,在本发明中先要将图像分成若干的小块。分块之后,曲线线条在每一小块中就可以近似地用直线去逼近。2. The reason for processing the image into blocks is that the finite ridgelet transform is only suitable for processing the straight line features of the image, and the curved lines in real images are more common than the straight lines. If the finite ridgelet transformation is directly performed on the entire image, the result after transformation is rough and inaccurate for the representation of straight line features. Therefore, similar to many watermarking algorithms in the DCT domain, in the present invention, the image must first be divided into several small blocks. After partitioning, the curved line can be approximated by a straight line in each small block.

3.找出能量最大的一个细节分量序列,将水印嵌入到那里。这是因为能量最大的一个细节分量序列通常对应空域中最有直线特征的一个方向,也是空域中图像纹理变化丰富的区域。将水印嵌入到这些区域不易被人眼察觉。另一方面,只选择一个方向嵌入水印可以提高算法的效率和实时性。3. Find out a detail component sequence with the largest energy, and embed the watermark there. This is because the detail component sequence with the largest energy usually corresponds to a direction with the most linear features in the airspace, and is also an area with rich image texture changes in the airspace. Embedding watermarks into these areas is not easily perceived by human eyes. On the other hand, choosing only one direction to embed the watermark can improve the efficiency and real-time performance of the algorithm.

4.人眼对不同方向的敏感度不同。对垂直和水平方向的变化就比对倾斜方向的变化敏感得多。垂直和水平方向的变化由于很容易引起察觉,所以在找能量最大的细节分量时,可以将这两个方向的序列排除在外。4. Human eyes have different sensitivity to different directions. It is much more sensitive to changes in the vertical and horizontal directions than to changes in the oblique direction. Since the changes in the vertical and horizontal directions are easy to be noticed, the sequence in these two directions can be excluded when looking for the detail component with the largest energy.

5.嵌入过程步骤3-5中采用的折线嵌入规则实际上是综合了水印嵌入的加法准则和乘法准则。采用加法准则利于水印检测时得到高的线性相关值,而采用乘法准则可以实现水印嵌入的自适应性,并且有更好的鲁棒性。5. The polyline embedding rule used in steps 3-5 of the embedding process is actually a combination of the addition criterion and the multiplication criterion of watermark embedding. Additive criterion is beneficial to obtain high linear correlation value in watermark detection, while multiplicative criterion can realize the adaptability of watermark embedding and has better robustness.

本发明的创新之处在于:The innovation of the present invention is:

1.将有限脊波变换应用于数字水印算法中。有限脊波变换是近年来新出现的一种方法,它在直线特征检测和图像降噪与复原领域取得了不错的效果,但将其与数字水印技术结合的文献还很稀少。1. Apply finite ridgelet transform to digital watermarking algorithm. Finite ridgelet transform is a new method that has emerged in recent years. It has achieved good results in the fields of line feature detection and image noise reduction and restoration, but there are few literatures on combining it with digital watermarking technology.

2.搜寻FRAT系数矩阵能量最大的一个细节分量序列,仅将水印嵌入到那里。既保证了水印嵌入在图像的重要区域(具备线状特征或纹理变化复杂),且嵌入算法和检测算法的复杂度也不高。2. Search for a detail component sequence with the largest energy of the FRAT coefficient matrix, and only embed the watermark there. It not only ensures that the watermark is embedded in the important area of the image (with linear features or complex texture changes), but also the complexity of the embedding algorithm and detection algorithm is not high.

3.将同一水印嵌入到图像的多个分块中。这样一方面使算法的鲁棒性大大提高,另一方面使水印检测可以仅检测一个或几个分块,提高检测过程的速度。另外一点重要的是,这种局部化水印的方法,可以抵御对图像的剪裁攻击,即在从嵌入水印的图像中裁剪出一块图像,因为它仍然包含了若干个完整的分块,所以能够检测出水印存在。3. Embed the same watermark into multiple blocks of the image. In this way, on the one hand, the robustness of the algorithm is greatly improved, on the other hand, the watermark detection can only detect one or several blocks, and the speed of the detection process is improved. Another important point is that this method of localized watermarking can resist image cropping attacks, that is, when a piece of image is cut out from the embedded watermarked image, because it still contains several complete blocks, it can detect A watermark exists.

4.嵌入水印的公式中包含有方向敏感因子,可以结合人眼对不同方向变化的不同敏感度,调整不同方向上的水印嵌入强度。4. The formula for embedding the watermark contains a direction sensitivity factor, which can adjust the embedding strength of the watermark in different directions in combination with the different sensitivities of the human eye to changes in different directions.

5.嵌入水印时采用的折线规则。折线规则综合了水印嵌入的加法准则和乘法准则的优点,可以使水印嵌入强度在鲁棒性和不可见性之间找到一个好的平衡点。5. The polyline rule used when embedding the watermark. The polyline rule combines the advantages of the additive criterion and the multiplicative criterion of watermark embedding, which can make the strength of watermark embedding find a good balance between robustness and invisibility.

附图说明Description of drawings

图1是本发明水印嵌入过程的流程示意图。Fig. 1 is a schematic flow chart of the watermark embedding process of the present invention.

图2是本发明水印检测过程的流程示意图。Fig. 2 is a schematic flow chart of the watermark detection process of the present invention.

具体实施例specific embodiment

采用本发明的方法,使用Matlab或C语言实现水印嵌入和水印检测的程序。实验选用256×256大小的256灰度级的图像做为测试图像,分块大小p=17,一维离散小波选用Daubechies-4小波,嵌入参数为αk=1,a=10,b=2。检测阈值设定为0.035。随机产生100个水印,分100次嵌入原始图像中,得到100个嵌入不同水印的含水印图像。对这些图像做常规处理,统计它们对水印检测的漏检概率,见下表:Adopt the method of the present invention, use Matlab or C language to realize the program of watermark embedding and watermark detection. In the experiment, a 256 grayscale image with a size of 256×256 is used as the test image, the block size p=17, the one-dimensional discrete wavelet is Daubechies-4 wavelet, and the embedding parameters are α k =1, a=10, b=2 . The detection threshold was set at 0.035. Randomly generate 100 watermarks, and embed them in the original image 100 times to get 100 watermarked images embedded with different watermarks. Perform routine processing on these images, and count their missed detection probability for watermark detection, as shown in the following table:

  进行的图像处理Image processing performed   漏检概率Probability of missed detection   没有进行处理not processed   0%0%   加高斯噪声(均值0,标准差8个灰度值)Add Gaussian noise (mean 0, standard deviation 8 grayscale values)   0%0%   3×3中值滤波3×3 median filter   11%11%   JPEG压缩(质量因子75%)JPEG compression (quality factor 75%)   7%7%   随机剪裁Random cut   26%26%

综上所述,本发明提供的水印算法充分利用了有限脊波变换的特性,方法新颖,并且具备较好的鲁棒性,有一定的实用价值。To sum up, the watermarking algorithm provided by the present invention makes full use of the characteristics of the finite ridgelet transform, the method is novel, and it has good robustness and has certain practical value.

Claims (3)

1. the image watermark method based on finite ridgelet transform comprises watermark embedding and watermark detection process, it is characterized in that, described watermark embed process comprises the following step:
Step 1, to produce a length be L=p-1, and p is a prime number, watermark sequence w={w i| w i∈ 1,1}, 0≤i≤L-1};
Step 2, the selected block size p that divides, p=L+1 carries out piecemeal to original image I, establishes to be divided into N piecemeal altogether, promptly obtains block image B x, 0≤x≤N-1;
Step 3, to each block image, carry out following operation:
Step 3-1, to block image B x, 0≤x≤N-1 does the FRAT conversion, obtains the FRAT matrix of coefficients R of (p+1) * p size x, 0≤x≤N-1;
Step 3-2, to FRAT matrix of coefficients R xEach the row do the one-dimensional discrete wavelet decomposition, obtain ground floor details vector sequence d x, k, 0≤x≤N-1,0≤k≤p;
Step 3-3, sequence of calculation d X, kEnergy e X, k,
e x , k = 1 p - 1 &Sigma; i = 0 p - 2 d x , k , i 2 ;
Step 3-4, preset parameter x find out e X, kA middle maximum e X, m, corresponding details vector sequence is d X, m
Step 3-5, watermark is embedded into sequence d by following formula X, mIn,
d x,m,i′=d x,m,i+α mβw i,0≤i≤p-2,
Wherein, α mBe the orientation-sensitive factor, β is the self adaptive pantographic factor, by d X, m, iValue decision, can adopt following polygronal function to decide β:
&beta; = b , | d x , m , i | &le; a &beta; = b a | d x , m , i | , | d x , m , i | > a
Wherein, a, b are the artificial constants of setting, and a>0, b>0;
Step 3-6, according to above step, obtain the FRAT matrix of coefficients R behind the embed watermark x', it is FBP, obtain the block image B of embed watermark x';
Step 4, with the block image B of all embed watermarks x', be stitched together again, just obtain the image I of embed watermark;
Described watermark detection process comprises the following step:
Step 5, the call parameter when knowing the watermark embedding comprise branch block size p and watermark sequence w;
Step 6, with image I to be detected ' be divided into N piecemeal, block image is: C x, 0≤x≤N-1;
Step 7, to each block image, carry out following operation:
Step 7-1, to block image C x, 0≤x≤N-1 does the FRAT conversion, obtains the FRAT matrix of coefficients W of (p+1) * p size x, 0≤x≤N-1;
Step 7-2, to FRAT matrix of coefficients W xEach the row do the one-dimensional discrete wavelet decomposition, obtain ground floor details vector sequence d X, k', 0≤x≤N-1,0≤k≤p;
Step 7-3, sequence of calculation d X, k' energy e X, k',
e x , k &prime; = 1 p - 1 &Sigma; i = 0 p - 2 d x , k , i &prime; 2 ;
Step 7-4, preset parameter x find out e X, kAn e of ' middle maximum X, m', corresponding details vector sequence is d X, m', the position of promptly having found watermark to embed;
Step 7-5, sequence of calculation d X, m' with the related coefficient of watermark sequence w,
z x = &Sigma; i d x , m , i &prime; w i &Sigma; i d x , m , i &prime; 2 &Sigma; i w i 2 , 0≤i≤p-2;
Step 8, the related coefficient z that all piecemeals are obtained x, it is one average that 0≤x≤N-1 does, and obtains the related coefficient z of entire image and watermark;
Step 9, setting detection threshold z t, and judge: if z<z t, the process decision chart picture does not contain watermark; If z 〉=z t, process decision chart looks like to contain watermark.
2. a kind of image watermark method based on finite ridgelet transform according to claim 1 is characterized in that, divides block size p to equal 17 described in the step 2.
3. a kind of image watermark method according to claim 1 based on finite ridgelet transform, it is characterized in that the one-dimensional discrete small echo is selected the Daubechies-4 small echo for use described in the step 3-2 of described watermark embed process and the step 7-2 of described watermark detection process; Orientation-sensitive factor-alpha described in the step 3-5 of described watermark embed process m=1, described constant a=10, b=2; The z of detection threshold described in the step 9 of described watermark detection process tBe set at 0.035.
CNB2006100213681A 2006-07-11 2006-07-11 An Image Watermarking Method Based on Finite Ridgelet Transform Expired - Fee Related CN100385459C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100213681A CN100385459C (en) 2006-07-11 2006-07-11 An Image Watermarking Method Based on Finite Ridgelet Transform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100213681A CN100385459C (en) 2006-07-11 2006-07-11 An Image Watermarking Method Based on Finite Ridgelet Transform

Publications (2)

Publication Number Publication Date
CN1885338A CN1885338A (en) 2006-12-27
CN100385459C true CN100385459C (en) 2008-04-30

Family

ID=37583478

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100213681A Expired - Fee Related CN100385459C (en) 2006-07-11 2006-07-11 An Image Watermarking Method Based on Finite Ridgelet Transform

Country Status (1)

Country Link
CN (1) CN100385459C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105399B (en) * 2007-08-03 2010-06-30 国家海洋技术中心 Sea clutter image ridgelet domain wave parameter checking method
CN101799912A (en) * 2010-03-11 2010-08-11 山东大学 Application method of FRAT in digital watermark
CN103079066B (en) * 2012-12-29 2016-06-01 北方工业大学 Image Watermark Embedding and Extraction Method Combining Ridgelet Transform and DCT Transform
CN103533458B (en) * 2013-10-30 2016-08-17 中国科学院自动化研究所 The embedding of a kind of video watermark and extracting method
EP3073488A1 (en) * 2015-03-24 2016-09-28 Thomson Licensing Method and apparatus for embedding and regaining watermarks in an ambisonics representation of a sound field

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379324A (en) * 2002-05-09 2002-11-13 宣国荣 Digital watermark method based on integer wavelet without damage to image
CN1492338A (en) * 2003-10-10 2004-04-28 彤 刘 Digital image recovering method based on digital water mark technology
CN1514409A (en) * 2003-07-28 2004-07-21 西安电子科技大学 Wavelet Domain Digital Watermarking Method Based on Image Target Area

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379324A (en) * 2002-05-09 2002-11-13 宣国荣 Digital watermark method based on integer wavelet without damage to image
CN1514409A (en) * 2003-07-28 2004-07-21 西安电子科技大学 Wavelet Domain Digital Watermarking Method Based on Image Target Area
CN1492338A (en) * 2003-10-10 2004-04-28 彤 刘 Digital image recovering method based on digital water mark technology

Also Published As

Publication number Publication date
CN1885338A (en) 2006-12-27

Similar Documents

Publication Publication Date Title
Liu et al. A robust watermarking scheme using self-reference image
CN111968025A (en) Bandlelet-DCT-based medical image robust zero watermarking method
CN100385459C (en) An Image Watermarking Method Based on Finite Ridgelet Transform
Sakshi et al. Least Significant Bit Steganography for Text and Image hiding
Chen et al. Robust contourlet-based blind watermarking for depth-image-based rendering 3D images
CN103079066B (en) Image Watermark Embedding and Extraction Method Combining Ridgelet Transform and DCT Transform
Mangaiyarkarasi et al. A new digital image watermarking based on Finite Ridgelet Transform and extraction using ICA
Zhiwei et al. Steganography based on wavelet transform and modulus function
CN103279919A (en) Volume data watermarking method based on three-dimensional DWT-DCT and chaos scrambling
Yen et al. HDWT-based grayscale watermark for copyright protection
Liu et al. A hybrid approach of DWT and DCT for rational dither modulation watermarking
Kwon et al. Adaptive watermarking using successive subband quantization and perceptual model based on multiwavelet transform
Nguyen et al. An improved image watermarking scheme using selective curvelet scales
CN102510492A (en) Method for embedding multiple watermarks in video based on three-dimensional DWT (Discrete Wavelet Transform) and DFT (Discrete Fourier Transform)
CN101437163B (en) Multi-Watermarking Technology Based on Network Information Theory
Yusof et al. Imperceptibility and robustness analysis of DWT-based digital image watermarking
Jambhekar et al. Performance analysis of digital image steganographic algorithm
Abbasi et al. Robust image watermarking using genetic programming
Himeur et al. Secure and robust audio watermarking system for copyright protection
CN102510490A (en) Video watermark realizing method against geometric attack based on three-dimensional discrete cosine transform (DCT)
Taskovski et al. A low resolution content based watermarking of images in wavelet domain
Thajeel Robust Video Watermarking of Hybrid Based Techniques
CN1851751A (en) Digital waterprint method for iris image
Uto et al. A correlation-based watermarking technique of 3-D meshes via cyclic signal processing
CN112907427B (en) Robust watermarking method for encrypted medical images based on DWT-Gabor

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

Granted publication date: 20080430

Termination date: 20110711