Announcement
Announcing the SimpleITK 2.3 Release Candidate 1!
Users and developers are encouraged to test the RC before the final release and report issues, bugs, and any compatibility problems.
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.3rc1
Release Notes
New Features
-
In Python, add support for masked images to
__setitem__as index parameter. The mask is considered a binary mask where assignment occurs. For exampleimg[img<0] = 0can be used to remove negative numbers. -
In Python, add
MinimumMaximum() -> Tuple[float, float]procedure forMinimumMaximumImageFilter. -
In Python, add
pathlib.Pathsupport to Transform IO methods. -
Add
Clampboolean option to UnsharpMaskFilter. -
Add
Image::ToVectorandImage::ToScalarmethods to perform fast in-place conversion between vector pixel types (VectorImage), and high spatial dimension scalar images. -
Add initial seed values to
FastMarchingBaseImageFilterandFastMarchingImageFilter. -
Add
KernelTypeparameterRankImageFilterto support non box kernel shapes. -
Wrap
MaskedAssignImageFilter. -
Add
AssignConstanttoMaskedAssignImageFilterand support for vector input images. -
Internally replace
NPasteImageFilterwithPasteImageFilter. -
Add to
N4BiasFieldCorrectionImageFiltermeasurements ofCurrentLevel,ElapsedIterations, andCurrentConvergenceMeasurementfor observers. -
Update
FFTNormalizedCorrelationImageFilterto use named inputs. -
Add missing
RequiredFractionOfOverlappingPixelsparameter toFFTNormalizedCorrelationImageFilter. -
Various improvements to SimpleElastix integration and support.
Behavior Changes
- Change
MaskImageFilterandMaskNegatedImageFilter to only supportsitkUInt8` pixel types for masked input. Previously, the filter erroneously expected both inputs to be of the same type.
Bug Fixes
- Fix already defined
GTest::Mainissue with using ITK out of a build tree. - Add an internal “Proxy” image to safely support exceptions with certain inplace operations in C++ and Python.
- Fix
FastMarchingUpwindGradientImageFiltersetting target point before setting stopping criteria. - Test support of
LandmarkBasedInitializationforSimilarity3DTransforms.
Documentation
- Added to Sphinx generated documentation images and text output such as in Fast Marching Segmentation and Image Registration Method1 examples.
- Fixed bug in example, working with DICOM tags.
- Update JSON docs form ITK XML
- Document specifying pixel type as part of reading.
- Add information on dependency between GetGDCMSeriesIDs and GetGDCMSeriesFileNames.
- In DicomTagsExample, included example run of DicomImagePrintTags code in the Sphinx docs.
- Fix time date ordering in string in DicomSeriesFromArray.R example.
Compilation
- Require C++17 for building SimpleITK.
- Update GTest Superbuild version to 1.13.0
- Update Swig Superbuild version to 4.1.1
- Various C++17 modernization in testing include more usage of initializer lists, and namespaces.
- Change PimpleImageBase to return unique_ptr over raw.
- Address unused return value in image transform point methods and in transform tests.
- Use unique_ptr for Transform interface.
- Remove references to legacy SITK_4D_IMAGES definition.
- Enable ITK_LEGACY_REMOVE by default in Superbuild.
- Update ITK enum to remove legacy enums type.
- Update to CSharp DotNet version 4 by default.
- Update SimpleITK Superbuild Lua to 5.4.4 and enable usage of Lua 5.4.
- Remove disutils and setupegg.py from Python packaging fallback.
- Add pyproject.toml to address wheel dependency warning