Here is the version 1.0 of the code: https://github.com/fpiernas/FBP
Read the instructions, although I have done my best to make the code very simple to use. It's possible to reconstruct a sinogram image in just 5 lines of code:
Mat sinogram=imread("sinogram.jpg",IMREAD_COLOR); //load the sinogram image "sinogram.jpg" Mat filtered_sinogram=filter_sinogram(sinogram); //filter the sinogram Mat reconstruction=iradon(filtered_sinogram,false); //perform back projection. Change false to true if sinogram is a full turn renormalize255_frame(reconstruction); //normalize to 255 imwrite("Reconstruction.jpg",reconstruction); //save reconstruction
You can also download the videos I've posted to try the code to perform a 3D reconstruction.
I strongly recommend to use Cloud Compare to open the saves point cloud "slices.xyz" that the code creates.