how can i calculate a variance of each BLOB in image
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
bay rem
il 20 Gen 2016
Modificato: Image Analyst
il 20 Gen 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 Commenti
Risposta accettata
Image Analyst
il 20 Gen 2016
Modificato: Image Analyst
il 20 Gen 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!