harshit ppt image processing

35
Image Processing Harshit Srivastava Department of Electrical and Electronics Engineering Fall Semester 2010 Roll No. 0705621028 Introduction and Special Techniques 19 March 2010 1 HARSHIT SRIVASTAVA 2009-2010

Upload: harshit-srivastava

Post on 22-Apr-2015

722 views

Category:

Education


3 download

DESCRIPTION

This presentation basically talks about the image processing techniques and terms of how image is perceived , this is explained in terms of imaginary characters to imagine in different ways

TRANSCRIPT

Page 1: Harshit ppt image processing

Image Processing

Harshit SrivastavaDepartment of Electrical and Electronics

EngineeringFall Semester 2010

Roll No. 0705621028

Introduction and Special Techniques

19 March 2010 1HARSHIT SRIVASTAVA 2009-2010

Page 2: Harshit ppt image processing

Introduction

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 2

This presentation is an overview of some of the ideas and techniques of image processing.

Image processing is any form of signal processing for which the input is an image, such as photographs or frames of video; the output of image processing can be either an image or a set of characteristics or parameters related to the image.

Image processing usually refers to digital image processing.

Digital image processing is the use of computer algorithms to perform image processing in digital images.

Page 3: Harshit ppt image processing

1. Image formation 2. Point processing and equalization 3. Colour correction 4. Image sampling and warping 5. Noise reduction 6. Mathematical morphology 7. Image compression 8. Image compositing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 3

TopicsTopics

Page 4: Harshit ppt image processing

Tom and Bolt

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 4

Tom

Bolt

Tom and Bolt will be subjects of some of the imagery in this introduction.

Page 5: Harshit ppt image processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 5

Image FormationImage Formation

light

sour

ce

image plane

lens

objec

t

Page 6: Harshit ppt image processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 6

Image FormationImage Formation

projection through lens

projection through lens

image of objectimage of object

Page 7: Harshit ppt image processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 7

Image FormationImage Formation

projection onto discrete sensor array.

projection onto discrete sensor array. digital cameradigital camera

Page 8: Harshit ppt image processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 8

Image FormationImage Formation

sensors register average colour.

sensors register average colour.

sampled imagesampled image

Page 9: Harshit ppt image processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 9

Image FormationImage Formation

continuous colours, discrete locations.

continuous colours, discrete locations. discrete real-

valued image

discrete real-valued image

Page 10: Harshit ppt image processing

Digital Image Formation: Quantization

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 10

continuous colour input

disc

rete

col

our

outp

ut

continuous colours mapped to a finite, discrete set of colours.

continuous colours mapped to a finite, discrete set of colours.

Page 11: Harshit ppt image processing

Sampling and Quantization

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 11

pixel grid

sampledreal image quantized sampled & quantized

Page 12: Harshit ppt image processing

Digital ImageDigital Image

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 12

a grid of squares, each of which contains a single colour

a grid of squares, each of which contains a single colour

each square is called a pixel (for picture element)

each square is called a pixel (for picture element)

Colour images have 3 values per pixel; monochrome images have 1 value per pixel.

Page 13: Harshit ppt image processing

Colour Processing

19 March 2010 13

requires some knowledge of how we see colors

requires some knowledge of how we see colors

Eye’s Light Sensors

#(blue) << #(red) < #(green)

cone density near fovea

HARSHIT SRIVASTAVA 2009-2010

Page 14: Harshit ppt image processing

Colour Sensing / Colour Perception

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 14

These are approximations of the responses to the visible spectrum of the “red”, “green”, and “blue” receptors of a typical human eye. The eye has 3 types of photoreceptors: sensitive to red, green, or blue light,

The brain transforms RGB into separate brightness and color channels (e.g., LHS).

These are approximations of the responses to the visible spectrum of the “red”, “green”, and “blue” receptors of a typical human eye. The eye has 3 types of photoreceptors: sensitive to red, green, or blue light,

The brain transforms RGB into separate brightness and color channels (e.g., LHS).

The simultaneous red + blue response causes us to perceive a continuous range of hues on a circle. No hue is greater than or less than any other hue.

The simultaneous red + blue response causes us to perceive a continuous range of hues on a circle. No hue is greater than or less than any other hue.

Page 15: Harshit ppt image processing

Colour Images

• Are constructed from three intensity maps.

• Each intensity map is pro-jected through a colour filter (e.g., red, green, or blue, or cyan, magenta, or yellow) to create a monochrome image.

• The intensity maps are overlaid to create a colour image.

• Each pixel in a colour image is a three element vector.

19 March 2010 15HARSHIT SRIVASTAVA 2009-2010

