18#ifndef itkRobustAutomaticThresholdImageFilter_h
19#define itkRobustAutomaticThresholdImageFilter_h
49template <
typename TInputImage,
typename TGradientImage = TInputImage,
typename TOutputImage = TInputImage>
91 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
92 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
111 itkSetMacro(Pow,
double);
112 itkGetConstMacro(Pow,
double);
114#ifdef ITK_USE_CONCEPT_CHECKING
140 this->SetInput(input);
147 this->SetGradientImage(input);
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkRobustAutomaticThresholdImageFilter.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.
Light weight base class for most itk classes.
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
Compute the robust automatic threshold.
Threshold an image using robust automatic threshold selection (RATS) method.
typename TInputImage::SizeType InputSizeType
TInputImage InputImageType
void SetInput1(TInputImage *input)
typename TGradientImage::Pointer GradientImagePointer
void SetInput2(GradientImageType *input)
typename TOutputImage::SizeType OutputSizeType
void PrintSelf(std::ostream &os, Indent indent) const override
void SetGradientImage(GradientImageType *input)
typename TInputImage::PixelType InputPixelType
typename TInputImage::RegionType InputImageRegionType
void GenerateData() override
typename TInputImage::Pointer InputImagePointer
typename TOutputImage::Pointer OutputImagePointer
typename TInputImage::IndexType InputIndexType
~RobustAutomaticThresholdImageFilter() override=default
GradientImageType * GetGradientImage()
typename TGradientImage::PixelType GradientPixelType
typename TOutputImage::IndexType OutputIndexType
typename TOutputImage::RegionType OutputImageRegionType
TGradientImage GradientImageType
RobustAutomaticThresholdImageFilter()
void GenerateInputRequestedRegion() override
typename TOutputImage::PixelType OutputPixelType
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....