How do I find the area inside a shape?

18 visualizaciones (últimos 30 días)
Eleanor Warner
Eleanor Warner el 27 de Nov. de 2017
Respondida: Elizabeth Reese el 29 de Nov. de 2017
Is there a way to find the areas of the different shapes in this image in one piece of code?

Respuestas (1)

Elizabeth Reese
Elizabeth Reese el 29 de Nov. de 2017
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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by