Showing posts with label Digital Watermarking. Show all posts
Showing posts with label Digital Watermarking. Show all posts

Monday, 28 January 2013

Lena.jpg - The Interesting Story of the Image

The Interesting Story of Lena.jpg


The image above is one that has been widely used in the image compression studies, even today. This actual photo is dated back to November 1972, and was actually a Playboy magazine centrefold. The same image is also commonly used as a cover/host image in the multimedia (image) security researches; ie. steganography and digital watermarking.

The interesting story of this image was published in the May 2001 article in the Newsletter of the IEEE Professional Communication Society by Jamie Hutchinson. An excerpt from the article as follows: 

    Alexander Sawchuk estimates that it was in June or July of 1973 when he, then an assistant professor of electrical engineering at the USC Signal and Image Processing Institute (SIPI), along with a graduate student and the SIPI lab manager, was hurriedly searching the lab for a good image to scan for a colleague's conference paper. They had tired of their stock of usual test images, dull stuff dating back to television standards work in the early 1960s. They wanted something glossy to ensure good output dynamic range, and they wanted a human face. Just then, somebody happened to walk in with a recent issue of Playboy.
For the complete article, please click here.



Lena.jpg that is used in the researches comes with the size of 512x512 pixels (as in the grayscale image above). 

To view the full digitized original image, click here. (Warning: The image contains nudity)

Sunday, 17 June 2012

Embedding a watermark image into a cover image using Matlab program

Find below the Matlab codes to embed a watermark image into a cover(host) image:

clear all; close all; clc;

[filename1,pathname]=uigetfile('*.*','Select the host image'); 
image1=imread(num2str(filename1));
imshow(image1); title('Original image');% orginal image for watermarking

[ori_row,ori_col]=size(image1)
host_length=ori_row*ori_col;

i=1;
j=1;
k=1;

[filename2,pathname]=uigetfile('*.*','Select the watermark image'); 

wmimage=imread(num2str(filename2));
[wm_row,wm_col] = size(wmimage);
imshow(wmimage); title('Watermark image');

wm=dec2bin(wmimage);
wm_length=wm_row*wm_col*8;

host=dec2bin(image1);

counter=0; 

while i < host_length
        
        counter=counter+1;
        
        if counter > wm_length
            break;
        end
        
        host(i,8)=wm(j,k);
        k=k+1;
        
        if k>8
            k=1;
            j=j+1;
        end
        
        i=i+1;
end

    key1=wm_row
    key2=wm_col
   
im1=bin2dec(host);
im1=reshape(im1,ori_row,ori_col);
image1(1:ori_row,1:ori_col)=im1(1:ori_row,1:ori_col);

display 'After embed';

imwrite(image1,'wmarked.bmp'); % saves the watermarked image as a bmp file
imshow(image1);title('Watermarked image');

Wednesday, 6 June 2012

Some Applications of Information Hiding

Some Applications of Information Hiding


Data hiding
-To provide private secret messages

Copyright protection
-To prove ownership

Copy control (fingerprinting)
-To trace illegal copies of data, image, etc.
-To include licence agreement

Data authentication
-To disallow the viewing/editing of data if the digital content is modified

Broadcast monitoring
-To use for commercial advertisement

Copy protection
-To control copying through device or other integrity checks

Monday, 4 June 2012

What are Blind, Semi-blind and Non-blind Watermarking Systems?

What are Blind, Semi-blind and Non-blind Watermarking Systems?


Digital watermarking systems can be grouped in three schemes - they are Blind, Semi-blind and Non-blind.


Blind watermarking scheme is also known as public watermarking scheme. This is the most challenging type of watermarking system as it requires neither the cover (original data), I nor the embedded watermark, W. These systems extract n bits of the watermark data from the watermarked data (i.e the watermarked image).


I' x K -> W


Note: I' is the watermarked data, K is the key


