13 #ifndef mitkRegionGrowingTool_h
14 #define mitkRegionGrowingTool_h
53 itkFactorylessNewMacro(
Self);
56 const char **GetXPM()
const override;
60 const char *GetName()
const override;
66 void ConnectActionsAndFunctions()
override;
68 void Activated()
override;
69 void Deactivated()
override;
96 template <
typename TPixel,
unsigned int imageDimension>
97 void GetNeighborhoodAverage(
const itk::Image<TPixel, imageDimension> *itkImage,
98 const itk::Index<imageDimension>& index,
100 unsigned int neighborhood = 1);
105 template <
typename TPixel,
unsigned int imageDimension>
106 void StartRegionGrowing(
const itk::Image<TPixel, imageDimension> *itkImage,
107 const itk::Index<imageDimension>& seedPoint,
108 const std::array<ScalarType, 2>& thresholds,
114 template <
typename TPixel,
unsigned int imageDimension>
115 void CalculateInitialThresholds(
const itk::Image<TPixel, imageDimension>* itkImage);
131 int m_PaintingPixelValue;
132 bool m_FillFeedbackContour;
133 int m_ConnectedComponentValue;