1. Write a MATLAB function to do the following:
a. Read a colored “.bmp” image.
b. Convert the image to a gray scale image.
c. Apply the operation given in fig. 1 (shown below) to the gray scale image to increase the contrast.
d. Save the new image in a file.
2. Write a MATLAB function to do the following:
a. Read a gray scale image.
b. Apply an additive noise to the image.
c. Save the new image in a file.
3. Write a MATLAB function to do the following:
a. Read “cameraman.tif” image.
b. Compute co-occurrence matrix according to the relation “Pixel and its south”.
c. Compute the contrast according to the formula :
4. Write a MATLAB function to do the following:
a. Apply the following operation to the gray scale image of question 1 to increase its contrast. ( see fig. 2 below )
b. Use the function of question 1 to compute the contrast of the new image
resulting from part a. Verify that the contrast of the second image is greater than that of the first image.
5. Write a MATLAB function to do the following:
a. Read “circles.png” binary image.
b. Compute the RL code of that image by searching for white pixels.