Semi-blind watermarking scheme is also known as semi-private watermarking scheme. This system does not require the cover (original data) for detection. The purpose of this system to find whether that the watermark can be detected.


I' x K x W -> {0,1} 


Some applications of systems under this scheme are for copyright protection (ownership), copy control (i.e as in DVD where copying is not allowed) and fingerprinting where the goal is to identify the original recipient of the pirated copies. 


Non-blind watermarking scheme is also known as private watermarking scheme. This system requires at least the cover (original data) for detection. Type I systems extract the watermark W from the possibly distorted data I' and use the original data as a hint to find where the watermark could be in I'.


Type II systems also require a copy of the embedded watermark for extraction and yield "yes" or "no" answer to the question whether the watermark data exists.


I x I' x K x W -> {0,1} 


This scheme is to be believed as the most robust than the other schemes as it exchanges very little information and requires access to secret material.

Sunday, 20 May 2012

Differences between Cryptography, Steganography and Digital Watermarking


Cryptography is defined as the art and science of secret writing. The word itself comes from Greek where the words kruptos (κρυπτοσ) and graphen (ϒραφην) mean secret and writing, respectively. The focus in cryptography is to protect the content of the message and to keep it secure from unintended audiences.

The purpose of cryptography is to create schemes or protocols which can still complete the intended tasks even in the presence of an adversary. Cryptography’s main task is to ensure users able to communicate securely over an insecure channel. This communication however must ensure the transmission’s privacy and authenticity. [1]

Steganography is the art and science of hiding information in ways that prevent the detection of hidden messages. Steganography literally means “covered writing” and is usually interpreted to mean hiding information in other information. Comparing it to cryptography, steganography has its advantage because the message itself will not attract the audiences, as the very nature of a steganography system is to hide the message in an imperceptible manner.

Another definition given for steganography is “hiding in plain sight”. The message is still in the open, but it goes undetected because the existence of the message itself is a secret. It is explained as a communication that takes place in open, but unless they are in the know (the sender or recipient), the message goes unnoticed. [2]

Watermarking is the process of embedding a message on a host signal.  Watermarking, as opposed to steganography, has the additional requirement of robustness against possible attacks. A watermark can be either visible or invisible.


Using digital watermarking, copyright information can be embedded into the multimedia data. This is done by using some algorithms. Information such the serial number, images or text with special significance can be embedded. The function of this information can be for copyright protection, secret communication, authenticity distinguish of data file, etc. [3]

In cryptography, the message is usually scrambled and unreadable. However, when the communication happens, it is known or noticed. Although the information is hidden in the cipher, an interception of the message can be damaging, as it still shows that there is communication between the sender and receiver. In contrast, steganography takes a different approach in hiding the evidence that even a communication is taking place.[2]

Some of the differences between steganography and watermarking are [4]:

  • the information hidden by a watermarking system is always associated to the digital object to be protected or to its owner while steganographic systems just hide any information
  • “robustness” criteria are also different, since steganography is mainly concerned with detection of the hidden message while watermarking concerns potential removal by a pirate
  • steganographic communications are usually point-to-point (between sender and receiver) while watermarking techniques are usually one-to-many


References:
  1. Coron, J.-S., What is cryptography? IEEE Security and Privacy, 2006. 4(1): p. 70-73.
  2. Wiles, J. and R. Rogers, Techno Security's Guide to Managing Risks for IT Managers, Auditors, and Investigators. Security & Networking. 2007: Syngress. 1.
  3. Jiang, X. Digital watermarking and its application in image copyright protection. in 2010 International Conference on Intelligent Computation Technology and Automation, ICICTA 2010, May 11, 2010 - May 12, 2010. 2010. Changsha, China: IEEE Computer Society.
  4. Stefan Katzenbeisser, Fabien A. P. Petitcolas, “Information Hiding Techniques for Steganography and Digital Watermarking”, 2000, pp. 2.

Popular Posts