<p align="center">
<a href="http://torchio.rtfd.io/">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/source/favicon_io/for_readme_2000x462.png" alt="TorchIO logo">
</a>
</p>
> *Tools like TorchIO are a symptom of the maturation of medical AI research using deep learning techniques*.
Jack Clark, Policy Director
at [OpenAI](https://openai.com/) ([link](https://jack-clark.net/2020/03/17/)).
---
<table align="center">
<tr>
<td align="left">
<b>Package</b>
</td>
<td align="center">
<a href="https://pypi.org/project/torchio/">
<img src="https://img.shields.io/pypi/dm/torchio.svg?label=PyPI%20downloads&logo=python&logoColor=white" alt="PyPI downloads">
</a>
<a href="https://pypi.org/project/torchio/">
<img src="https://img.shields.io/pypi/v/torchio?label=PyPI%20version&logo=python&logoColor=white" alt="PyPI version">
</a>
<a href="https://anaconda.org/conda-forge/torchio">
<img src="https://img.shields.io/conda/vn/conda-forge/torchio" alt="Conda version">
</a>
</td>
</tr>
<tr>
<td align="left">
<b>CI</b>
</td>
<td align="center">
<a href="https://travis-ci.com/fepegar/torchio">
<img src="https://img.shields.io/travis/fepegar/torchio/master.svg?label=Travis%20CI%20build&logo=travis" alt="Build status">
</a>
<a href="http://torchio.rtfd.io/?badge=latest">
<img src="https://img.shields.io/readthedocs/torchio?label=Docs&logo=Read%20the%20Docs" alt="Documentation status">
</a>
<a href="https://codecov.io/github/fepegar/torchio">
<img src="https://codecov.io/gh/fepegar/torchio/branch/master/graphs/badge.svg" alt="Coverage status">
</a>
</td>
</tr>
<tr>
<td align="left">
<b>Code</b>
</td>
<td align="center">
<a href="https://scrutinizer-ci.com/g/fepegar/torchio/?branch=master">
<img src="https://img.shields.io/scrutinizer/g/fepegar/torchio.svg?label=Code%20quality&logo=scrutinizer" alt="Code quality">
</a>
<a href="https://codeclimate.com/github/fepegar/torchio/maintainability">
<img src="https://api.codeclimate.com/v1/badges/518673e49a472dd5714d/maintainability" alt="Code maintainability">
</a>
<a href="https://github.com/pre-commit/pre-commit">
<img src="https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white" alt="pre-commit">
</a>
</td>
</tr>
<tr>
<td align="left">
<b>Tutorials</b>
</td>
<td align="center">
<a href="https://github.com/fepegar/torchio/blob/master/tutorials/README.md">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Google Colab">
</a>
</td>
</tr>
<tr>
<td align="left">
<b>Community</b>
</td>
<td align="center">
<a href="https://join.slack.com/t/torchioworkspace/shared_invite/zt-exgpd5rm-BTpxg2MazwiiMDw7X9xMFg">
<img src="https://img.shields.io/badge/TorchIO-Join%20on%20Slack-blueviolet?style=flat&logo=slack" alt="Slack">
</a>
<a href="https://twitter.com/TorchIOLib">
<img src="https://img.shields.io/twitter/url/https/twitter.com/TorchIOLib.svg?style=social&label=Follow%20%40TorchIOLib" alt="Twitter">
</a>
<a href="https://www.youtube.com/watch?v=UEUVSw5-M9M">
<img src="https://img.shields.io/youtube/views/UEUVSw5-M9M?label=watch&style=social" alt="YouTube">
</a>
<a href="https://github.com/fepegar/torchio#contributors">
<img src="https://img.shields.io/badge/Contributors-27-orange.svg" alt="Contributors">
</a>
</td>
</tr>
</table>
---
<p align="center">
<a href="https://torchio.readthedocs.io/transforms/augmentation.html">
<img style="width: 600px; overflow: hidden;" src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/fpg_progressive.gif" alt="Progressive artifacts">
</a>
</p>
<p align="center">
<a href="https://torchio.readthedocs.io/transforms/augmentation.html">
<img style="width: 360px; height: 360px; overflow: hidden;" src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/augmentation.gif" alt="Augmentation">
</a>
</p>
---
<table align="center">
<tr>
<td align="center">Original</td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomblur">Random blur</a>
</td>
</tr>
<tr>
<td align="center"><img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/1_Lambda_mri.png" alt="Original"></td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomblur">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/2_RandomBlur_mri.gif" alt="Random blur">
</a>
</td>
</tr>
<tr>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomflip">Random flip</a>
</td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomnoise">Random noise</a>
</td>
</tr>
<tr>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomflip">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/3_RandomFlip_mri.gif" alt="Random flip">
</a>
</td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomnoise">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/4_Compose_mri.gif" alt="Random noise">
</a>
</td>
</tr>
<tr>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomaffine">Random affine transformation</a>
</td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomelasticdeformation">Random elastic transformation</a>
</td>
</tr>
<tr>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomaffine">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/5_RandomAffine_mri.gif" alt="Random affine transformation">
</a>
</td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randomelasticdeformation">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/6_RandomElasticDeformation_mri.gif" alt="Random elastic transformation">
</a>
</td>
</tr>
<tr>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randombiasfield">Random bias field artifact</a>
</td>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randommotion">Random motion artifact</a>
</td>
</tr>
<tr>
<td align="center">
<a href="http://torchio.rtfd.io/transforms/augmentation.html#randombiasfield">
<img src="https://raw.githubusercontent.com/fepegar/torchio/master/docs/images/gifs_readme/7_RandomBiasField_mri.gif" alt="Random bias field artifact">
</a>
</td>
<td align