17 #ifndef mitkOtsuSegmentationFilter_h_Included
18 #define mitkOtsuSegmentationFilter_h_Included
48 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
50 itkGetMacro(NumberOfThresholds,
unsigned int);
52 void SetNumberOfThresholds(
unsigned int number)
56 MITK_WARN <<
"Tried to set an invalid number of thresholds in the OtsuSegmentationFilter.";
59 m_NumberOfThresholds = number;
67 MITK_WARN <<
"Tried to set an invalid number of bins in the OtsuSegmentationFilter.";
70 m_NumberOfBins = number;
76 virtual void GenerateData()
override;
80 unsigned int m_NumberOfThresholds;
81 bool m_ValleyEmphasis;
82 unsigned int m_NumberOfBins;
A filter that performs a multiple threshold otsu image segmentation.
unsigned char OutputPixelType
Superclass of all classes generating some kind of mitk::BaseData.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Pipelined import of itk::Image.
itk::Image< OutputPixelType, 3 > itkOutputImageType
#define mitkClassMacro(className, SuperClassName)
Superclass of all classes having one or more Images as input and generating Images as output...
void SetNumberOfBins(unsigned int number)
mitk::ITKImageImport< itkOutputImageType > ImageConverterType
void SetValleyEmphasis(bool useValley)