how to measure the wide of object in binary image ?

1 回表示 (過去 30 日間)
ElizabethR
ElizabethR 2016 年 3 月 2 日
コメント済み: ElizabethR 2016 年 3 月 5 日
i have a binary image, and i want to measure the wide of object ( white pixel). how to measure it ? please help. thanks

採用された回答

Image Analyst
Image Analyst 2016 年 3 月 2 日
See my Image Segmentation Tutorial and see how I get the bounding box. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  11 件のコメント
Image Analyst
Image Analyst 2016 年 3 月 4 日
It gives you a structure array. Each structure in the array is a structure with field that correspond to the measurements you asked regionprops() to make. For example measurements(7) has all the measurements for blob #7, like Area, Centroid and BoundingBox: measurements(7).Area, measurements(7).Centroid, and measurements(7).BoundingBox.
ElizabethR
ElizabethR 2016 年 3 月 5 日
ooohhh i see.. okay thank you so much @Image Analyst, @Guillaume GBU :D

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by