An open-source convolutional neural networks platform for research in medical image analysis and image-guided therapy
wyli Merge pull request #257 from NifTK/fixes-numpy-requirement
fixes max version of numpy closes #256
Latest commit a0eab6e Oct 23, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github remove previous template Jul 11, 2018
.gitlab modified: .gitlab/merge_request_templates/ Mar 28, 2017
ci Revert "Issue #212: using Python 3 for bundling the wheel" May 29, 2018
config Creation of a bias field augmentation layer. Usage presented in the s… Sep 11, 2018
data moving brain parcellation demo to the zoo Nov 30, 2017
demos unet demo readme Sep 21, 2018
doc fixes max version of numpy Oct 22, 2018
niftynet Merge pull request #246 from NifTK/242-gaussian-smoothing Oct 16, 2018
pip Issue #222: revised source code repository link in long PyPI descript… Sep 12, 2018
tests closing issue 249: fixed dice numerators and wrote tests Oct 12, 2018
.gitattributes Issue #212: renamed => for clarity May 29, 2018
.gitignore Merge branch 'unet-demo' into 'dev' Jun 12, 2018
.gitlab-ci.yml Issue #227: CI dev test now checks no 'unknown' in git-archive'd vers… Sep 13, 2018
.readthedocs.yml update doc website Dec 11, 2017 fixes a typo in Sep 13, 2018 Updating mailing list info Jul 11, 2018 Issue #225: added section about adding release notes to admin tasks i… Sep 13, 2018
LICENSE Revert "Revert "copyright year 2017 -> 2018"" May 15, 2018 tf 1.9 -> 1.10 Aug 9, 2018 add shebang line Nov 21, 2017 Added entrypoint and CI tests for classify Feb 12, 2018 defaulting csv_file output to the the folder of data_split_file Nov 27, 2017 add shebang line Nov 21, 2017 add shebang line Nov 21, 2017 add shebang line Nov 21, 2017 add shebang line Nov 21, 2017
niftynet-logo.png updated logo Jun 1, 2017
requirements-cpu.txt fixes max version of numpy Oct 22, 2018
requirements-gpu.txt fixes max version of numpy Oct 22, 2018 testing apps Nov 14, 2017
setup.cfg Revert "Revert "Issue #212: set versioneer tag_prefix to 'v'"" May 29, 2018 fixes max version of numpy Oct 22, 2018 Issue #212: added new files as generated by versioneer version 0.18: May 29, 2018


pipeline status coverage report License PyPI version

NiftyNet is a TensorFlow-based open-source convolutional neural networks (CNN) platform for research in medical image analysis and image-guided therapy. NiftyNet's modular structure is designed for sharing networks and pre-trained models. Using this modular structure you can:

  • Get started with established pre-trained networks using built-in tools
  • Adapt existing networks to your imaging data
  • Quickly build new solutions to your own image analysis problems

NiftyNet is a consortium of research organisations (BMEIS -- School of Biomedical Engineering and Imaging Sciences, King's College London; WEISS -- Wellcome EPSRC Centre for Interventional and Surgical Sciences, UCL; CMIC -- Centre for Medical Image Computing, UCL; HIG -- High-dimensional Imaging Group, UCL), where BMEIS acts as the consortium lead.


  • Easy-to-customise interfaces of network components
  • Sharing networks and pretrained models
  • Support for 2-D, 2.5-D, 3-D, 4-D inputs*
  • Efficient training with multiple-GPU support
  • Implementation of recent networks (HighRes3DNet, 3D U-net, V-net, DeepMedic)
  • Comprehensive evaluation metrics for medical image segmentation

NiftyNet is not intended for clinical use.

NiftyNet release notes are available here.

*2.5-D: volumetric images processed as a stack of 2D slices; 4-D: co-registered multi-modal 3D volumes


  1. Please install the appropriate TensorFlow package*:
  2. pip install niftynet

All other NiftyNet dependencies are installed automatically as part of the pip installation process.

To install from the source repository, please checkout the instructions.


The API reference and how-to guides are available on Read the Docs.

Useful links

NiftyNet website

NiftyNet source code on GitHub

NiftyNet Model zoo repository

NiftyNet mailing list:

Stack Overflow for general questions

Citing NiftyNet

If you use NiftyNet in your work, please cite Gibson and Li, et al. 2018:

BibTeX entry:

  title = "NiftyNet: a deep-learning platform for medical imaging",
  journal = "Computer Methods and Programs in Biomedicine",
  year = "2018",
  issn = "0169-2607",
  doi = "",
  url = "",
  author = "Eli Gibson and Wenqi Li and Carole Sudre and Lucas Fidon and
            Dzhoshkun I. Shakir and Guotai Wang and Zach Eaton-Rosen and
            Robert Gray and Tom Doel and Yipeng Hu and Tom Whyntie and
            Parashkev Nachev and Marc Modat and Dean C. Barratt and
            Sébastien Ourselin and M. Jorge Cardoso and Tom Vercauteren",

The NiftyNet platform originated in software developed for Li, et al. 2017:

Licensing and Copyright

NiftyNet is released under the Apache License, Version 2.0.

Copyright 2018 the NiftyNet Consortium.


This project is grateful for the support from the Wellcome Trust, the Engineering and Physical Sciences Research Council (EPSRC), the National Institute for Health Research (NIHR), the Department of Health (DoH), Cancer Research UK, King's College London (KCL), University College London (UCL), the Science and Engineering South Consortium (SES), the STFC Rutherford-Appleton Laboratory, and NVIDIA.