MATLAB: Internal porosity of 3D Volume object – part (A)

binary imagesimage processingImage Processing Toolboxinternal porosityvoxel

Hi everyone,
I want to find out the internal pores of a volume object. This 3D object object is resulted from binary images of X-ray tomography and then its voxel information is processed to obtain this 3D volume object. Any suggestion or guidance would be highly appreciated. Thanks

Best Answer

Threshold to find material and sum the image. That's the material volume. Then invert that threshold so that now you have non-material/air. Now call imclearborder() to get rid of the surrounding air region. Then sum the volume, which will give you the volume of the internal void spaces. Then divide those two to get the volume fraction = (volume of material) / (volume of void spaces).