Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkOtsuSegmentationFilter_h
14 #define mitkOtsuSegmentationFilter_h
46 itkFactorylessNewMacro(
Self);
48 itkGetMacro(NumberOfThresholds,
unsigned int);
54 MITK_WARN <<
"Tried to set an invalid number of thresholds in the OtsuSegmentationFilter.";
57 m_NumberOfThresholds = number;
65 MITK_WARN <<
"Tried to set an invalid number of bins in the OtsuSegmentationFilter.";
68 m_NumberOfBins = number;
74 void GenerateData()
override;
78 unsigned int m_NumberOfThresholds;
79 bool m_ValleyEmphasis;
80 unsigned int m_NumberOfBins;
mitk::ITKImageImport< itkOutputImageType > ImageConverterType
unsigned short OutputPixelType
void SetNumberOfThresholds(unsigned int number)
void SetValleyEmphasis(bool useValley)
DataCollection - Class to facilitate loading/accessing structured data.
A filter that performs a multiple threshold otsu image segmentation.
Superclass of all classes generating some kind of mitk::BaseData.
itk::Image< OutputPixelType, 3 > itkOutputImageType
Pipelined import of itk::Image.
void SetNumberOfBins(unsigned int number)
#define MITKSEGMENTATION_EXPORT
#define mitkClassMacro(className, SuperClassName)
Superclass of all classes having one or more Images as input and generating Images as output.