How to select an object of a bw image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Scrat
am 24 Okt. 2015
Beantwortet: Image Analyst
am 24 Okt. 2015
I have a bw image with two blobs. I want to calculate area centroid etc. Of each individually....how can i achieve this??!
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 24 Okt. 2015
With regionprops():
labeledImage = bwlabel(binaryImage);
measurements = regionprops(labeledImage, 'Area');
allAreas = [measurements.Area]
See my Image Segmentation Tutorial for a full demo: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!