19 #ifndef __itkIntermodesThresholdImageFilter_h
20 #define __itkIntermodesThresholdImageFilter_h
50 template<
class TInputImage,
class TOutputImage,
class TMaskImage=TOutputImage>
93 void SetMaximumSmoothingIterations(
unsigned long I)
95 m_IntermodesCalculator->SetMaximumSmoothingIterations(I);
98 unsigned long GetMaximumSmoothingIterations()
100 return(m_IntermodesCalculator->GetMaximumSmoothingIterations());
105 void SetUseInterMode(
unsigned long I)
107 m_IntermodesCalculator->SetUseInterMode(I);
110 bool GetUseInterMode()
112 return(m_IntermodesCalculator->GetUseInterMode());
116 itkStaticConstMacro(InputImageDimension,
unsigned int,
117 InputImageType::ImageDimension );
118 itkStaticConstMacro(OutputImageDimension,
unsigned int,
119 OutputImageType::ImageDimension );
126 m_IntermodesCalculator = CalculatorType::New();
127 this->SetCalculator( m_IntermodesCalculator );
128 m_IntermodesCalculator->SetMaximumSmoothingIterations(10000);
129 m_IntermodesCalculator->SetUseInterMode(
true);
133 void PrintSelf(std::ostream & os,
Indent indent)
const
135 Superclass::PrintSelf(os, indent);
136 os << indent <<
"MaximumSmoothingIterations: " << m_IntermodesCalculator->GetMaximumSmoothingIterations() << std::endl;
137 os << indent <<
"UseInterMode: " << m_IntermodesCalculator->GetUseInterMode() << std::endl;
142 void operator=(
const Self&);