18 #ifndef itkRobustAutomaticThresholdImageFilter_h
19 #define itkRobustAutomaticThresholdImageFilter_h
50 template<
typename TInputImage,
typename TGradientImage = TInputImage,
typename TOutputImage = TInputImage >
94 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
95 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
114 itkSetMacro(Pow,
double);
115 itkGetConstMacro(Pow,
double);
117 #ifdef ITK_USE_CONCEPT_CHECKING
130 this->SetNthInput( 1, const_cast< GradientImageType * >( input ) );
142 this->SetInput(input);
148 this->SetGradientImage(input);
154 void PrintSelf(std::ostream & os,
Indent indent)
const override;
156 void GenerateInputRequestedRegion()
override;
158 void GenerateData()
override;
168 #ifndef ITK_MANUAL_INSTANTIATION
169 #include "itkRobustAutomaticThresholdImageFilter.hxx"
InputPixelType m_Threshold
typename OutputImageType::Pointer OutputImagePointer
typename TOutputImage::PixelType OutputPixelType
OutputPixelType m_OutsideValue
typename TGradientImage::Pointer GradientImagePointer
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Compute the robust automatic threshold.
Base class for all process objects that output image data.
~RobustAutomaticThresholdImageFilter() override
void SetInput1(TInputImage *input)
void SetInput2(GradientImageType *input)
TInputImage InputImageType
typename TInputImage::PixelType InputPixelType
typename TInputImage::SizeType InputSizeType
OutputPixelType m_InsideValue
TGradientImage GradientImageType
typename TOutputImage::IndexType OutputIndexType
Threshold an image using robust automatic threshold selection (RATS) method.
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
typename InputImageType::RegionType InputImageRegionType
void SetGradientImage(GradientImageType *input)
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename TInputImage::IndexType InputIndexType
GradientImageType * GetGradientImage()
typename TGradientImage::PixelType GradientPixelType
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
Base class for all data objects in ITK.
typename TOutputImage::SizeType OutputSizeType