Question: Segmentation and Object Recognition Part A. Connected components are used frequently for automated inspection.P3imageA.tifis an X-ray image of a chicken breast that contains bone fragments.
Segmentation and Object Recognition
Part A.
Connected components are used frequently for automated inspection.P3imageA.tifis an X-ray image of a chicken breast that contains bone fragments. Extract the bones from the background by using a single threshold. Erode the thresholded image so that only objects of "significant" size remain and create a binary image. Find the connected components and then determine the size of each component. Return a color image with your results that identifies the bone fragments by outlining them in color.
Submit a function [BW, C, N] = Project3A_XX(f)for Part A wherefis the input image,BWis a binary image indicating which pixels correspond to bone fragments,Cis the color image, andNis the number of connected components.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
