30
PROJECT GUIDE: PRESENTED BY: Prof. Ms. Ibtisam Mogul Abhinav Mehrotra Akshay Suresh Karan Modi FACE MORPHING

Face Morphing

Embed Size (px)

DESCRIPTION

Developed software that contains a database of several faces with functionality of combining various facial features. The software altered a few original characteristics of the image to produce a new face that looked very natural. Project developed using visual C++.

Citation preview

Page 1: Face Morphing

PROJECT GUIDE: PRESENTED BY: Prof. Ms. Ibtisam Mogul Abhinav Mehrotra

Akshay Suresh

Karan Modi

FACE MORPHING

Page 2: Face Morphing

What is Digital image processing ???

•Digital Image Processing refers to processing digital images by means of a digital computer.

•Digital computer or imaging machines can operate on images generated by sources such as ultra sound, electron microscopy and computer generated images.

•Thus digital image processing encompasses a wide and varied field of applications.

Page 3: Face Morphing

Digital Image processing can be considered to be comprised of 3 types of

computerized process:

1. Low level processing

2. Mid-Level Processing

3. Higher level processing

Page 4: Face Morphing

INTRODUCTION TO OUR TOOL

Project includes:• A collection of faces divided

into three parts

• User interface to select parts of different faces

• Image Processing functionality to combine selected parts of various faces.

Page 5: Face Morphing

EXISITING SYSTEM WE ARE TRYING TO BETTER

• Traditional system directly marks control points.

• Face Morpher guesses basic spots - expensive software.

• Alternative method of morphing-using

Mosaicking-less expensive.

Page 6: Face Morphing

PROJECT PURPOSE

• COSMETIC SURGERY

• BARBER SHOPS

• DETECTIVE AGENCIES AND POLICE

Page 7: Face Morphing

FUNCTIONALITY

• Expansion and Contraction of images.• Histogram Specification of the image.• Combining the image.• Blurring the edges.• Displaying the images.

Page 8: Face Morphing

FACE SYNTHESIS TOOL

IMAGE FILES

COMBINING PROCESSED IMAGES

HISTOGRAM SPECIFICATION

CONTRACTION & EXPANSION OF IMAGES

INFORMATION FLOW

BLURRING THE EDGES

CUSTOMIZE & DISPLAYING THE

CUSTOMIZED IMAGE

DISPLAY IMAGE

Page 9: Face Morphing

EXPANSION & CONTRACTION

• Needed to equalize the width of different parts of the face.

• Expansion or contraction is done in two cases:

1. When the parts are selected to combine.

2. To customize the combined face.

Page 10: Face Morphing

CASE 1

The width of all the parts is expanded to the width of widest part in the triplet

Page 11: Face Morphing

CASE 2

It is done by entering the % of expansion

Page 12: Face Morphing

CALCULATION OF PIXEL COLOR

• To contract a 500x500 image into a 300x300 image, we reduce the pixel spacing.

• Any compressed pixels falls somewhere in the middle of the four neighboring pixels.

Contd….

Page 13: Face Morphing

Contd..

• We use interpolation

a b

dc

m 1-m

a1=b*m+a*(1-m)

c1 =d*m+c*(1-m)

n

1-n

a1

c1

The color of the target pixel is :

a1*(1-n)+c1*n

In x-direction

In y-direction

Page 14: Face Morphing

HISTOGRAM SPECIFICATION

• HISTOGRAM:

Histogram is defined as probability of occurrence of each intensity level in the image.

• HISTOGRAM SPECIFICATION:

The method used to generate a processed image that has a specified Histogram is called Histogram Specification.

Page 15: Face Morphing

» Contd..

• Histogram does not tell about location of pixels.

• In Histogram equalization, we pick up all the pixels at one particular intensity level and throw it at some other intensity level.

• Histogram Equalization thus provides an image whose gray levels are evenly distributed throughout the image.

Page 16: Face Morphing

HISTOGRAM SPECIFIED IMAGES

Page 17: Face Morphing

• Minimize edge formation of point of combining two images.

• Assume predetermined overlap limit, determining thickness of edge at overlap.

COMBINING

Page 18: Face Morphing

• All the three parts are combined when the user clicks on the combine button.

Page 19: Face Morphing

BLURRING THE EDGES

Page 20: Face Morphing

CONTD..

Page 21: Face Morphing

Image Processing Unit

Image Files

Images of Face Parts

Display Unit

Edited Face Image

DATA FLOW DIAGRAM

LEVEL 0

Page 22: Face Morphing

Size Adjustment

MergingImages

Display Unit

Images of parts of Face

Parts having same size

Edited Image

DATA FLOW DIAGRAM

LEVEL 1

Image Standardization

Raw Image Parts

Parts with Similar intensity

Page 23: Face Morphing
Page 24: Face Morphing
Page 25: Face Morphing
Page 26: Face Morphing
Page 27: Face Morphing
Page 28: Face Morphing

• The photographs are to be taken in a very standard manner with the nose in the centre and probably without any expressions on the face.

• Only color images have been considered.

Page 29: Face Morphing

• An effective face editing tool

• Uses Digital Image processing

Page 30: Face Morphing

THANK YOU !