You can estimate the porosity by Microscopy following the ASTM methods. By the measurement on an detemined area you estimate the volumetric porosity.
The x-ray CT it is a much more refined technique to evaluate porosity. By this technique you can calculate more precisely the volumetric porosity. It is a direct form measurement (you see the porosity on a given volume in fact).
Maybe a comparison between the accuracy and precision of each technique (and the results obtained) would be an interesting thing to do.
You will have better 3D and depth determination of your pore distribution with x-ray CT. The pore spaces can be filled with a media that yields contrast if you require some other media than air. The following link is an example of a group I have worked with in the past. They are imaging an additive manufactured part and comparing the resultant with the CAD drawing that generated it. Similar image analysis techniques can be used to quantify the pore spaces in a CT image of your manufactured part. Good luck with your project.