Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
BUG: Fix JoinSeriesImageFilter 4D image support regression
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspermarstal committed May 11, 2017
1 parent d97eab4 commit 6e65610
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ option( SimpleITK_INT64_PIXELIDS "Instantiate 64-bit integer pixels, including u
sitk_legacy_naming(SimpleITK_INT64_PIXELIDS)


option( SimpleITK_4D_IMAGES "Add Image and I/O support for four spatial dimensions." OFF )
option( SimpleITK_4D_IMAGES "Add Image and I/O support for four spatial dimensions." ON )
mark_as_advanced( SimpleITK_4D_IMAGES )
sitk_legacy_naming(SimpleITK_4D_IMAGES)
sitk_legacy_naming( SimpleITK_4D_IMAGES )


# Setup build locations.
Expand Down
2 changes: 1 addition & 1 deletion Code/BasicFilters/json/JoinSeriesImageFilter.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"number_of_inputs" : 1,
"pixel_types" : "NonLabelPixelIDTypeList",
"output_image_type" : "typename InputImageType::template Rebind<typename InputImageType::PixelType, InputImageType::ImageDimension+1>::Type",
"custom_register" : "this->m_MemberFactory->RegisterMemberFunctions< PixelIDTypeList, 2 > ();\n #ifdef SimpleITK_4D_IMAGES\n this->m_MemberFactory->RegisterMemberFunctions< PixelIDTypeList, 3 > ();\n #endif",
"custom_register" : "this->m_MemberFactory->RegisterMemberFunctions< PixelIDTypeList, 2 > ();\n #ifdef SITK_4D_IMAGES\n this->m_MemberFactory->RegisterMemberFunctions< PixelIDTypeList, 3 > ();\n #endif",
"members" : [
{
"name" : "Origin",
Expand Down
2 changes: 1 addition & 1 deletion SuperBuild/SuperBuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ option(BUILD_SHARED_LIBS "Build SimpleITK ITK with shared libraries. This does n
# as this option does not robustly work across platforms it will be marked as advanced
mark_as_advanced( FORCE BUILD_SHARED_LIBS )

option( SimpleITK_4D_IMAGES "Add Image and I/O support for four spatial dimensions." OFF )
option( SimpleITK_4D_IMAGES "Add Image and I/O support for four spatial dimensions." ON )
mark_as_advanced( SimpleITK_4D_IMAGES )

#-----------------------------------------------------------------------------
Expand Down

0 comments on commit 6e65610

Please sign in to comment.