# Stanford EE 262 - Homework Assignment (3 pages)

Previewing page 1 of 3 page document
View Full Document

## Homework Assignment

Previewing page 1 of actual document.

View Full Document
View Full Document

## Homework Assignment

56 views

Pages:
3
School:
Stanford University
Course:
Ee 262 - Two-Dimensional Imaging
##### Two-Dimensional Imaging Documents
• 2 pages

• 2 pages

• 2 pages

Unformatted text preview:

EE262 Homework 1 120 points Due Friday Jan 18 in class or in homework box by 4 00 PM Handout 4 In some of the following exercises you are asked to submit files electronically to the class directory so that we may view them The class web site is www stanford edu class ee262 Use the submit script in the class leland directory usr ir class ee262 bin and see the submit README file or the online instructions on the homework page for details 1 Download the file image1 from the class web site The link is on the class homework page under hw1 This file is composed of a sequence of bytes each representing intensity at one point in the picture Each line has header bytes followed by image data a Find the line length in the file b Find the number of header bytes c The line number is present in the header Determine the location the line number of any missing lines 2 Plot a histogram of the image region exclusive of header for the image in 1 a What are the mean and standard deviation of the image as recorded on the disk b Derive a transformation that yields a mean of 128 and a standard deviation of 80 for the processed image c Stretch the image according to your transformation print it and submit electronically in tiff format Make sure you account for pixels falling off the ends of the distribution d Comment on the original and processed images 3 Open the image from problem 1 again Derive a transformation of the form out i j in i j p where in i j is the original image out i j is the output image and p is an arbitrary real number Note that you will have adjust the scales of the input or output images or both to produce a high quality image What value of p gives the best image Submit this best image electronically in tiff format 4 Generate a 10 x 10 array of 100 digits from the expression integer part 0 5 10 fractional part 1000 sin n 10 mod 10 for n 0 to 99 If n 10 is taken to be in degrees the first row of the array will begin 0 7 5 and the tenth row will end with 5 2 9 Smooth

View Full Document

Unlocking...