I. INTRODUCTION
Watermarking is a marvelous technique in which number of bits another image or logo are inserted in another contents. Digital image watermarking supports image, audio or video file as watermark. At present data security, copyright protection, imperceptibility and authenticity have become indispensable issues in data hiding. Watermarking indemnifies all these issues in a strategic way. Watermarking technique can be implemented in two domains: spatial domain and frequency domain. In spatial domain, without using any transformation, the watermark can be embedded into host image which is of less complexity and simpler but it's not that much robust against attacks. Frequency domain needs some transformation before embedding the watermark image into host. Though it is complex than spatial domain, it shows more robustness against attacks. According to type of document, watermarking is of text, image, audio or video types. Based on several applications it is of three types as fragile, semi-fragile and robust. Visible and invisible watermarks are types of fragile water marking. Tamper detection is a prime theme for fragile watermarking. Robust watermarking is an algorithm that is dynamic and rigid even after adding noise.
Many embedding techniques have been proposed earlier based on Local Binary Pattern, Integer Wavelet Transform or Tent Map. Bhardwaj et al. [1] has proposed a lifting wavelet transform based robust watermarking scheme that uses singular value decomposition for obtaining singular values of watermark image. Makbol et al. [2] has discussed a robust watermarking scheme that based on IWT and SVD that performs authentication and helps security issues. Lazarov et al. [3] proposed an algorithm that uses chaotic maps for embedding; Arnold's cat map and Tent map are applied to the host and watermark image respectively. Chang et al. [4] have proposed a LBP based recoverable fragile watermarking technique that uses size blocks for LBP operator. Zhang et al. [5] proposed a blind fragile watermarking scheme based on LBP, Arnold transform and Logistic map.
An sari et al. [6] proposed a water marking technique in which IWT and singular value decomposition (SVD) based scheme was discussed to ensure security and robustness. On the host image, IWT was applied first and then, on this transformed image, SVD was applied because the properties of SVD and IWT gave higher level of robustness. Wenyin et al. [7] proposed a semi-fragile multi-level image watermarking scheme based on LBP operators that was performed in spatial domain. A digital dual watermarking using SVD and redundant discrete wavelet transform (RDWT) has been proposed by Gaur et al. [8] which has a primary watermark and a scrambled watermark using Arnold cat map. Saiyyad at el. [9] proposed a dual watermarking process with hash function and the security purpose of AES ciphered watermarking and also tampers detection. It uses unique identification code as first watermark and for second water mark; hash code is generated from host image. All these papers have proposed watermarking scheme using Local Binary Pattern, Integer Wavelet Transform or Tent Map individually. But we wanted to combine these three themes into one method to provide more robustness and stiffness of technique. Morteza et el. [10-11] proposed two watermarking schemes using SVD and DWT-SVD technique.
In this paper, a robust and dual level watermarking scheme has been discussed that is the combination of Tent map, IWT and LBP. Chapter 2 describes the basic background of chaotic mapping and image transformation. Chapter 3 presents the procedure of the proposed watermarking scheme. Chapter 4 shows the experimental result analysis. Chapter 5 concludes the paper.
II. BACKGROUND
a) Tent Map
Tent map is an image scrambling or mapping system that generates a fixed number of chaotic bit sequences. Mathematically, Tent map is the real-valued function and the sequence using this map is produced by iterating x [12]. In this scheme, the sequence that is produced by this map is rounded up to binary numbers and reshaped to a matrix of same size of watermark.
If the value is , the function will divide the unit interval into two, first stretching the interval to get again the interval [0,1].
b) Local Binary Pattern
Local Binary Pattern (LBP) is a very systematic texture operator that operates with the pixel of an image, sets a threshold level for each pixel and shows the result as binary numbers. For mask, the binary numbers are generated by following formula [4]. In our scheme, instead of mask, we applied mask.
c) Integer Wavelet Transform
Integer wavelet transform is an integer to integer wavelet transformation technique that is efficient for lossless data compression and also faster in comparison with continuous wavelet transform and discrete wavelet transform. IWT provides higher level of robustness because of the structure of Lifting scheme . Like DWT, 4 bands are generated (CA1, CV1, CD1, CH1) in IWT.
In lifting method, there are three steps to implement IWT. These are-split, predict and update . Split refers that, original signal is folded into odd and even components. On predictor, the odd sequence is being predicted by even sequence. Neweven samples are produced that are based on updater.
III. PROPOSED SCHEME
a) Embedding Procedure
A gray-scale image of size is taken as the host image. Then IWT is applied on this image for find LL band (CA1 band). After this, local binary pattern [7] is applied for each mask of CA1 band to form binary matrix. The whole embedding procedure is shown in Fig. 1 and is illustrated in algorithm as follows:
1. A grayscale image is considered as cover image
- Two watermark images (w1 & w2) are taken to embed in the cover image, w1 is for odd pixel and w2 for even pixel; perform XOR operation with Tent map to generate scrambled watermarks (s1 & s2)
3. IWT is applied on host to obtain CA1 band
LBP is applied on CA1 band If neighbor pixel > centre pixel, assign neighbor pixel = 1 and If neighbor pixel ≤ centre pixel, assign neighbor pixel = 0 Thus, binary matrix (b) is generated.
For each mask, perform XOR operation on even and odd pixels of the binary matrix (b).
Compare XOR outputs of odd (b1) and even (b2) pixels of the binary matrix (b) with the scrambled water mark images s1 & s2 respectively. If or ; no change will occur to the original CA1 band. If or ; any one of the 12 odd pixels or any one of the 12 even pixels of mask except centre pixel, will be changed in the original CA1 band.
For odd pixels, in the original CA1 band, If CA1 (i-1,j-1) > centre pixel, assign CA1(i-1,j-1) = centre pixel+k and If CA1 (i-1,j-1) ≤ centre pixel, assign CA1(i-1,j-1) = centre pixel-k
For even pixels, in the original CA1band, If centre pixel, assign centre pixel + k and If centre pixel, assign centre pixel-k
9. Watermarked CA1 band is obtained
- Inverse IWT is applied to obtain watermarked image.


