- Open Access
- Total Downloads : 889
- Authors : Ms.Rekha D.Patil, Mr.A.R.Nigavekar
- Paper ID : IJERTV2IS2079
- Volume & Issue : Volume 02, Issue 02 (February 2013)
- Published (First Online): 28-02-2013
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Reversible Image Watermarking Using Lifting Wavelet Transform And Arithmetic Coding
Reversible Image Watermarking Using Lifting Wavelet Transform And Arithmetic Coding
Ms.Rekha D.Patil1, Mr.A.R.Nigavekar2
Vol. 2 Issue 2, February- 2013
-
KIT College of Engineering /student of Master Engineering in Electronics and Telecommunication, Kolhapur, Maharashtra, India, Email: rekhapatil2006@gmail.com
-
KIT College of Engineering / Professor at the Department Electronics Engineering, Kolhapur, Maharashtra, India, India,
ABSTRACT
In this paper, a lossless image watermarking system has been presented, which uses the lifting wavelet transform (LWT) with integer to integer lifting scheme with all wavelets to host image. Also it provides Wavelet Transform domain technique and arithmetic coding technique to improve the quality of watermarked image. Experiments are conducted to find peak signal to noise ratio using different wavelet families.
-
INTRODUCTION
In digital watermarking or Steganography, an invisible signal is usually embedded into a digital medium, such as an image, audio, or video data to protect it from unauthorized use and alteration, so that the content of information and the source can be authenticated. Reversible data embedding, which is also called lossless data embedding, embeds invisible data called payload into a digital medium such as image in a reversible fashion so that the original image and the payload is lossless recovered. Alternative terms for reversible watermarking are lossless, distortion free, invertible, erasable watermarking. The most important requirement of lossless watermarking is that any difference (distortion) between the original image and the watermarked image should be perceptually invisible. The human visual system (HVS) is the perceptual phenomenon that can be exploited to achieve this requirement.
A watermark is put into the media and cannot be removed or altered easily. The watermarking process introduces irreversible degradation of the original medium. Even though the degradation is less, it may not be acceptable to certain applications, like military and medical use .So there is a need for a reversible watermark which completely recovers the original image. If the embedding algorithm and embedding parameters are available, it is possible to detect the watermark from the marked medium to recover the original medium. But most watermarking algorithms apply some non-linearity to optimize the performance of the algorithm. Therefore, a reversible watermark must be designed such that it can be removed to restore the original medium without any reference to information beyond what is available in the watermarked medium .
The proposed scheme divides an input image into non overlapping blocks of a given size and Integer wavelet transform is taken for each small block and then data is embedded into the high-frequency wavelet coefficients of each block. Various block sizes and their performance are studied in it. [7] Yousefi, S. explains a lossless data hiding method using integer wavelet transform in which small coefficients of the high frequency subband are modified to embed data. The histogram modification is done to prepare enough space for data hiding [8]. Shaowei Weng proposes the reversible integer transform using the correlations among four pixels in a quad. Data embedding is done by expanding the differences between one pixel and each of its three neighboring pixels. To improve the hiding capacity, difference expansion and companding technique is used in the embedding process. [9] Hyoung Joong Kim Proposes a difference expansion method with simplified location map and better embedding capacity can be achieved with new expandability [10]. In this paper, a novel reversible watermarking scheme with high embedding capacity for digital images is proposed.
To achieve the reversibility, integer-to-integer wavelet transforms are used.
-
LIFTING WAVELET TRANSFORM(LWT)
LWT with standard 4-tap orthonormal filter with two vanishing moments is used for digital image watermarking. LWT is an alternative approach for DWT to transform image into frequency domain [11] for real time applications. Lifting wavelet is the second generation fast wavelet transform. In this, translation and dilation are not fundamental to obtain lifting wavelets. In lifting wavelet transformation, up and down sampling is replaced simply by split and merge in each of the level. The polyphase components of the signal are filtered in parallel by the corresponding wavelet filter coefficients, producing the better result than up and down-sampling which is required in traditional DWT approach [12].
In comparison with general wavelets, reconstruction of image by lifting wavelet is good because, it increases smoothness and reduces aliasing effects [13]. Employing LWT reduces loss in information, increases intactness of embedded watermark in the image and helps to achieve the reversibility of watermark.
When we transform an image block consisting of integer-valued pixels into wavelet domain using a floating point wavelet transform and the values of the wavelet coefficients are changed during watermark
embedding, the corresponding watermarked image block will not have integer values. When we truncate the floating point values of the pixels, it may result in loss of information and reversibility is lost. The original image cannot be reconstructed from the watermarked image. In conventional wavelet transform done as a floating-point transform followed by a truncation or rounding it is impossible to represent transform coefficients accurately. Information will be potentially lost through forward and inverse transforms. In view of the above problems, an invertible integer to integer wavelet transform based on lifting is used in the proposed scheme. It maps integers to integers which are
preserved in both forward and reverse transforms. There is no loss of information.
Wavelet or subband decomposition associated with finite length filters is obtained by a finite number of primal and dual lifting followed by scaling.
-
ARITHMETIC CODING:
We use the arithmetic coding technique to compress a part of the original image and store the compressed data together with necessary authentication information as the payload. The payload is then embedded within the original image with consideration of the HVS. Due to this, the watermarked image contains no perceptible artifacts. During the extraction phase, we extract the payload, restore the exact copy of the original image and verify the authenticity.
-
PROPOSED SCHEME
In the proposed approach the watermark data is embedded directly as bytes instead of in bits. The original image is preprocessed by performing integer LWT of the image. Now Integer Wavelet Transform IWT is performed to decompose the image into its components namely
approximate coefficient, Horizontal coefficient, Vertical coefficient and Diagonal coefficient. Now apply the arithmetic coding on these component and then embedd the watermarked data
After embedding the components are combined. Now Inverse integer wavelet transform is taken to obtain the watermarked image. The reverse is done to extract the embedded watermark data. The original image and watermark data are extracted exactly without any loss of data.
-
Perform LWT to decompose the image and obtain the subband approximate, diagonal, horizontal and vertical components namely A, D, H and V.
-
Separate the D,H and V components.
Apply arithmetic coding on the diagonal, horizontal and vertical Components.
-
-
Embed the watermarked data in coded diagonal, horizontal and vertical Components.
-
Apply inverse LWT will give watermarked image.
Original Image
Perform integer LWT
Select detailed
,
horizont al,vertic al compon ent
Apply arihmeti c coding
Embedd e the waterma rk
Take inverse integer LWT
Waterm arked Image
Figure 1 Embedding Method
-
Steps in Embedding
-
Let R {P , P ,……Pn } 1 2 = represent the set of all neighboring pixel pairs in one direction and i p
be a single pair for all i=1 to n.
-
let { } m W W ,W ,……W 1 2 = represent the watermark data where each {0,1,2,…..,9} i W
are used to represent ASCII characters. The same digits can represent Text or image watermark.
Starting with the first pixel pair P1,
-
For each pixel pair Pi , find the minimum of Pi=(Xi,Xi+1), Let the minimum value be Y and the maximum value be Z.
-
Let Q=Z/2 and if Y > Q then the pixels Pi are expandable. Else search for the next expandable pair.
-
Now embed the first watermark data byte W1 directly as the difference between these pixels. Else go to step 1. Embed the byte as differences between the pixels Else go to the next pair.
-
Scan through each pixel pairs and repeat the above process till all watermark data bytes in the set W are embedded.
-
-
-
Extraction of Watermark
-
Extraction of Watermark and Original Image is done through reverse process of the above steps by scanning through the pixel pairs in the entire image .
Recovered Image
Take inverse integer LWT
Extract
waterma rk
arithmet ic
Decodin g
Select detailed
,
horizont al, vertical compon ent
Apply integer LWT
Waterma rked
Image
Figure 2 Extraction Method
-
-
EXPERIMENTAL RESULTS
For demonstrating the performance of the proposed watermarking algorithm following measures are carried out, A performance measuring parameter PSNR is estimated. The embedding capacity and the quality of the watermarked image are represented by bit per pixel (bpp) and PSNR in decibels, respectively. To explore the performance of the proposed algorithm, experiments are performed on gray scale lenaimages of size 512×512 and color car image of size 256×256.
Table I&II shows the image quality in PSNR for various wavelet families on the commonly used images. Some wavelets show better performance than others. For (ex) db, cdf, haar wavelets show higher performance than others.
Table I&II: Image Quality Tested for Grayscale lena and color car Images for each payload using different wavelet families
GRAYSCALELENA IMAGE
Lifting Schemes
PSNR
lazy
28.17
haar
31.48
db1
31.48
db2
31.12
db3
30.67
Cdf1.1
31.48
Cdf1.3
31.48
Cdf1.5
31.35
Cdf2.2
33.20
Cdf2.4
33.15
Cdf2.6
33.19
Cdf4.2
28.91
Cdf4.4
30.01
Cdf4.6
30.28
Cdf6.2
22.82
Cdf6.4
24.88
Cdf6.6
25.57
CLR CAR IMAGE
Lifting Schemes
PSNR
Lazy
28.32
Haar
31.64
db1
31.64
db2
31.82
db3
31.39
Cdf1.1
31.64
Cdf1.3
31.64
Cdf1.5
31.59
Cdf2.2
32.375
Cdf2.4
32.02
Cdf2.6
32.14
Cdf4.2
29.57
Cdf4.4
30.01
Cdf4.6
30.29
Cdf6.2
24.85
Cdf6.4
26
Cdf6.6
25.57
GRAYSCALELENA IMAGE
Lifting Schemes
PSNR
lazy
28.17
haar
31.48
db1
31.48
db2
31.12
db3
30.67
Cdf1.1
31.48
Cdf1.3
31.48
Cdf1.5
31.35
Cdf2.2
33.20
Cdf2.4
33.15
Cdf2.6
33.19
Cdf4.2
28.91
Cdf4.4
30.01
Cdf4.6
30.28
Cdf6.2
22.82
Cdf6.4
24.88
Cdf6.6
25.57
CLR CAR IMAGE
Lifting Schemes
PSNR
Lazy
28.32
Haar
31.64
db1
31.64
db2
31.82
db3
31.39
Cdf1.1
31.64
Cdf1.3
31.64
Cdf1.5
31.59
Cdf2.2
32.375
Cdf2.4
32.02
Cdf2.6
32.14
Cdf4.2
29.57
Cdf4.4
30.01
Cdf4.6
30.29
Cdf6.2
24.85
Cdf6.4
26
Cdf6.6
25.57
Table I Table II
-
(b)
Figure1: Original and Watermarked grayscale lena Image a) Original image b)33.20db watermarked image using cdf2.2 wavelet.
-
(b)
-
Figure2: Original and Watermarked color car Image a) Original image b) 32.75db watermarked image using cdf2.2 wavelet.
-
-
CONCLUSION
We present a reversible watermarking technique with higher embedding capacity. The experimental results show that our proposed algorithm is better, since it allows for a higher capacity for almost all images and better PSNR compared to the other methods proposed so far. The most important feature of our proposed algorithm is the consideration of the HVS during embedding, and hence the artifacts are completely imperceptible The experimental results prove that the proposed algorithm is better than the existing algorithms. The proposed method also can be used for color images. It also works on both smooth and textured images.
REFERENCES
-
J. Fridrich, M. Golijan, and R. Du, Lossless data embedding for all image formats, presened at the SPIE, Security and Watermarking of Multimedia Contents, San Jose, CA, 2002.
-
J. Tian, Reversible data embedding using a difference expansion, IEEE Trans. Circuits Syst. Video Technol., vol. 13,no. 8, pp. 890896, Aug. 2003.
-
A. M. Alattar, Reversible watermark using difference expansion of triplets, in Proc. IEEE ICIP, Barcelona, Spain,Sep. 2003, vol. 1, pp. 501504.
-
A. M. Alattar, Reversible watermark using difference expansion of quads, in Proc. ICASSP, 2004, vol. 3, pp. 377380.
-
A. M. Alattar, Reversible watermark using the difference expansion of a generalized integer transform,
IEEE Trans.Image Process., vol. 13, no. 8, pp. 11471156, Aug. 2004.
-
L. Kamstra and H. J. A. M. Heijmans, Reversible data embedding into images using wavelet techniques and sorting,IEEE Trans. Image Process., vol. 14, no. 12, pp. 20822090, Dec. 2005.
-
Sunil Lee, Chang D. Yoo, and Ton Kalker, "Reversible Image Watermarking Based on Integer-to-Integer Wavelet Transform," IEEE Trans. Information Forensics and Security, vol. 2, no. 3, pp. 321-330, Sept. 2007.
-
Reversible Date Hiding Using Histogram Sorting and Integer Wavelet Transform Yousefi, S. Rabiee, H.R. Yousefi, E.Ghanbari, M. Sharif Univ. of Technol., Tehran Digital Eco Inaugural ,IEEE-IES Volume , Issue , 21- 23 Feb. 2007 Page(s):487 – 490
-
A Novel Reversible Watermarking Based on an Integer Transform Shaowei Weng; Yao Zhao; Jeng-Shyang Pan;Rongrong Ni Image Processing, 2007. ICIP 2007. IEEE International Conference on Volume 3, Issue , Sept. 16 2007-Oct.19 2007 Page(s):III – 241 – III 244.
-
Hyoung Joong Kim, Member, IEEE, Vasiliy Sachnev, Yun Qing Shi, Fellow, IEEE, Jeho Nam, Senior Member, IEEE, and Hyon-Gon Choo A Novel Difference Expansion Transform for Reversible Data Embedding IEEE Transactions on Information Forensics and Security, vol. 3, no. 3, September 2008 pages 456-465.
-
S. Kurshid Jinn and Dr. L. Ganesan Lossless Image Watermarking using Lifting Wavelet Transform
International Journal of Recent Trends in Engineering, Vol. 2, No. 1, November 2009
-
Mohammad Awrangjeb and Mohan S. Kankanhalli Department of Computer Science, School of Computing, National University of Singapore, Singapore 117543 Reversible Watermarking Using a Perceptual Model