Você está na página 1de 14

DIGITAL WATERMARKING TOOL

MAJOR PROJECT

SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR


THE AWARD OF THE DEGREE OF

B-Tech
(Computer Science)

SUBMITTED BYGAURAV KUMAR


August 2015

GGS College of Modern Technology,


Kharar
Table of Content
1

Contents

Page no

Introduction
Feasibility Study
Requirements
Design
Coding
Testing

3
4
5
6-9
10-13
14

DIGITAL WATERMARKING TOOL


INTRODUCTION
The so-called digital watermarking are also referred to as simply watermarking, a pattern of
bits inserted into a digital image, audio or video file that identifies the file's copyright
information (author, rights, etc.), it's digital watermark. The name comes from the faintly
visible digital watermarks imprinted on stationery that identify the manufacturer of the
stationery. The purpose of digital watermarking is to provide copyright protection for
intellectual property that's in digital format.
Digital watermarking is designed to add some digital information to the multimedia data,
such as images (digital watermarking images), voice and video signal (digital watermarking
video) and so on. It aims to distinguish the authority of documents, protect copyright
functions and some other functions. Digital image watermarking usually embeds visible or
invisible digital watermarking in the main document, without affecting the appearance and
integrity of original document.
Digital watermark can embed some information that can protect copyright or track infringing
behaviors in the protected digital data(such as images, video, audio, etc.) .The embedded
information can be the author's serial number, company logo, meaningful text and so on.
The project presented exists in a program, developed in Matlab, which provides the
possibility of inserting a watermark within an image.
Wikipedia gives the following definition of watermarking: "'inclusion of information within a
multimedia file, or other, that can then be detected or extracted"; basically it is a technique
used in various fields (the protection of content -digital signatures or trademarks of
Copyright- data encryption), used even by terrorism (stenographic watermarking).

Feasibility Study:1.
2.
3.
4.
5.

Watermarking of content has to be secure.


Use of key for inserting or extracting watermark.
We have to develop a tool that means a desktop application.
The whole process of watermarking has to be simple that the user can understand easily.
Watermarking can be done on any type of file but here we only insert text as a watermark

in an image.
6. The type of extension of source image can be any type.
7. The user can input the name of the output file and also its extension.

Requirements:Hardware requirements:

Processor
Hard disk
Ram
Cache memory
Monitor
Keyboard
Mouse

: Intel Pentium 1.60ghz


: 40 GB
: 1 GB
: 3 MB
: 15 color monitor

Software requirements: Operating System


Software
Language

:
:
:

Windows 7
MATLAB editor
MATLAB

Design:DFD Diagrams:Output
Input Image
image
(Encrypted)

Output
Input Image
image
(encrypted)
(original)

Watermarking
Encryption 0

Watermarking
Decryption 1

Level 1
Input Image
0.1

Enter Key
0.2

Encryption

Output
Image
(Encrypted)

Input Image
1.1
Decryption

Provide Key
1.2
Output
Image
(Original)
6

Enter Text
0.3

Data Dictionary:Input Image: {Any Extension}


Enter Key: Integer
Enter Text: String
Output Image :{bmp,tiff,png}
Provide Key: Integer

UML Diagrams:-

Use case diagram:-

Import an image

Using key
Insert text

User

Watermarking /Dewatermarking

Class diagram:Watermarking
-Source Image
-Extension
-Output Image
-Watermarking()
De-watermarking
-Output image
-Watermarked text
-De-watermarking
Enter key
-Key :Integer
-Enter Key()

Sequence Diagram:User

Tool

Select image

Watermarking on image

Key for security


Successfully generated
Select image

Enter key
Remove watermark

Original image

Activity Diagram:-

Insert image

Insert Key

Watermarkin
g
Enter key for
dewatermarkin

Removing
watermark

CODING
Methodology:
Waterfall - Software Development Model
Software products are oriented towards customers like any other engineering products. It is
either driver by market or it drives the market. Customer Satisfaction was the main aim in the
1980's. Customer Delight is today's logo and Customer Ecstasy is the new buzzword of the
new millennium. A market study is necessary to identify a potential customers need. This
process is also called as market research. The already existing need and the possible future
needs that are combined together for study. A lot of assumptions are made during market
study. Assumptions are the very important factors in the development or start of a product's
development. The assumptions which are not realistic can cause a nosedive in the entire
venture. Although assumptions are conceptual, there should be a move to develop tangible
assumptions to move towards a successful product. Once the Market study is done, the
customer's need is given to the Research and Development Department to develop a costeffective system that could potentially solve customer's needs better than the competitors.
Once the system is developed and tested in a hypothetical environment, the development
team takes control of it. The development team adopts one of the software development
models to develop the proposed system and gives it to the customers.
This model has the following activities.
1. Software Requirements Analysis
2. Systems Analysis and Design
3. Code Generation
4. Testing
5. Maintenance

10

Technologies Used:
MATLAB:

MATLAB is a high-performance language for technical computing. It integrates


computation, visualization, and programming in an easy-to-use environment where
problems and solutions are expressed in familiar mathematical notation.

