Skip to content

cnmy-ro/roci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROCI: Repository of Computational Imaging

This figure uses the Calabi-Yau manifold SVG as a component, taken from: https://commons.wikimedia.org/wiki/File:Calabi_yau_formatted.svg

DOI

ROCI is a collection of minimalistic, high-quality, and self-contained PyTorch (re-)implementations of algorithms used in computational imaging.

In terms of applications, ROCI focuses on forward and inverse problems appearing in computational MRI (reconstruction, quantification, synthesis, physics simulation). In terms of techniques, it includes 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.

Code Organization

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
    ...

ROCI also provides 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 the tiny directory.

ROCI represents a loose collection of algorithms, not a coherent Python library. Such a python library is under development as a separate project, temporarily being housed in this repo under rocilib.

Available Algorithms

MRI reconstruction:

MRI forward physics simulation:

MRI quantification:

Coming Soon

Inversion:

Representations:

Forward physics modeling:

Citation

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}
}