]> Creatis software - clitk.git/blobdiff - segmentation/clitkExtractPatientGenericFilter.txx
add extract patient tool
[clitk.git] / segmentation / clitkExtractPatientGenericFilter.txx
index 26252deb364edbe6d1a6600837779999ce156601..f90c1c7992a0a7b900083a372251f4b6e4be2978 100644 (file)
@@ -72,6 +72,9 @@ void clitk::ExtractPatientGenericFilter<ArgsInfoType>::UpdateWithInputImageType(
   typedef clitk::ExtractPatientFilter<ImageType, OutputImageType> FilterType;
   typename FilterType::Pointer filter = FilterType::New();
     
+  // Set the filter (needed for example for threaded monitoring)
+  this->SetFilterBase(filter);
+    
   // Set global Options 
   filter->SetArgsInfo(mArgsInfo);
   filter->SetInput(input);