X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=registration%2FitkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.h;h=2eb0bc79aa4030d16ff5fe2f3218cf16d8f71d27;hb=744196f3cdd679570572bc69c67c258b973eca58;hp=4e8208537db3dc720c70d11d07a639c257a6b7ca;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/registration/itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.h b/registration/itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.h index 4e82085..2eb0bc7 100644 --- a/registration/itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.h +++ b/registration/itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD.h @@ -35,7 +35,11 @@ #ifndef __itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD_h #define __itkOptMeanSquaresImageToImageMetricFor3DBLUTFFD_h -#include "itkOptImageToImageMetric.h" +#if ITK_VERSION_MAJOR >= 4 + #include "itkImageToImageMetric.h" +#else + #include "itkOptImageToImageMetric.h" +#endif #include "itkCovariantVector.h" #include "itkPoint.h" #include "itkIndex.h" @@ -125,12 +129,12 @@ private: //purposely not implemented void operator=(const Self &); - inline bool GetValueThreadProcessSample( unsigned int threadID, + inline bool GetValueThreadProcessSample( ThreadIdType threadID, unsigned long fixedImageSample, const MovingImagePointType & mappedPoint, double movingImageValue ) const; - inline bool GetValueAndDerivativeThreadProcessSample( unsigned int threadID, + inline bool GetValueAndDerivativeThreadProcessSample( ThreadIdType threadID, unsigned long fixedImageSample, const MovingImagePointType & mappedPoint, double movingImageValue,