3015_Discussion_9_Solutions - University of Minnesota Dept...

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

View Full Document Right Arrow Icon
Dept. of Electrical and Computer Engineering EE3015 – Signals and Systems Discussion Session #9: Image processing using Matlab In this discussion, we will perform some simple image processing by filtering the Fourier components of an image using Matlab. This exercise will be graded, and is due next discussion session, Nov. 12-13 . You are required to turn in code and graphs as indicated. This discussion will be devoted to get started with the assignment, but you are expected to finish it outside of class. The submitted work should be your own. You can (and indeed you are encouraged to) discuss this assignment with other students, but the Matlab code you turn in should represent your own individual effort. Preliminaries We will first load the image file we will work with. Matlab has an image library containing several images. To load our working image, just type: >> load clown This will load an image of a clown into the matrix X. This matrix contains a 200 X 320 pixels B/W image. Each element of the matrix represents the intensity of each pixel. Recall that you can check the dimensions of arrays/matrices with the command size . For example, >> size(X) will report that the X matrix that contains the image is of dimensions 200 by 320. Now we want to visualize this image. Matlab may display it in pseudocolor (different gray levels are mapped to different colors). You can control the color table by using the command >> colormap(gray) This will use a colormap that consists of a conventional gray scale. Other color maps include jet, hot, cool , etc. Feel free to try them out. However, for the actual exercise, colormap(gray) is more appropriate. To visualize the image in
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/20/2009 for the course EE 3015 taught by Professor Staff during the Fall '08 term at Minnesota.

Page1 / 5

3015_Discussion_9_Solutions - University of Minnesota Dept...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online