How to calculate surface area of a selected region from a 3d plot
조회 수: 11 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
Image Analyst
2020년 8월 1일
regionprops3() can give you the surface area of a 3-D volumetric image.
댓글 수: 2
Image Analyst
2020년 8월 1일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!