]> Creatis software - clitk.git/commitdiff
Use clitk version of the itkPasteImageFilter
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 28 Jul 2011 09:44:22 +0000 (11:44 +0200)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Thu, 28 Jul 2011 09:44:22 +0000 (11:44 +0200)
itk/clitkCropLikeImageFilter.txx

index 28772392ff7fff31a4b9b738b5a08e69909832e3..73dd7a7d1532f0f885d1a35f71296145b9691f9f 100644 (file)
 
 // clitk
 #include "clitkCommon.h"
+#include "clitkPasteImageFilter.h"
 
 // itk
-#include "itkPasteImageFilter.h"
+//#include "itkPasteImageFilter.h"
 
 //--------------------------------------------------------------------
 template <class ImageType>
@@ -228,7 +229,7 @@ GenerateData() {
   output->FillBuffer(GetBackgroundValue());
   
   // Paste image inside
-  typedef itk::PasteImageFilter<ImageType,ImageType> PasteFilterType;
+  typedef clitk::PasteImageFilter<ImageType,ImageType> PasteFilterType;
   typename PasteFilterType::Pointer pasteFilter = PasteFilterType::New();
   //pasteFilter->ReleaseDataFlagOn(); // change nothing ?
   //  pasteFilter->InPlaceOn(); // makt it seg fault