hw1_003

# hw1_003 - size 5 mm x 5mm with about 2 million pixels...

This preview shows page 1. Sign up to view the full content.

Handout #2 Jan 10, 2008 ECE 178 HW #1 Due: Wednesday, Jan 18, 2008 1. Compare and contrast the human eye with a modern digital camera. In your analysis, consider issues such as brightness adaptation (i.e., the sensitivity of the sensor to a wide range of background illumination), motion detection and tracking, color perception, and field of view. Chapter 1 and Chapter 2 of your reference book (available online) provide some details. You may also use the web and the internet to explore more. 2. We can approximate the fovea of the eye as a rectangular patch of size 1.5 mm x 1.5 mm. Assume that the density of the photoreceptors in the fovea is about 150,000 receptors per square mm. Estimate the diameter of the smallest printed dot that the eye can resolve if the page on which it is printed is about 1 meter away from the eye. For simplicity, assume that the dot is not detected if its image on the fovea becomes smaller than that of the diameter of the photoreceptor. 3. Compare the detectable resolution in the above problem with that of a CCD sensor of
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: size 5 mm x 5mm with about 2 million pixels uniformly distributed on the CCD array. 4. This is a MATLAB programming question. You need to familiarize yourself with the MATLAB environment first. It is strongly encouraged that you go through one of the many online MATLAB tutorials (see, for example, the books web site). Write an M-function with the following specifications: function H = imcircle(R, M, N) %IMCIRCLE Generates a circle inside a rectangle. % H = IMCIRCLE(R, M, N) generates a circle of radius R centered % on a rectangle of height M and width N. H is a binary image with % 1s on the circle and 0s elsewhere. R must be an integer &gt;= 1. Your program must check the validity of R and also it should check to make sure that the specified circle fits in the given rectangle dimensions. Use of for or while loops is not permitted. Hint: Review function meshgrid and become familiar with function floor....
View Full Document

## This note was uploaded on 12/28/2011 for the course ECE 178 taught by Professor Manjunath during the Fall '08 term at UCSB.

Ask a homework question - tutors are online