Typical uses include Math and computation Algorithm development Data acquisition
Modeling, simulation, and prototyping Data analysis, exploration, and visualization
Scientific and engineering graphics Application development, including graphical user
interface building MATLAB is an interactive system whose basic data element is an array
that does not require dimensioning.

This allows you to solve many technical computing problems, especially those with
matrix and vector formulations, in a fraction of the time it would take to write a program
in a scalar non interactive language such as C or FORTRAN.

The name MATLAB stands for matrix laboratory. MATLAB was originally written to
provide easy access to matrix software developed by the LINPACK and EISPACK
projects.

Today, MATLAB engines incorporate the LAPACK and BLAS libraries, embedding the
state of the art in software for matrix computation. MATLAB has evolved over a period
of years with input from many users.

In university environments, it is the standard instructional tool for introductory and


advanced courses in mathematics, engineering, and science. In industry, MATLAB is the
tool of choice for high-productivity research, development, and analysis.

MATLAB features a family of add-on application-specific solutions called toolboxes.


Very important to most users of MATLAB, toolboxes allow you to learn and apply
specialized technology.

Toolboxes are comprehensive collections of MATLAB functions (M-files) that extend the
MATLAB environment to solve particular classes of problems. Areas in which toolboxes
are available include signal processing, control systems, neural networks, fuzzy logic,
wavelets, simulation, and many others.

11

The MATLAB System:


The MATLAB system consists of five main parts:
Development Environment:
This is the set of tools and facilities that help you use MATLAB functions and files. Many of
these tools are graphical user interfaces. It includes the MATLAB desktop and Command
Window, a command history, an editor and debugger, and browsers for viewing help, the
workspace, files, and the search path.
The MATLAB Mathematical Function Library:
This is a vast collection of computational algorithms ranging from elementary functions, like
sum, sine, cosine, and complex arithmetic, to more sophisticated functions like matrix
inverse, matrix Eigen values, Bessel functions, and fast Fourier transforms.
The MATLAB Language:
This is a high-level matrix/array language with control flow statements, functions, data
structures, input/output, and object-oriented programming features. It allows both
programming in the small" to rapidly create quick and dirty throw-away programs, and
"programming in the large" to create large and complex application programs. MATLAB
quits that, for example, executes functions to save the workspace, or displays a quit
confirmation dialog box.
Graphics:
MATLAB has extensive facilities for displaying vectors and matrices as graphs, as well as
annotating and printing these graphs. It includes high-level functions for two-dimensional and
three-dimensional data visualization, image processing, animation, and presentation graphics.
It also includes low-level functions that allow you to fully customize the appearance of
graphics as well as to build complete graphical user interfaces on your MATLAB
applications.

12

The MATLAB Application Program Interface (API):


This is a library that allows you to write C and FORTRAN programs that interact with
MATLAB. It includes facilities for calling routines from MATLAB (dynamic linking), calling
MATLAB as a computational engine, and for reading and writing MAT-files.
Starting and Quitting MATLAB
Starting MATLAB on Windows platforms
Start MATLAB by double-clicking the MATLAB shortcut icon on your Windows desktop.
On UNIX platforms, start MATLAB by typing matlab at the operating system prompt.
You can customize MATLAB startup. For example, you can change the directory in which
MATLAB starts or automatically execute MATLAB statements in a script file named
startup.m.
For More Information See Starting MATLAB in the Desktop Tools and Development
Environment documentation.
Quitting MATLAB to end your MATLAB session, select File -> Exit MATLAB in the
desktop, or type quit in the Command Window. You can run a script file named finish.m each
time MATLAB quits that, for example, executes functions to save the workspace, or displays
a quit confirmation dialog box.
For More Information See Quitting MATLAB in the Desktop Tools and Development
Environment documentation.
MATLAB Desktop when you start MATLAB, the MATLAB desktop appears, containing
tools (graphical user interfaces) for managing files, variables, and applications associated
with MATLAB. The following illustration shows the default desktop.

13

TESTING
Software testing is a critical element of software quality assurance and represents the ultimate
reviews of specification, design and coding. Testing represents an interesting anomaly for the
software. During earlier definition and development phases, it was attempted to build
software from an abstract concept to a tangible implementation. No system is error free
because it is so till the next error drops up during any phase of the development or usage of
the product. A sincere effort however needs to be put to bring out a product that is
satisfactory.
The testing phase involves the testing of development system using various data. Preparation
of the test data plays a vital role in system testing. After preparing the test data, the system
under study was tested using those data. While testing the system, by using the test data,
errors were found and corrected by using the following testing steps and corrections were
also noted for future use. Thus, a series of testing is performed on the proposed system before
the system is ready for implementation.
Test Cases
Name of the Test
Case:
Image Test
Selection Form Test Description
Case #

Case Expected
Results

Pass / Fail

Actual Results

01

Run the encryption It should encrypt


algorithm
the given image. Pass

It has encrypted the


given image.

02

Run the decryption It should decrypt


algorithm
the given image. Pass

It has decrypted the


image.

14

Você também pode gostar