Summary: AMERICAN UNIVERSITY OF BEIRUT
FACULTY OF ENGINEERING AND ARCHITECTURE
DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING
EECE691C Digital Signal Processing Laboratory Week 6
2D Digital Systems lab
The objective is to apply some of the well-known image enhancement spatial techniques
on a grayscale image. The techniques applied are:
· Brightness / Contrast
· Histogram Equalization
The grayscale image used is the 64 x 64 cameraman image used previously in tutorial 2.
The goal is to define an appropriate mapping of the gray levels representing the original
image; that is changing the gray levels in a way such that the image is visually enhanced.
1) Brightness / Contrast
Transformations 2 and 3 in the prelab suggest two different mappings. Identify the
operation of each one and then write a C code to implement these transformations. Using
the "Time Graph" feature of CCS plot the histogram of the original image as well as the
one for the new image obtained after applying the mapping. Also display the original and
the new image on an "Image Graph". Comment on the results. Is the selection of the
values of "A" and "B" important? Are they affecting the output image?
2) Histogram Equalization