Giter VIP home page Giter VIP logo

ct_reconstrution's Introduction

Computed Tomography Reconstruction

System Setup

  1. Install Matlab_R2022b.

  2. During the installation the application will ask for Add-ons. Install the following Toolbox:

    Image Processing Toolbox
    Statistics and Machine Learning Toolbox

  3. Download all the files from within the folders in this GitHub and place them in the Documents/Matlab folder in your system.

  4. Open the Matlab application and open the script ProjectGUI.mlapp

  5. Hit the Run button and this open a GUI showing our Project.

Screenshot 2022-12-08 at 11 55 37 PM

Code description

The MATLAB code is attached. A list of the files is as follows:

  1. ProjectGUI.mlapp: code for MATLAB GUI interface. Run this file to start the program.
  2. Generatesinogram.m: generates the sinogram for the input images.
  3. 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.
  4. fbp_shepplogan.m: this script uses the shepp logan phantom to reconstruct ct using back projection and filtered back projection using iradon transform.
  5. sart_discphantom.m: this function reconstructs the disk phantom using Simultaneous Algebraic Reconstruction Technique SART.
  6. discphantomnorm.mat: The sart_discphantom.m uses the normalized (0 to 0.0309) mat file of the disk to perform the SART.
  7. sart_shepplogan.m: this script reconstructs the shepp logan phantom using Simultaneous Algebraic Reconstruction Technique SART.
  8. Shepplogannorm.mat: The sart_shepplogan.m uses the normalized (0 to 0.0309) mat file of the disk to perform the SART.

CT reconstruction using GUI

  1. Once the GUI window shows up. Use the Load Shepp logan button to open the file explorer.
  2. Select the SheppLogan_Phantom.png file.
  3. Click on Generate sinogram button to see the sinogram generated using radon transform.
  4. Click on FBP button to perform the reconstruction using Filtered Back Projection.
  5. This operation can take some time based on your system configuration

Simple Back Projection

Screenshot 2022-12-09 at 6 10 15 PM

Filtered Back Projection using iradon transform

Screenshot 2022-12-09 at 6 10 59 PM

Simultaneous Algebraic Reconstruction Technique (SART)

Screenshot 2022-12-09 at 6 16 53 PM

ct_reconstrution's People

Contributors

avssriraj avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

jhzjhz123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.