-
Install Matlab_R2022b.
-
During the installation the application will ask for Add-ons. Install the following Toolbox:
Image Processing Toolbox
Statistics and Machine Learning Toolbox -
Download all the files from within the folders in this GitHub and place them in the Documents/Matlab folder in your system.
-
Open the Matlab application and open the script ProjectGUI.mlapp
-
Hit the Run button and this open a GUI showing our Project.
The MATLAB code is attached. A list of the files is as follows:
- ProjectGUI.mlapp: code for MATLAB GUI interface. Run this file to start the program.
- Generatesinogram.m: generates the sinogram for the input images.
- fbp_discphantom.m: this function creates a disk phantom and reconstructs the ct using simple back projection, filtered back projection, and filtered back projection using iradon transform.
- fbp_shepplogan.m: this script uses the shepp logan phantom to reconstruct ct using back projection and filtered back projection using iradon transform.
- sart_discphantom.m: this function reconstructs the disk phantom using Simultaneous Algebraic Reconstruction Technique SART.
- discphantomnorm.mat: The sart_discphantom.m uses the normalized (0 to 0.0309) mat file of the disk to perform the SART.
- sart_shepplogan.m: this script reconstructs the shepp logan phantom using Simultaneous Algebraic Reconstruction Technique SART.
- Shepplogannorm.mat: The sart_shepplogan.m uses the normalized (0 to 0.0309) mat file of the disk to perform the SART.
- Once the GUI window shows up. Use the Load Shepp logan button to open the file explorer.
- Select the SheppLogan_Phantom.png file.
- Click on Generate sinogram button to see the sinogram generated using radon transform.
- Click on FBP button to perform the reconstruction using Filtered Back Projection.
- This operation can take some time based on your system configuration