Professional Documents
Culture Documents
Part I
1. Load the Image car given in the folder.
3. Convert the original Image to Black and white and observe the result.
The thresholding value used is 0.3. It may be any value between 0 1. Change the
thresholding value and observe what happens to the black and white image.
Gray_Img
Black_White
6. Resizing an image
Change the values within square brackets. Observe what happens to the resulting
image Resized_Img
Convert the Resized_Img to a black & white image and show it in another figure.
Save the resized gray image & the resized black and white image as separate images.
(You may use any image format you prefer. Use Matlab help for more information on
supported image formats)
Part II
Use a separate m-file for Part II. Follow the steps given below. (Use your knowledge from Part I
if syntax is not given)
1. Load the image coins.
2. Convert the loaded image to a black and white image. (Use a suitable value for
thresholding)
3. Show the black and white image in a window : figure(1) & save the black and white
image.
5. Show the inverted black and white image in a separate window : figure(2) and save this
image in a format you prefer.