diff --git a/Modules/Nonunit/Review/include/itkMultiphaseDenseFiniteDifferenceImageFilter.hxx b/Modules/Nonunit/Review/include/itkMultiphaseDenseFiniteDifferenceImageFilter.hxx index 71448390e7a..9a397404474 100644 --- a/Modules/Nonunit/Review/include/itkMultiphaseDenseFiniteDifferenceImageFilter.hxx +++ b/Modules/Nonunit/Review/include/itkMultiphaseDenseFiniteDifferenceImageFilter.hxx @@ -49,7 +49,7 @@ MultiphaseDenseFiniteDifferenceImageFilterTransformPhysicalPointToIndex(origin); + const OutputIndexType start = output->TransformPhysicalPointToIndex(origin); OutputRegionType region; region.SetSize(size); diff --git a/Modules/Nonunit/Review/include/itkMultiphaseSparseFiniteDifferenceImageFilter.hxx b/Modules/Nonunit/Review/include/itkMultiphaseSparseFiniteDifferenceImageFilter.hxx index ccda2e2505c..e3a56ffd82e 100644 --- a/Modules/Nonunit/Review/include/itkMultiphaseSparseFiniteDifferenceImageFilter.hxx +++ b/Modules/Nonunit/Review/include/itkMultiphaseSparseFiniteDifferenceImageFilter.hxx @@ -1353,7 +1353,7 @@ MultiphaseSparseFiniteDifferenceImageFilter inIt(this->m_LevelSet[fId], this->m_LevelSet[fId]->GetRequestedRegion()); // In the context of the global coordinates - OutputIndexType start = output->TransformPhysicalPointToIndex(origin); + const OutputIndexType start = output->TransformPhysicalPointToIndex(origin); // Defining sub-region in the global coordinates OutputRegionType region; diff --git a/Modules/Nonunit/Review/include/itkScalarChanAndVeseDenseLevelSetImageFilter.hxx b/Modules/Nonunit/Review/include/itkScalarChanAndVeseDenseLevelSetImageFilter.hxx index 9ef330a0b0d..6130c54da9e 100644 --- a/Modules/Nonunit/Review/include/itkScalarChanAndVeseDenseLevelSetImageFilter.hxx +++ b/Modules/Nonunit/Review/include/itkScalarChanAndVeseDenseLevelSetImageFilter.hxx @@ -33,7 +33,7 @@ ScalarChanAndVeseDenseLevelSetImageFilterGetOrigin(); // In the context of the global coordinates - FeatureIndexType start = this->GetInput()->TransformPhysicalPointToIndex(origin); + const FeatureIndexType start = this->GetInput()->TransformPhysicalPointToIndex(origin); // Defining roi region FeatureRegionType region; diff --git a/Modules/Nonunit/Review/include/itkScalarChanAndVeseSparseLevelSetImageFilter.hxx b/Modules/Nonunit/Review/include/itkScalarChanAndVeseSparseLevelSetImageFilter.hxx index 6901bdd8f04..067535b42d4 100644 --- a/Modules/Nonunit/Review/include/itkScalarChanAndVeseSparseLevelSetImageFilter.hxx +++ b/Modules/Nonunit/Review/include/itkScalarChanAndVeseSparseLevelSetImageFilter.hxx @@ -38,7 +38,7 @@ ScalarChanAndVeseSparseLevelSetImageFilterGetOrigin(); // In the context of the global coordinates - FeatureIndexType start = this->GetInput()->TransformPhysicalPointToIndex(origin); + const FeatureIndexType start = this->GetInput()->TransformPhysicalPointToIndex(origin); // Defining roi region FeatureRegionType region;