13 #ifndef mitkRegionGrowingTool_h_Included 14 #define mitkRegionGrowingTool_h_Included 56 itkFactorylessNewMacro(
Self);
59 const char **GetXPM()
const override;
63 const char *GetName()
const override;
69 void ConnectActionsAndFunctions()
override;
71 void Activated()
override;
72 void Deactivated()
override;
83 virtual void OnMousePressedInside();
110 template <
typename TPixel,
unsigned int imageDimension>
111 void GetNeighborhoodAverage(
const itk::Image<TPixel, imageDimension> *itkImage,
114 unsigned int neighborhood = 1);
119 template <
typename TPixel,
unsigned int imageDimension>
120 void IsInsideSegmentation(
const itk::Image<TPixel, imageDimension> *itkImage,
127 template <
typename TPixel,
unsigned int imageDimension>
128 void StartRegionGrowing(
const itk::Image<TPixel, imageDimension> *itkImage,
130 const std::array<ScalarType, 2>& thresholds,
136 template <
typename TPixel,
unsigned int imageDimension>
137 void CalculateInitialThresholds(
const itk::Image<TPixel, imageDimension>* itkImage);
153 int m_PaintingPixelValue;
154 bool m_FillFeedbackContour;
155 int m_ConnectedComponentValue;
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
#define mitkClassMacro(className, SuperClassName)
Super-class that provides the functionality of a StateMachine to DataInteractors. ...