Science Score: 77.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: pubmed.ncbi, ncbi.nlm.nih.gov, nature.com, frontiersin.org -
✓Committers with academic emails
20 of 74 committers (27.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.5%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Advanced Normalization Tools (ANTs)
Basic Info
Statistics
- Stars: 1,356
- Watchers: 66
- Forks: 390
- Open Issues: 91
- Releases: 21
Topics
Metadata Files
README.md

Advanced Normalization Tools (ANTs) is a C++ library available through the command line that computes high-dimensional mappings to capture the statistics of brain structure and function. It allows one to organize, visualize and statistically explore large biomedical image sets. Additionally, it integrates imaging modalities in space + time and works across species or organ systems with minimal customization.
The ANTs library is considered a state-of-the-art medical image registration and segmentation toolkit which depends on the Insight ToolKit, a widely used medical image processing library to which ANTs developers contribute. ANTs-related tools have also won several international, unbiased competitions such as MICCAI, BRATS, and STACOM.
It is possible to use ANTs in R (ANTsR) and Python (ANTsPy), with additional functionality for deep learning in R (ANTsRNet) and Python (ANTsPyNet). These libraries help integrate ANTs with the broader R / Python ecosystem.
Installation
Quick links: download binaries | build from source | docker | conda.
Pre-compiled binaries
The easiest way to install ANTs is by downloading the latest binaries on the Releases page. Download the latest release under the "Assets" section, then unzip the archive. Next, add the ANTs library to your PATH:
export PATH=/path/to/ants/bin:$PATH
You can check that this worked by running a command to find the path to any ANTs function:
which antsRegistration
If that works, you should be able to use the full functionality of ANTs from the command line or bash. You may wish to control multi-threading by setting the environment variable ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS.
Building from source
When necessary, you can also build ANTs from the latest source code. A minimal example on Linux / Mac looks like this:
bash
workingDir=${PWD}
git clone https://github.com/ANTsX/ANTs.git
mkdir build install
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=${workingDir}/install \
../ANTs 2>&1 | tee cmake.log
make -j 4 2>&1 | tee build.log
cd ANTS-build
make install 2>&1 | tee install.log
More details and a full downloadable installation script can be found in the Linux/MacOS Guide. Building from source will generally work on Windows as well with some additional steps explained in the Windows Guide. Alternatively, it is also possible to install ANTs via Docker or Conda.
Code examples
ANTs is a flexible library that can be used for a variety of applications and areas. Below is a collection of example scripts that - with a little effort - can be adapted to fit your specific needs. Some examples also include code for ANTsR or ANTsPy.
Registration
- Basic registration [Link]
- Basic registration with mask [Link]
- Large deformation [Link]
- Asymmetry [Link]
- Automobile registration [Link]
- Point-set mapping [Link]
- Global optimization [Link]
Template construction
Cortical thickness
Segmentation
Brain
- Basic brain mapping [Link]
- Brain extraction [Link]
- Multi-atlas joint label/intensity fusion Link, Link
- fMRI or Motion Correction [Link]
- fMRI reproducibility [Link]
- Partial EPI slab to T1 image registration [Link]
See also our pre-built ANTs templates with spatial priors available for download [General, MNI].
Lung
- CT lung registration [Link]
- Lung mask registration [Link]
- Lung and lobe estimation [Link]
- Lung ventilation-based segmentation [Link]
Cardiac
- Basic example [Link]
Other
Learning resources
There are many different resources for learning about how to use ANTs functions and the methodology behind them. A selected list of useful resources is provided here.
Some commonly visited tutorials for specific ANTs functions are also presented below.
- Using antsRegistration [Link]
- Applying warps with antsApplyTransforms [Link]
- Using antsCorticalThickness [Link]
- Using N4BiasFieldCorrection [Link]
- Multi-modality Presentation [Link]
Contributing
If you have a question, feature request, or bug report the best way to get help is by posting an issue on the GitHub page. Please remember that it is difficult to provide any help if you do not provide enough information to reproduce your issue or environment.
We welcome any new contributions and ideas to improve ANTs. If you want to contribute code, the best way to get started is by reading through the Wiki to get an understanding of the project or by posting an issue.
Team
Development of ANTs is led by Brian B. Avants (Creator, Algorithm Design, Implementation), Nicholas J. Tustison (Compeller, Algorithm Design, Implementation Guru), Hans J. Johnson (Large-Scale Application, Testing, Software design), Gang Song (Originator), Philip A. Cook, Jeffrey T. Duda (DTI), Ben M. Kandel (Perfusion, multivariate analysis), and Nick Cullen (Python, R).
References
A large collection of journal articles have been published using ANTs software and can be found by searching Google Scholar or PubMed. Below, we provide a curated list of the most relevant articles to be used as a guide for better understanding or citing ANTs.
Image Registration
Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain. Med Image Anal (2008). [Link]
Evaluation of 14 nonlinear deformation algorithms applied to human brain MRI registration. Neuroimage (2009). [Link]
Evaluation of registration methods on thoracic CT: the EMPIRE10 challenge. IEEE Trans Med Imaging (2011). [Link]
A reproducible evaluation of ANTs similarity metric performance in brain image registration. Neuroimage (2011). [Link]
Templates
The optimal template effect in hippocampus studies of diseased populations. Neuroimage (2010). [Link]
Image Segmentation
An open source multivariate framework for n-tissue segmentation with evaluation on public data. Neuroinformatics (2011). [Link]
Multi-atlas segmentation with joint label fusion and corrective learning—an open source implementation. Front Neuroinform (2013). [Link]
Bias Correction
N4ITK: improved N3 bias correction. IEEE Trans Med Imaging (2010). [Link]
Cortical Thickness
Registration based cortical thickness measurement. Neuroimage (2009). [Link]
Large-scale evaluation of ANTs and FreeSurfer cortical thickness measurements. Neuroimage (2014). [Link]
Regional and hemispheric variation in cortical thickness in chimpanzees. J Neurosci (2013). [Link]
Longitudinal Mapping of Cortical Thickness Measurements: An Alzheimer's Disease Neuroimaging Initiative-Based Evaluation Study. J Alzheimers Dis (2019). [Link]
Eigenanatomy
Eigenanatomy improves detection power for longitudinal cortical change. Med Image Comput Comput Assist Interv (2012). [Link]
White matter imaging helps dissociate tau from TDP-43 in frontotemporal lobar degeneration. J Neurol Neurosurg Psychiatry (2013). [Link]
Software
The ANTsX ecosystem for quantitative biological and medical imaging. Scientific Reports (2021). [Link]
ANTsX neuroimaging-derived structural phenotypes of UK Biobank. Scientific Reports (2024). [Link]
Funding
Current support comes from R01-EB031722. Previous support includes R01-EB006266-01 and K01-ES025432-01.
Owner
- Name: Advanced Normalization Tools Ecosystem
- Login: ANTsX
- Kind: organization
- Location: Cambridge, MA; Philadelphia, PA; Southern California
- Website: https://www.ants.dev
- Repositories: 8
- Profile: https://github.com/ANTsX
Ecosystem supporting multi-modality biomedical image analysis across programming languages.
Citation (CITATION.bib)
% Please cite this article if using ANTs in published research
% See the project README for additional citations for specific tools
@article{tustison_antsx_2021,
title = {The {ANTsX} ecosystem for quantitative biological and medical imaging},
volume = {11},
issn = {2045-2322},
url = {https://doi.org/10.1038/s41598-021-87564-6},
doi = {10.1038/s41598-021-87564-6},
abstract = {The Advanced Normalizations Tools ecosystem, known as ANTsX, consists of multiple open-source software libraries which house top-performing algorithms used worldwide by scientific and research communities for processing and analyzing biological and medical imaging data. The base software library, ANTs, is built upon, and contributes to, the NIH-sponsored Insight Toolkit. Founded in 2008 with the highly regarded Symmetric Normalization image registration framework, the ANTs library has since grown to include additional functionality. Recent enhancements include statistical, visualization, and deep learning capabilities through interfacing with both the R statistical project (ANTsR) and Python (ANTsPy). Additionally, the corresponding deep learning extensions ANTsRNet and ANTsPyNet (built on the popular TensorFlow/Keras libraries) contain several popular network architectures and trained models for specific applications. One such comprehensive application is a deep learning analog for generating cortical thickness data from structural T1-weighted brain MRI, both cross-sectionally and longitudinally. These pipelines significantly improve computational efficiency and provide comparable-to-superior accuracy over multiple criteria relative to the existing ANTs workflows and simultaneously illustrate the importance of the comprehensive ANTsX approach as a framework for medical image analysis.},
number = {1},
journal = {Scientific Reports},
author = {Tustison, Nicholas J. and Cook, Philip A. and Holbrook, Andrew J. and Johnson, Hans J. and Muschelli, John and Devenyi, Gabriel A. and Duda, Jeffrey T. and Das, Sandhitsu R. and Cullen, Nicholas C. and Gillen, Daniel L. and Yassa, Michael A. and Stone, James R. and Gee, James C. and Avants, Brian B.},
month = apr,
year = {2021},
pages = {9068},
}
GitHub Events
Total
- Fork event: 11
- Create event: 38
- Commit comment event: 4
- Release event: 4
- Issues event: 64
- Watch event: 143
- Delete event: 24
- Issue comment event: 281
- Push event: 347
- Pull request review comment event: 1
- Pull request review event: 2
- Gollum event: 11
- Pull request event: 70
Last Year
- Fork event: 11
- Create event: 38
- Commit comment event: 4
- Release event: 4
- Issues event: 64
- Watch event: 143
- Delete event: 24
- Issue comment event: 281
- Push event: 347
- Pull request review comment event: 1
- Pull request review event: 2
- Gollum event: 11
- Pull request event: 70
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Brian Avants | s****a@g****m | 1,660 |
| Nick Tustison | n****n@g****m | 1,424 |
| Philip Cook | c****a@p****u | 359 |
| Hans J. Johnson | h****n@u****u | 353 |
| Jeffrey Duda | j****a@g****m | 184 |
| Gabriel A. Devenyi | g****i@g****m | 79 |
| Ben Kandel | b****l@s****u | 52 |
| armaneshaghi | a****i@g****m | 38 |
| muschellij2 | m****2@g****m | 36 |
| Ali Ghayoor | a****r@u****u | 26 |
| Gang Song | s****g@s****u | 21 |
| Kent Williams | n****s@u****u | 16 |
| Ryan Barnard | r****d@a****s | 15 |
| Yaroslav Halchenko | d****n@o****m | 14 |
| Vladimir S. FONOV | v****v@g****m | 11 |
| Dženan Zukić | d****c@k****m | 10 |
| Paramveer Dhillon | d****n@c****u | 10 |
| Christian P. V. Christoffersen | 8****c | 9 |
| Baohua Wu | b****9@g****m | 8 |
| Michael Stauffer | m****f@v****t | 7 |
| Matt Cieslak | m****k@g****m | 7 |
| Christopher G. Schwarz | s****r@m****u | 5 |
| Francois Budin | f****n@k****m | 4 |
| Marc Ramos | m****2@c****) | 4 |
| Chris Filo Gorgolewski | c****i@g****m | 4 |
| Igor Gnatenko | i****n@g****m | 4 |
| adrienkaiser | a****r@h****r | 3 |
| Tobias Wood | t****d@k****k | 3 |
| Craig Stark | c****k@u****u | 3 |
| andife | f****r@a****e | 2 |
| and 44 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 166
- Total pull requests: 141
- Average time to close issues: 7 months
- Average time to close pull requests: 2 months
- Total issue authors: 94
- Total pull request authors: 16
- Average comments per issue: 6.19
- Average comments per pull request: 1.41
- Merged pull requests: 110
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 42
- Pull requests: 62
- Average time to close issues: 18 days
- Average time to close pull requests: about 20 hours
- Issue authors: 31
- Pull request authors: 6
- Average comments per issue: 4.5
- Average comments per pull request: 1.08
- Merged pull requests: 50
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- cookpa (20)
- satra (14)
- stnava (7)
- JinDJsuper (7)
- yarikoptic (6)
- gerddie (6)
- gdevenyi (5)
- dzenanz (4)
- dbrennan44 (4)
- butellyn (3)
- Schwarao (3)
- toomanycats (3)
- blakedewey (2)
- janeisklar (2)
- ntustison (2)
Pull Request Authors
- cookpa (113)
- ntustison (23)
- hjmjohnson (18)
- aghayoor (16)
- dzenanz (10)
- Chaircrusher (7)
- gdevenyi (6)
- mathdugre (4)
- muschellij2 (2)
- chrisgorgo (2)
- ncullen93 (2)
- NicolasGensollen (2)
- jennydaman (1)
- mabulnaga (1)
- yarikoptic (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- docker/build-push-action v3 composite
- docker/login-action v2 composite
- docker/metadata-action v4 composite
- actions/checkout v3 composite
- ncipollo/release-action v1.11.1 composite
- actions/checkout v3 composite
- ncipollo/release-action v1.11.1 composite
- actions/checkout v3 composite
- ilammy/msvc-dev-cmd v1 composite
- ncipollo/release-action v1.11.1 composite
- ubuntu bionic-20220427 build
- jgehrcke/github-repo-stats RELEASE composite