diff --git a/Modules/Filtering/Thresholding/include/itkIntermodesThresholdImageFilter.h b/Modules/Filtering/Thresholding/include/itkIntermodesThresholdImageFilter.h index 97efeb495a3..e4c6055e8b7 100644 --- a/Modules/Filtering/Thresholding/include/itkIntermodesThresholdImageFilter.h +++ b/Modules/Filtering/Thresholding/include/itkIntermodesThresholdImageFilter.h @@ -94,8 +94,8 @@ class IntermodesThresholdImageFilter : public HistogramThresholdImageFilter; - itkSetMacro(MaxSmoothingIterations, SizeValueType); - itkGetMacro(MaxSmoothingIterations, SizeValueType); + itkSetMacro(MaximumSmoothingIterations, SizeValueType); + itkGetMacro(MaximumSmoothingIterations, SizeValueType); /** Select whether midpoint (intermode=true) or minimum between peaks is used. */ @@ -111,7 +111,7 @@ class IntermodesThresholdImageFilter : public HistogramThresholdImageFilterSetMaximumSmoothingIterations(m_MaxSmoothingIterations); + calculator->SetMaximumSmoothingIterations(m_MaximumSmoothingIterations); calculator->SetUseInterMode(m_UseInterMode); Superclass::SetCalculator(calculator); } @@ -131,7 +131,7 @@ class IntermodesThresholdImageFilter : public HistogramThresholdImageFilter(this->Superclass::GetModifiableCalculator()); - calculator->SetMaximumSmoothingIterations(m_MaxSmoothingIterations); + calculator->SetMaximumSmoothingIterations(m_MaximumSmoothingIterations); calculator->SetUseInterMode(m_UseInterMode); this->Superclass::GenerateData(); } @@ -141,12 +141,12 @@ class IntermodesThresholdImageFilter : public HistogramThresholdImageFilter