How do I find the area inside a shape?

3 ビュー (過去 30 日間)
Eleanor Warner
Eleanor Warner 2017 年 11 月 27 日
回答済み: Elizabeth Reese 2017 年 11 月 29 日
Is there a way to find the areas of the different shapes in this image in one piece of code?

回答 (1 件)

Elizabeth Reese
Elizabeth Reese 2017 年 11 月 29 日
Using the Image Processing Toolbox in MATLAB, you can provide the binary image and the properties ('Area') that you would like and the function "regionprops" will return those statistics for the regions that are detected in the image.

カテゴリ

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