Skip to content

transform documentation enhancements #2721

@Spenhouet

Description

@Spenhouet

Is your feature request related to a problem? Please describe.

Until now we are using MONAI for our training pipeline and torchio for data augmentations (offline preprocessed).
The data augmentations torchio provides are very medically relevant.
Their documentation, naming of the augmentations and the visual examples are very helpful.

Original Random blur
Original Random blur
Random flip Random noise
Random flip Random noise
Random affine transformation Random elastic transformation
Random affine transformation Random elastic transformation
Random bias field artifact Random motion artifact
Random bias field artifact Random motion artifact
Random spike artifact Random ghosting artifact
Random spike artifact Random ghosting artifact
Random Anisotropy Random Swap
Random Anisotropy Random Swap

We struggled finding equivalent methods in MONAI and even when we did, we were not certain that these are actually the same methods.
We therefore never bothered using MONAI for data augmentations.
We would like to replace torchio with MONAI to further reduce our dependencies.

Describe the solution you'd like

  1. We wish that MONAI would provide the same transformations as torchio does.
  2. We also wish that MONAI provides a equally good documentation and uses medical terms for naming for these transforms.
  3. MONAI should add visual examples for these transforms (in the form of GIFs if possible)

While this issue is meant as a feature request, I see that it has a wide scope. It is also a question in that I might just not see the equivalents.
Let's see were MONAI currently is. I will to try find the equivalent transforms of both packages.

torchio MONAI
RandomAnisotropy Downsampling + Upsampling with Spacing
RandomBlur RandGaussianSmooth
RandomFlip RandFlip
RandomNoise RandGaussianNoise
RandomAffine RandAffine
RandomElasticDeformation Rand3DElastic
RandomBiasField RandBiasField
RandomMotion ?
RandomSpike RandKSpaceSpikeNoise
RandomGhosting ?
RandomGamma RandAdjustContrast
RandomSwap ?

Having visual examples in the documentation of the transforms would really help.

Other open issues on data augmentations I could find:

I would like to collect all task which are needed for MONAI to match torchio on its documentation and transforms.

The following tasks will be necessary to match torchio:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions