Select two images from your collection, containing objects with gray levels that are well separated from the gray levels of the background.

Use the MATLAB functions im2bw and graythresh to binarize each image and detect the objects present in the image (see Section 5.1 of the textbook).

Study the results and comment upon the performance of the methods.

Suggest further operations to improve your results.