finding lenght of each branch
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
				Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!