how can i calculate a variance of each BLOB in image
1 次查看(过去 30 天)
显示 更早的评论
hello every one; i need to know how to calculate a variance of each blob contains in one image, thank you in advance
0 个评论
采纳的回答
Image Analyst
2016-1-20
编辑:Image Analyst
2016-1-20
Ask regionprops to return PixelValues for the blobs.
measurements = regionprops(labeledImage, 'PixelValues');
Then for the kth blob:
blobVariance(k) = var(measurements(k).PixelValues);
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!