how can i calculate a variance of each BLOB in image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
bay rem
am 20 Jan. 2016
Bearbeitet: Image Analyst
am 20 Jan. 2016
hello every one; i need to know how to calculate a variance of each blob contains in one image, thank you in advance
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 20 Jan. 2016
Bearbeitet: Image Analyst
am 20 Jan. 2016
Ask regionprops to return PixelValues for the blobs.
measurements = regionprops(labeledImage, 'PixelValues');
Then for the kth blob:
blobVariance(k) = var(measurements(k).PixelValues);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis 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!