How to calculate surface area of a selected region from a 3d plot

10 views (last 30 days)
Hi Friends,
I have created a 3d plot in Matlab using x,y,z coordinates imported from another software. From this 3d surface i wanted to calculate the surface area of a certain selected region. I have even defined the region of interest on the 3d plot but, is stuck at finding the area. It would be very helpful if someone can guide me on how to find the surface area of this region of interest.

Answers (1)

Image Analyst
Image Analyst on 1 Aug 2020
regionprops3() can give you the surface area of a 3-D volumetric image.
  2 Comments
Anand S
Anand S on 1 Aug 2020
is there a way to get the surface area of the hatched(red) region
Image Analyst
Image Analyst on 1 Aug 2020
You'd have to put all those x,y,z points into a 3-D array and then use regionprops3(). Not sure if the area would include the inside area plus the outside area, or just the outside area. Otherwise you can try polyarea() on each of your little triangles.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!