Skip to main content
Log in

Fast and robust watermarking in still images based on QR decomposition

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

A blind watermarking technique based on QR decomposition is proposed on still images. The method is presented in spatial as well as transform domains and its robustness against some well-known image processing attacks is evaluated. It is shown that the QR decomposition offers capacity and robustness comparable to or better than similar watermarking based on the DCT and SVD transformations. Also, an interesting property of QR decomposition, which for the first time has been introduced by our previous paper, is proved and put in practice in more details.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  • Cao W, Yan Y, Li S (2009) Robust image watermarking based on singular value decomposition in DT-CWT domain. In: Proc. IEEE int. workshop on imaging systems and techniques (IST ’09). Shenzhen, pp 381–384

  • Cox IJ, Kilian J, Leighton FT, Shamoon T (1997) Secure spread spectrum watermarking for multimedia. IEEE Trans Image Process 6(12):1673–1687

    Article  Google Scholar 

  • Cox IJ, Miller ML, Bloom JA, Fridrich J, Kalker T (2008) Digital watermarking and steganography, 2nd edn. Morgan Kaufmann, Burlington, USA, pp 297–333

  • Li Q, Yuan C, Zhong YZ (2007) Adaptive DWT-SVD domain image watermarking using human visual model. In: Proc. 9th int. conf. advanced communication technology, vol 3. Gangwon-Do, pp 1947–1951

  • Li X (2008) A new measure of image scrambling degree based on grey level difference. In: Proc. int. conf. computational intelligence and security (CIS ’08), vol 1. Suzhou, pp 350–354

  • Liu F, Liu Y (2008) A watermarking algorithm for digital image based on DCT and SVD. In: Proc. congr. image and signal processing (CISP ’08), vol 1. Sanya, Hainan, pp 380–383

  • Lu ZM, Zheng HY, Huang JW (2007) A digital watermarking scheme based on DCT and SVD. In: Proc. 3rd int. conf. intelligent information hiding and multimedia signal processing (IIHMSP ’07), vol 1. Kaohsiung, pp 241–244

  • Ma X, Shen X (2008) A novel blind gray-scale watermark algorithm based on SVD. In: Proc. int. conf. audio, language and image processing (ICALIP ’08). Shanghai, pp 1063–1068

  • Mohammad AA (2012) A new digital image watermarking scheme based on Schur decomposition. Multimed Tools Appl 59(3):851–883

    Article  MathSciNet  Google Scholar 

  • Naderahmadian Y, Hosseini-Khayat S (2010) Fast watermarking based on QR decomposition in wavelet domain. In: Proc. 6th int. conf. intelligent information hiding and multimedia signal processing (IIH-MSP ’10). Darmstadt, pp 127–130

  • Navas KA, Ajay MC, Lekshmi M, Archana TS, Sasikumar M (2008) DWT-DCT-SVD based watermarking. In: Proc. 3rd int. conf. communication systems software and middleware and workshops (COMSWARE ’08). Bangalore, pp 271–274

  • Rui-mei Z, Hua L, Hua-wei P, Bo-ning H (2008) A blind watermarking algorithm based on DCT. In: Proc. 2nd int. symp. intelligent information technology application (IITA ’08), vol 3. Shanghai, pp 821–824

  • Schyndel RG, Tirkel AZ, Osborne CF (1994) A digital watermark. In: Proc. IEEE int. conf. image processing (ICIP ’94), vol 2. Austin, Texas, USA, pp 86–90

  • Stanescu D, Borca D, Groza V, Stratulat M (2008) A hybrid watermarking technique using singular value decomposition. In: Proc. IEEE int. workshop haptic audio visual environments and games (HAVE ’08). Ottawa, Ont., pp 166–170

  • Sun X, Liu J, Sun J, Zhang Q, Ji W (2008) A robust image watermarking scheme based on the relationship of SVD. In: Proc. int. conf. intelligent information hiding and multimedia signal processing (IIHMSP ’08). Harbin, pp 731–734

  • Tsai MJ, Yu KY, Chen YZ (2000) Joint wavelet and spatial transformation for digital watermarking. IEEE Trans Consum Electron 46(1):241–245

    Google Scholar 

  • Xiao J, Wang Y (2008) Toward a better understanding of DCT coefficients in watermarking. In: Pacific-Asia workshop on computational intelligence and industrial application (PACIIA ’08), vol 2. Wuhan, pp 206–209

  • Yavuz E, Telatar Z (2006) SVD adapted DCT domain DC subband image watermarking against watermark ambiguity. In: Proc. int. workshop on multimedia content representation, classification and security (IW-MRCS2006), LNCS, vol 4105. Istanbul, Turkey, pp 66–73

  • Yavuz E, Telatar Z (2007) Improved SVD-DWT based digital image watermarking against watermark ambiguity. In: Proc. ACM symp. applied computing (SAC ’07). Seoul, Korea, pp 1051–1055

  • Zhang L, Li A (2009) Robust watermarking scheme based on singular value of decomposition in DWT domain. In: Proc. Asia-Pacific conf. information processing (APCIP ’09), vol 2. Shenzhen, pp 19–22

  • Zhu X, Zhao J, Xu H (2006) Digital watermarking algorithm and implementation based on improved SVD. In: Proc. 18th int. conf. pattern recognition (ICPR ’06), vol 3. Hong Kong, pp 651–656

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yashar Naderahmadian.

