Skip to content

cviaai/IGS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Python

Iterative Gradient Sampling (IGS)

This repository provides the official PyTorch implementation of Iterative Gradient Sampling (IGS) methods that introduces approach to segmentation and classification which dramatically reduces k-space fractions and introduces a novel method for pathology diagnostics.

Demonstration of k-space patterning via IGS algorithm featuring segmentation results with the ACDC dataset.

Abstract

To accelerate MRI, the field of compressed sensing is traditionally concerned with optimizing the image quality after a partial undersampling of the measurable k-space. In our work, we propose to change the focus from the quality of the reconstructed image to the quality of the downstream image analysis outcome. Specifically, we propose to optimize the patterns according to how well a sought-after pathology could be detected or localized in the reconstructed images. We find the optimal undersampling patterns in k-space that maximize target value functions of interest in commonplace medical vision problems (reconstruction, segmentation, and classification) and propose a new iterative gradient sampling routine universally suitable for these tasks. We validate the proposed MRI acceleration paradigm on three classical medical datasets, demonstrating a noticeable improvement of the target metrics at the high acceleration factors (for the segmentation problem at x16 acceleration, we report up to 12% improvement in Dice score over the other undersampling patterns

Usage

0. Cloning the repository

$ git clone https://github.com/cviaai/IGS.git
$ cd IGS-SEGMENT/

1. Creating python environment

$ conda env create -f igs.yml
$ conda activate igs

2. Datasets

IGS is trained to work with the major public medical datasets to resolve the following medical tasks:

  1. Segmentation (BraTS2020 for brain tumor segmentation, ACDC for cardiac segmentation)
  2. Classification (BraTS2020 with the total amount of slices being split into tumor/non-tumor classes)
  3. Image reconstruction (raw k-space from FastMRI dataset, undersampled ACDC, BraTS)

3. Code structure

.
├── k_space_reconstruction    # Reconstruction tasks codes
│   ├── datasets              # Data preparation
│   ├── nets                  # Models
│   └── utils                 # Utility files
├── notebooks                 # Train, validation, test scripts
│   ├── acdc-unet-attention   # Attention U-Net for ACDC
│   ├── acdc                  # ACDC segmentation with U-Net
│   ├── brats-unet3d          # BraTS segmentation with U-Net 3D
│   ├── brats                 # BraTS segmentation with U-Net
│   ├── brats-zf-recon        # Zero-filled reconstruction
│   ├── classification-brats  # Classification with BraTS (class-split)
│   ├── brats-zf-recon        # Zero-filled reconstruction
│   ├── fastmri-knee-zf-recon # Fast-MRI knee reconstruction
└── ...

4. Metrics

Loss functions used:

5. Citation

Please cite this work as following:

@misc{razumov2021optimal,
      title={Optimal MRI Undersampling Patterns for Ultimate Benefit of Medical Vision Tasks}, 
      author={Artem Razumov and Oleg Y. Rogov and Dmitry V. Dylov},
      year={2021},
      eprint={2108.04914},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}