• No results found

A Two Stage Data Hiding Scheme with High Capacity Based on Interpolation and Difference Expansion

N/A
N/A
Protected

Academic year: 2021

Share "A Two Stage Data Hiding Scheme with High Capacity Based on Interpolation and Difference Expansion"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

Procedia Technology 24 ( 2016 ) 1311 – 1316

ScienceDirect

2212-0173 © 2016 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).

Peer-review under responsibility of the organizing committee of ICETEST – 2015 doi: 10.1016/j.protcy.2016.05.129

International Conference on Emerging Trends in Engineering, Science and Technology (ICETEST

- 2015)

A Two Stage Data Hiding Scheme with High

Capacity Based on Interpolation and Difference

Expansion

Sabeen Govind P.V

a*

, Sajila M. K

b

, Bindiya M. Varghese

c a,c

Department of Computer Science, Rajagiri College of Social Sciences,Cochin, 683104, India bDepartment of Computer Application, Don Bosco College, Kannur, 670706, India

Abstract

A data hiding technique embeds secret information into a cover image. Cover image and the stego image look similar due to which the hackers fail to detect the presence of the hidden secret data. In this paper we propose a two stage data hiding technique with high embedding capacity. First stage is the creation of a cover image from the original input image using image interpolation, followed by the calculation of the difference between original and interpolated pixel values which is then utilized for data embedding. In the second stage, a difference expansion technique is used in the stego image to increase the payload capacity. Experimental results demonstrate that the proposed method gives better results in terms of embedding capacity and comparable results in terms of visual quality.

© 2016 The Authors.Published by Elsevier Ltd.

Peer-review under responsibility of the organizing committee of ICETEST – 2015. Keywords: Difference expansion; Visual quality ;Interpolation; Data hiding

1. Introduction

The data hiding techniques have recently emerged as an important research area in a number of applications such as medical imagery, military electronic data, and remote sensor data and so on. The techniques are focused on

* Corresponding author. Tel.09496442093

E-mail address: [email protected]

© 2016 The Authors. Published by Elsevier Ltd. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).

(2)

embedding secret data in the contents which is for the communication between multimedia carriers such as image, audio, and video files. These methods mainly aim at privacy of data communication. Primarily these techniques concentrate on the capacity and it not only extracts the secret data but also preserves the host or cover image. In recent times, the resources are easily shared through the internet by individuals. Apart from numerous advantages, widespread transmission of information makes

it

vulnerable to ruin ownership and copyright protection. Nowadays, data hiding can be used in a variety of data formats.

Based on the characteristics of image, data hiding can be performed in spatial domain [4], frequency domain [5], and compression domain [6].In spatial domain, processing is undertaken by modifying pixel values. The commonest technique is the least significant bit (LSB) substitution in which the last few significant bits of a pixel value are modified. Histogram modification [7] method is used to shift the pixels between the peak and zero points of the histogram of an image. Multilevel histogram modification [8] is capable of enlarging the payload of a secret message in a more flexible and adaptive way. In the frequency domain, pixel values are transformed into a set of coefficients which is then used to hide the data. Discrete cosine transforms, Discrete Fourier transform etc are commonly used to embed secret data. In the compression domain, Vector Quantization [6] based image data hiding schemes have been proposed. A reversible VQ-based image data hiding technique must be able to recover original VQ index table after extracting secret data.

In this paper we propose an improvement over Ya-Ting Chang et al.’s scheme [1]. A difference expansion [2] technique is included in the proposed scheme, so that the embedding capacity of the proposed scheme is very high. Effectiveness of the algorithm is tested using standard test images. The proposed data embedding process is illustrated in section 2 and a numerical example is given in section 3. Secret data extraction is given in section 4 followed by experimental result and analysis under section 5.

2. Proposed data hiding scheme

A two stage data hiding scheme with high embedding capacity is proposed. Using image interpolation, the initial input image is transformed into a high quality cover image. In this work we are using Enhanced Neighbor Mean Interpolation (ENMI) proposed by Ya-Ting Chang et.al. [1].

2.1. Data embedding phase

Step 1: For an input image I (i, j), perform the interpolation operation and generate the cover image C (i, j). After that compute the difference D (i, j) using equation 1.

ܦሺ݅ǡ ݆ሻ ൌ ܥሺ݅ǡ ݆ሻ െ ܫሺ݅ǡ ݆ሻ (1) Step 2: Number of bits (n) are computed using equation 2.

݊ ൌ ݂݈݋݋ݎሺ݈݋݃ଶȁ ܦሺ݅ǡ ݆ሻȁሻ െ ͳ (2)

Step 3: Partition the first segment of binary secret data B1 into sub streams before embedding. Each sub stream ‘b’

with ‘n’ bits can be extracted out from secret data B1. A bit “1” is padded to the left hand side of sub stream ‘b’. A

