13 #ifndef mitkLabeledImageToSurfaceFilter_h
14 #define mitkLabeledImageToSurfaceFilter_h
19 #include <vtkImageData.h>
39 itkFactorylessNewMacro(Self);
54 itkSetMacro(GenerateAllLabels,
bool);
60 itkGetMacro(GenerateAllLabels,
bool);
62 itkBooleanMacro(GenerateAllLabels);
94 itkSetMacro(GaussianStandardDeviation,
double);
100 itkGetMacro(GaussianStandardDeviation,
double);
156 virtual void CreateSurface(
int time, vtkImageData *vtkimage,
mitk::Surface *surface,
const ScalarType threshold);
#define MITKALGORITHMSEXT_EXPORT
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...
A data structure describing a label.
std::map< LabelType, unsigned long > LabelMapType
mitk::ScalarType GetVolumeForNthOutput(const unsigned int &i)
mitkClassMacro(LabeledImageToSurfaceFilter, ImageToSurfaceFilter)
LabeledImageToSurfaceFilter()
IdxToLabelMapType m_IdxToLabels
void GenerateOutputInformation() override
LabelType m_BackgroundLabel
double m_GaussianStandardDeviation
virtual void CreateSurface(int time, vtkImageData *vtkimage, mitk::Surface *surface, LabelType label)
virtual LabelMapType GetAvailableLabels()
~LabeledImageToSurfaceFilter() override
std::map< unsigned int, LabelType > IdxToLabelMapType
mitk::ScalarType GetVolumeForLabel(const LabelType &label)
void GenerateData() override
LabelType GetLabelForNthOutput(const unsigned int &i)
LabelMapType m_AvailableLabels
Class for storing surfaces (vtkPolyData).
Find image slices visible on a given plane.