How do I use bwlabel for an image with periodic boundary condition?

2 次查看(过去 30 天)
I want to find the clusters from my image for which I am using bwlabel function. But, since I am having Periodic Boundary Condition, so I need to label the groups in the boundary (on opposite sides) with same number. So, how do I change the labels of the groups? What I plan is to shift my first column to extreme right and then check for clusters and then relabel the groups on extreme right with the labels of my first column. Is there a way to do it? Alternative ways to implement Periodic Boundary Condition can also help.
  2 个评论
Image Analyst
Image Analyst 2017-7-3
It could get complicated, like in the case of 8-connected blobs on the right and left sides that don't share any of the same rows, say like a sine wave snaking it's way up the side. Why do you think you need this?
palaciosg226
palaciosg226 2020-6-8
Hello, I have the same question. In many applications such as percolation detection, this tool is necessary.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by