13 #ifndef mitkLabeledImageToSurfaceFilter_h
14 #define mitkLabeledImageToSurfaceFilter_h
19 #include <vtkImageData.h>
45 itkFactorylessNewMacro(Self);
60 itkSetMacro(GenerateAllLabels,
bool);
66 itkGetMacro(GenerateAllLabels,
bool);
68 itkBooleanMacro(GenerateAllLabels);
100 itkSetMacro(GaussianStandardDeviation,
double);
106 itkGetMacro(GaussianStandardDeviation,
double);
162 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.
A data structure describing a label in a multi-label segmentation.
Generates surface representations from labeled (segmented) images.
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
Data class for storing polygonal surfaces (vtkPolyData).
Find image slices visible on a given plane.
double ScalarType
Scalar type used throughout MITK for geometric computations.