How do I find the area inside a shape?

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

질문:

2017년 11월 27일

답변:

2017년 11월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by