Skip to content

fepegar/miccai-educational-challenge-2020

Repository files navigation

This is my submission to the MICCAI Educational Challenge 2020.

You can run the notebook on Google Colab.



Data preprocessing and augmentation using TorchIO: a tutorial

Preprocessing and augmentation are always overlooked in papers, but these are extremely important and therefore the software and parameters used should be correctly reported. Most importantly, papers will be more easily reproducible if researchers can share the tools they use for these tasks.

One does not simply throw data into a U-Net

Transforms are callable Python objects that take data and modify it. In the context of deep learning for medical images, they can be used to pre- or post-process the images, or for data augmentation.

TorchIO transforms support 4D tensors (and therefore also 2D and 3D), so it can be used to process most types of medical images: X-rays, CT, 4D ultrasound, structural MRI, diffusion MRI, functional MRI, PET, SPECT, multispectral, RGB, histology...

In this tutorial, we will go through most of the transforms and show some usage examples, including a typical composition of transforms for training and testing.

Some important concepts of medical imaging are also explained, so it will be helpful for students, researchers or clinicians who are getting started in the field.