How do i meassure total surface area with regionprops?
2 ビュー (過去 30 日間)
古いコメントを表示
Hey, I am trying to measure total surface area and perimeter of the mitochondrial networks. I used the regionprops function, however I can only meassure the area of single objects. When I try to sum everything together it either gives an error message, or the whole thing just equals one.
%%Label items for quantification of total area
[mitLabel, mitNum] = bwlabel(Ibin)
mitStats = regionprops(mitLabel, 'Basic')
mitArea = mitStats.Area
I dont know what to do from here. All functions like sum(MitArea, 2, 'default') either fails or equals one. I just want to add all induvidal areas of components into one combined surface area.
0 件のコメント
採用された回答
Image Analyst
2018 年 10 月 24 日
Try this
allBlobAreas = [mitStats.Area]; % Extract all areas from structure into double vector.
totalMitArea = sum(allBlobAreas)
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!