17 #ifndef _mitk_labeled_image_to_surface_filter__h_
18 #define _mitk_labeled_image_to_surface_filter__h_
23 #include <vtkImageData.h>
43 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
56 itkSetMacro(GenerateAllLabels,
bool);
62 itkGetMacro(GenerateAllLabels,
bool);
64 itkBooleanMacro(GenerateAllLabels);
71 itkSetMacro(
Label, LabelType);
78 itkGetMacro(Label, LabelType);
84 itkSetMacro(BackgroundLabel, LabelType);
90 itkGetMacro(BackgroundLabel, LabelType);
96 itkSetMacro(GaussianStandardDeviation,
double);
102 itkGetMacro(GaussianStandardDeviation,
double);
112 LabelType GetLabelForNthOutput(const
unsigned int &i);
133 double m_GaussianStandardDeviation;
135 bool m_GenerateAllLabels;
139 LabelType m_BackgroundLabel;
141 LabelMapType m_AvailableLabels;
143 IdxToLabelMapType m_IdxToLabels;
145 virtual
void GenerateData() override;
147 virtual
void GenerateOutputInformation() override;
149 virtual
void CreateSurface(
int time, vtkImageData *vtkimage,
mitk::
Surface *surface, LabelType label);
151 virtual LabelMapType GetAvailableLabels();
158 virtual
void CreateSurface(
int time, vtkImageData *vtkimage,
mitk::
Surface *surface, const
ScalarType threshold);
Class for storing surfaces (vtkPolyData).
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
A data structure describing a label.
#define MITKALGORITHMSEXT_EXPORT
#define mitkClassMacro(className, SuperClassName)
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...
std::map< LabelType, unsigned long > LabelMapType
std::map< unsigned int, LabelType > IdxToLabelMapType