]> Creatis software - clitk.git/blobdiff - tools/clitkImageToVectorImageGenericFilter.txx
Add output dicom filename to clitkImage2Dicom
[clitk.git] / tools / clitkImageToVectorImageGenericFilter.txx
index 8bbeab86ab3bc53853ce0554dc247edaeb44e3c8..f159dc7bf04091d00785cf3b86678a4398d9603e 100644 (file)
  * @brief 
  * 
  ===================================================*/
-#if ITK_VERSION_MAJOR < 4 || (ITK_VERSION_MAJOR == 4 && ITK_VERSION_MINOR <= 2)
-# include "itkCompose3DVectorImageFilter.h"
-#else
 # include "itkComposeImageFilter.h"
-#endif
 
 namespace clitk
 {
@@ -82,11 +78,7 @@ namespace clitk
     typedef itk::Image<itk::Vector<PixelType,3>, Dimension> OutputImageType;
     
     // Filter
-#if ITK_VERSION_MAJOR < 4 || (ITK_VERSION_MAJOR == 4 && ITK_VERSION_MINOR <= 2)
-    typedef itk::Compose3DVectorImageFilter<InputImageType,OutputImageType> ComposeFilterType;
-#else
     typedef itk::ComposeImageFilter<InputImageType,OutputImageType> ComposeFilterType;
-#endif
     typename ComposeFilterType::Pointer composeFilter=ComposeFilterType::New();
 
     // Read the inputs