18 #ifndef itkRobustAutomaticThresholdCalculator_h
19 #define itkRobustAutomaticThresholdCalculator_h
40 template<
typename TInputImage,
typename TGradientImage >
59 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
76 if ( m_Input != image )
87 if ( m_Gradient != image )
95 itkSetMacro(Pow,
double);
96 itkGetConstMacro(Pow,
double);
105 const InputPixelType & GetOutput()
const;
110 void PrintSelf(std::ostream & os,
Indent indent)
const override;
122 #ifndef ITK_MANUAL_INSTANTIATION
123 #include "itkRobustAutomaticThresholdCalculator.hxx"
typename InputImageType::ConstPointer InputImageConstPointer
Light weight base class for most itk classes.
typename GradientImageType::Pointer GradientImagePointer
~RobustAutomaticThresholdCalculator() override
TInputImage InputImageType
Compute the robust automatic threshold.
typename GradientImageType::ConstPointer GradientImageConstPointer
virtual void SetInput(const InputImageType *image)
TGradientImage GradientImageType
InputImageConstPointer m_Input
GradientImageConstPointer m_Gradient
typename InputImageType::PixelType InputPixelType
typename InputImageType::Pointer InputImagePointer
virtual void SetGradient(const GradientImageType *image)
typename GradientImageType::PixelType GradientPixelType
Control indentation during Print() invocation.
Base class for most ITK classes.