ITK 5.2.1 available for download

We are happy to announce the Insight Toolkit (ITK) 5.2.1! ITK is an open-source, cross-platform toolkit for N-dimensional scientific image processing, segmentation, and registration.

Python Packages

Install ITK Python packages with:

Guide and Textbook

Library Sources

Testing Data

Unpack optional testing data in the same directory where the Library Source is unpacked.

Checksums

ITK 5.2.1 is a patch release that makes improvements to issues found in the 5.2.0 release. For more details on ITK 5.2, see the ITK 5.2.0 Release Notes.

This release addresses various issues like improved combination of itk‘s native thread pool with Python’s multiprocessing module in contexts like MONAI and Dask. Other improvements include more robust label map statistic computation, expanded Python support for additional datatypes, fixes for tube spatial objects when processing with the TubeTK module, support for GCC 11, and compatibility with the C++20 and C++23 standards. A detailed list can be found in the changelog below.

What’s Next

Join us in the creation of advanced, open source scientific image analysis tools. Take part in the community discussion at discourse.itk.org. Contribute with pull requests, code reviews, and issue discussions in our GitHub Organization.

The first release candidate for ITK 5.3, the next feature release, is anticipated in September.

Enjoy ITK!

ITK Changes Since v5.2.0

Bradley Lowekamp (7):

Enhancements

  • StatisticsLabelMapFilter use improve integer histogram (daa2a20f4b)
  • Add additional testing for zero sized label object (1fba0db29b)

Bug Fixes

  • Register ComposeScaleSkewVersor3DTransform transform (8c7784d183)
  • Add tests demonstration current behavior of histogram based median (55d0fdfafa)
  • Fix StatisticsLabelMap median for even number of pixels (3abace1991)
  • Fix HDF5 installation with cmake targets (4ecd711eab)
  • Propagate usage of HDF5 find_package NO_MODULE arg to install (f83a0ba9f4)

Dženan Zukić (9):

Enhancements

  • fix Python multi-processing hang on unix (2370517505)
  • Python wrapping reads VLV pixel type correctly (4ae3749a61)
  • Add support for long long pixel types to ImageDuplicator wrapping (278ac68e40)

Platform Fixes

  • Update KWStyle to fix compile warnings on Ubuntu 20.04 (32501b4230)
  • Restore generation of static runtime library on MSVC (dbb34f96cc)
  • Update KWStyle’s version to avoid compile errors with C++23 (3d85fafc77)
  • use WRAP_ITK_SCALAR instead of WRAP_ITK_REAL in mesh filters (68944d52d7)

Bug Fixes

  • add support for long long pixel types in PyBuffer (ae7079c4fd)

Miscellaneous Changes

  • Revert “COMP: Use CMake 3.18.4 in macOS CI builds” (07176983ed)

GDCM Upstream (1):

Miscellaneous Changes

Lee Newberg (3):

Enhancements

  • Propagate StatisticsLabelMapFilter’s default NumberOfBins (509751d5f5)
  • Wrap itkAdaptiveHistogramEqualizationImageFilter for Python. (974c63db99)

Bug Fixes

Matt McCormick (16):

Enhancements

  • Update CastXML source builds to v0.4.3, LLVM 11.1.0 (67fdd3067e)
  • Add CastXML binary for macOS arm64 (fde7fa6ce8)
  • Add Linux arm64 CastXML binaries (42aa3be3e4)
  • Bump the ITK CMake version to 5.1.0 (9f3fc5dd12)
  • Content link synchronization for ITK 5.2.1 (8be208ee1f)

Platform Fixes

  • Backport CastXML arm64 Eigen support (a3996fe99a)
  • Do not add IPO to Python wrapping if not supported (3d2e898400)
  • Only use np.float128 when available (1237a57a3d)
  • Make floating point exceptions a no-op with MUSL, Linux, ARMv8 (0afa3f06a1)
  • Use numpy==1.20.3 for CI testing (b667ce4d25)
  • Use mallinfo2 when available (f540091c6a)
  • Add missing template export macro to SLICImageFilter (c3e40927f8)

Bug Fixes

  • Add vnl_vector_from_array to extras all (3f8b14be54)
  • Do not create global multiprocessing RLock (cfdb5023a8)
  • Support double colons in Changelog commit summary (62804d09e9)

Style Changes

  • Apply black to AuthorsChangesSince.py script (7504f6e45c)

Niels Dekker (1):

Bug Fixes

  • Similarity3DTransform::SetScale should recompute m_Offset (dd893faf8a)

Pablo Hernandez-Cerdan (1):

Enhancements

  • Increase hook-max-size for next GDCM update (f913c0b6ed)

Stephen R. Aylward (5):

Enhancements

  • Updated SpatialObject wrapping to support CONST_POINTER (28cb8507fd)

Platform Fixes

  • Update SpatialObjects to correct const-ness (903f7c152e)

Bug Fixes

  • SpatialObject writes object color (3bf34f6cc5)
  • TubeSpatialObject missing CopyInformation (3060a6d1e5)
  • TubeSpatialObject didn’t preserver Artery flag (2c3d27c9ee)

Thompson, Darren (IM&T, Clayton) (2):

Platform Fixes

  • Removed constructor template parameters from the VNL library (f27ab3f91f)
  • Removed constructor template parameters from itkSmapsFileParser (4c320b1d49)

Tom Birdsong (1):

Enhancements

  • Add float wrappings for itkSymmetricSecondRankTensor (5378dae447)

VXL Maintainers (1):

Miscellaneous Changes

ITK Software Guide Changes Since v5.2.0

Jon Haitz Legarreta Gorroño (3):

Documentation Updates

  • Adapt enum section to strongly typed enums (088a010)
  • Add long long specifier C++ and mangling types (cf51385)

Style Changes

  • Use itkNameOfTestExecutableMacro macro for test names (e116243)

Matt McCormick (3):

Enhancements

Documentation Updates

  • Correct signed long mangling and C++ variables (1481a04)

Niels Dekker (2):

Enhancements

  • Update compiler versions for C++14 (80b8f89)
  • Update Xcode Apple Clang compiler for nightly dashboard (f65f786)

Questions or comments are always welcome!

X