Volume of 3D data points and volume of Convex Hull of those data points

6 views (last 30 days)
I am having 3D data points. I want to calculate volume of these 3D points. Then I want to calculate volume of convex hull of these data points.
I have calculated volume of 3D points by calculating number of voxels and volume of convex hull by using 'convhull' command. But, I think method of calculating volume in convhull is different.
So, I want to know how to calculate volume in these two cases using same method.

Accepted Answer

Sean de Wolski
Sean de Wolski on 23 Apr 2014
So it sounds like you have a binary three dimensional volume that you are essentially summing to get the volume of the points? If this is correct, I would first calculate an isosurface of this using isosurface:
doc isosurface
Then with vertices from the isosurface, calculate the convex volume using convhulln. To calculate the non-convex volume, you can do what you're doing now which will be an overapproximation or you could convert the mesh to convex tetrahedra and sum up their volumes.
This might help with that:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!