Docsity

Watermarking-Implementation and Application in Computer Sciences-Project Report, Study Guides, Projects, Research of Applications of Computer Sciences

Toggle sidebar
bg1
III
Preface
The Project Proposal is one of the critical documents since it identifies the aims and g
oals
of any research project. This is important to the success of the project since it clearly
outlines what the
research
team will try to achieve. This proposal gives an overview of
GA based audio watermarking and basic idea behind this research. Audio wa
termarking
has been successfully implemented with different techniques for audio copyrights and
similar applications. But audio watermarking using GA is a new technique.
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16

Partial preview of the text

Download Watermarking-Implementation and Application in Computer Sciences-Project Report and more Study Guides, Projects, Research Applications of Computer Sciences in PDF only on Docsity!

III

Preface

The Project Proposal is one of the critical documents since it identifies the aims and g oals of any research project. This is important to the success of the project since it clearly outlines what the research team will try to achieve. This proposal gives an overview of GA based audio watermarking and basic idea behind this research. Audio wa termarking has been successfully implemented with different techniques for audio copyrights and similar applications. But audio watermarking using GA is a new technique.

IV

  • Section Table of Contents
  • 1 Introduction
    • 1.1 Purpose
    • 1.2 Definitions, Acronyms and Abbreviations..........................................................
    • 1.3 References
    • 1.4 Overview
    • 1.5 Project Team
  • Section
  • 2 Watermarking
    • 2.1 Digital Watermarking..........................................................................................
      • 2.1.1 Audio Watermarking...................................................................................
  • Section
  • 3 MPEG/Audio Compression and Human Psychoacoustic Model........................
    • 3.1 MPEG/Audio Compression
    • 3.2 The Polyphase Filter Bank
    • 3.3 The Psychoacoustic Model..................................................................................
    • 3.4 Bit Allocation
  • Section
  • using GA........................................................................................................................... 4 Genetic Algorithms and Selection of Optimal Band for Watermark Insertion
    • 4.1 Introduction to Genetic Algorithms
      • 4.1.1 Some Biological Terms Used in Genetic Algorithms...............................
    • 4.2 Working of Genetic Algorithms........................................................................
      • 4.2.1 Initialization
      • 4.2.2 Selection
      • 4.2.3 Reproduction
      • 4.2.4 Termination
    • 4.3 Algorithm
    • 4.4 Our Methodology: Optimal band selection for audio using GA.......................
    • 4.5 Watermark Insertion..........................................................................................
  • Section
  • 5 Objectives of Re search............................................................................................
  • Section
  • 6 Scope of Research....................................................................................................
    • 6.1 Constraints Au dio Input Constraints
    • 6.2 Other Constraints...............................................................................................
  • Section
  • 7 Project Plan..............................................................................................................
    • 7.1 Semester 6 (contd... in summer vacations)
    • 7.2 Semester
    • 7.3 Semester
    • 7.4 Project Duration
  • Section
  • 8 Conclusion................................................................................................................

Section 1

1 I ntroduction

This document provides the System Requirement Specifications of the project titled as Genetic Algorithm Based Audio Watermarking which will be carried out by the student of BSCIS at Pakistan Institute of Engineering and Applied Sciences as the Final Year Project. The document is divided into different sections. This section introduces the project requirements by defining the purpose, scope, goals and intended audience for the project. It also includes some definitions and abbreviations used in the document. Finally it provides an overview of the document which presents the organization of the rest of the document.

1.1 Purpose

This doc ument serves as a control tool for the progress of the project. The objective of this project is to de sign a Genetic Programming based technique for Audio Watermarking. This project can be classified into following phases: Digitizing the input sound signal Identifying the Freque ncy bands of the sound using MPEG compression technique Identifying the optimal band for watermark insertion using GA/GP Adding watermark to the selected optimal band and analyzing the results The intended audience to this document i s developer (team) and the panel of examiners. This document can be later on used for traceability and for monitoring the progress in research. This document also serves as a starting point for documentation of the research.

1.2 Definitions, Acronyms and Abbre viations

This section presents basic terms and definitions that might be useful for the reader in gaining a better understanding of the rest of the document.

GA

Genetic Algorithm is a search technique, learning paradigm and a machine analog of biological process [1]. WM Watermarking is a technique which allows an individual to add hidden copyright notices or other verification messages to digital audio, video, or image signals and documents [10].

1.4 Overv iew

The rest of the document introduces the reader with the components of research to be conducted. Section 2 describes audio watermarking and its requirements. Section 3 describes the MPEG/audio compression and human psychoacoustic model. Section 4 descr ibes the selection of optimal band for watermark insertion through GA. Section 5 describes the objectives of research. Section 6 describes the scope of research. Section 7 describes the project plan , Section 8 has the conclusions.

