Write a matlab program that reads in a gray scale image (girl256.bmp)* and performs the following:
The bit depth of the image is transformed to be 2-bits
The program should display the original image with its histogram and the transfromed image with its histogram. Print outs of these images should be submitted along with an explanation of the changes apparent in the quality of the images and the histograms.
The image transformation should be accomplished with a matlab function that utilizes a look-up table
The histogram is also generated using a matlab function that you write.
this is the link of the picturehttp://photos2.hi5.com/0076/631/781/VQuwOQ631781-02.bmp