ahmad_abdulghany
Advanced Member level 4
- Joined
- Apr 12, 2005
- Messages
- 1,206
- Helped
- 102
- Reputation
- 206
- Reaction score
- 22
- Trophy points
- 1,318
- Location
- San Jose, California, USA
- Activity points
- 11,769
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: ( file names stand for any files with these names not special ones )
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 :
∑ ∑ Cr(i,j)[Ir(i)-Ic(j)]² ; where summations are for i=1:m and j=1:n respectively
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 3 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.
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: ( file names stand for any files with these names not special ones )
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 :
∑ ∑ Cr(i,j)[Ir(i)-Ic(j)]² ; where summations are for i=1:m and j=1:n respectively
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 3 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.