decimal value‘d’ is calculated from the sub stream ‘b’and its leading bits. It is a simple binary to decimal conversion. Step 4: In order to increase the payload capacity the value of ‘d’is multiplied by a factor of two so that one more extra secret bit can be embedded. This is nothing but a difference expansion technique proposed by Tian [2].

݀݁ ൌ ʹ ൈ ݀ ൅ ݏ (3) Where ‘de’ is the new difference and ‘s’ is the secret bit.

Step 5: This new difference is added or subtracted with the interpolated pixel values based on the sign of ܦሺ݅ǡ ݆ሻǤ If the value of ܦሺ݅ǡ ݆ሻis negative then ‘de’ values is added otherwise subtracted. After this second stage of data

(3)

embedding a high capacity stego image is obtained. This stego image is transmitted to the receiver. A numerical example is given in the next sub section.

2.2. Numerical example of the proposed scheme

For an input image of size 3ൈ3 is shown below.

Fig. 1.Example of cover image from an input image by ENMI algorithm D1= 68-88; D2= 117-110; D3=103-73; D4= 89-105; D5=138-128; n1= floor (log2|-20|)-1=3 n2= floor (log2|7|)-1=2 n3= floor (log2|30|)-1=4 n4= floor (log2|-16|)-1=3 n5= floor (log2|10|)-1=2

Suppose the secret data B1= “00110011100110”

Sub stream b1= “001”, then d1=10012= 910 b2= “10”, then d2=1102= 610

b3= “0111”, then d3= 101112= 2310 b4= “001”, then d4=10012= 910 b5= “10”, then d5=1102= 610

Using equation 3, we can hide five more extra bits (eb). Suppose we want to hide “10110”.

de1= 2×9+1=19 de2= 2×6+0=12 de3= 2×23+1=47 de4= 2×9+1=19 de5= 2×6+0=12

This ‘de’ value is added or subtracted depending on the sign of D values to the interpolated pixel value to get a high capacity stego image as shown in figure 2.

35 87 101 105 56 108 199 126 79 Fig. 2.Stego image

(4)

2.3. Secret data extraction

After obtaining the stego image, secret data extraction can be done in two stages. This is just a reverse of the data embedding.

Step 1: Receiver also performs the same ENMI interpolation operation on the stego image and obtains the cover image.

Step 2: Calculate the absolute difference (ܦ) between the stego pixel and interpolated pixel.Using equation 4, first extract the additional one bit embedded in each pixel during data embedding process.

ܾ݁ ൌ ܦ݉݋݀ʹ (4) Step 3: Using equation 5, calculate the decimal value ‘d’.

݀ ൌ ݂݈݋݋ݎሺܦȀʹሻ (5) Step 4: Convert the decimalԢ݀Ԣ into its equivalent binary representation and discard the leading bit, it represents the secret data.

Step 5: Finally, the sub streams are appended to obtain the secret information B1. Along with this B1, recovered one

bit secret from each stego pixel is appended. Numerical example is given in the next section.

2.4. Secret data extraction numerical example

Figure 2 shows the stego image. Receiver also performs ENMI operation and obtains the cover image as shown in Figure 1.The difference D values is given below.

D1= 87-68 = 19 D2= 117-105 =12 D3=103-56= 47 D4=89-108= -19 D5=138-126= 12 eb1= 19 mod2=1; eb2= 12 mod2=0; eb3= 47 mod2=1; eb4= |-19|mod2=1; eb5= 12 mod2=0;

“10110” is the secret data. Then calculate the decimal value ‘d’ using equation 5. d1=floor(19/2)= 9

910= 10012; removing the leading bit “1” then b1= “001”.

d2=floor(12/2)= 6 610= 1102; so, b2= “10”. d3=floor(47/2)= 23 2310= 101112; so, b3= “0111”. d4=floor(19/2)= 9 910= 10012;so,b4= “001” d5=floor(12/2)= 6 610= 1102; so, b5= “10”. Hence, B1= “00110011100110”

(5)

3. Experimental results

Proposed algorithm is tested using standard test images of size 512ൈ512 as shown in figure 3. Secret data composed of bits ‘0’ and ‘1’ are randomly generated by MATLAB function and Peak Signal-to-noise ratio (PSNR) [12] is used to measure the visual quality of the stego image. Table 1 show the comparison result with Jung et.al scheme and it is very clear that proposed method outperforms.Proposed algorithm is compared with Ya-Ting Chang et.al’s scheme and result is shown in Table 2, proposed scheme gives better payload capacity and acceptable visual quality.

Fig. 3.Five input gray scale images of size 512 x 512

Table 1. Comparison of the proposed scheme with [3].

Table 2. Comparison of the proposed scheme with [1].

4. Conclusion

This paper proposes a two stage data hiding technique based on image interpolation and difference expansion. In the first stage image interpolation is utilized and difference expansion is included in the second stage. Performance of a data hiding scheme is evaluated based on the payload capacity and visual quality of the stego image.

