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
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
2020-6-8
Hello, I have the same question. In many applications such as percolation detection, this tool is necessary.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!