Description: 1. Histogram Equalization
(a) Write a C++ function for computing the histogram of an image.
(b) Write a C++ function to implement the histogram equalization with local enhancement ability for any neighbourhood size.
(c) Write a C++ program to perform histogram equalization and reproduce the results on Figure 3.17 (use images Fig3.15 1-4).
2. Spatial Filtering
(a) Write a C++ function to perform spatial filtering of an image for any spatial mask of any size.
(b) Write a C++ program to reproduce the results on Figure 3.36.
File list (Check if you may need any files):
DistorgramDisplay2.jpg
DistorgramDisplayEq.jpg
AssignmemtII_2a.cpp
AssignmemtII_2a.dsp
AssignmemtII_2a.dsw
AssignmemtII_2a.ncb
AssignmemtII_2a.opt
AssignmemtII_2a.plg
AssignmemtII_2b.cpp
AssignmemtII_2b.dsp
AssignmemtII_2b.dsw
AssignmemtII_2b.ncb
AssignmemtII_2b.opt
AssignmemtII_2b.plg
AssignmentII.cpp
AssignmentII.dsp
AssignmentII.dsw
AssignmentII.ncb
AssignmentII.opt
AssignmentII.plg
CImg.h
DistorgramDisplay1.jpg