Giter Site home page Giter Site logo

jtschwar / tomo_tv Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 6.0 178.27 MB

C++ library for Regularized 2D and 3D Tomography Reconstructions.

C++ 2.54% Python 1.74% Makefile 0.05% Cuda 1.51% C 0.08% HTML 0.02% Jupyter Notebook 94.04% Pascal 0.01% Shell 0.01%
tomography 3d-reconstruction inverse-problems cuda regularization

tomo_tv's Introduction

tomo_TV

Python and C++ toolbox for tomographic data processing and developing iterative reconstruction algorithms. Specifically, this repository provides a selection of various data models and regularizers for simple python development. Tomo_TV also contains supports experiments where data is 'dynamically' collected to facilitate real-time analysis of tomograms.

Features

2D and 3D reconstruction algorithms implemented purely in C++ wrapped in Python functions. These scripts can either perform simulations (sim) or reconstruct experimental (exp) projections. Available algorithms include:

  • Filtered Backprojection (FBP)
  • Simultaneous Iterative/Algebraic Reconstruction Technique (SIRT/SART)
  • Conjugate Gradient - Least Squares (CGLS)
  • KL-Divergence / Expectation Maximization for Poisson Limited Datasets
  • FISTA doi: 10.1137/080716542
  • ASD - POCS doi: 10.1088/0031-9155/53/17/021
  • (TODO: OGM and FASTA )

We provide a sample jupyter notebook (demo.ipynb) which outlines the reconstruction process for all these algorithms both with simulated and experimental datasets.

Installation

To clone the repositiory and all the core dependencies run the following line in the terminal:

git clone --recursive https://github.com/jtschwar/tomo_TV.git

For GPU accelerated reconstruction algorithms, we recomend using a Linux operating system. C++ accelerated operations is available on all three operating systems (Windows, macOS, and Linux).

Instructructions for building can be found in BUILDING.MD.

Multi-GPU Capabilities

tomo_TV can be used by running in parallel across multiple GPU devices on a personal computer or compute nodes in a high-performance computing cluster. In order to initiate a parallel run on multiple GPUs, MPI needs to be available.

References

If you use tomo_TV for your research, we would appreciate it if you cite to the following papers:

Contribute

Issue Tracker: https://github.com/jtschwar/tomo_TV/issues

Feel free to open an issue if you have any comments or concerns.

Contact

email: [email protected] website: https://jtschwar.github.io

tomo_tv's People

Contributors

jtschwar avatar zhenghh04 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tomo_tv's Issues

rename ctvlib::recon to ART

The function name ctvlib::recon is too general.
Better to rename it to ART as we will implement other algorithms in the future.

Timing of 3D image reconstruction

Hi Jonathan,

I am Huihuo, working with Yi to optimize your code to run on ALCF machine.

I quickly checked the timing of
This is the timing of 3D/ASD_tv.py.
image

In the current implementation TV minimization took majority of the time. We suggest to use C++ code for the TV part.

The other issue is the definition of recon. It was defined as,
recon = np.zeros([Nslice, Nray, Nray], dtype=np.float32)
should it be recon = np.zeros([Nray, Nray, Nslice], dtype=np.float32) instead?

Huihuo

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.