• No results found

Image Watermarking Analysis: Using Discrete Cosine Transform and LSB Substitution

N/A
N/A
Protected

Academic year: 2020

Share "Image Watermarking Analysis: Using Discrete Cosine Transform and LSB Substitution"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

Volume 1, Issue 5, July 2012

76

All Rights Reserved © 2012 IJARCSEE

Image Watermarking Analysis: Using

Discrete Cosine Transform and LSB

Substitution

Ruby Shukla, Manish, Prof. A.K. Arora (ABES Engineering College, Ghaziabad)

EC Department, Mahamaya Technical University Noida, U.P

[email protected] [email protected]

[email protected]

Abstract- In this paper, we describe a new very accurate and

reliable method that can detect watermarked image by LSB embedding in randomly scattered pixels in both 24-bit color images and 8-24-bit grayscale or color images, the LSB Modification and DCT are two techniques are analyzed by using various distortion metrics the methods for their robustness.

Keywords

Image watermarking, Discrete Cosine Transform,

Least Significant Bit technique, Robustness

I. INTRODUCTION

Watermark is a “secret message” that is embedded into a “cover (original or host) message”. Only the knowledge of a secret key allows us to extract the watermark from the cover message. Effectiveness of a watermarking algorithm is a function of it‟s:

1. Resilience to attacks 2. Capacity

3. Stealth

Watermarking is very similar to steganography in a number of aspects. Both seem to embed information inside a cover message with little or no degradation of the cover media. Watermarking however adds the additional requirement of robustness. An ideal steganographic system would securely add large amount of information to the cover media without causing any visual degradation. Whereas an ideal watermarking system would embed an amount of information that could not be removed or altered without making the cover object entirely unusable. A watermarking system would thus trade capacity and even security for additional robustness.

F i g u r e 1 . B a s i c Watermarking

Watermarking is basically the process of passing information, called a watermark, in a manner that the very existence of the message is unknown. The aim of watermarking is to avoid drawing suspicion to the transmission of the watermark, while providing some added value to the covering media. The process of watermarking

involves intentionally modifying the cover media to embed a watermark and a secret key to form a composite

watermarked signal. Hiding information, where electronic media are used as such carriers, requires alterations of the media properties may introduce some form of degradation. If applied to images that degradation, at times, may be visible to the human eye and point to signatures of the watermarking methods and tools used. These signatures may actually broadcast the existence of the embedded message purpose of watermarking, which is hiding the existence of a message.

II. TYPESOFWATERMARKING 1. Visible watermarking

2. Invisible watermarking

A Visible watermark is a visible translucent image which is overlaid on the primary image. Perhaps consisting of the logo or seal of the organization which holds the rights to the primary image, it allows the primary image to be viewed, but still marks it clearly as the property of the owning organization. It is important to overlay the watermark in a way which makes it difficult to remove, if the goal of indicating property rights is to be achieved. An example shows both a watermark and an image with the watermark overlaid.

A Visible watermark

An invisible watermark is an overlaid image which cannot be seen, but which can be detected algorithmically. The invisibility is assured by inserting them as visually redundant information (something that human visual system does not perceive): watermarked image after high quality JPEG compression and the extracted watermark.

Cover Medium

∑ Final

watermarked Medium

(2)

77

All Rights Reserved © 2012 IJARCSEE

An Invisible watermark

The upper pattern is the watermark detection from the upper right image; the lower pattern is the watermark detected from the lower left unwatermarked image.

III.PROBLEMSPECIFICATION

There are numerous watermarking methods till date, which can be classified, as described earlier, according to the method of embedding of data inside the medium. All these methods vary mostly in the prospect of providing robustness against attacks, both intentional and unintentional. Here we present two of the most prevalent approaches, and their detailed analysis with the various benchmarks specified. The two methods are:

1. LSB Modification: The most widely used technique to

