18#ifndef itkRobustAutomaticThresholdCalculator_h
19#define itkRobustAutomaticThresholdCalculator_h
39template <
typename TInputImage,
typename TGradientImage>
58 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
88 if (m_Gradient != image)
96 itkSetMacro(Pow,
double);
97 itkGetConstMacro(Pow,
double);
117 bool m_Valid{
false };
126#ifndef ITK_MANUAL_INSTANTIATION
127# include "itkRobustAutomaticThresholdCalculator.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
Compute the robust automatic threshold.
const InputPixelType & GetOutput() const
typename InputImageType::Pointer InputImagePointer
typename InputImageType::PixelType InputPixelType
virtual void SetGradient(const GradientImageType *image)
RobustAutomaticThresholdCalculator()
virtual void SetInput(const InputImageType *image)
TInputImage InputImageType
typename GradientImageType::Pointer GradientImagePointer
~RobustAutomaticThresholdCalculator() override=default
TGradientImage GradientImageType
void PrintSelf(std::ostream &os, Indent indent) const override
typename GradientImageType::PixelType GradientPixelType
typename InputImageType::ConstPointer InputImageConstPointer
typename GradientImageType::ConstPointer GradientImageConstPointer
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....