how to calculate the volume of objects in milimeter cube

4 visualizzazioni (ultimi 30 giorni)
i have two methods for calculating volume of objects in millimeter cube, please tell me which of them is correct or any other method for volume calculation.
thanks

Risposta accettata

Image Analyst
Image Analyst il 17 Giu 2015
We have no idea what voxel_count or voxel_size are. Neither one looks like it would sum up the volume of individual objects/regions in the "cube" - it looks like it just computes the volume of the entire cube regardless of any segmented regions inside it.
  4 Commenti
Muhammad Shoaib
Muhammad Shoaib il 17 Giu 2015
After masking with bwareaopen i have just one blob left with area 18301, can you please guide me how to get mmPerPixel,i have mmPerPixelX=0.7188 , mmPerPixely=0.7188 and mmPerPixelZ=5.0000
volumeInMm = 18301 * mmPerPixelX * mmPerPixelY * mmPerPixelZ;
%am i right?
Image Analyst
Image Analyst il 17 Giu 2015
Yes. If the volume is 18301 voxels, and those are the spatial calibration factors in the 3 dimensions, then that will give you the volume in cubic mm.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox 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