hide data is the usage of the LSB. Although there are several disadvantages to this approach, the relative easiness to implement it, makes it a popular method. To hide a secret message inside a image, a proper cover image is needed. Because this method uses bits of each pixel in the image, it is necessary to use a lossless compression format, otherwise the hidden information will get lost in the transformations of a lossy compression algorithm.

2. Spread spectrum Technique: Spread-spectrum telecommunications is a signal structuring technique that employs direct sequence, frequency hopping, or a hybrid of these, which can be used for multiple access and/or multiple functions. This technique decreases the potential interference to other receivers while achieving privacy. Spread spectrum generally makes use of a sequential noise-like signal structure to spread the normally narrowband information signal over a relatively wideband band of frequencies.

The above two techniques are analysed by using various distortion metrics to verify the methods for their robustness. Standard test images like Lenna etc. have been used and the analysis results have been limited to images of Human Faces (or similar type), and the final observations tabulated and a conclusion made.

IV.LSBMODIFICATIONTECHNIQUE

The most widely used technique to hide data, is the usage of the LSB. Although there are several disadvantages to this

approach, the relative easiness to implement it, makes it a popular method. To hide a secret message inside a image, a proper cover image is needed. Because this method uses bits of each pixel in the image, it is necessary to use a lossless compression format, otherwise the hidden information will get lost in the transformations of a lossy compression algorithm. When using a 24 bit color image, a bit of each of the red green and blue color components can be used, so a total of 3 bits can be stored in each pixel. Thus, a 800 × 600 pixel image can contain a total amount of 1.440.000 bits (180.000 bytes) of secret data

Initial image Watermarked image

Figure2. LSBModification Watermarking

V. SPREADSPECTRUMTECHNIQUE

The definition of spread spectrum may be stated in two parts: 1. The spectrum spreading is accomplished before

transmission through the use of a code that is independent of the data sequence. The same code is used in the receiver (operating in synchronism with the transmitter) to de-spread the received signal so that the original data sequence may be recovered.

2. It is a means of transmission in which the data sequence occupies a bandwidth in excess of the minimum bandwidth necessary to send it.

The spread spectrum technique thus delivers the system the ability to reject interference, be it intentional or unintentional. Two main techniques used for spread-spectrum modulation are:

Frequency-hop technique: Is a method of transmitting signals by rapidly switching a carrier among many frequency channels, using a pseudorandom sequence known to both transmitter and receiver.

Direct-sequence technique: The transmitted signal takes up more bandwidth than the information signal that is being modulated. The name 'spread spectrum' comes from the fact that the carrier signals occur over the full bandwidth (spectrum) of a device's transmitting frequency.

V. DISCRETECOSINETRANSFORM

It is a technique for expressing a waveform as a weighted sum of cosines. Given data A(i), where i is an integer in the range 0 to N-1, the forward DCT (which would be used e.g. by an encoder) is:

N=1

B(k) = ∑ A(i)cos((pi k/N)(2i+1)/2) i=0

B(k) is defined for all values of the frequency-space Set LSB

zero

(3)

Volume 1, Issue 5, July 2012

78

All Rights Reserved © 2012 IJARCSEE

variable k, but we only care about integer k in the range 0 to N-1. The inverse DCT (which would be used e.g. by a decoder) is

:

N=1

AA(i)= ∑ B(k)(2-delta(k-0))cos((pi k/N)(2i+1)/2) i=0

Where delta(k) is the Kronecker delta

The Discrete Fourier Transform (DFT) and Discrete Cosine Transform (DCT) perform similar functions: they both decompose a finite-length discrete-time vector into a sum of scaled-and-shifted basis functions. The difference between the two is the type of basis function used by each transform; the DFT uses a set of harmonically-related complex exponential functions, while the DCT uses only (real-valued) cosine functions.

VII.DISTORTIONMETRICES

The watermark robustness dependents directly on the embedding strength, which in turn influences the visual degradation of the image. For fair benchmarking and performance evaluation, the visual degradation due to the embedding is an important and unfortunately often neglected issue. Since there is no universal metric, we review in this section the most popular pixel based distortion criteria and introduce one metric, which makes use of the effect in the human visual system (HVS).

