18 #ifndef itkKappaSigmaThresholdImageFilter_h 19 #define itkKappaSigmaThresholdImageFilter_h 45 template<
typename TInputImage,
46 typename TMaskImage = Image< unsigned char, TInputImage::ImageDimension >,
47 class TOutputImage = TInputImage >
80 itkSetMacro(OutsideValue, OutputPixelType);
83 itkGetConstMacro(OutsideValue, OutputPixelType);
87 itkSetMacro(InsideValue, OutputPixelType);
90 itkGetConstMacro(InsideValue, OutputPixelType);
93 itkGetConstMacro(Threshold, InputPixelType);
97 itkSetMacro(MaskValue, MaskPixelType);
98 itkGetConstMacro(MaskValue, MaskPixelType);
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 ) );
148 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
165 TInputImage::ImageDimension);
167 TOutputImage::ImageDimension);
172 void operator=(const Self &) ITK_DELETE_FUNCTION;
183 #ifndef ITK_MANUAL_INSTANTIATION 184 #include "itkKappaSigmaThresholdImageFilter.hxx" static const unsigned int OutputImageDimension
OutputPixelType m_InsideValue
TInputImage::IndexType InputIndexType
virtual void GenerateData() override
TMaskImage::PixelType MaskPixelType
TInputImage::PixelType InputPixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TOutputImage::PixelType OutputPixelType
TOutputImage::Pointer OutputImagePointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::Pointer InputImagePointer
MaskPixelType m_MaskValue
KappaSigmaThresholdImageFilter()
virtual void SetInput(const InputImageType *image)
virtual void GenerateInputRequestedRegion() override
void SetInput1(const TInputImage *input)
~KappaSigmaThresholdImageFilter()
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.
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Base class for filters that take an image as input and produce an image as output.
void SetInput2(const MaskImageType *input)
Control indentation during Print() invocation.
KappaSigmaThresholdImageFilter Self
TOutputImage::SizeType OutputSizeType
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
SmartPointer< Self > Pointer
TOutputImage::RegionType OutputImageRegionType
static const unsigned int InputImageDimension
InputPixelType m_Threshold
TInputImage::RegionType InputImageRegionType
#define itkConceptMacro(name, concept)
SmartPointer< const Self > ConstPointer
unsigned int m_NumberOfIterations
OutputPixelType m_OutsideValue
KappaSigmaThresholdImageCalculator< TInputImage, TMaskImage > CalculatorType
Base class for all data objects in ITK.
const MaskImageType * GetMaskImage() const
void SetMaskImage(const MaskImageType *input)
TInputImage InputImageType