How to get the area of a certain contour area?

Hi all,
I plot a contour figure. There are several contours with the same value in this figure. I just want get the area of a certain one. How can I select the areas?

1 Comment

What form is your contour in? A list of x,y coordinates? Is it completely enclosed? Or is it open (touches border)? Have you looked at poly2mask(x,y) and regionprops()?

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 22 Feb 2014

Commented:

on 22 Feb 2014

Community Treasure Hunt

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

Start Hunting!