How to make a loop on objects after watershed segmentation
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tian Tian
am 23 Feb. 2018
Kommentiert: Matt J
am 23 Feb. 2018
I want to find objects with mean grayscale value <30 after watershed segmentation. But I don't know how to write the loop.After watershed, I think it is the segmented image is in label matrix (but not exactly sure). Could anyone give me a hand on writing this loop? Any help is appreciated.
0 Kommentare
Akzeptierte Antwort
Matt J
am 23 Feb. 2018
Bearbeitet: Matt J
am 23 Feb. 2018
No need for a loop,
stats=regionprops(labelmatrix, grayvalues, 'MeanIntensity');
index=[stats.MeanIntensity]<30;
6 Kommentare
Matt J
am 23 Feb. 2018
@Tian Tian,
Please close this question (by Accept-clicking) and start a new one. The issue in your posted question has been addressed. The discussion is now well into other unrelated issues.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!