Question: Exercise 2 1). Read any gray scale image. 2). Display that image. 3). Again display the image such that the pixels having intensity values below

Exercise 2 1). Read any gray scale image. 2). Display that image. 3). Again display the image such that the pixels having intensity values below than 50 will display as black and pixels having intensity values above than 150 will display as white. And the pixels between these will display as it is.

Exercise3: Convert matlab code in Exercise2 into a function with input of image, input a threshold, then calculate the threshold image based on the input.

1). Read cameraman.tif file, input the threshold value, calculate the threshold image based on the input, display two images in one figure. Try different threshold, compare the results.

2). Take a picture of your signature, convert to grayscale image, use threshold program in (1) to process the image, observe the effect.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!