b) Extraction Procedure
In this section, we will discuss about the extraction procedure of proposed method. In the extraction part, two watermark images are extracted from the watermarked image. First two scrambled watermarks s1&s2 are generated, then performing the XOR operation with tent map, the extracted watermarks w1 & w2 are again generated. The whole procedure is shown in Fig. 2 and also illustrated in the following algorithm:
1. IWT is applied on the watermarked image to find approximation coefficient band
2. LBP is again applied on watermarked CA1band
For each mask, all even and odd pixels are found and apply XOR operation on them
For eachmask, for both even and odd XOR outputs,
If XOR output is 1, store 1; otherwise store 0
- Tent map is XORed with both s1 & s2 to obtain extracted watermarks w1 & w2 again
This procedure is repeated for different values of scaling factor.
IV. EXPERIMENTAL RESULT

In this section, the performance analysis of this proposed scheme has been discussed. We have implemented our proposed technique using MATLAB 2014 and used some test images and two watermarks for embedding. The host image is taken dimension. After applying IWT, dimension of LL band has become half of host image, i.e. . So, the size of watermarks is taken as one-fifth of the LL band that means as the mask size is taken . Tent map is used in this technique to generate random numbers which are converted to binary numbers and then reshaped to a matrix of size . This output is used to scramble the two watermarks. For performing the XOR condition between tent map and sample image, it is important to take their dimension equal. If their dimensions don't match, XOR operation will not take place. After performing XOR between the Tent map and sample image, a scrambled image is generated. For performing the XOR condition between tent map image and sample image, it is important to take their dimension equal. If their dimensions don't match, XOR operation will not take place.







