Description
1. Implement the algorithm on Basic Global Thresholding described in L8.1. The
implementation of your algorithm needs to specify a tolerance percentage below which
the thresholds T(i+1) and T(i) are considered identical. This tolerance parameter needs to
be an input for your function.
2. Test the algorithm on the image ‘angiogram.tif’. You will provide the following results:
a) The binarized image with the value of the threshold at convergence
b) The histogram of ‘angiogram.tif’ image with the value of the threshold specified on it.
c) A table containing the value of the threshold at every iteration before reaching
convergence.
3. Apply histogram equalization to ‘angiogram.tif’. You may choose to work with the Matlab
histeq function. Next, apply the same thresholding algorithm to the equalized image.
Compute the new threshold, and the new binarized image.
4. Compare and discuss the results obtained by optimal thresholding on the original image,
and on the image pre-processed with histogram equalization.

