This preview shows page 1. Sign up to view the full content.
Unformatted text preview: evenly and equally spaced using the axis command as before. ii. Add circles of radius 16 and amplitude 1 to the array with centers at locations (200, 200), (232,200), (200,300), (248, 300), (200,400), and (264,400), and display. You will have to do some MATLAB programming to do this. Problem 3 - Quantization. i. Download the binary image 'test2'. Read the file in MATLAB using the command fread . The data consist of unsigned characters 8 bits in size, and form an image with line length 580 pixels. The image is 435 lines long. ii. Display the image. ii. The initial image consists of eight bits of data for each pixel. Create new images using 5, 4, 3, 2 and 1 bit only for each pixel. How many bits are needed to preserve image quality? Does it change from place to place in the image? How so? ******* Submit your write-up to UTDIP@yahoo.com with subject DIP-yourname. Do not forget to include description of what you have done in each part with a brief discussion on results....
View Full Document
This note was uploaded on 01/27/2010 for the course ECE TECHCOMM taught by Professor Prof.soltanianzdeh during the Spring '10 term at Shahid Beheshti University.
- Spring '10
- Image processing