litibenys54 Posted November 30, 2020 Report Posted November 30, 2020 (edited) A component in an image is considered a region in an image with the same pixel value. For example in the binary image in figure (a) there are three components. In component labelling, all the pixels belonging to a component are labelled the same. For example, showbox the three components of image (a) are labelled as 2,3,4 and 5. Develop a program using queue to do the component labelling. Main job you have to do is to find the pixels in a components. Two pixels are said to be in the same component if they are adjacent. Two pixels are adjacent if one is to the left, above, speed test right or below the other. For example in image (a), pixels (1,3) and (2,3) are adjacent. Can anyone help me with this question. I don't need any code, I just want to understand how to approach this question. usps tracking Edited December 2, 2020 by litibenys54 Quote
ardu2222 Posted November 30, 2020 Report Posted November 30, 2020 (edited) 3 hours ago, litibenys54 said: A component in an image is considered a region in an image with the same pixel value. For example in the binary image in figure (a) there are three components. In component labelling, all the pixels belonging to a component are labelled the same. For example, the three components of image (a) are labelled as 2,3,4 and 5. Develop a program using queue to do the component labelling. Main job you have to do is to find the pixels in a components. Two pixels are said to be in the same component if they are adjacent. Two pixels are adjacent if one is to the left, above, right or below the other. For example in image (a), pixels (1,3) and (2,3) are adjacent. Can anyone help me with this question. I don't need any code, I just want to understand how to approach this question. Lesson 1: https://www.philadelphia.edu.jo/academics/hhardan/uploads/Image_Processing-ch3_part_1.pdf Lesson 2 (3 pages) https://aishack.in/tutorials/pixel-neighbourhoods-connectedness/ The lesson no. 2 have on the last page an example of what you need. Read the lessons and if you dont understand i will make your script. Edited November 30, 2020 by ardu2222 1 Quote