# lab2 - Spring 2011 EE 341 Lab 2 Lab 2 Introduction to Image...

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

Spring 2011 EE 341 Lab 2 Lab 2: Introduction to Image Processing (Written in part by Dr. A. Miguel of Seattle University) Due Date: The hard copy of your report is due in your discussion section, 4/27-4/29 before discussion begins. In addition, please put the electronic version of your report & MATLAB™ files in a .zip file and then submit this zip file via E-Submit before your above discussion section time. 1. Purpose The purpose of this lab is to introduce you to some basic concepts in image processing. You will learn how to read and display an image in MATLAB. You will perform simple edge detection on an image we give you as well as on an image of your own. Then, you will scale an image to create its thumbnail version. If you enjoy this lab, make sure to take the following higher-level undergraduate classes related to image processing that are offered by the EE and CSE departments: EE 440, CSE 455, and CSE 457. 2. Background Digital images consist of pixels (picture elements). When the pixels are placed close to each other, an image viewed on a computer display or printed on a paper appears to be continuous. The number of pixels per inch (ppi) varies with an application. Some monitors can only display 72 ppi. For publishing, 200–1200 ppi is often required. Laser printers are usually capable of 300- 600 ppi. The brightness and color information for each pixel is represented by a number in a two-dimensional array (matrix). The location in the matrix corresponds to the location of a pixel in the image. For example, X [1,1] (usually) identifies the pixel located in the upper left corner, as shown in figure 1. The pixel values in an 8-bit gray scale image can take any value from 0 to 255. Usually black is encoded by a value of 0 and white by a value of 255. A color image is stored in a three-dimensional array, where the first plane in the 3 rd dimension represents the red pixel intensities, the second plane represents the green pixel intensities, and the third plane represents the blue pixel intensities. True color has 24 bits of resolution (8 bits for each of the red, green, and blue planes).

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.

{[ snackBarMessage ]}

### Page1 / 4

lab2 - Spring 2011 EE 341 Lab 2 Lab 2 Introduction to Image...

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

View Full Document
Ask a homework question - tutors are online