Pre_Lab_06_joshdean_ECE3220_prelab6_Joshua_Dean

# Pre_Lab_06_joshdean_ECE3220_prelab6_Joshua_Dean -...

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

Joshua Dean ECE 3220 Lab Section 30 Prelab 06 Digital Images: A/D and D/A Damon Conover Due: 2/7/2011 100/100 1.4 Get Test Images (a) Load and display the 326 × 426 “lighthouse” image from lighthouse.mat. Use whos to check the size of ww after loading. EDU>> load('lighthouse.mat') EDU>> whos Figure - Result of command: whos EDU>> colormap(gray(256)) EDU>> mesh(xx); EDU>> figure(gcf); Figure - lighthouse as it appeared from code

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

View Full Document
Joshua Dean ECE 3220 Lab Section 30 Prelab 06 Digital Images: A/D and D/A Damon Conover Due: 2/7/2011 Figure - Lighthouse (after rotating) b) Use the colon operator to extract the 200 th row of the “lighthouse” image, and make a plot of that row as a 1-D discrete-time signal.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EDU>> xx200=xx(200,:); EDU>> plot(xx200,'DisplayName','xx200','YDataSource','xx200');figure(gcf) EDU>> title('1D Representation of 200th Row of Lighthouse Image Joshua Dean') EDU>> xlabel('horizontal image coordinates') EDU>> ylabel('vertical image coordinates') Joshua Dean ECE 3220 Lab Section 30 Prelab 06 Digital Images: A/D and D/A Damon Conover Due: 2/7/2011 Figure - 1-D Discrete time Signal Which values represent white and which ones black? Low (vertical image coordinates) values represent white, while high (vertical image coordinates) values represent black. Can you identify the region where the 200 th row crosses the fence? See Figure 4...
View Full Document

## This note was uploaded on 11/14/2011 for the course ECE 3220 taught by Professor Conover during the Fall '11 term at GWU.

### Page1 / 3

Pre_Lab_06_joshdean_ECE3220_prelab6_Joshua_Dean -...

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

View Full Document
Ask a homework question - tutors are online