Apply histogram-specification method to the image below, assume desired histogram: nk=1248, 0≤k≤63 and 192≤k≤255 , nk=800, 64≤k≤191.
Determine the transformation function z = T(r) and the output image after applying the transformation function to the image below.
Your report (Word or pdf format) should contain:
- Source codes
- Figures of the original and output histograms
- Figure of the output image after applying the histogram-specification scheme
- Table of transformation function to show the mapping from the input gray level r to the output gray level z



