TorchIO

用于深度学习的医学影像工具包。「Medical imaging toolkit for deep learning」

Github stars Tracking Chart







Tools like TorchIO are a symptom of the maturation of medical AI research using deep learning techniques.

Jack Clark, Policy Director
at OpenAI (link).





(Queue
for patch-based training)


TorchIO is a Python package containing a set of tools to efficiently
read, preprocess, sample, augment, and write 3D medical images in deep learning applications
written in PyTorch,
including intensity and spatial transforms
for data augmentation and preprocessing.
Transforms include typical computer vision operations
such as random affine transformations and also domain-specific ones such as
simulation of intensity artifacts due to
MRI magnetic field inhomogeneity
or k-space motion artifacts.

This package has been greatly inspired by NiftyNet,
which is not actively maintained anymore.

Credits

If you like this repository, please click on Star!

If you use this package for your research, please cite the paper:

Pérez-García, F., Sparks, R., Ourselin, S.: TorchIO: a Python library for efficient
loading, preprocessing, augmentation and patch-based sampling of medical images
in deep learning. arXiv:2003.04696 [cs, eess, stat] (Mar 2020), http://arxiv.org/abs/2003.04696, arXiv: 2003.04696

BibTeX entry:

@article{perez-garcia_torchio_2020,
    title = {{TorchIO}: a {Python} library for efficient loading, preprocessing, augmentation and patch-based sampling of medical images in deep learning},
    shorttitle = {{TorchIO}},
    url = {http://arxiv.org/abs/2003.04696},
    urldate = {2020-03-11},
    journal = {arXiv:2003.04696 [cs, eess, stat]},
    author = {P{\'e}rez-Garc{\'i}a, Fernando and Sparks, Rachel and Ourselin, Sebastien},
    month = mar,
    year = {2020},
    note = {arXiv: 2003.04696},
    keywords = {Computer Science - Computer Vision and Pattern Recognition, Electrical Engineering and Systems Science - Image and Video Processing, Computer Science - Machine Learning, Computer Science - Artificial Intelligence, Statistics - Machine Learning},
}

This project is supported by the Wellcome / EPSRC Centre for Interventional and Surgical Sciences (WEISS) (University College London) and the School of Biomedical Engineering & Imaging Sciences (BMEIS) (King's College London).

Getting started

See Getting started for
installation
instructions
and a Hello, World!
example.

Longer usage examples can be found in the
notebooks.

All the documentation is hosted on
Read the Docs.

Please
open a new issue
if you think something is missing.

Contributors

Thanks goes to all these people (emoji key):

This project follows the
all-contributors
specification. Contributions of any kind welcome!

Main metrics

Overview
Name With OwnerTorchIO-project/torchio
Primary LanguagePython
Program languagePython (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2019-11-26 09:10:09
Pushed At2025-04-26 22:31:01
Last Commit At
Release Count278
Last Release Namev0.20.7 (Posted on 2025-04-15 21:43:23)
First Release Namev0.3.0 (Posted on 2019-12-21 01:00:59)
用户参与
Stargazers Count2.2k
Watchers Count18
Fork Count247
Commits Count1.7k
Has Issues Enabled
Issues Count474
Issue Open Count34
Pull Requests Count491
Pull Requests Open Count7
Pull Requests Close Count76
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private