X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FRelativePositionPropImageFilter.txx;h=c34c7c3f2241a1492fb014d71af8b00413b33144;hb=ed673c4df16c5541a1bd46413b4a67376b28008d;hp=8e677b9f38f67a2ce80bbeccb1dc742ad980e032;hpb=a6957c4825e83c61b977ec316dd841878617ffbd;p=clitk.git diff --git a/itk/RelativePositionPropImageFilter.txx b/itk/RelativePositionPropImageFilter.txx index 8e677b9..c34c7c3 100644 --- a/itk/RelativePositionPropImageFilter.txx +++ b/itk/RelativePositionPropImageFilter.txx @@ -50,7 +50,11 @@ namespace itk template void RelativePositionPropImageFilter +#if ( ( ITK_VERSION_MAJOR == 4 ) && ( ITK_VERSION_MINOR > 12 ) || ( ITK_VERSION_MAJOR > 4 )) + ::GenerateInputRequestedRegion() +#else ::GenerateInputRequestedRegion() throw (InvalidRequestedRegionError) +#endif { // call the superclass' implementation of this method Superclass::GenerateInputRequestedRegion (); @@ -82,12 +86,10 @@ namespace itk template< class TInputImage, class TOutputImage ,class TtNorm> void RelativePositionPropImageFilter< TInputImage, TOutputImage ,TtNorm> - //::GenerateThreadedData(const typename TOutputImage::RegionType& outputRegionForThread, ThreadIdType threadId) + //::GenerateThreadedData(const typename TOutputImage::RegionType& outputRegionForThread, int threadId) ::GenerateData() { - // std::cout <<"GenerateData" << std::endl; - this->AllocateOutputs(); computeDirection(); typename InputImageType::ConstPointer input = this->GetInput(); @@ -131,7 +133,6 @@ namespace itk if(!m_Fast) { - DD(m_Fast); for(int i=0;i