From: David Sarrut Date: Thu, 28 Jul 2011 09:44:22 +0000 (+0200) Subject: Use clitk version of the itkPasteImageFilter X-Git-Tag: v1.3.0~254 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=3e5494ef4a860834d917fc6f930ac90380c0e018;p=clitk.git Use clitk version of the itkPasteImageFilter --- diff --git a/itk/clitkCropLikeImageFilter.txx b/itk/clitkCropLikeImageFilter.txx index 2877239..73dd7a7 100644 --- a/itk/clitkCropLikeImageFilter.txx +++ b/itk/clitkCropLikeImageFilter.txx @@ -21,9 +21,10 @@ // clitk #include "clitkCommon.h" +#include "clitkPasteImageFilter.h" // itk -#include "itkPasteImageFilter.h" +//#include "itkPasteImageFilter.h" //-------------------------------------------------------------------- template @@ -228,7 +229,7 @@ GenerateData() { output->FillBuffer(GetBackgroundValue()); // Paste image inside - typedef itk::PasteImageFilter PasteFilterType; + typedef clitk::PasteImageFilter PasteFilterType; typename PasteFilterType::Pointer pasteFilter = PasteFilterType::New(); //pasteFilter->ReleaseDataFlagOn(); // change nothing ? // pasteFilter->InPlaceOn(); // makt it seg fault