Announcement
Announcing the SimpleITK 2.0 Release Candidate 3!
This is anticipated to be the last release candidate before the 2.0 final. Users and developers are encouraged to test the RC before the final release and report issues, bugs, and any significant compatibility problems.
Additional release notes can be found in prior candidates:
Installing SimpleITK
Complete instructions on getting started with SimpleITK including downloading binaries or building SimpleITK can be found on the SimpleITK Read the Docs web page.
Python Binary Downloads
- Python binary wheels are available for download. It is important to have the latest version of pip for correct wheel compatibility and installation. To install the latest SimpleITK package from GitHub releases:
python -m pip install --upgrade pip
python -m pip install --pre SimpleITK --find-links https://github.com/SimpleITK/SimpleITK/releases/tag/v2.0rc3
Anaconda Binary Downloads
Conda packages are available from Anaconda Cloud on the SimpleITK channel. These can be installed with:
conda install -c simpleitk/label/dev simpleitk
Release Notes
API and Compatibility Changes
- The environment variables related to the
Showmethod are only checked once. TheShowmethod now is a wrapper for theImageViewerclass, and the behavior changed. TheSITK_SHOW_EXTENSIONandSITK_SHOW_COMMANDenvironment variables if defined initialize the corresponding global defaults only the first time accessed. The environment variablesSITK_COLOR_COMMANDandSITK_SHOW_3D_COMMANDare removed as theImageViewerclass allows for direct configuration of the command.
New Features
- Rewrote
Showto useImageViewerclass. - Added ā~/Applicationā path to
ImageViewapplication search path for Mac. - Add custom Python procedures or
DiscreteGaussian,SmoothingRecursiveGaussian,ReadImageandWriteImageto support keyword arguments. - Add to the
WriteImagePython procedure the keyword only argumentsimageIOandcompressor. - Use
NPasteImageFilterfrom the SimpleITKFilters remote ITK module to replacePasteImageFilter. - Add to SimpleITKās
PasteImageFilter:-
DestinationSkipAxesparameter - Support for pasting lower dimension to higher dimension image e.g 2D slice into 3D volume
- Ability to use a constant value as input instead of image
-
- Add Python
__setitem__for [] operator support:- assignment constant to a sliced indexed region
- assignment of lower dimension image to matching sliced indexed region
- Add method to
ImageFileReader::GetImageIOFromFileNameget the ITK ImageIO automatically used for file. - Update superbuild Swig version to 4.0.2.
Bug Fixes
- Fix the
ImageRegistrationMethodexception to useGetPixelIDTypeAsString - Update
ndarray.tostringtotobyte(tostringdeprecated in numpy 1.19.0 )
Documentation
- Update doc strings for Python and JAVA from JSON filter descriptions.
- Update examples to use slice based assignment instead of
PasteImageFilter. - Update the tutorials page.
- Update FAQ.
- Improve
WriteImageDoxygen documentation. - Update RTD
Showprocedure documentation. - Add custom HTML Doxygen header with dynamic timestamp insertion, and privacy policy.
- Add procedural example to IO page.
- Updating the main Doxygen page.
Compilation
- Address signed to unsigned comparison compiler warnings.
- Fix
PYTHON_EXECUTABLEbeing undefined in CMake for Doxygen. - Add Doxygen MathJAX URL as CMake option.
Miscellaneous
- Test the
ImageViewerclass andShowprocedure. - Update and add more testing for Python
ImageReadandImageWriteprocedures. - Prefer using absolute imports in Python.