Azzera filtri
Azzera filtri

intersection volume (mesh)

4 visualizzazioni (ultimi 30 giorni)
Ilaria Sani
Ilaria Sani il 22 Ott 2018
Dear All,
I have two clouds of points (they are actually points from an MRI image that represent white matter tracts).
I created the boundaryes of these two clouds: [Surf1, vol1] = boundary(3D_coord1); [Surf2, vol2] = boundary(3D_coord2);
I would like to know the volume of their intersection.
I found code to calculate the surface of intersection and it's working ok. % intersect surfaces Surface1.vertices = [anato_coords{1}(1,:)',anato_coords{1}(2,:)',anato_coords{1}(3,:)']; Surface1.faces = anato_surf; Surface2.vertices = [att_coords{1}(1,:)',att_coords{1}(2,:)',att_coords{1}(3,:)']; Surface2.faces = att_surf; [intersect12, Surf12] = SurfaceIntersection(Surface1, Surface2);
But can't find anything that would give me volume.
Any hint would be highly appreciated!!
Here is two example surfaces:

Risposte (1)

Constantino Carlos Reyes-Aldasoro
If these are points in the same coordinate system, could you find those points that occur in both cases? that would give you an indication of the volume once you scale to the correct proportions.

Categorie

Scopri di più su Lighting, Transparency, and Shading in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by