Info

This question is closed. Reopen it to edit or answer.

calculate channels in a 3dim-matrix

1 view (last 30 days)
Christian
Christian on 15 Jul 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello,
I need an advice or a reference how to calculate channels in a 3dim-matrix.
A channel may look like this (2dim-example):
0=channel or bubble
1011110
1010011
1001101
1111101
In this example the result should be: 1 channel, minimal width 1.
Until now I calculated this problem in several for-loops in combination with bwlabeln and find. But I want to create a new code now.
I ve got all channel and their coordinates by bwlablen and find, but I need an advice how to caluculate channel which move parralel or against the running direction of my former for-loops.
Thank you for your ideas,
Chris

Answers (0)

Community Treasure Hunt

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

Start Hunting!