Volume of 3D data points and volume of Convex Hull of those data points
6 views (last 30 days)
Show older comments
Shrikant
on 23 Apr 2014
Answered: Sean de Wolski
on 23 Apr 2014
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.
0 Comments
Accepted Answer
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:
0 Comments
More Answers (0)
See Also
Categories
Find more on Volume Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!