Image processing Presentation

73
Image Processing Ref: Digital image processing ,Gonzalez & Woods

description

Image processing Gongalez

Transcript of Image processing Presentation

Page 1: Image processing Presentation

Image Processing

Ref: Digital image processing ,Gonzalez & Woods

Page 2: Image processing Presentation

Components of an Image Processing System:

Ref: Digital image processing ,Gonzalez & Woods

Page 3: Image processing Presentation

Image sensing

1. a physical device that is sensitive to the energy radiated by the object.

2. a digitizer

Technologies used1. Photo chemical, eg: photographic film 2. Photo electronic

The devices used 1. Still camera2. TV camera3. X ray scanner4. Radar5. Magnetic resonance imaging (MRI) system.

Page 4: Image processing Presentation

Digitizer:

Ref: Digital image processing ,Gonzalez & Woods

Commonly used digitizers

1. Microdensitometer and

2. flying spot scanner.

Page 5: Image processing Presentation

Digital storage:

Ref: Digital image processing ,Gonzalez & Woods

categorized as(1) short-term storage for use during processing, eg: frame buffers.(2) on-line storage for relatively fast re-call, and (3) archival storage, characterized by infrequent access.

Page 6: Image processing Presentation

Image displays:

Ref: Digital image processing ,Gonzalez & Woods

Principal display devices are 1. printers, 2.TV monitor, 3. CRTs

Hardcopy:

laser printers, film cameras, heat-sensitive devices, inkjet units, and digital units, such as optical and CD-ROM disks, paper etc.

Page 7: Image processing Presentation

Structure of the Human Eye

Page 8: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 9: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 10: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 11: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 12: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 13: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 14: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 15: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 16: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 17: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 18: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 19: Image processing Presentation

Image Formation

Page 20: Image processing Presentation

Sampling and Quantization

Page 21: Image processing Presentation

Sampling and Quantization

Page 22: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 23: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Spatial and Gray-Level Resolution:

Spatial Resolution: is the smallest discernible detail in an image.Gray—level resolution: refers to the smallest discernible change in gray level .-subjective process.

Page 24: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 25: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 26: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 27: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 28: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 29: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 30: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Aliasing and Moiré Patterns:

Page 31: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Zooming and Shrinking Digital Images:

Zooming 1. creation of new pixel locations2. assignment of gray levels to those new locations.

1.Nearest neighbor interpolation2. Pixel replication3. Bilinear interpolation

v(x', y') = ax' + by' + cx'y' + d a= f (1, 0)- f (0, 0)b= f (0, 1)- f (0, 0)c= f (0, 0)-f (1, 0)- f (0, 1)+ f (1, 1)d= f (0, 0)

Image shrinking

Page 32: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 33: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

  2D bilenear interpolation              

 

              

     

                

   

                

   

                

   

Original   Before After No Interpolation

Page 34: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 35: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 36: Image processing Presentation

Basic Point Processing

Page 37: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 38: Image processing Presentation

Log

Page 39: Image processing Presentation

Power-law transformations

Page 40: Image processing Presentation

Gamma Correction

Gamma Measuring Applet: http://www.cs.berkeley.edu/~efros/java/gamma/gamma.html

Page 41: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 42: Image processing Presentation

Image Enhancement

Page 43: Image processing Presentation

Contrast Streching

Page 44: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 45: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 46: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 47: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 48: Image processing Presentation

Histogram Equalization

Page 49: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 50: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 51: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 52: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Periodic noise

Page 53: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 54: Image processing Presentation

Mean and variance of the gray levels in image strips

Page 55: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 56: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 57: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Wrong sign for Q

Page 58: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 59: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Max and Min filter

Page 60: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Alpha trimmed mean filter with d=5

Page 61: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Adaptive noise reduction filtering

Page 62: Image processing Presentation

Ref: Digital image processing ,Gonzalez & Woods

Page 63: Image processing Presentation

What is an image?

We can think of an image as a function, f, from R2 to R:• f( x, y ) gives the intensity at position ( x, y )

• Realistically, we expect the image only to be defined over a rectangle, with a finite range:

– f: [a,b]x[c,d] [0,1]

A color image is just three functions pasted together. We can write this as a “vector-valued” function:

( , )

( , ) ( , )

( , )

r x y

f x y g x y

b x y

Page 64: Image processing Presentation

Images as functions

Page 65: Image processing Presentation

What is a digital image?

We usually operate on digital (discrete) images:• Sample the 2D space on a regular grid• Quantize each sample (round to nearest integer)

If our samples are apart, we can write this as:

f[i ,j] = Quantize{ f(i , j ) }

The image can now be represented as a matrix of integer values

Page 66: Image processing Presentation

Image processing

An image processing operation typically defines a new image g in terms of an existing image f.

We can transform either the range of f.

Or the domain of f:

What kinds of operations can each perform?

Page 67: Image processing Presentation

Point Processing

The simplest kind of range transformations are these independent of position x,y:

g = t(f)

This is called point processing.

What can they do?

What’s the form of t?

Important: every pixel for himself – spatial information completely lost!

Page 68: Image processing Presentation

Image Histograms

Page 69: Image processing Presentation

Cumulative Histograms

Page 70: Image processing Presentation

Histogram Matching

Page 71: Image processing Presentation

Match-histogram code

Page 72: Image processing Presentation

Neighborhood Processing (filtering)

Q: What happens if I reshuffle all pixels within the image?

A: It’s histogram won’t change. No point processing will be affected…

Need spatial information to capture this.

Page 73: Image processing Presentation

Programming Assignment #1

Easy stuff to get you started with Matlab• James will hold tutorial this week

Distance Functions• SSD• Normalized Correlation

Bells and Whistles• Point Processing (color?)• Neighborhood Processing• Using your data (3 copies!)• Using your data (other images)