How to calculate volume of a 3D object by Convhulln?

Hello everyone,
I have 3d center coordinates and radii of an object which is made up of poly-disperse spheres (as shown in the figure). I want to compute the total volume of the object by using convhulln, please guide me the right way to do it. I want to include the input of 3D center coordinates and radii as well in order to get the total volume of the object. (I have done it by simply giving center coordinates as input the volume value came out as very small)

Answers (1)

The object shown in your diagram is not convex. You might get a better result using an alphaShape instead of a convex hull.

2 Comments

Thankyou Steven, I will try alphaShape. My study requires comparison of volume by different methods. DO you have any idea how can I compute the total volume of same object by dilation(ball3)?
Have you solved the problem?

Sign in to comment.

Categories

Asked:

on 3 Aug 2016

Commented:

on 14 Dec 2021

Community Treasure Hunt

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

Start Hunting!