2 #ifndef itkNewOtsuThresholdImageCalculator_h 3 #define itkNewOtsuThresholdImageCalculator_h 6 #include "itkObjectFactory.h" 7 #include "itkNumericTraits.h" 27 template <
class TInputImage>
66 NumericTraits<unsigned long>::max() );
67 itkGetMacro( NumberOfHistogramBins,
unsigned long );
75 void PrintSelf(std::ostream& os, Indent indent)
const override;
79 void operator=(
const Self&) =
delete;
82 unsigned long m_NumberOfHistogramBins;
91 #ifndef ITK_MANUAL_INSTANTIATION 92 #include "itkNewOtsuThresholdImageCalculator.txx" ~NewOtsuThresholdImageCalculator() override=default
itkSetConstObjectMacro(Image, ImageType)
itkSetClampMacro(NumberOfHistogramBins, unsigned long, 1, NumericTraits< unsigned long >::max())
SmartPointer< const Self > ConstPointer
TInputImage::Pointer ImagePointer
Simplified inverse ITK transforms.
itkSetMacro(Omega, double)
NewOtsuThresholdImageCalculator()
TInputImage::PixelType PixelType
void PrintSelf(std::ostream &os, Indent indent) const override
itkTypeMacro(NewOtsuThresholdImageCalculator, Object)
Computes the Otsu's threshold for an image.
itkGetMacro(Threshold, PixelType)
SmartPointer< Self > Pointer
TInputImage::ConstPointer ImageConstPointer
NewOtsuThresholdImageCalculator Self