Professional Documents
Culture Documents
org
Published in IET Image Processing
Received on 18th August 2011
Revised on 24th September 2012
Accepted on 21st October 2012
doi: 10.1049/iet-ipr.2012.0232
ISSN 1751-9659
Histogram-bin-shifting-based reversible
watermarking for colour images
Ruchira Naskar, Rajat Subhra Chakraborty
Department of Computer Science and Engineering, Indian Institute of Technology Kharagpur, Kharagpur 721302, India
E-mail: ruchira@cse.iitkgp.ernet.in
Abstract: Histogram-bin-shifting has been previously shown to be an effective method of reversibly watermarking greyscale
images. For colour image reversible watermarking, histogram-bin-shifting technique can be extended trivially to RGB colour
space. However, direct application of histogram-bin-shifting to the RGB colour image components, results in relatively poor
performance of the watermarking algorithm. In order to improve the performance of the algorithm in terms of embedding
capacity and distortion whereas preserving the inherent computational simplicity of the histogram-bin-shifting technique, the
authors propose a technique of shifting frequency histogram bins of transformed colour components. In this study, the authors
consider the YCbCr colour-space. Experimental results on standard test images, prove that the proposed technique achieves
high embedding capacity with considerably low distortion.
Fig. 4 Histograms representing the frequency distributions of 512 × 512 Lena image prediction errors for
a R-component
b G-component
c B-component
d ⌊Y⌋-component
e ⌊Cb⌋-component
f ⌊Cr⌋-component
the ‘peak’, we add one, thus shifting them one bin to their back to the RGB colour space by transformation (2). Fig. 6
right. To all pixels with values equal to the ‘peak’, we add gives the final watermarked cover image.
next watermark symbol ‘0’ or ‘1’. The rest of the pixels are RGB
left unchanged. The modified integer parts are combined 1) Extraction algorithm: In the extraction algorithm, we
with the original fractional parts to obtain the watermarked again convert the watermarked cover image from RGB to
YCbCr components YCbCr colour space by transformation (1). Next we
decompose the YCbCr components into their integer and
fractional parts by (3) and (4), respectively. To extract the
Y = modified ⌊Y⌋ + Yf ; watermark symbols and retrieve the cover image losslessly,
we scan all the watermarked pixels sequentially for each
Cb = modified ⌊Cb⌋ + Cbf ; (5) component. For each components, whenever we encounter
Cr = modified ⌊Cr⌋ + Crf a pixel with value equal to ‘peak’ + 1, we extract watermark
symbol ‘1’; and whenever we encounter a pixel with value
Finally, the watermarked YCbCr components are converted equal to ‘peak’, we extract watermark symbol ‘0’. To
Table 1 Maximum embedding capacities achieved by frequency histogram-bin-shifting of colour image components
Colour space Parameters 512 × 512 test images
YCbCr (proposed) bits 21 515 52 935 66 807 22 704 43 578 76 268 30 385 32 580
bpp 0.0821 0.2019 0.2548 0.0866 0.1663 0.2909 0.1159 0.1243
RGB bits 9890 20 067 26 217 12 409 23 802 49 922 18 240 22 264
bpp 0.0377 0.0765 0.1000 0.0473 0.0908 0.1904 0.0696 0.0849
Table 2 Maximum embedding capacity achieved by prediction-error histogram modification applied to colour image components
Colour space Parameters 512 × 512 test images
YCbCr (proposed) bits 170 899 336 119 247 150 118 853 255 160 501 937 215 261 368 196
bpp 0.6519 1.2822 0.9428 0.4534 0.9734 1.9147 0.8212 1.4046
RGB bits 113 310 241 024 94 280 37 940 175 105 483 766 144 783 274 907
bpp 0.4322 0.9194 0.3596 0.1447 0.6680 1.8454 0.5523 1.0487
Fig. 10 Comparison results for maximum embedding capacities achieved by the proposed method and direct application of
histogram-bin-shifting to RGB colour space
Comparison results for
a Proposed frequency histogram modification of colour components
b Proposed prediction-error histogram modification of colour components
f Jellybeans
d Sailboat
h Pepper
e Splash
b Zelda
c Plane
a Lena
g Car
108
17519667, 2013, 2, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/iet-ipr.2012.0232, Wiley Online Library on [09/02/2024]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
109
& The Institution of Engineering and Technology 2013
www.ietdl.org
Fig. 12 Distortion characteristics of proposed prediction-error histogram modification of colour components for test images
h Pepper
e Splash
b Zelda
c Plane
a Lena
g Car
17519667, 2013, 2, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/iet-ipr.2012.0232, Wiley Online Library on [09/02/2024]. See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions) on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License
www.ietdl.org
We have compared the distortion against capacity 3 Alattar, A.M.: ‘Reversible watermark using the difference expansion of
characteristics of the proposed techniques with that obtained a generalized integer transform’, IEEE Trans. Image Process., 2004, 13,
(8), pp. 1147–1156
by applying histogram-bin-shifting, directly to the RGB 4 Alattar, A.M.: ‘Reversible watermark using difference expansion of
colour image components. The plots of Figs. 11 and 12 triplets’. Presented at the IEEE Conf. Image Processing, Barcelona,
prove that for both frequency histogram modification as Spain, 2003
well as prediction-error histogram modification techniques, 5 Ni, Z., Shi, Y.Q., Ansari, N., Su, W.: ‘Reversible data hiding’, IEEE
Trans. Circuits Syst. Video Technol., 2006, 16, (3), pp. 354–362
embedding an equal number of watermark bits into the 6 Ni, Z., Shi, Y.Q., Ansari, N., Wei, S.: ‘Reversible data hiding’. Proc. of
same cover image, produces comparatively much higher Int. Symp. on Circuits and Systems, May 2003, vol. 2, pp. II912–II915
PSNR (lower distortion) in case of YCbCr colour space 7 Vleeschouwer, C.D., Delaigle, J.E., Macq, B.: ‘Circular interpretation
than RGB colour space (used trivially for embedding). of bijective transformations in lossless watermarking for media asset
management’, IEEE Trans. Multimedia, 2003, 5, (1), pp. 97–105
8 Vleeschouwer, C.D., Delaigle, J.E., Macq, B.: ‘Circular interpretation of
histogram for reversible watermarking’. Proc. IEEE Fourth Workshop
6 Conclusion on Multimedia Signal Processing, France, October 2001, pp. 345–350
9 Tian, J.: ‘Reversible data embedding using a difference expansion’,
Histogram-bin-shifting-based reversible watermarking IEEE Trans. Circuits Syst. Video Technol., 2003, 13, (8), pp. 890–896
algorithms work on the principle of frequency histogram 10 Celik, M.U., Sharma, G., Tekalp, A.M., Saber, E.: ‘Lossless
generalized-LSB data embedding’, IEEE Trans. Image Process., 2005,
modification of different cover image components, such as 14, (2), pp. 253–266
pixel values, pixel prediction errors and so on. This 11 Yang, B., Schmucker, M., Funk, W., Busch, C., Sun, S.: ‘Integer
technique has been previously applied to greyscale images. DCT-based reversible Watermarking Technique for images using
In this work, we have extended it to colour images. companding technique’, Proc. SPIE, 2004, 5306, pp. 405–415
12 Kim, K.S., Lee, M.J., Lee, H.Y., Lee, H.K.: ‘Reversible data hiding
However, instead of trivial application of this technique to exploiting spatial correlation between sub-sampled images’, Pattern
the RGB colour plane, we have utilised the unique Recognit., 2009, 42, (11), pp. 3083–3096
histogram characteristics of the YCbCr colour plane. 13 Luo, L., Chen, Z., Chen, M., Zeng, X., Xiong, Z.: ‘Reversible image
Experimental results for a set of standard benchmark test watermarking using interpolation technique’, IEEE Trans. Inf.
images prove the superiority of the YCbCr colour Forensics Sec., 2010, 5, (1), pp. 187–193
14 Naskar, R., Chakraborty, R.S.: ‘Reversible image watermarking through
components-based method as compared to the RGB colour coordinate logic operation based prediction’. Proc. Seventh Int. Conf.
components. In future, reversible watermarking of the Information System Security (ICISS 11), December 2011, (LNCS,
YCbCr colour image components by other techniques 7093), pp. 190–203
would be investigated. 15 Fallahpour, M., Megias, D., Ghanbari, M.: ‘Reversible and
high-capacity data hiding in medical images’, IET Image Process.,
2011, 5, (2), pp. 190–197
16 Naskar, R., Chakraborty, R.S.: ‘Reversible watermarking utilising
7 References weighted median-based prediction’, IET Image Process., 2012, 6, (5),
pp. 507–520
1 Cox, I.J., Miller, M.L., Bloom, J.A., Fridrich, J., Kalker, T.: ‘Digital 17 Mukherjee, J., Mitra, S.K.: ‘Enhancement of color images by scaling the
watermarking and steganography’ (Morgan Kaufmann Publishers, DCT Coefficients’, IEEE Trans. Image Process., 2008, 17, (10),
2008) pp. 1783–1794
2 Feng, J.B., Lin, I.C., Tsai, C.S., Chu, Y.P.: ‘Reversible watermarking: 18 Ahirwal, B., Khadtare, M., Mehta, R.: ‘FPGA based system for color
current status and key issues’, Int. J. Netw. Secur., 2006, 2, (3), space transformation RGB to YIQ and YCbCr’, United States Patent
pp. 161–171 6,973,195, December 2005