ROCI is a collection of minimalistic, high-quality, and self-contained PyTorch implementations of computational imaging algorithms.
In terms of applications, ROCI focuses on forward and inverse problems appearing in computational MRI (reconstruction, quantification, synthesis, physics simulations). In terms of techniques, it provides classical signal processing algorithms alongside SoTA representation learning and generative modeling methods. All algorithms are written in PyTorch. This means autograd compatibility and GPU-accelerated compute.
All algorithms are stored in the algorithms directory. The directory structure is simple: algorithm = python_file + demo_notebook + readme.
algorithms
|
|- algo_1
| |- algo_1.py
| |- Demo.ipynb
| |- README.md
|
|- algo_2
| |- algo_2.py
| |- Demo.ipynb
| |- README.md
...
We also provide tiny versions of some algorithms applied on miniature toy problems, e.g. generative modeling of toy distributions in 2D space. These can be found in tiny.
MRI reconstruction:
- SENSE parallel-imaging reconstruction
- CG-SENSE parallel-imaging reconstruction
- Compressed sensing reconstruction
- GRAPPA parallel-imaging reconstruction
- ESPIRiT parallel-imaging calibration
- PnP-CNN
- MoDL unrolled network
- Implicit neural representations for differentiable uncalibrated imaging
- Reconstruction with deep image prior
MRI forward physics simulation:
- Bloch signal simulation
- Extended phase graphs (EPG) method
- UltimateSynth: MRI Physics for Pan-Contrast AI
MRI quantification:
Inversion:
- Implicit ESPIRiT: A compact, implicit representation of ESPIRiT maps with stochastic learning of eigenvectors
- Equivariant imaging
- Equivariant splitting
- Double blind imaging with generative modeling
- Compressed-sensing with generative modeling (CSGM)
- PnP-CoSMo: Plug-and-play reconstruction based on content/style modeling
- PnP-Flow
- NullFlow: One-Step Generative Reconstruction
- PCFlow: Perceptually Consistent Flow Matching for Efficient Image Restoration
- PnP-CM
- Regularization by Denoising (RED)
- i-DEQ: A stable inertial deep equilibrium model for image restoration
- noise2noise denoising
- BM3D denoising
- Motion-corrected MRI with DISORDER
- Magnetic resonance spin tomography in time-domain (MR-STAT)
- Data-driven discovery of mechanical models directly from MRI spectral data
- SIINR: structurally informed implicit neural representations
- Neural Inverse Rendering from Propagating Light
- Exoplanet Imaging via Differentiable Rendering
Representations:
- Gaussian representations
- Structured representations using flow-based models
- Non-linear ICA for Principled Disentanglement in Unsupervised Deep Learning
- From Pixels to Components: Eigenvector Masking for Visual Representation Learning
- Tensorial radiance fields
- JEPA-based models
Forward physics modeling:
- Unified Bloch and EPG method
- Phase distribution graphs (PDG) method for MR signal simulation
- Quantum mechanical MRI simulations
- Fast and accurate Bloch simulations using Magnus expansions
- Neural surrogates based on PINNs
- Neural surrogates based on Fourier neural operators
If you use any code from this repository, please cite it as:
@software{Rao_ROCI_2026,
author = {Rao, Chinmay},
month = feb,
title = {{Repository of Computational Imaging (ROCI)}},
version = {0.1.1},
year = {2026},
doi = {10.5281/zenodo.18842184},
url = {https://doi.org/10.5281/zenodo.18842184}
}