1.5 Project Team

Student Name Waqas Arshad Project Supervisor Dr. Abdul Majid Project Coordinator Mr. S. Muhammad Haroon Project Examiners Dr. Mutawarra Hussain Dr. Abdul Jalil Dr. Muhammad Arif Dr. Javaid Khurshid Mr. Syed Muhammad Haroon

Section 2

2 Watermarking

2.1 Digital Waterma rking

Nowadays , digital data is obtained and transmitted easily. This ease has inspired the wide appearance, transmission, and storage of digital data. Through technologies like internet, digital data is being found in abundance. This data is also availabl e in large quantities on the CD - ROM, and DVD. This spreading of Digital data has brought a lot of ease and comfort in many ways but it also has its side effects that cannot be ignored. These side effects have raised many questions and many issues namely privacy, copyright infringement, authentication, and security of digital data. Three different technologies; information hiding, steganography and watermarking, are mostly used to resolve issues like these. These three technologies often use similar technical approaches and are similar in many ways. However, they do have some theoretical differences that affect their design towards a problem [2, 3].

2.1.1 Audio Watermarking

Music copyright enforcement is an issue that has been running for a while now. The recordin g industry has been opposing and trying to curb piracy for a very long time now. However, the digital revolution in audio has taken this effort to a new level, as music in digital format can be copied and circulated easily and with no degradation. Electron ic distribution means, in particular the Internet, linked with efficient compression algorithms (such as MP3) and peer- to-peer file-sharing systems has created an environment that is very favorable to music piracy. Watermarkin g is a potential solution to this problem. In watermarking a mark is embedded into the original audio signal this mark is known as the watermark. An important point is that this mark should not degrade audio quality, but it should be detectable and inerasable. Compliant devices should check for the presence of a watermark before proceeding to operations that could r esult in copyright violations [4].

Section 3

3 MPEG/Audio Compression and Human

P sychoacoustic Model

3.1 MPEG/Audio Compression

The MPEG/audio compression algorithm is the considered to be the first i nternational standard for the digital audio compression. Unlike vocal- track -model coders specially tuned for speech signals MPEG/audio is a generic audio compression standard. ,in MPEG/audio the coder exploits the perceptual limitations of the human auditory system and coder gets its compression without making assumption about the nature of the audio source. Compression in MPEG occurs due to the removal of perceptually irrelevant parts of the audio signal. Inaudible distortions occur due to removal of such parts , thus MPEG/audio can be used to compress any audio signal that is meant to be heard by the human ear. MPEG/audio has a choice of three independent layers of compression. Layer 1 is the simplest and is best suited for bit rates above 128 Kbits /s per c hannel. Layer 2 has an intermediate complexity and is targeted for bit rates around 128 Kbits /s per channel. Layer 3 is the most complex but offers the best audio quality, particularly for bit rates around 64 Kbits /s per channel. The key of MPEG/audio comp ression lies in quantization. Although quantization is lossy, this algorithm can give transparent, perceptually lossless, compression. MPEG compression can be divided into following steps

  1. The input audio stream is passed through a filter bank that divides the input into multiple subbands of frequency.
  2. The input audio stream is simultaneously passed through a psychoacoustic model that determines the ratio of the signal energy to the masking threshold for each sub band.
  3. The bit or noise allocation block uses the signal- to -mask ratios to decide how to apportion the total number of code bits available for the quantization of the sub band signals to minimize the audibility of the quantization noise.
  4. Finally, the last block takes the representation of the quantized sub band samples and formats this data and side information into a coded bit stream.

The decoder deciphers this bit stream, restores the quantized sub band values, and reconstructs the audio signal from the sub band values [5]. MPEG/Audio Encoder and MPEG/Audio Compression/Decompression are shown in figure 1 (a) and (b).

Figure1 (a): MPEG/Audio Encoder [5]

Figure1 (b): MPEG/Audio Compression/Decompression [5]

Frequency Sample Reconstruction

Frequency to Time Mapping

Time to Frequency Mapping Filter Bank

Bit/Noise Allocation Quantizer and coding

Psychoacoustic Model

Bit Stream formatting

Encoded Bitstream

PCM

Audio Input

Bit Stream Unpacking

Encoded Bitstream

PCM

Audio Input

