Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Arghadwip Paul
Arghadwip Paul le 3 Juil 2017
Commenté : palaciosg226 le 8 Juin 2020
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 commentaires
Image Analyst
Image Analyst le 3 Juil 2017
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 le 8 Juin 2020
Hello, I have the same question. In many applications such as percolation detection, this tool is necessary.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by