18 #ifndef itkRobustAutomaticThresholdImageFilter_h
19 #define itkRobustAutomaticThresholdImageFilter_h
50 template<
typename TInputImage,
typename TGradientImage = TInputImage,
typename TOutputImage = TInputImage >
93 TInputImage::ImageDimension);
95 TOutputImage::ImageDimension);
115 itkSetMacro(Pow,
double);
116 itkGetConstMacro(Pow,
double);
118 #ifdef ITK_USE_CONCEPT_CHECKING
131 this->
SetNthInput( 1, const_cast< GradientImageType * >( input ) );
163 void operator=(const
Self &) ITK_DELETE_FUNCTION;
172 #ifndef ITK_MANUAL_INSTANTIATION
173 #include "itkRobustAutomaticThresholdImageFilter.hxx"
InputPixelType m_Threshold
TGradientImage GradientImageType
TInputImage InputImageType
OutputPixelType m_OutsideValue
ImageToImageFilter< TInputImage, TOutputImage > Superclass
void GenerateData() override
TInputImage::PixelType InputPixelType
TInputImage::RegionType InputImageRegionType
Compute the robust automatic threshold.
TInputImage::IndexType InputIndexType
Base class for all process objects that output image data.
void SetInput1(TInputImage *input)
void SetInput2(GradientImageType *input)
TOutputImage::IndexType OutputIndexType
OutputPixelType m_InsideValue
SmartPointer< const Self > ConstPointer
TOutputImage::PixelType OutputPixelType
RobustAutomaticThresholdImageFilter()
TGradientImage::PixelType GradientPixelType
TOutputImage::RegionType OutputImageRegionType
TGradientImage::Pointer GradientImagePointer
Threshold an image using robust automatic threshold selection (RATS) method.
virtual void SetInput(const InputImageType *image)
void PrintSelf(std::ostream &os, Indent indent) const override
TOutputImage::Pointer OutputImagePointer
SmartPointer< Self > Pointer
static const unsigned int InputImageDimension
TOutputImage::SizeType OutputSizeType
DataObject * GetInput(const DataObjectIdentifierType &key)
Return an input.
RobustAutomaticThresholdImageFilter Self
TInputImage::Pointer InputImagePointer
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.
TInputImage::SizeType InputSizeType
GradientImageType * GetGradientImage()
virtual void SetNthInput(DataObjectPointerArraySizeType num, DataObject *input)
#define itkConceptMacro(name, concept)
static const unsigned int OutputImageDimension
Base class for all data objects in ITK.
~RobustAutomaticThresholdImageFilter()
void GenerateInputRequestedRegion() override
RobustAutomaticThresholdCalculator< TInputImage, TGradientImage > CalculatorType