Appendix

Appendix

In Sections 3.1, it was stated that the QR decomposition of a matrix A has an interesting property, which we have used for watermark embedding. The property is the following: when the columns of A are correlated (as in the case of an image), the absolute values of elements of the first row of R tend to be larger than the rest of the rows. We know from (2) that the i th row of R is the projection of columns of A onto the i th column of Q matrix. Also from Gram-Schmidt process and QR decomposition, we know that the first column of Q is the normalized form of the first column of A. Also the other columns of Q are orthogonal to the first column of Q and to each other. Therefore the more the columns of A look similar or correlated with its first column (as in our case), their projection onto first column of Q (which is the normalized form of the first column of A) will be larger than their projection to other columns of Q. This fact is now shown for a 2 × 2 matrix and it can be generalized to higher dimensions. The QR decomposition for a 2 × 2 matrix can be derived as follow:

$$ \label{eq.10} \mathbf{A}=\left[ \begin{matrix} a & \quad c \\ b & \quad d \\ \end{matrix} \right] $$
(10)
$$ \label{eq.11} ad-bc>0 \overset{QR}{\Rightarrow} \left\{\begin{array}{l} \mathbf{Q}=\dfrac{1}{\sqrt{a^2+b^2}} \left[\begin{matrix} a &-b \\ b & a \\ \end{matrix} \right] \\[6pt] \mathbf{R}=\dfrac{1}{\sqrt{a^2+b^2}} \left[\begin{matrix} a ^2+b^2 & ac+bd \\ 0 & ad-bc \\ \end{matrix} \right] \end{array}\right. $$
(11)
$$ \label{eq.12} ad-bc<0 \overset{QR}{\Rightarrow} \left\{\begin{array}{l} \mathbf{Q}=\dfrac{1}{\sqrt{a^2+b^2}} \left[\begin{matrix} a & b \\ b & -a \\ \end{matrix} \right] \\ \mathbf{R}=\dfrac{1}{\sqrt{a^2+b^2}} \left[\begin{matrix} a ^2+b^2 & ac+bd \\ 0 & bc-ad \\ \end{matrix} \right] \end{array}\right. $$
(12)

As seen from (11), (12) in all cases r 11 is larger than r 21. From matrix algebra we know that a 2 × 2 matrix such as R can be shown as:

$$ \label{eq.13} \mathbf{R}_{2\times 2}=\left[ \begin{matrix} r_{11} & \quad r_{12} \\ r_{21} & \quad r_{22} \\ \end{matrix} \right] $$
(13)

Now we are going to derive the condition in which r 12 is larger than r 22. To do this we consider three cases based on the values of a, b and then derive the locus of c, d in which r 12 is larger than r 22. In our case (in spatial domain), a, b, c, d belong to the set {0, 1, 2, ..., 255}. For simplicity we first derive the area in which r 22 is larger than r 12 and then the remaining area will be the required one.

  • Case1: a = b

    In this case for both (11) and (12), and for all value of c and d belong to {0, 1, 2, ..., 255} the value of r 12 is larger than r 22. The reader can easily verify it.

  • Case2: a > b

    In this case, as depicted in Fig. 8a, we derive the locus of c, d from (11) by replacing them respectively with x and y for r 12 to be larger than r 22. The complementary for this is r 12 to be smaller than r 22 and it is depicted by shaded area in Fig. 8a. Thus we have:

    $$ ad-bc>0 \Rightarrow y>\frac{b}{a}x $$
    (14)
    $$ \begin{array}{rll} r_{12}<r_{22} &\Rightarrow \dfrac{ac+bd}{\sqrt{a^2+b^2}}<\dfrac{ad-bc}{\sqrt{a^2+b^2}} \\ &\Rightarrow y>\dfrac{a+b}{a-b}x \end{array} $$
    (15)
  • Case3: a < b

    In this case, as depicted in Fig. 8b, we derive the locus of c, d from (12) by replacing them respectively with x and y for r 12 to be larger than r 22. The complementary for this is r 12 to be smaller than r 22 and it is depicted by shaded area in Fig. 8b. Thus we have:

    $$ ad-bc<0 \Rightarrow y<\frac{b}{a}x \\ $$
    (16)
    $$ \begin{array}{rll} r_{12}<r_{22} &\Rightarrow \dfrac{ac+bd}{\sqrt{a^2+b^2}}<\dfrac{bc-ad}{\sqrt{a^2+b^2}} \\ &\Rightarrow y<\dfrac{b-a}{a+b}x \end{array} $$
    (17)
Fig. 8
figure 8

a The shaded area S 1 is the locus of c, d in which r 22 > r 12 and a > b. b The shaded area S 2 is the locus of c, d in which r 22 > r 12 and a < b

In Fig. 8, X′ and Y′, are the new axes which are produced from QR decomposition and the columns of A are projected to them, and L 1 is the bisector of X′ and Y′. Thus in both pictures if the pair (c, d) from A matrix covers the shaded area then r 12 will be smaller than r 22. The probability that the pair (c, d) sit in the shaded area can be calculated from the law of total probability as:

$$ \begin{array}{rll} \label{eq.18} P(r_{22}>r_{12})&=&P(r_{22}>r_{12}|a>b).P(a>b) \\ &&+P(r_{22}>r_{12}|a<b).P(a<b)\nonumber\\ &=&0.5\times P(r_{22}>r_{12}|a>b)\nonumber\\ &&+0.5\times P(r_{22}>r_{12}|a<b)\nonumber\\ &=&0.5\times P(S_{1})+0.5\times P(S_{2})\nonumber\\ &=&0.5\times \dfrac{a-b}{2(a+b)}+0.5\times \dfrac{b-a}{2(a+b)}\nonumber\\ &=&0.5\times \dfrac{|a-b|}{a+b} \end{array} $$
(18)

Thus Equation (18) shows that how much a, b close to each other (this means that the pair must be around the line y = x), the probability that r 22 > r 12 is smaller.

To verify this result, we divide the test images (Fig. 9) into 2 × 1 and 3 × 1 blocks and depict them by spot in 2D and 3D charts respectively in Fig. 10. Also we do this in DWT domain for LL sub-band which is a scaled version of the original image and depict the result in Fig. 11. As seen from these figures, most of the dots are around the y = x line and this confirms our statement: In QR decomposition of 8 × 8 blocks of an image, the absolute values of the elements of the first row of R matrix statistically tend to be larger than the elements of the other rows.

Fig. 9
figure 9

Test images

Fig. 10
figure 10

a Charts of 2 × 1 blocks of test images. b Charts of 3 × 1 blocks of test images

Fig. 11
figure 11

a Charts of 2 × 1 blocks for LL sub-band of test images. b Charts of 3 × 1 blocks for LL sub-band of test images

Rights and permissions

Reprints and permissions

About this article

Cite this article

Naderahmadian, Y., Hosseini-Khayat, S. Fast and robust watermarking in still images based on QR decomposition. Multimed Tools Appl 72, 2597–2618 (2014). https://doi.org/10.1007/s11042-013-1559-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-013-1559-9

Keywords

Navigation