X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FRelativePositionPropImageFilter.txx;h=c34c7c3f2241a1492fb014d71af8b00413b33144;hb=706d7e2dc69e12b3823cfae2f3be3f903e4d3c80;hp=8e677b9f38f67a2ce80bbeccb1dc742ad980e032;hpb=1561fae3bf0756ba34e222cd1f189aac0087c62a;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