18 #ifndef itkKappaSigmaThresholdImageFilter_h
19 #define itkKappaSigmaThresholdImageFilter_h
45 template<
typename TInputImage,
46 typename TMaskImage = Image< unsigned char, TInputImage::ImageDimension >,
47 class TOutputImage = TInputImage >
102 itkSetMacro(SigmaFactor,
double);
103 itkGetConstMacro(SigmaFactor,
double);
107 itkSetMacro(NumberOfIterations,
unsigned int);
108 itkGetConstMacro(NumberOfIterations,
unsigned int);
111 #ifdef ITK_USE_CONCEPT_CHECKING
124 this->SetNthInput( 1, const_cast< MaskImageType * >( input ) );
136 this->SetInput(input);
142 this->SetMaskImage(input);
148 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
150 virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
152 virtual
void GenerateData() ITK_OVERRIDE;
164 itkStaticConstMacro(InputImageDimension,
unsigned int,
165 TInputImage::ImageDimension);
166 itkStaticConstMacro(OutputImageDimension,
unsigned int,
167 TOutputImage::ImageDimension);
174 double m_SigmaFactor;
175 unsigned int m_NumberOfIterations;
182 #ifndef ITK_MANUAL_INSTANTIATION
183 #include "itkKappaSigmaThresholdImageFilter.hxx"
TInputImage::IndexType InputIndexType
~KappaSigmaThresholdImageFilter() override
TMaskImage::PixelType MaskPixelType
TInputImage::PixelType InputPixelType
Base class for all process objects that output image data.
TOutputImage::PixelType OutputPixelType
TOutputImage::Pointer OutputImagePointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::Pointer InputImagePointer
void SetInput1(const TInputImage *input)
InputImageType::RegionType InputImageRegionType
Computes a Kappa-Sigma-Clipping threshold for an image.
TOutputImage::IndexType OutputIndexType
TMaskImage::Pointer MaskImagePointer
TInputImage::SizeType InputSizeType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Threshold an image using Kappa-Sigma-Clipping.
Base class for filters that take an image as input and produce an image as output.
void SetInput2(const MaskImageType *input)
OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
KappaSigmaThresholdImageFilter Self
TOutputImage::SizeType OutputSizeType
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
SmartPointer< const Self > ConstPointer
Base class for all data objects in ITK.
const MaskImageType * GetMaskImage() const
void SetMaskImage(const MaskImageType *input)
ImageBaseType::IndexType IndexType
TInputImage InputImageType