Hi, does anyone know how to calculate the volume of a closed mesh shape?

6 ビュー (過去 30 日間)
CocoA
CocoA 2017 年 10 月 30 日
コメント済み: CocoA 2017 年 10 月 31 日
The shape is concave. I tried to use 'boundary', but the problem is that for the X and Y data the shrink factor must be zero, while I want the shrink factor to be 1 for the Z data. I also tried to grid the data but this doesn't give the desired result because the area is irregular. Is there another solution to get the volume from this irregular shape?
Thank you in advance!

回答 (1 件)

KL
KL 2017 年 10 月 30 日
There's a blog post explaining the same. Find it on the below link: https://blogs.mathworks.com/loren/2011/06/13/calculating-the-area-under-a-surface/
  1 件のコメント
CocoA
CocoA 2017 年 10 月 31 日
Thank you for the help, but I do not quite get it yet. I attached an image of the shape I want to calculate the volume of. The blog suggests to use the functions fit and quad2d but as you can see in the image, it is not a rectangular/square area. Do you know how to solve that? Thanks a lot!

サインインしてコメントする。

カテゴリ

Help Center および File Exchange3-D Volumetric Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by