VIII.DIFFERENTTYPESOFNOISE 1. Gaussian

2. Localvar 3. Poisson 4. Salt & pepper 5. Speckle

Gaussian noise is a statistical noise that has its probability density function equal to that of the normal distribution , which is also known as Gaussian distribution. It having constant mean and variance. Gaussian noise is most commonly used to yield additive white Gaussian noise. Localvar noise having Zero-mean Gaussian white noise with an intensity-dependent variance.

Poisson noise arises from Poisson processes. It applies to various phenomena of discrete properties whenever the probability of phenomena happening it constant in time or space.

Salt & pepper noise is a form of noise typically seen on images. It represents itself as randomly occurring white and black pixels,

Speckle noise is a granular noise that inherently exists in and degrades the quality of the active radar and synthetic aperture radar (SAR) images.

Speckle noise in conventional radar results from random fluctuation in the return signal from an object that is no bigger than a single image processing element. It increases the mean grey level of a local area.

IX. APPLICATION AREAS

There are many applications for digital watermarking of images, including copyright protection, feature tagging, and secret communication:

1. Fingerprinting: An owner can embed a watermark into his content that identifies the buyer of the copy (c.f. serial number). If unauthorized copies are found later, the owner can trace the origin of the illegal copies.

2. Authentication: The creator of content can embed a

fragile watermark into the content to provide a proof of authenticity and integrity. Any tampering of the original content destroys the fragile watermark and thus can be detected..

3. Feature Tagging: Captions, annotations, time stamps and other descriptive elements can be embedded inside an image, such as the names of individuals in a photo or locations in a map. Copying the stego-image also copies all of the embedded features and only parties who possess the decoding stego-key will be able to extract and view the features. In an image database, keywords can be embedded to facilitate search engines. If the image is a frame of a video sequence, timing markers can be embedded in the image for synchronization with audio. The number of times an image has been viewed can be embedded for “pay-preview” application.

4. Copyright Protection: When an image is sold or distributed an identification of the recipient and time stamp can be embedded to identify potential pirates. A watermark can also serve to detect whether the image has been subsequently modified. Detection of an embedded watermark is performed by a statistical, correlation, or similarity test, or by measuring other quantity characteristic to the watermark in a stego-image. The insertion and analysis of watermarks to protect copyrighted material is responsible for the recent surge of interest in digital watermarking and data embedding

5. Secret Communications: In many situations, transmitting a cryptographic message draws unwanted attention. The use of cryptographic technology may be restricted or forbidden b y l a w . However, the use steganography does not advertise covert communication and therefore avoids scrutiny of the sender, message, and recipient. A trade secret, blueprint, or other sensitive information can be transmitted without alerting potential attackers or eavesdroppers.

6. Ownership assertion: A rightful owner can retrieve the watermark from his content to prove his

(4)

79

All Rights Reserved © 2012 IJARCSEE

X.RESULT Watermarked image

Watermarked and noised image

Recovered watermark

Recovered watermark and noise

Histogram of image before watermarking and after watermarking

XI.CONCLUSION

In this paper, an analysis for image watermarking has been presented. We recover watermarked image with noise and without noise by the use of LSB modification and DCT. The analysis embeds the watermark code by LSB modification and DCT of the image, and exploits a model derived from image compression techniques for adapting the watermark strength to the characteristics of the HVS. The performances of the novel algorithm are very good, experimental results, in fact, supported the suitability of DCT watermarking schemes for robustly hiding watermarks into images. In particular, the behavior of the watermark detector with respect to image cropping was surprisingly good. As a matter of fact, DCT schemes do not spread the watermark all over the image, but, the watermarking energy can be kept so high that even a small portion of the image is sufficient to

Recovered Watermark

Recovered Watermark

0 100 200

0 2000

original Image

0 100 200

0 2000

Watermarked Image

0 100 200

0 2000 4000

(5)

Volume 1, Issue 5, July 2012

80

All Rights Reserved © 2012 IJARCSEE

