how to calculate the volume of objects in milimeter cube

조회 수: 1 (최근 30일)
Muhammad Shoaib
Muhammad Shoaib 2015년 6월 17일
편집: Muhammad Shoaib 2015년 10월 14일
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

채택된 답변

Image Analyst
Image Analyst 2015년 6월 17일
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
Muhammad Shoaib
Muhammad Shoaib 2015년 6월 17일
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 2015년 6월 17일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by