Page 16: Harshit ppt image processing

Colour Images

On a CRT

Colour Images

On a CRT

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 16

Page 17: Harshit ppt image processing

Point ProcessingPoint Processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 17

original + gamma- gamma + brightness- brightness

original + contrast- contrast histogram EQhistogram mod

Page 18: Harshit ppt image processing

Colour Balance and Saturation

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 18

Uniform changes in colour components result in change of tint.

E.g., if all G pixel values are multiplied by > 1 then the image takes a green cast.

Page 19: Harshit ppt image processing

Resampling

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 19

8× 16×nearest neighbornearest neighbor nearest neighbornearest neighbor

bicubic interpolationbicubic interpolation bicubic interpolationbicubic interpolation

(resizing)

Page 20: Harshit ppt image processing

ROTATION

MOTION BLURMotion blur happens when an camera cannot distinguish these values

1. Egomotion2. Tracking3. Optical flow

19 March 2010 20

and motion blur

In geometry and linear algebra, a rotation is a transformation in a plane or in space that describes the motion of a rigid body around a fixed point

HARSHIT SRIVASTAVA 2009-2010

Page 21: Harshit ppt image processing

Motion Blur

19 March 2010 21

verticalregional

zoom rotational

original

HARSHIT SRIVASTAVA 2009-2010

Page 22: Harshit ppt image processing

Image Warping Image warping is an special type of affect which changes the function of an image…to next level..

In image warping the dimension of every side is changed to get effect..

It is an special type of affect which changes the orignality of image.

19 March 2010 22HARSHIT SRIVASTAVA 2009-2010

Page 23: Harshit ppt image processing

Noise Reduction

19 March 2010 23

colour noiseblurred image colour-only blur

blurred image colour noise 5x5 Wiener filter

Next level of image

HARSHIT SRIVASTAVA 2009-2010

Page 24: Harshit ppt image processing

MorphologyNonlinear Processing: Binary Reconstruction

• Used after opening to grow back pieces of the original image that are connected to the opening.

• Permits the removal of small regions that are disjoint from larger objects without distorting the small features of the large objects.

19 March 2010 24

original opened reconstructed

HARSHIT SRIVASTAVA 2009-2010

Page 25: Harshit ppt image processing

Nonlinear Processing: Grayscale Reconstruction

19 March 2010 25

reconstructed openingoriginal

HARSHIT SRIVASTAVA 2009-2010

Page 26: Harshit ppt image processing

Image Compression

19 March 2010 26

Yoyogi Park, Tokyo, October 1999.

Original image is 5244w x 4716h @ 1200 ppi: 127MBytes

Original image is 5244w x 4716h @ 1200 ppi: 127MBytes

HARSHIT SRIVASTAVA 2009-2010

Page 27: Harshit ppt image processing

Image Compression: JPEG

19 March 2010 27

JPE

G q

ualit

y le

vel

File size in

bytes

HARSHIT SRIVASTAVA 2009-2010

Page 28: Harshit ppt image processing

Image Compositing• Combine parts from separate images to form a new image.• It’s difficult to do well.• Requires relative positions, orientations, and scales to be

correct.• Lighting of objects must be consistent within the separate

images.• Brightness, contrast, colour balance, and saturation must

match.• Noise colour, amplitude, and patterns must be seamless.

19 March 2010 28HARSHIT SRIVASTAVA 2009-2010

Page 29: Harshit ppt image processing

Image Compositing Example

19 March 2010 29

This man in his home office. Needs a better shirt.

HARSHIT SRIVASTAVA 2009-2010

Page 30: Harshit ppt image processing

Image Compositing Example

19 March 2010 30

This shirt demands a monogram.

HARSHIT SRIVASTAVA 2009-2010

Page 31: Harshit ppt image processing

Image Compositing Example

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 31

He needs some more color.

Page 32: Harshit ppt image processing

Image Compositing Example

19 March 2010 32

Nice. Now for the way he’d wear his hair if he had any.

HARSHIT SRIVASTAVA 2009-2010

Page 33: Harshit ppt image processing

Image Compositing Example

19 March 2010 33

He can’t stay in the office like this.

HARSHIT SRIVASTAVA 2009-2010

Page 34: Harshit ppt image processing

Image Compositing Example

19 March 2010 34

Where’s a Daddy-O like this belong?

Now the background has changed

HARSHIT SRIVASTAVA 2009-2010

Page 35: Harshit ppt image processing

THANK YOU

19 March 2010 35

I WOULD LIKE TO THANK PROF. RICHARD ALLEN PETER II

HARSHIT SRIVASTAVA 2009-2010