X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkExtractPatientGenericFilter.txx;h=e2b2e976e501529c85150a346f0c74523154ae26;hb=dad240d633996ba10087d96ece317415086f5a59;hp=7fc07407b6c035762d5b8cc3ba0dd7a74997e720;hpb=c7f6f682ddc01d2a41740bbdb806f9ef967b57d5;p=clitk.git diff --git a/segmentation/clitkExtractPatientGenericFilter.txx b/segmentation/clitkExtractPatientGenericFilter.txx index 7fc0740..e2b2e97 100644 --- a/segmentation/clitkExtractPatientGenericFilter.txx +++ b/segmentation/clitkExtractPatientGenericFilter.txx @@ -69,7 +69,7 @@ void clitk::ExtractPatientGenericFilter::UpdateWithInputImageType( typename ImageType::Pointer input = this->template GetInput(0); // Create filter - typedef clitk::ExtractPatientFilter FilterType; + typedef clitk::ExtractPatientFilter FilterType; typename FilterType::Pointer filter = FilterType::New(); // Set the filter (needed for example for threaded monitoring) @@ -81,13 +81,6 @@ void clitk::ExtractPatientGenericFilter::UpdateWithInputImageType( // Go ! filter->Update(); - - // // Check if error - // if (filter->HasError()) { - // SetLastError(filter->GetLastError()); - // // No output - // return; - // } // Write/Save results typename OutputImageType::Pointer output = filter->GetOutput();