# p1 - L = 128 32 8 and 2 2 Basic Intensity Transformations...

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

EECE 5626: Image Processing and Pattern Recognition Project 1 September 17, 2014 Due on October 1, 2014 Image Representation, Transformation and Histogram Operations The purpose of this project is to get familiar with digital images representations and simple image transfor- mations. Please use the “cameraman.tif” image available at MATLAB. 1. Image Representation (a) Read the image. Find out its dimensions. Display the image on the workstation and print it out. (b) Save the image as jpg, pgm, bmp. (c) Crop a 20 × 20 subimage. Display the subimage as an image and as a surface. (d) Write your own MATLAB code to change the spatial resolution to 128 × 128, 64 × 64 and 32 × 32 pixels. Display these new images and print them out as 256 × 256 images. (e) Write your own MATLAB code to reduce the number of gray levels in the image from 256 to L , where L is a parameter to your program. Use this code to generate outputs for
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: L = 128 , 32 , 8 and 2. 2. Basic Intensity Transformations Write your own MATLAB code and apply it to the original image to ﬁnd: (a) Image negative (b) Log Transformation (also plot the transfer function) (c) Power-Law Transformation with three diﬀerent values of γ . (also plot the transfer functions) 3. Histogram based Enhancement (a) Write your own MATLAB code to compute the histogram of the image. (b) Write your own MATLAB code to perform histogram equalization. (c) Compare your results with the results obtained by using MATLAB commands imhist and histeq . 4. BONUS (a) Write your own MATLAB code to modify an image to have an speciﬁed histogram. (b) Use your code to produce three copies of the cameraman image: one dark, one light, and one low contrast. 5. Write a report following the guidelines given in class....
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern