13 #ifndef mitkBinaryThresholdTool_h_Included 14 #define mitkBinaryThresholdTool_h_Included 46 itkFactorylessNewMacro(
Self);
49 const char **GetXPM()
const override;
51 const char *
GetName()
const override;
53 void Activated()
override;
54 void Deactivated()
override;
56 virtual void SetThresholdValue(
double value);
57 virtual void AcceptCurrentThresholdValue();
58 virtual void CancelThresholding();
64 void SetupPreviewNode();
66 void CreateNewSegmentationFromThreshold(
DataNode *node);
68 void OnRoiDataChanged();
71 template <
typename TPixel,
unsigned int VImageDimension>
72 void ITKThresholding(itk::Image<TPixel, VImageDimension> *originalImage,
74 double thresholdValue,
75 unsigned int timeStep);
76 template <
typename TPixel,
unsigned int VImageDimension>
79 double thresholdValue,
80 unsigned int timeStep);
91 bool m_IsOldBinary =
false;
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
static std::string GetName(std::string fileName, std::string suffix)
Class for nodes of the DataTree.
Super-class that provides the functionality of a StateMachine to DataInteractors. ...