correctly guess the embedded code. As Watermarking becomes more widely used in computing there are issues that need to be resolved. There are a wide variety of different techniques with their own advantages and disadvantages.

REFERENCES

[1] Special Issue on Copyright and Privacy Protection, IEEE J. Select. Areas

Commun., vol. 16, May 1998.

[2] Special Issue on Identification and Protection of Multimedia Information,

Proc. IEEE, vol. 87, no. 7, July 1999.

[3] “IS&T and SPIE electronic imaging,” presented at the Conference on Security

and Watermarking of Multimedia Contents, San Jose, CA, 1999, 2000. [4] Erlangen Watermarking Workshop, Erlangen, Germany, 5-6 Oct. 1999. [5] International Workshop on Information Hiding, 1996.

[6] http://www.digimarc.com.

[7] C. Podilchuk and W. Zeng, “Image-adaptive watermarking using visual models,” IEEE J. Select. Areas Commun., vol. 16, pp. 525-539, May 1998. [8] R.B. Wolfgang, C.I. Podilchuk, and E.J. Delp, “Perceptual watermarks for digital images,” Proc. IEEE, no. 7, pp. 1108-1126, July 1999.

[9] R. Wolfgang and E. Delp, “Overview of image security techniques with applications

in multimedia systems,” in Proc. SPIE Int. Conf. on Multimedia

Networks: Security, Displays, Terminals and Gateways, Nov. 1997, vol. 3228,

pp. 297-308.

[10] M. Swanson, M. Kobayashi, and A. Tewfik, “Multimedia data-embedding

and watermarking strategies,” Proc. IEEE, vol. 86, pp. 1064-1087, June 1998.

[11] F. Hartung and M. Kutter, “Multimedia watermarking techniques,” Proc. IEEE, vol. 87, pp.1-79-1107, July 1999.

[12] J. Su, F. Hartung, and B. Girod, “Digital watermarking of text, image, and video documents,” Comput. Graph., vol. 22, no. 6, pp. 687-695, Feb. 1999.

[13] F. Petitcolas, R. Anderson, and M. Kuhn, “Information hiding—A survey,”

Proc. IEEE, vol. 87, pp. 1062-1078, July 1999.

[14] G. Braudway, K. Magerlein, and F. Mintzer, “Protecting publicly available

images with a visible watermark,” in Proc. SPiE Conf. Optical Security and

Counterfeit Deterrence Techniques, vol. 2659, Feb. 1996, pp. 126-132

[15] I.J. Cox, J. Kilian, T. Leighton, and T. Shamoon, “Secure spread spectrum

watermarking for multimedia,” NEC Research Institute, Princeton, NJ, Technical Report 95-10, 1995.

[16] I. Cox, J. Kilian, T. Leighton, and T. Shamoon, “Secure spread spectrum watermarking for multimedia,” IEEE Trans. Image Processing, vol. 6, pp. 1673-1687, Dec. 1997.

[17] M.D. Swanson, B. Zhu, and A.H. Tewfik, “Transparent robust image watermarking,” in IEEE Proc. Int. Conf. Image Processing, Lausanne, Switzerland,

1996, pp. 211-214.

[18] M. Swanson, B. Zhu, and A. Tewfik, “Multiresolution scene-based video watermarking using perceptual models,” IEEE J. Select. Areas Commun., vol. 16, pp. 525-539, May 1998.

[19] C.I. Podilchuk and W. Zeng, “Digital image watermarking using visual models,” IS&T, SPIE Human Vision and Electronic Imaging II, pp. 100-111, Feb. 1997.

[20] C. Podilchuk and W. Zeng, “Perceptual watermarking of still images,” in

Proc. IEEE Workshop Multimedia Signal Processing, pp. 363-368, June

1997.

[21] M. Swanson, B. Zhu, A. Tewfik, and L. Boney, “Robust audio watermarking using perceptual masking,” Signal Process., Special Issue on

Watermarking, 1997, pp. 337-355.

