Jump to content
litibenys54

How do I convert decimal to fraction?

Recommended Posts

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 by litibenys54
Link to comment
Share on other sites

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 by ardu2222
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...