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(itk::Image<TPixel, imageDimension> *itkImage,
114 unsigned int neighborhood = 1);
119 template <
typename TPixel,
unsigned int imageDimension>
120 void IsInsideSegmentation(itk::Image<TPixel, imageDimension> *itkImage,
127 template <
typename TPixel,
unsigned int imageDimension>
130 std::array<ScalarType, 2> thresholds,
146 int m_PaintingPixelValue;
147 bool m_FillFeedbackContour;
148 int m_ConnectedComponentValue;
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
void StartRegionGrowing(itk::Image< TPixel, VImageDimension > *itkImage, mitk::Image::Pointer &result)
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
#define mitkClassMacro(className, SuperClassName)
static std::string GetName(std::string fileName, std::string suffix)
Super-class that provides the functionality of a StateMachine to DataInteractors. ...