X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkComposeVFFilter.txx;h=f0bf5a9a7a159fd7183a14159f70244598dae809;hb=9af6cf90d6f7f3d6c57a406301c21927ac33694b;hp=b02de1bd9f3d14c068f96f263e9d72ec7fd9b5ff;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git diff --git a/itk/clitkComposeVFFilter.txx b/itk/clitkComposeVFFilter.txx old mode 100755 new mode 100644 index b02de1b..f0bf5a9 --- a/itk/clitkComposeVFFilter.txx +++ b/itk/clitkComposeVFFilter.txx @@ -36,7 +36,7 @@ namespace clitk //========================================================================================================================= //update the output for the outputRegionForThread template - void ComposeVFFilter::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, int threadId ) + void ComposeVFFilter::ThreadedGenerateData(const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId ) { //Get pointer to the output @@ -116,7 +116,7 @@ namespace clitk // get neighbor index and overlap fraction - for( dim = 0; dim < 3; dim++ ) + for( dim = 0; dim < ImageDimension; dim++ ) { if ( upper & 1 ) {