EECE253_02_DigitalImagesAndMatlab

# EECE253_02_DigitalImagesAndMatlab - EECE/CS 253 Image...

This preview shows pages 1–18. Sign up to view the full content.

EECE/CS 253 Image Processing Richard Alan Peters II Department of Electrical Engineering and Computer Science Fall Semester 2011 Lecture Notes: Digital Images and Matlab This work is licensed under the Creative Commons Attribution-Noncommercial 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Digital Image a grid of squares, each of which contains a single color each square is called a pixel (for picture element ) Color images have 3 values per pixel; monochrome images have 1 value per pixel. 31 August 2011 1999-2011 by Richard Alan Peters II 2
A digital image, I , is a mapping from a 2D grid of uniformly spaced discrete points, { p = ( r,c )}, into a set of positive integer values, { I ( p )}, or a set of vector values, e.g., {[ R G B ] T ( p )} . At each column location in each row of I there is a value. The pair ( p, I ( p ) ) is called a “pixel” (for picture element ). Pixels 31 August 2011 1999-2011 by Richard Alan Peters II 3

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
p = ( r,c ) is the pixel location indexed by row, r, and column, c. I ( p ) = I ( r,c ) is the value of the pixel at location p. If I ( p ) is a single number then I is monochrome. If I ( p ) is a vector (ordered list of numbers) then I has multiple bands ( e.g., a color image). Pixels 31 August 2011 1999-2011 by Richard Alan Peters II 4
Pixels Pixel Location: p = ( r , c ) Pixel Value: I ( p ) = I ( r , c ) Pixel : [ p, I ( p )] 31 August 2011 1999-2011 by Richard Alan Peters II 5

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
red 12 ( ) green 43 blue 61 Ip , row , col 272, 277 p r c ## Pixel : [ p, I ( p )] Pixels 31 August 2011 1999-2011 by Richard Alan Peters II 6
Sampling and Quantization sampled real image quantized sampled & quantized 31 August 2011 1999-2011 by Richard Alan Peters II 7

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Sampling and Quantization sampled real image quantized sampled & quantized pixel grid column index row index 31 August 2011 1999-2011 by Richard Alan Peters II 8
Sampling ) , ( c r I S , C I continuous image sampled image Take the average within each square. 31 August 2011 1999-2011 by Richard Alan Peters II 9

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Sampling ) , ( c r I S , C I continuous image sampled image Take the average within each square. 31 August 2011 1999-2011 by Richard Alan Peters II 10
Sampling ) , ( c r I S , C I continuous image sampled image Take the average within each square. 31 August 2011 1999-2011 by Richard Alan Peters II 11

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Sampling ) , ( c r I S , C I continuous image sampled image Take the average within each square. 31 August 2011 1999-2011 by Richard Alan Peters II 12
31 August 2011 1999-2011 by Richard Alan Peters II 13 Digital Image Formation: Quantization continuous color input discrete color output continuous colors mapped to a finite, discrete set of colors.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Read a Truecolor Image into Matlab 31 August 2011 1999-2011 by Richard Alan Peters II 14
Read a Truecolor Image into Matlab 31 August 2011 1999-2011 by Richard Alan Peters II 15

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Read a Truecolor Image into Matlab 31 August 2011 1999-2011 by Richard Alan Peters II 16
Read a Truecolor Image into Matlab Mark Frauenfelder Cory Doctorow David Pescovitz John Battelle Xeni Jardin http://boingboing.net/ 31 August 2011 1999-2011 by Richard Alan Peters II

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 12/06/2011 for the course EECE 253 taught by Professor Alanpeters during the Summer '07 term at Vanderbilt.

### Page1 / 60

EECE253_02_DigitalImagesAndMatlab - EECE/CS 253 Image...

This preview shows document pages 1 - 18. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online