ee168lab1 - EE168 Introduction to Digital Image Processing...

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

View Full Document Right Arrow Icon
EE168 Lab/Homework #1 Introduction to Digital Image Processing Handout #3 Due: Friday, Jan. 16 We will be combining laboratory exercises with homework problems in the lab sessions for this course. In the scheduled lab times, begin working the set of material for each week. Complete as much as possible during the scheduled time, and finish the remaining material for homework. Both homework and lab results are to be written up and turned in each week, with electronic submission of data files as needed as we have discussed in class. The class web site is http://www.stanford.edu/class/ee168 . When you complete the exercise, turn it in using the submit script as described on the web page. Problem 1 - Raster displays. Start the matlab application on the computer by typing matlab at the prompt. Set the default color table to black and white by entering the command: colormap(gray) Download the text file 'raster' from the class web site—the file is found under the “Homework” tab in the Homework 1 section. Place the file into your leland disk area. Type out the file and note that it is a sequence of 0's and 1's. This file is a string of data values that will form a recognizable image once it is displayed with the proper row width. Read this file into a matrix and display it on the screen using the matlab commands imagesc and axis. Information on each command can be found using the matlab help command. Save the output file and submit it using the submission script. Experiment with various lengths to see how the image is distorted if the line
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.

Page1 / 5

ee168lab1 - EE168 Introduction to Digital Image Processing...

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