MSE means mean square error that can be defined as cumulative squared error between the watermarked image and original image. PSNR is the measure of peak to peak error of image that is measured in terms of logarithmic decibel scale. With the increase of MSE of an image, PSNR value decreases. For image, they can be calculated as following:
| Image | PSNR(dB) | MSE | NC |
| Peppers | 46.74 | 1.2571 | 1 |
| Lena | 45.43 | 1.7902 | 1 |
| Jet plane | 44.74 | 2.1812 | 1 |
| Cameraman | 44.38 | 2.3945 | 1 |
| Scaling factor | Peppers | Lena | Jet plane | Cameraman |
| k=1 | 46.74 | 45.43 | 44.74 | 44.38 |
| k=2 | 46.31 | 45.06 | 44.42 | 44.11 |
| k=3 | 45.87 | 44.68 | 44.07 | 43.83 |
| k=4 | 45.42 | 44.29 | 43.73 | 43.54 |
| k=5 | 44.97 | 43.90 | 43.37 | 43.23 |
| k=6 | 44.52 | 43.52 | 43.02 | 42.93 |
| k=7 | 44.09 | 43.14 | 42.69 | 42.62 |
when no attack is added. When any attack is added to an image, this value decreases according to amount of noise. NC is calculated by:
W and W' are original watermark and extracted watermark, respectively. M and N are rows and columns of the watermark image.
| Noises | Peppers | Lena | Jet plane | Cameraman | ||||
| W1 | W2 | W1 | W2 | W1 | W2 | W1 | W2 | |
| Salt & pepper (var = 0.001) | 0.9758 | 0.9743 | 0.9756 | 0.9765 | 0.9753 | 0.9765 | 0.9739 | 0.9768 |
| Gaussian (var = 0.001) | 0.9939 | 0.9940 | 0.9971 | 0.9965 | 0.9918 | 0.9889 | 0.9942 | 0.9945 |
| Geometric attacks | Peppers | Lena | Jet plane | Cameraman | ||||
| W1 | W2 | W1 | W2 | W1 | W2 | W1 | W2 | |
| Cropping (middle) | 0.9883 | 0.9978 | 0.9737 | 0.9931 | 0.9860 | 0.9968 | 0.9827 | 0.9971 |
| Cropping (upper right) | 0.9787 | 0.9767 | 0.9802 | 0.9800 | 0.9772 | 0.9978 | 0.9805 | 0.9808 |
| Cropping (bottom left) | 0.9937 | 0.9980 | 0.9928 | 0.9961 | 0.9943 | 0.9953 | 0.9938 | 0.9967 |
| Image processin attacks | Peppers | Lena | Jet plane | Cameraman | ||||
| W1 | W2 | W1 | W2 | W1 | W2 | W1 | W2 | |
| Histogram equalization | 0.9503 | 0.9498 | 0.9760 | 0.9768 | 0.9387 | 0.9409 | 0.9362 | 0.9356 |
| Sharpening | 0.9957 | 0.9964 | 0.9916 | 0.9916 | 0.9943 | 0.9944 | 0.9877 | 0.9909 |
| Contrasting | 0.9655 | 0.9654 | 0.9168 | 0.9256 | 0.9681 | 0.9669 | 0.9452 | 0.9484 |
Test images, watermarks, scrambled watermarks and watermarked images with corresponding PSNR values are shown in Fig. 3. The PSNR, MSE and NC values of four test images are demonstrated in Table 1. Varying the scaling factor k, different PSNR values are obtained which are listed in Table 2. From the both Table 1, it is observed that, peppers image gives the highest PSNR value for all the values of k. Changing the scaling factor from 1 to 7 indicates rigidity of our proposed method because PSNR values of this scheme is fluctuating very little. With increasing this value, PSNR decreases gradually. In Peppers image, maximum PSNR is 46.74 dB, obtained for k = 1. This value decreases at 45.87 dB for k = 3. and finally it is 44.09 dB when k = 7. same phenomena happen for all the test images.
Performance parameters as PSNR and NC are also observed after adding some noises as attack. Variation of the value of NC is noticed for different attacks because for adding noises, images become little distorted. That means, some pixel values may change in the extracted watermarks. To check the rigidity of this technique, attacks as Salt & pepper noise, Gaussian noise, Cropping, histogram equalization, image sharpening and contrasting are added to the watermarked image and then watermarks are then extracted. Normalized correlation between the original watermark and extracted watermark for Salt & pepper noise (0.001) and Gaussian noise (0.001) are observed in Table 3. These values are fluctuating according to test images. Lena image gives the better NC values for both watermarks 0.9971 and 0.9965, for Gaussian noise. Here, watermark 1 gives better result than watermark 2. But in peppers image, watermark 1 gives smaller value 0.9939 than watermark 2, i.e. 0.9940. Lowest value is 0.9889 for second watermark of Jet plane image. For Salt & pepper noise, NC values are decreased. In this case, watermark 2 of all the images gives better NC than watermark 1 except Peppers image. Geometric attack is also added to the watermarked image. Three types of cropping as: middle, bottom left and upper right are applied and their corresponding NC values for the both watermarks are shown in Table 4. Among these attacks, bottom left gives better NC values for both the watermarks. Overall values of bottom left are better than other two attacks. Peppers and Cameraman images gives higher NC. Image processing attacks are also added as histogram equalization, image sharpening and contrasting in Table 5. In image sharpening, the NC value is better in watermark 2 than watermark 1 for all the test images. For example, w1 gives 0.9873 NC value in Lena image and w2 gives 0.9916. But in image contrasting, watermark 1 gives better values for most of the test images such as; for Jet plane image, w1 gives 0.9681 and w2 gives 0.9669. Lena image gives lowest NC values for both watermarks among all the images; 0.9168 and 0.9256. Cameraman image gives lowest NC values for histogram equalization; w1 gives 0.9362 and w2 gives 0.9356 among these three attacks, image sharpening shows better performance for all the test images.













