process is started by computing the mask- to -noise ratio as given by the following equation MNR (^) dB = SNR (^) dB SMR (^) dB Where, MNR (^) dB : Mask- to - noise ratio SNR (^) dB : Signal - to - noise ratio SMRdB : Signal - to - mask ratio The psychoacoustic model computes the signal- to - mask ratio as the ratio of the signal energy within the subband to the minimum masking threshold for that subband. The model passes this value to the bit (or noise) allocation secti on of the encoder. Once the bit allocation unit has mask- to -noise ratios for all the subbands computed in the psychoacoustic model , it finds (searches) the subband with the lowest mask - to - noise ratio and allocates code bits to that subband. When a subband is allocated more code bits, the bit allocation unit looks up the new estimate for the signal-to-noise ratio and recomputes the mask- to -noise ratio of that subband. The process repeats until no more code bits can be allocated [5].

Secti on 4

4 Genetic Algorithm s and Selection of Optimal Band

for W atermark Insertion using GA

4.1 Introduction to Genetic Algorithms

In recent times Genetic algorithms (GAs) are amongst the fast growing stochastic simulati on techniques. The reason for there success is that they belong to the class of broadly applicable, general-purpose, generate- and -test optimization methods and search procedures based on the mechanism of natural selection and natural genetics. Some of the advantages of genetic algorithms are as foll ows: Escape from local extremes without supervision during a simulation and due to this, they have become global optimization methods. Simple but they help us a lot in solving complex problems that other techniques might not be able to solve. Better search efficiency as compared to traditional optimization methods

4.1.1 Some Biological Terms Used in Genetic Algorithms

Due to the inspiration of GAs from natural genetics, a lot of biological terms are used in them. In this section a review of the correspondence between some common biological terms and terms used in GAs is given [7, 8].

All living organisms consist of cells. In each cell there is the same set of chromosomes. Each chromosome consists of genes , the building block of DNA. In GAs, a chromosome i s referred to as a str ing. One or more chromosomes combine together to form the whole genetic package called genotype. In GAs, the total genetic package is called structure. Basically each gene encodes a trait , or physical property for example color of eye s and possible settings for a trait (e.g. blue, brown) are called alleles. In GAs, alleles are known as feature value. Each gene has its own position in the chromosome termed as locus analogous to string position in GAs.

Rank -b ased Selection Steady - state Selection Elitism Stochastic Universal Selection

4.2.3 Reproduction

A second population is generated in reproduction by using genetic operators like crossover and/or mutation. For each new solution to be produced, a pair of "pare nt" solutions is selected for breeding from the pool selected previously. By producing a "child" solution using the above methods of crossover and mutation, a new solution is created which typically shares many of the characteristics of its "parents". New parents are selected for each child, and the process continues until a new population of solutions of appropriate size is generated. A next generation population of chromosomes is produced that is different from the initial generation. Since only the best organisms from the first generation are selected for breeding so g enerally the ave rage fitness increases by this procedure, [8 ].

4.2.4 Termination

The above mentioned steps are repeated until a termination condition has been reached. Some of the terminat ing conditions are: A solution is found that satisfies minimum criteria. Fixed number of generations reached Allocated budget (computation time/money) reached. The highest ranking solution's fitness is reaching or has reached a plateau such that successive iterations no longer produce better results. Manual inspection. Combinations of the above [8 ].

4.3 Algorithm

Keeping in view the above mentioned steps, an algorithm can be constructed as: Choose initial population Evaluate the fitness of each individual i n the population

Repeat

o Select best- ranking individuals to reproduce a new population o Breed new generation through crossover and mutation to give birth to offspring o Evaluate the individual fitness of the offspring o Replace worst ranked part of population w ith offspring

Until some termination condition is met [8, 9 ].

4.4 Our Methodology: Optimal band selection for audio using

GA

The whole architecture of the optimal band selection process is described below Divide the audio signal into 32 equal- width frequency subbands using the polyphase filter bank algorithm Calculate the masking threshold of the signal using the MPE G/audio psychoacoustic model 1 (described above) Compute the signal - to-mask ratio as the ratio of the signal energy within the subband to the min imum mask ing threshold for that subband Determine the number of code bits to be allocated to each subband Select the optimal band for wa termark insertion using GA and some fitness function

S ection 5

5 Objectives of Research

This research work has following objectives.

The main aim is to design a technique for optimal band selection for audio watermark insertion in an audio signal using Genetic Algorithm.

In this research s tudy of following techniques will be studied.

Understanding the MPEG/Audio Compression Technique Understanding some of techniques currently used for audio watermarking Understanding Genetic Algorithms classification technique Using GA to find the optimal band

Section 6

6 Scope of Research

Scope of this research is to optimize the band selection process in audio watermarking using GA.

6.1 Constraints

Audio Input Constraints

The a udio input should be in .wav format The audio input should not be already watermarked The audio input should have minimum noise

6.2 Other Constraints

All implementation will be done using Matlab 7.