18 #ifndef itkKappaSigmaThresholdImageFilter_h
19 #define itkKappaSigmaThresholdImageFilter_h
46 template <
typename TInputImage,
47 typename TMaskImage = Image<unsigned char, TInputImage::ImageDimension>,
48 class TOutputImage = TInputImage>
104 itkSetMacro(SigmaFactor,
double);
105 itkGetConstMacro(SigmaFactor,
double);
109 itkSetMacro(NumberOfIterations,
unsigned int);
110 itkGetConstMacro(NumberOfIterations,
unsigned int);
113 #ifdef ITK_USE_CONCEPT_CHECKING
125 this->SetNthInput(1, const_cast<MaskImageType *>(input));
129 const MaskImageType *
139 this->SetInput(input);
146 this->SetMaskImage(input);
153 PrintSelf(std::ostream & os,
Indent indent)
const override;
156 GenerateInputRequestedRegion()
override;
159 GenerateData()
override;
171 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
172 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
176 double m_SigmaFactor{ 2 };
177 unsigned int m_NumberOfIterations{ 2 };
184 #ifndef ITK_MANUAL_INSTANTIATION
185 # include "itkKappaSigmaThresholdImageFilter.hxx"