Giter Club home page Giter Club logo

fbp-recon's Introduction

fbp-recon

A Python framework for filtered backprojection reconstruction (FBP) of 3D CT data, with an adjustable ramp filter and conjugate ray weighting cone beam correction.

Example Recon

Usage

Acquisition params are set within main(). Reconstruction params are passed as arguments to main().

One key option is "use_GPU", which determines the function called to do the reconstruction. If Nvidia GPUs are available, this option should be set to "True". GPU acceleration will reduce the reconstruction time by several orders of magnitude. (a single 512x512 slice will take a few seconds instead of a half hour).

An example main() call is:

main(proj_dir, z_width, FOV, N_matrix, ramp_percent, kl, detail_mode=detail_mode, use_GPU=False)

where the parameters are:

  • proj_dir: the name of the directory with the projection data in dcm format
  • z_width: reconstruction slice thickness [mm]
  • FOV: reconstruction field of view [mm]
  • N_matrix: number of pixels in one dimension of reconstruction matrix
  • ramp_percent: (0 to 1) percentage of Nyquist frequency for projection filtering, higher gives noiser data but better detail
  • kl: (0 to 1) cone beam correction strength, higher improves resolution but may cause artifacts
  • detail_mode: (T/F) whether cone beam correction will scale from 0 to 1 (detailed) or just 0.5 to 1 (softer)
  • use_GPU: (T/F) whether an Nvidia GPU should be used for this recon

fbp-recon's People

Contributors

gjadick avatar

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.