Question: WRITE IN MATBLAB. ADD comments in code for explanation. Task 1 [5 Marks] Given the following image of coins (imCoins) (a) Read the image. (b)

WRITE IN MATBLAB.

ADD comments in code for explanation.

WRITE IN MATBLAB. ADD comments in code for explanation. Task 1 [5

Marks] Given the following image of coins (imCoins) (a) Read the image.(b) Convert the image imCoins into a binary image im2 using thresholding.

Task 1 [5 Marks] Given the following image of coins (imCoins) (a) Read the image. (b) Convert the image imCoins into a binary image im2 using thresholding. Display the images im1 and im2 side by side. (c) Using the hole-filling algorithm, fill the holes in the segmented binary image im2. Display the image before and after hole filling. (d) Using the connected component algorithm, count the number of coins in the image, and show the number of coins. Task 2 [5 Marks] Given the following binary image (im): (a) Read the image im. (b) Using morphological operations, remove all thin lines and keep only the four thick rectangular objects. (c) Display the image before and after each operation. Given the following noisy image (imNoisy): (a) Read the image imNoisy. (b) Using morphological operations, remove the noise from this image. (c) Show the image before and after each operation

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 Databases Questions!