18#ifndef itkKappaSigmaThresholdImageFilter_h
19#define itkKappaSigmaThresholdImageFilter_h
46template <
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
129 const MaskImageType *
139 this->SetInput(input);
146 this->SetMaskImage(input);
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"
Base class for all data objects in ITK.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Computes a Kappa-Sigma-Clipping threshold for an image.
Threshold an image using Kappa-Sigma-Clipping.
void GenerateInputRequestedRegion() override
typename TInputImage::Pointer InputImagePointer
KappaSigmaThresholdImageFilter()
TInputImage InputImageType
void GenerateData() override
typename TMaskImage::PixelType MaskPixelType
typename TOutputImage::PixelType OutputPixelType
typename TOutputImage::SizeType OutputSizeType
typename TOutputImage::Pointer OutputImagePointer
typename TOutputImage::RegionType OutputImageRegionType
void SetInput1(const TInputImage *input)
const MaskImageType * GetMaskImage() const
typename TOutputImage::IndexType OutputIndexType
typename TInputImage::PixelType InputPixelType
void PrintSelf(std::ostream &os, Indent indent) const override
typename TInputImage::SizeType InputSizeType
typename TInputImage::IndexType InputIndexType
void SetMaskImage(const MaskImageType *input)
typename TMaskImage::Pointer MaskImagePointer
void SetInput2(const MaskImageType *input)
typename TInputImage::RegionType InputImageRegionType
~KappaSigmaThresholdImageFilter() override=default
Light weight base class for most itk classes.
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....