X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkBackProjectImageFilter.txx;h=fa8d2613fec8815c80ae08abc3046a4000f65c81;hb=a523f5be1e221995c0d4d29a0077b5e8b984c96d;hp=b1f84e260426db6becc2a0261be699742ee759da;hpb=5f9b1f66850a409e87c1e131e8ae09a3541f05fe;p=clitk.git diff --git a/itk/clitkBackProjectImageFilter.txx b/itk/clitkBackProjectImageFilter.txx index b1f84e2..fa8d261 100644 --- a/itk/clitkBackProjectImageFilter.txx +++ b/itk/clitkBackProjectImageFilter.txx @@ -190,7 +190,11 @@ namespace clitk template void BackProjectImageFilter +#if ( ( ITK_VERSION_MAJOR == 4 ) && ( ITK_VERSION_MINOR > 12 ) || ( ITK_VERSION_MAJOR > 4 )) + ::Initialize( void ) +#else ::Initialize( void ) throw (itk::ExceptionObject) +#endif { //Change the origin of the 2D input typename InputImageType::ConstPointer inputPtr=this->GetInput(); @@ -302,12 +306,7 @@ namespace clitk //----------------------------------------------------------------------- template void - BackProjectImageFilter -#if ITK_VERSION_MAJOR >= 4 - ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId ) -#else - ::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, int threadId ) -#endif + BackProjectImageFilter::ThreadedGenerateData( const OutputImageRegionType & outputRegionForThread, itk::ThreadIdType threadId ) { //Projection pointer InputImageConstPointer inputPtr=this->GetInput();