1.3-EECE253_02_DigitalImagesAndMatlab

# 1.3-EECE253_02_DigitalImagesAndMatlab -...

This preview shows pages 1–17. 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 2006 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
16 January 2007 2 1999-2007 by Richard Alan Peters II Digital Image Digital Image a grid of squares, each of which contains a single color a grid of squares, each of which contains a single color each square is called a pixel (for picture element ) each square is called a pixel (for picture element ) Color images have 3 values per pixel; monochrome images have 1 value per pixel.
16 January 2007 3 1999-2007 by Richard Alan Peters II 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., {[ RGB ] 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

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

View Full Document
16 January 2007 4 1999-2007 by Richard Alan Peters II 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
16 January 2007 5 1999-2007 by Richard Alan Peters II Pixels Pixel Location: p = ( r , c ) Pixel Value: I ( p ) = I ( r , c ) Pixel : [ p, I ( p )]

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

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

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

View Full Document
16 January 2007 8 1999-2007 by Richard Alan Peters II Sampling and Quantization sampled real image quantized sampled & quantized pixel grid column index column index r o w i n d e x r o w i n d e x
16 January 2007 9 1999-2007 by Richard Alan Peters II Sampling ) , ( c r I S ( ) χ ρ , C I continuous image sampled image Take the average within each square. Take the average within each square.

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

View Full Document
16 January 2007 10 1999-2007 by Richard Alan Peters II Sampling ) , ( c r I S ( ) χ ρ , C I continuous image sampled image Take the average within each square. Take the average within each square.
16 January 2007 11 1999-2007 by Richard Alan Peters II Sampling ) , ( c r I S ( ) χ ρ , C I continuous image sampled image Take the average within each square. Take the average within each square.

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

View Full Document
16 January 2007 12 1999-2007 by Richard Alan Peters II Sampling ) , ( c r I S ( ) χ ρ , C I continuous image sampled image Take the average within each square. Take the average within each square.
16 January 2007 13 1999-2007 by Richard Alan Peters II Read a Truecolor Image into Matlab

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

View Full Document
16 January 2007 14 1999-2007 by Richard Alan Peters II Read a Truecolor Image into Matlab
16 January 2007 15 1999-2007 by Richard Alan Peters II Read a Truecolor Image into Matlab

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

View Full Document
16 January 2007 16 1999-2007 by Richard Alan Peters II
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/07/2010 for the course CS 682 taught by Professor Duric,z during the Spring '08 term at George Mason.

### Page1 / 53

1.3-EECE253_02_DigitalImagesAndMatlab -...

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

View Full Document
Ask a homework question - tutors are online