Python Package for Cone Beam Computed Tomography reconstruction. Full documentation is available at https://mbircone.readthedocs.io
Warning: This is a pre-release version of code that is still under development.
Distribution Statement A. Approved for public release: distribution unlimited (88ABW-2020-0895).
If you publish results based on this code, please cite the following paper:
Thilo Balke, Soumendu Majee, Gregery T. Buzzard, Scott Poveromo, Patrick Howard, Michael A. Groeber, John McClure, Charles A. Bouman "Separable Models for cone-beam MBIR Reconstruction," Proceedings of the IS&T International Symposium on Electronic Imaging, Computational Imaging XVI, pp. 181-1 to 181-7, 2018.
For other OpenMBIR packages see: https://github.com/cabouman/OpenMBIR-Index
In order to install the package, clone the repository to your computer, and run the bash script named run_clean_install
.
The script will create and activate a conda envirnoment named mbircone
, install the package and all its requirements, and build the documentation.
The information below provides additional detail.
- Clone Repository and enter
git clone https://github.com/cabouman/mbircone.git
cd mbircone
- Create conda environment
conda create -n mbircone python=3.8
- Activate conda environment
conda activate mbircone
- Install requirements
pip install -r requirements.txt
-
Ensure GCC is installed per instructions here: https://svmbir.readthedocs.io/en/latest/install.html
-
Install package
pip install .
- Install demo requirements
cd demo
pip install -r requirements_demo.txt
- Run basic demo
python demo_3D_shepp_logan.py
- Run MACE demo
python demo_mace3D.py
- (Optional) Run NSI dataset demo. (Note: this is a long demo with an estimated run time of 30-60 minutes!)
python demo_nsi_preprocess.py
- Result visualization:
Please go to demo/output/
to look at phantom, sinogram, and reconstruction images
- In the case where exceptions occur when downloading data, please check your internet connection. If you replaced the default url with the url of your own dataset, please make sure that the url is correct, and points to a public webpage.
- Install docs requirements
cd docs
pip install -r requirements.txt
- Build documentation
MBIRCONE_BUILD_DOCS=true make html
- Open documentation
cd build/html
open(double clicks) index.html