Answered step by step
Verified Expert Solution
Question
1 Approved Answer
An 8x8 image is given below: 88 100 91 117 91 10 5 100 100 10 510 91|117 100 91 117 5 891 91 5
An 8x8 image is given below: 88 100 91 117 91 10 5 100 100 10 510 91|117 100 91 117 5 891 91 5 100 8 8 105 100 5 5 10 810 91 100 117 117 91 91 1005 117 10 91 85 10 117 117 117 100 91 891 91 100 100 555 1010 a) Apply thresholding on the given image to create a binary image. The threshold should be selected based on the histogram of image pixel values. Show all the steps -histogram creation, value of the threshold selected, thresholding function and the obtained binary image If 8-connectivity is assumed, how many connected components are there in the binary image? Mark them on the binary image. You don't have to apply the algorithm if you can determine the number by visual inspection b) c) What is the area of each of the connected components? d) Create a smaller image by cutting out a chunk of the binary image with corners at the pixels (2, 5), (2, 8), (5, 5) and (5, 8). Assume that the spatial coordinates of the upper left corner pixel are (1,1). Show the image Apply the dilation operator on the smaller image to remove the black hole within the white object. How many passes of the dilation operator are necessary? Show the filtered image after every pass. Assume small image is padded with 1s and that structuring element is a 3x3 box filter e) An 8x8 image is given below: 88 100 91 117 91 10 5 100 100 10 510 91|117 100 91 117 5 891 91 5 100 8 8 105 100 5 5 10 810 91 100 117 117 91 91 1005 117 10 91 85 10 117 117 117 100 91 891 91 100 100 555 1010 a) Apply thresholding on the given image to create a binary image. The threshold should be selected based on the histogram of image pixel values. Show all the steps -histogram creation, value of the threshold selected, thresholding function and the obtained binary image If 8-connectivity is assumed, how many connected components are there in the binary image? Mark them on the binary image. You don't have to apply the algorithm if you can determine the number by visual inspection b) c) What is the area of each of the connected components? d) Create a smaller image by cutting out a chunk of the binary image with corners at the pixels (2, 5), (2, 8), (5, 5) and (5, 8). Assume that the spatial coordinates of the upper left corner pixel are (1,1). Show the image Apply the dilation operator on the smaller image to remove the black hole within the white object. How many passes of the dilation operator are necessary? Show the filtered image after every pass. Assume small image is padded with 1s and that structuring element is a 3x3 box filter e)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started