필터 지우기
필터 지우기

finding lenght of each branch

조회 수: 1 (최근 30일)
Mohammad Golam Kibria
Mohammad Golam Kibria 2011년 7월 25일
Hi, I have a matrix as follows:
I =
1 0 0 0 0 1
1 0 0 0 1 0
0 1 0 1 0 0
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 1
I2=bwmorph(I,'branchpoints');
gives me the branchpoints. I need to find how many pixel are there in each branch. this is a sample matrix. I need a generalize one that can be used for any connected component having multiple branch points. can any body help? Thanks

답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by