Skip to content

Commit

Permalink
ENH: Support elastix version 5.2, when using ITK >= 5.4
Browse files Browse the repository at this point in the history
elastix 5.2 is the latest elastix release. It has various enhancements,
performance improvements and bug fixes:
https://github.com/SuperElastix/elastix/releases/tag/5.2.0

elastix version 5.2, requires ITK >= 5.4.

The main branch of Slicer was upgraded to ITK 5.4.0 by Dženan Zukić, Jun 3, 2024,
pull request Slicer/Slicer#7771
commit Slicer/Slicer@acf3dd4
  • Loading branch information
N-Dekker committed Jan 15, 2025
1 parent 000bae4 commit fa7fee1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions SuperBuild/External_elastix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ if(NOT DEFINED ${proj}_DIR AND NOT ${CMAKE_PROJECT_NAME}_USE_SYSTEM_${proj})
set(ELASTIX_GIT_REPOSITORY "$https://github.com/SuperElastix/elastix.git")
set(ELASTIX_GIT_TAG "419313e9cc12727d73c7e6e47fbdf960aa1218b9") # latest commit on "develop" branch as if 2019-10-13
else()
set(ELASTIX_GIT_REPOSITORY "https://github.com/SuperElastix/elastix.git")
set(ELASTIX_GIT_TAG "5.1.0") # 2023-01-12
if(DEFINED ITK_VERSION_MAJOR AND ${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR} VERSION_LESS 5.4)
set(ELASTIX_GIT_REPOSITORY "https://github.com/SuperElastix/elastix.git")
set(ELASTIX_GIT_TAG "5.1.0") # 2023-01-12
else()
set(ELASTIX_GIT_REPOSITORY "https://github.com/SuperElastix/elastix.git")
set(ELASTIX_GIT_TAG "5.2.0") # 2024-07-18
endif()
endif()

ExternalProject_Add(${proj}
Expand Down

0 comments on commit fa7fee1

Please sign in to comment.