17 #ifndef _MITKMANUALSEGMENTATIONTISURFACEFILTER_h__
18 #define _MITKMANUALSEGMENTATIONTISURFACEFILTER_h__
23 #include <vtkImageGaussianSmooth.h>
24 #include <vtkImageMedian3D.h>
25 #include <vtkImageResample.h>
26 #include <vtkImageThreshold.h>
60 virtual void GenerateData()
override;
61 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
66 itkSetMacro(MedianFilter3D,
bool);
71 itkGetConstMacro(MedianFilter3D,
bool);
76 itkBooleanMacro(MedianFilter3D);
81 itkSetMacro(Interpolation,
bool);
86 itkGetConstMacro(Interpolation,
bool);
92 itkBooleanMacro(Interpolation);
97 itkSetMacro(UseGaussianImageSmooth,
bool);
102 itkGetConstMacro(UseGaussianImageSmooth,
bool);
111 itkBooleanMacro(UseGaussianImageSmooth);
117 itkSetMacro(GaussianStandardDeviation,
double);
123 itkGetConstMacro(GaussianStandardDeviation,
double);
129 void SetMedianKernelSize(
int x,
int y,
int z);
134 itkGetConstMacro(MedianKernelSizeX,
int);
139 itkGetConstMacro(MedianKernelSizeY,
int);
144 itkGetConstMacro(MedianKernelSizeZ,
int);
149 void SetInterpolation(vtkDouble x, vtkDouble y, vtkDouble z);
153 virtual ~ManualSegmentationToSurfaceFilter();
155 bool m_MedianFilter3D;
156 int m_MedianKernelSizeX, m_MedianKernelSizeY, m_MedianKernelSizeZ;
157 bool m_UseGaussianImageSmooth;
158 double m_GaussianStandardDeviation;
159 bool m_Interpolation;
161 vtkDouble m_InterpolationX;
162 vtkDouble m_InterpolationY;
163 vtkDouble m_InterpolationZ;
167 #endif //_MITKMANUALSEGMENTATIONTISURFACEFILTER_h__
Supplies a 3D surface from pre-processed segmentation.
Superclass of all classes generating some kind of mitk::BaseData.
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...