From 3e5494ef4a860834d917fc6f930ac90380c0e018 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Thu, 28 Jul 2011 11:44:22 +0200 Subject: [PATCH] Use clitk version of the itkPasteImageFilter --- itk/clitkCropLikeImageFilter.txx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.1