|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkOtsuThresholdImageFilter_h
20 #define itkOtsuThresholdImageFilter_h
54 template <
typename TInputImage,
typename TOutputImage,
typename TMaskImage = TOutputImage>
104 itkSetMacro(ReturnBinMidpoint,
bool);
105 itkGetConstReferenceMacro(ReturnBinMidpoint,
bool);
106 itkBooleanMacro(ReturnBinMidpoint);
127 itkExceptionMacro(<<
"Invalid OtsuThresholdCalculator.");
133 #if defined(ITKV4_COMPATIBILITY)
void VerifyPreconditions() ITKv5_CONST override
typename InputImageType::IndexType InputIndexType
typename OutputImageType::Pointer OutputImagePointer
Statistics::Histogram< ValueRealType > HistogramType
typename InputImageType::PixelType InputPixelType
static constexpr unsigned int OutputImageDimension
typename MaskImageType::RegionType MaskImageRegionType
typename MaskImageType::SizeType MaskSizeType
ImageBaseType::SizeType SizeType
typename OutputImageType::SizeType OutputSizeType
Threshold an image using a HistogramThresholdCalculator.
typename OutputImageType::PixelType OutputPixelType
Threshold an image using the Otsu Threshold.
typename OutputImageType::IndexType OutputIndexType
virtual const CalculatorType * GetCalculator() const
ImageBaseType::IndexType IndexType
Base class for all process objects that output image data.
This class stores measurement vectors in the context of n-dimensional histogram.
virtual CalculatorType * GetModifiableCalculator()
typename InputImageType::Pointer InputImagePointer
Computes the Otsu's threshold for an image.
ImageBaseType::RegionType RegionType
static constexpr unsigned int InputImageDimension
typename MaskImageType::PixelType MaskPixelType
TInputImage InputImageType
typename InputImageType::SizeType InputSizeType
OtsuThresholdImageFilter()
Base class to compute a threshold value based on the histogram of an image.
typename OutputImageType::RegionType OutputImageRegionType
virtual void SetCalculator(CalculatorType *_arg)
void GenerateData() override
typename MaskImageType::IndexType MaskIndexType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void GenerateData() override
~OtsuThresholdImageFilter() override=default
typename InputImageType::RegionType InputImageRegionType
void VerifyPreconditions() ITKv5_CONST override
TOutputImage OutputImageType