Open-source Python library for efficient loading, preprocessing, augmentation, and patch-based sampling of 3D medical images in deep learning pipelines built with PyTorch. Provides spatial transforms (random flips, affine, elastic deformation), intensity transforms (bias field simulation, MRI k-space motion artifact simulation, noise, normalisation), and label map operations — including domain-specific MRI augmentations not found in general-purpose vision libraries. Supports standard medical image formats via SimpleITK/ITK. Published in Computer Methods and Programs in Biomedicine (2021). Originally developed at UCL and King's College London; now community-maintained under the torchio-project organisation. Apache 2.0 licensed, 2.4k stars, v1.0.2.
Adopt — committed within 3 months; 2457 stars (strong community); 59516 monthly downloads (widely used); permissive licence (Apache-2.0).
Derived deterministically by the MACH scorer from the signals below — not written prose.
Active — committed within the last month; has tests, CI, releases
★ 2,457 stars · 295 forks · 73 open issues
Python 100%
Every value records the source it was harvested from.
| Field | Value | Source |
|---|---|---|
| citations | 788 | openalex |
| conda_downloads | 272153 | conda |
| description | Medical imaging processing for AI applications. | github_api |
| discovered_conda | torchio | discovery |
| discovered_cran | not_found | discovery |
| discovered_doi | 10.1016/j.cmpb.2021.106236 | discovery |
| discovered_hf | not_found | discovery |
| discovered_npm | not_found | discovery |
| discovered_pypi | torchio | discovery |
| has CI | True | github_api |
| has docs | True | github_api |
| has releases | True | github_api |
| has tests | True | github_api |
| HuggingFace downloads (monthly) | not_found | huggingface |
| judgement | Adopt | mach_scorer |
| judgement reason | Adopt — committed within 3 months; 2457 stars (strong community); 59516 monthly downloads (widely used); permissive licence (Apache-2.0). | mach_scorer |
| license | Apache-2.0 | github_api |
| openalex_id | https://openalex.org/W3012412627 | openalex |
| openalex_type | article | openalex |
| openalex_venue | Computer Methods and Programs in Biomedicine | openalex |
| publication_year | 2021 | openalex |
| PyPI downloads (monthly) | 59516 | pypi |
| archived | False | github_api |
| repository created | 2019-11-26T09:10:09Z | github_api |
| GitHub forks | 295 | github_api |
| repo health | Active | mach_health |
| repo health reason | committed within the last month; has tests, CI, releases | mach_health |
| homepage | https://docs.torchio.org/ | github_api |
| languages | Python:100 | github_api |
| last commit | 2026-11-13T20:14:41Z | github_api |
| open issues | 73 | github_api |
| primary language | Python | github_api |
| repo_size_kb | 67392 | github_api |
| GitHub stars | 2457 | github_api |
| topics | augmentation,data-augmentation,deep-learning,machine-learning,medical-image-analysis,medical-image-computing,medical-image-processing,python,pytorch | github_api |
Recorded deviations — when a harvested value changed between runs.
| When | Field | Was | Now | Source |
|---|---|---|---|---|
| 2026-11-20T21:53:48.177662 | repo_health | — | Active | mach_health |
| 2026-11-20T21:53:48.177662 | repo_health_reason | — | committed within the last month; has tests, CI, releases | mach_health |
| 2026-11-20T21:53:48.177608 | judgement | — | Adopt | mach_scorer |
| 2026-11-20T21:53:48.177608 | judgement_reason | — | Adopt — committed within 3 months; 2457 stars (strong community); 59516 monthly downloads (widely used); permissive licence (Apache-2.0). | mach_scorer |
| 2026-11-20T21:51:47.145136 | hf_downloads | — | — | huggingface |
| 2026-11-20T21:51:46.997049 | pypi_downloads | — | 59516 | pypi |
| 2026-11-20T21:51:46.517179 | citations | — | 788 | openalex |
| 2026-11-20T21:51:46.517179 | openalex_id | — | https://openalex.org/W3012412627 | openalex |
| 2026-11-20T21:51:46.517179 | openalex_type | — | article | openalex |
| 2026-11-20T21:51:46.517179 | openalex_venue | — | Computer Methods and Programs in Biomedicine | openalex |
| 2026-11-20T21:51:46.517179 | publication_year | — | 2021 | openalex |
| 2026-11-20T21:51:46.517076 | conda_downloads | — | 272153 | conda |
| 2026-11-20T21:51:45.780772 | discovered_conda | — | torchio | discovery |
| 2026-11-20T21:51:45.780772 | discovered_cran | — | — | discovery |
| 2026-11-20T21:51:45.780772 | discovered_doi | — | 10.1016/j.cmpb.2021.106236 | discovery |
| 2026-11-20T21:51:45.780772 | discovered_hf | — | — | discovery |
| 2026-11-20T21:51:45.780772 | discovered_npm | — | — | discovery |
| 2026-11-20T21:51:45.780772 | discovered_pypi | — | torchio | discovery |
| 2026-11-20T21:51:43.568101 | has_ci | — | True | github_api |
| 2026-11-20T21:51:43.568101 | has_docs | — | True | github_api |
| 2026-11-20T21:51:43.568101 | has_releases | — | True | github_api |
| 2026-11-20T21:51:43.568101 | has_tests | — | True | github_api |
| 2026-11-20T21:51:43.568101 | repo_languages | — | Python:100 | github_api |
| 2026-11-20T21:51:43.568025 | description | — | Medical imaging processing for AI applications. | github_api |
| 2026-11-20T21:51:43.568025 | license | — | Apache-2.0 | github_api |
| 2026-11-20T21:51:43.568025 | repo_archived | — | False | github_api |
| 2026-11-20T21:51:43.568025 | repo_created | — | 2019-11-26T09:10:09Z | github_api |
| 2026-11-20T21:51:43.568025 | repo_forks | — | 295 | github_api |
| 2026-11-20T21:51:43.568025 | repo_homepage | — | https://docs.torchio.org/ | github_api |
| 2026-11-20T21:51:43.568025 | repo_last_commit | — | 2026-11-13T20:14:41Z | github_api |
| 2026-11-20T21:51:43.568025 | repo_open_issues | — | 73 | github_api |
| 2026-11-20T21:51:43.568025 | repo_primary_language | — | Python | github_api |
| 2026-11-20T21:51:43.568025 | repo_size_kb | — | 67392 | github_api |
| 2026-11-20T21:51:43.568025 | repo_stars | — | 2457 | github_api |
| 2026-11-20T21:51:43.568025 | repo_topics | — | augmentation,data-augmentation,deep-learning,machine-learning,medical-image-analysis,medical-image-computing,medical-image-processing,python,pytorch | github_api |