Question: matlab Task 2 In this task, you are required to use the logical operators to extract the black circles only in the image below which

Task 2 In this task, you are required to use the logical operators to extract the black circles only in the image below which is a built in image in MATLAB (1) First you need to read the image. To do so, use the following command: img-imread('circlesBrightDark.png); (2) To display your image use the command: imshow(img) ) Design a white image. This can be done by introducing matrix that is full of ones and it has the same size as the image in Figure ( Choose the appropriate logical operatorplong with two aforementioned images to extract the black circles only (5) What is the correct logical operator? Why? Elaborate your answer with an example (6) Show the resulted image, inserted below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
