introduction to 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 19-Nov-2014

481 views

Category:

Education


1 download

DESCRIPTION

This presentation gives basic insight to image processing techniques to morphology and histogram . The presentation is made according to a novice and can be understood by anyone as it starts with basic concepts of images.

TRANSCRIPT

Page 1: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to Image Processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 5

Image FormationImage Formation

light

sour

ce

image plane

lens

objec

t

Page 6: Introduction to Image Processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 6

Image FormationImage Formation

projection through lensprojection through lens

image of objectimage of object

Page 7: Introduction to 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: Introduction to 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: Introduction to Image Processing

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 9

Image FormationImage Formation

continuous colours, discrete locations.continuous colours, discrete locations.

discrete real-valued imagediscrete real-valued image

Page 10: Introduction to 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: Introduction to Image Processing

Sampling and Quantization

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 11

pixel grid

sampledreal image quantized sampled & quantized

Page 12: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to Image Processing

Colour Images

On a CRT

Colour Images

On a CRT

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 16

Page 17: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to Image Processing

Motion Blur

19 March 2010 21

verticalregional

zoom rotational

original

HARSHIT SRIVASTAVA 2009-2010

Page 22: Introduction to 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: Introduction to 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: Introduction to 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: Introduction to Image Processing

Nonlinear Processing: Grayscale Reconstruction

19 March 2010 25

reconstructed openingoriginal

HARSHIT SRIVASTAVA 2009-2010

Page 26: Introduction to 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: Introduction to Image Processing

Image Compression: JPEG

19 March 2010 27

JPE

G q

ualit

y le

vel F

ile size in bytes

HARSHIT SRIVASTAVA 2009-2010

Page 28: Introduction to 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: Introduction to 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: Introduction to Image Processing

Image Compositing Example

19 March 2010 30

This shirt demands a monogram.

NOW

HARSHIT SRIVASTAVA 2009-2010

Page 31: Introduction to Image Processing

Image Compositing Example

19 March 2010 HARSHIT SRIVASTAVA 2009-2010 31

He needs some more color.

And again some more

changes

Page 32: Introduction to 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: Introduction to Image Processing

Image Compositing Example

19 March 2010 33

He can’t stay in the office like this.

HARSHIT SRIVASTAVA 2009-2010

Page 34: Introduction to 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: Introduction to Image Processing

THANK YOU

19 March 2010 35

I WOULD LIKE TO THANK PROF. RICHARD ALAN PETER II

HARSHIT SRIVASTAVA 2009-2010