Figure 7: Cameraman watermarked image and two extracted watermarks with various noise
| Attacks Types | Scheme [10] | Proposed Scheme (W2) | ||
| Lena | Peppers | Lena | Peppers | |
| Gaussian noise (var=0.001) | 0.6454 | 0.6483 | 0.9965 | 0.9971 |
| Cropping (middle) | 0.7018 | 0.7674 | 0.9931 | 0.9978 |
| Contrasting | 0.6782 | 0.6457 | 0.9256 | 0.9654 |
| Attacks Types | Scheme [11] | Proposed Scheme (W2) | ||
| Jet-plane | Peppers | Jet-plane | Peppers | |
| Gaussian noise (var=0.001) | 0.7174 | 0.8689 | 0.9889 | 0.9971 |
| Cropping (middle) | 0.8530 | 0.8844 | 0.9968 | 0.9978 |
| Contrasting | 0.7463 | 0.7127 | 0.9944 | 0.9654 |
Fig. 4 Shows the Peppers image with six different attacks and its corresponding extracted watermarks. For cropping (middle), extracted watermarks are very similar to the original image. For contrasting and histogram equalization, extracted watermarks are little bit distorted than other attacks. In Peppers image, watermark 2 seems to be better than watermark 1. Fig. 5. Shows the Lena image with attacks and its corresponding extracted watermarks. For contrasting and histogram equalization, both the watermarks are little distorted. In this figure, cropping (middle) gives better extracted watermarks again. Watermark 2 seems to be better than watermark 1 in this figure also. Same attacks are applied on jet-plane and cameraman images which are demonstrated in Fig. 6 and Fig. 7, respectively. Table 6 and Table 7 demonstrates the comparison of the scheme in terms of robustness test for Lena and Peppers images. NC values of watermark W2are used for comparison with schemes [10] and [11].
V. CONCLUSION
In this paper, a dual level robust watermarking scheme has been introduced with the combination of integer wavelet transform, local binary pattern and tent map. IWT has made this method more robust and faster computability than any others transformation. Embedding procedure is conformed to odd and even pixel positions of host image with two watermarks. PSNR of the test images are varied according to change of scaling factor. For checking the rigidity of this method, image sharpening, histogram equalization, cropping, salt & pepper noise, gaussian noise and image contrasting are added to watermarked image. The output normalized correlation values show robustness of the method. We have also compared PSNR values with an existing method that exhibits remarkable results.