[22] J.F. Delaigle, C.D. Vleeschouwer, and B. Macq, “A psychovisual approach

for digital picture watermarking,” J. Electron. Imaging, vol. 7, no. 3, pp. 628-640, July 1998.

[23] R.G. Schyndel, A. Tirkel, and C. Osborne, “A digital watermark,” in

Proc.

IEEE Int. Conf. Image Processing (ICIP), 1994, pp. 86-90.

[24] G. Caronni, “Assuring ownership rights for digital images,” in Proc. Reliable

IT Systems, VIS „95,1995, pp. 251-263.

[25] W. Bender, D. Gruhl, and N. Morimoto, “Techniques for data hiding,”

IBM Syst. J., vol. 35, nos. 3-4, pp. 313-336, 1996.

[26] K. Tanaka, Y. Nakamura, and K. Matsui, “Embedding secret information into a dithered muti-level image,” in IEEE Proc. Military Communications

Conf.’90, 1990, pp. 216-220.

[27] I. Pitas, “A method for signature casting on digital images,” in IEEE Proc.

Int. Conf. Image Processing, Lausanne, Switzerland, Sept. 1996, vol. 3, pp.

215-218.

[28] R.B. Wolfgang and E.J. Delp, “A watermark for digital images,” in IEEE

Proc. Int. Conf. Image Processing, Lausanne, Switzerland, Sept. 1996, vol. 3,

pp. 219-222.

[29] R.G. van Schyndel and C. Osborne, “A two-dimensional watermark,” in

Proc. DICTA, 1993, pp. 378-383.

[30] R. Wolfgang and E. Delp, “Fragile watermarking using the vw2d watermark,”

in Proc. SPIE, Security and Watermarking of Multimedia Contents,

San Jose, CA, Jan. 1999, vol. 3657, pp. 204-213.

[31] S. Walton, “Information authentication for a slippery new age,” Dr. Dobbs

J., vol. 20, no. 4, pp. 18-26, Apr. 1995.

[32] M. Kutter, F. Jordan, and F. Bossen, “Digital watermarking of color images

using amplitude modulation,” J. Electron. Imaging, vol. 7, no. 2, pp. 326-332, Apr. 1998.

[33] B.G. Haskell, A. Puri, and A.N. Netravali, Digital Video: An Introduction

to MPEG-2. New York: Chapman & Hall, 1997.

[34] E. Koch and J. Zhao, “Towards robust and hidden image copyright labeling,”

presented at Nonlinear Signal Processing Workshop, Thessaloniki, Greece, 1995.

[35] F.M. Boland, J.J.K. O‟Ruanaidh, and C. Dautzenberg, “Watermarking digital images for copyright protection,” in IEEE Int. Conf. Image Proc. and

its Applications, 1995, pp. 321-326.

[36] A.B. Watson, “DCT quantization matricies visually optimized for individual

images,” in Proc. SPIE, Conf. on Human Vision, Visual Processing and

Digital Display IV, 1992, pp. 202-216.

References

Related documents

(1) Fully-trusted third party (TTP).The most in style privacy-preserving techniques need a TTP to be placed between the user and therefore the service supplier to hide the

Tumor cell lysate-pulsed human dendritic cells induce a T-cell response against pancreatic carcinoma cells: an in vitro model for the assessment of tumor

The results of the proposed PIH-IQA method in this paper are compared with other more used image quality assessment methods.. The compare is fin- ished by calculating the three

After the first 12 h according to randomization, the anticoagulation management was modified according to the assigned study group: In the TEG group (interven- tion group),

We introduce and axiomatize dynamic variational preferences, the dynamic version of the varia- tional preferences we axiomatized in [21], which generalize the multiple

Hejun and Yunping [22] examined income-related inequality in rural China using data from the 2004 and 2006 China Nutrition and Health Survey (CHNS) and found children of

symptoms; Bauminger & Kasari, 2000; DeLay et al., 2012; Humphrey & Symes, 2010), it was hypothesized that the relationship between the child’s and parent’s report of