Input image

Jung and Yoo Proposed

Capacity Payload PSNR Capacity Payload PSNR Lena 235,460 0.90 30.61 298,939 1.14 38.95 Boat 226,159 0.86 28.62 364,812 1.39 34.19 Airplane 188,939 0.72 30.54 307,334 1.17 33.88 Gold 268,389 1.02 30.88 363,020 1.38 36.58 Baboon 460,740 1.76 23.13 546,370 2.08 28.05 Average 275,937 1.25 28.75 376,095 1.43 34.33 Input image

Ya-Ting Chang et.al Proposed Capacity Payload PSNR Capacity Payload PSNR Lena 247,045 0.94 43.61 298,939 1.14 38.95 Boat 269,431 1.03 41.12 364,812 1.39 34.19 Airplane 239,206 0.91 43.48 307,334 1.17 33.88 Gold 258,855 0.99 43.40 363,020 1.38 36.58 Baboon 396,651 1.51 34.63 546,370 2.08 28.05 Average 282,237 1.06 41.24 376,095 1.43 34.33

(6)

Experimental results show that proposed method gives better payload capacity and acceptable visual quality. The PSNR can be further improved, if the effect of difference expansion is reduced by some constant value; which can be determined adaptively [10] based on the characteristics of the image. This determination of the constant should be explored as a future enhancement to the proposed scheme.

References

1. Ya-Ting Chang,Cheng-Ta Huang, Chin-Feng Lee, “Image interpolating based data hiding in conjuction with pixel-shifting of histogram,”Journal of Supercomputing , Springer, vol. 66, 2013,pp.1093-1110

2. Tian J, “Reversible data embedding using a difference expansion,” IEEE Trans CircSyst Video Technol, vol.13, no 8,2011,pp.890–896 3. Jung KH, Yoo KY, “Data hiding method using image interpolation,” Comput Stand Interfaces , 31(2), 2009, pp.465-470

4. Chan CK, Cheng LM, “Hiding data in images by simple LSB substitution,” Pattern Recognit, 37(3),2004,pp.469-474

5. Chan YK, Chen WT, Yu SS, Ho YA, Tsai CS, “A HDWT-based reversible data hiding method,” J SystSoftw, 82(3), 2009, pp.411-421 6. Lu ZM, Pan JS, “VQ-based digital image watermarking method,” Electron Lett, 36(14),2000, pp.1201-1202

7. Tzu-Chuen, Chin-Chen Chang,Hsuan Huang, “High capacity reversible hiding scheme based on interpolation,difference expansion,and histogram shifting”. Multimedia Tools and Applications, Springer, 2014,72,pp.417-435

8. Zhao Z, Luo H, Lu ZM, Pan JS, “Reversible data hiding based on multilevel histogram modification and sequential recovery,” AEÜ,Int J Electron Commun, 65(10),2011,pp.814-826

9. Alattar AM, “Reversible watermark using the difference expansion of a generalized integer transform,” IEEE Transaction on Image Processing , vol. 13, no 8, 2004, pp.1147–1156

10. Liu YC, Wu HC, Yu SS, “Adaptive DE-based reversible steganographic technique using bilinear interpolation and simplified location map,” Multimedia Tools and Applications, Springer, 52(2–3),2011,pp.263–276

11. Ni Z, Shi YQ, Ansari N, Su W , “ Reversible data hiding”. IEEE Transaction on Circuit System and Video Technology,vol.16, no 3, 2006,pp.354–362

12. Hong W, Chen TS , “Reversible data embedding for high quality images using interpolation and reference pixel distribution mechanism,” Journal of Visual Communication and Image Representation ,vol. 22, no 2, 2011,pp.131–140

References

Related documents

Therefore, close collaboration across departments, as well as top management involvement with and support for the employer brand, has become a necessity (Minchington, 2015)

Economic evaluation of a behavioral intervention versus brief advice for substance use treatment in pregnant women results from a randomized controlled trial RESEARCH ARTICLE Open

The proposed system is developed an electronic student workbook with the help of suitable software application running in raspberry Pi & Wi-Fi adapter to provide

Table D.5: Factorial ANOVA (p < .05) for standard approach to drying, frame observation: effects of pressure, insulation, and pressure and insulation interaction, on water

Tranexamic acid for preventing postpartum hemorrhage after vaginal delivery: a multicenter randomized, double-blind, placebo- controlled trial J. BJOG: Inter J

REVIEW Open Access A brief review on molecular, genetic and imaging techniques for HCV fibrosis evaluation Waqar Ahmad, Bushra Ijaz, Sana Gull, Sultan Asad, Saba Khaliq, Shah

An increase in the preheating temperature and discharge frequency enhanced the production of hydrogen in the cracked products and more cracked hydrocarbons were produced, in