Commit 61e9603f authored by Kasper Marstal's avatar Kasper Marstal
Browse files

ENH: Update elastix

parent f23d0b43
......@@ -30,6 +30,7 @@
#include <string.h>
#include "selxMacro.h"
namespace selx
{
template< int Dimensionality, class TPixel >
......
......@@ -76,7 +76,7 @@ ElastixComponent< Dimensionality, TPixel >::Set( itkImageMovingInterface< Dimens
// connect the itk pipeline
this->m_elastixFilter->SetMovingImage( movingImage );
// In the current transformix filter an input image is required even if we want a deformation field only.
this->m_transformixFilter->SetInput( movingImage );
this->m_transformixFilter->SetMovingImage( movingImage );
return 0;
}
......
......@@ -39,13 +39,13 @@ struct FileWriterDecoratorDefaultTraits
};
template< typename T1 >
struct FileWriterDecoratorDefaultTraits< itk::ImageFileWriter< T1 >>
struct FileWriterDecoratorDefaultTraits< itk::ImageFileWriter< T1 > >
{
typedef typename itk::ImageFileWriter< T1 >::InputImageType DerivedInputDataType;
};
template< typename T1 >
struct FileWriterDecoratorDefaultTraits< itk::MeshFileWriter< T1 >>
struct FileWriterDecoratorDefaultTraits< itk::MeshFileWriter< T1 > >
{
typedef typename itk::MeshFileWriter< T1 >::InputMeshType DerivedInputDataType;
};
......
......@@ -20,7 +20,7 @@
set( proj Elastix )
set( ELASTIX_GIT_REPOSITORY http://github.com/kaspermarstal/elastix )
set( ELASTIX_GIT_TAG 3c7deef6d4f44203207bc198cc27f011ac1222c7 )
set( ELASTIX_GIT_TAG 41c558e3d4c33421451d2498059f0c3cf1a4da75 )
ExternalProject_Add( ${proj}
GIT_REPOSITORY ${ELASTIX_GIT_REPOSITORY}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment