Volume under an iso surface

14 vues (au cours des 30 derniers jours)
SNyk
SNyk le 12 Fév 2016
Commenté : Walter Roberson le 13 Fév 2016
I have an iso-surface of velocity V(a,b,c) as shown in the picture. I need to calculate the volume enclosed by this iso-surface and the X axis. I have the x,y,z co-ordinates corresponding to this iso-surface as three different 3D matrices. Any suggestions will be of great help! thank you!
  1 commentaire
SNyk
SNyk le 12 Fév 2016

Connectez-vous pour commenter.

Réponse acceptée

Chad Greene
Chad Greene le 12 Fév 2016
This is a sum. Each grid cell has a volume which is its height x width x length. In your case height at a given row and column is V(row,col). If your grid cells are W*L in size, the volume under the surface of one grid cell is V(row,col)*W*L. For the entire surface, sum up all those volumes and multiply by grid size:
sum(V(:))*W*L
  1 commentaire
Walter Roberson
Walter Roberson le 13 Fév 2016
This applies if we assume a border of 0 around the values. If not then we have to subtract half of the boundary pixels (trapezoid rule.)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by