13 #ifndef mitkSegmentAnythingTool_h
14 #define mitkSegmentAnythingTool_h
43 itkFactorylessNewMacro(
Self);
46 const char **
GetXPM()
const override;
66 itkSetMacro(MitkTempDir, std::string);
67 itkGetConstMacro(MitkTempDir, std::string);
69 itkSetMacro(PythonPath, std::string);
70 itkGetConstMacro(PythonPath, std::string);
72 itkSetMacro(ModelType, std::string);
73 itkGetConstMacro(ModelType, std::string);
75 itkSetMacro(CheckpointPath, std::string);
76 itkGetConstMacro(CheckpointPath, std::string);
81 itkSetMacro(GpuId,
int);
82 itkGetConstMacro(GpuId,
int);
84 itkSetMacro(TimeOutLimit,
long);
85 itkGetConstMacro(TimeOutLimit,
long);
87 itkSetMacro(IsReady,
bool);
88 itkGetConstMacro(IsReady,
bool);
89 itkBooleanMacro(IsReady);
192 template <
typename TPixel,
unsigned int VImageDimension>
206 std::string m_MitkTempDir;
207 std::string m_PythonPath;
208 std::string m_ModelType;
209 std::string m_CheckpointPath;
210 std::string m_Backend;
212 PointSet::Pointer m_PointSetPositive;
213 PointSet::Pointer m_PointSetNegative;
214 DataNode::Pointer m_PointSetNodePositive;
215 DataNode::Pointer m_PointSetNodeNegative;
216 bool m_IsGenerateEmbeddings =
true;
217 bool m_IsReady =
false;
218 int m_PointSetCount = 0;
219 long m_TimeOutLimit = -1;
#define MITKSEGMENTATION_EXPORT
BaseGeometry Describes the geometry of a data object.
Image class for storing images.
The LevelWindow class Class to store level/window values.
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
Backend
Specifies the computation backends available for nnInteractive.
Find image slices visible on a given plane.