12 #ifndef mitkOtsuTool3D_h
13 #define mitkOtsuTool3D_h
31 itkFactorylessNewMacro(
Self);
34 const char *GetName()
const override;
35 const char **GetXPM()
const override;
38 void Activated()
override;
40 itkSetMacro(NumberOfBins,
unsigned int);
41 itkGetConstMacro(NumberOfBins,
unsigned int);
43 itkSetMacro(NumberOfRegions,
unsigned int);
44 itkGetConstMacro(NumberOfRegions,
unsigned int);
46 itkSetMacro(UseValley,
bool);
47 itkGetConstMacro(UseValley,
bool);
48 itkBooleanMacro(UseValley);
51 unsigned int GetMaxNumberOfBins()
const;
57 void UpdatePrepare()
override;
60 unsigned int m_NumberOfBins = 128;
61 unsigned int m_NumberOfRegions = 2;
62 bool m_UseValley =
false;