Medical Imaging Interaction Toolkit  2023.12.99-77685e7b
Medical Imaging Interaction Toolkit
mitkManualSegmentationToSurfaceFilter.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkManualSegmentationToSurfaceFilter_h
14 #define mitkManualSegmentationToSurfaceFilter_h
15 
18 
19 #include <vtkImageGaussianSmooth.h>
20 #include <vtkImageMedian3D.h>
21 #include <vtkImageResample.h>
22 #include <vtkImageThreshold.h>
23 
24 namespace mitk
25 {
41  {
42  public:
44 
45  typedef double vtkDouble;
46 
56  void GenerateData() override;
57  itkFactorylessNewMacro(Self);
58  itkCloneMacro(Self);
59 
63  itkSetMacro(MedianFilter3D, bool);
64 
68  itkGetConstMacro(MedianFilter3D, bool);
69 
73  itkBooleanMacro(MedianFilter3D);
74 
78  itkSetMacro(Interpolation, bool);
79 
83  itkGetConstMacro(Interpolation, bool);
84 
89  itkBooleanMacro(Interpolation);
90 
94  itkSetMacro(UseGaussianImageSmooth, bool);
95 
99  itkGetConstMacro(UseGaussianImageSmooth, bool);
100 
108  itkBooleanMacro(UseGaussianImageSmooth);
109 
114  itkSetMacro(GaussianStandardDeviation, double);
115 
120  itkGetConstMacro(GaussianStandardDeviation, double);
121 
126  void SetMedianKernelSize(int x, int y, int z);
127 
131  itkGetConstMacro(MedianKernelSizeX, int);
132 
136  itkGetConstMacro(MedianKernelSizeY, int);
137 
141  itkGetConstMacro(MedianKernelSizeZ, int);
142 
146  void SetInterpolation(vtkDouble x, vtkDouble y, vtkDouble z);
147 
148  protected:
151 
153  int m_MedianKernelSizeX, m_MedianKernelSizeY, m_MedianKernelSizeZ;
154  bool m_UseGaussianImageSmooth; // Gaussian Filter
157 
161 
162  }; // namespace
163 }
164 #endif
mitk::ManualSegmentationToSurfaceFilter::vtkDouble
double vtkDouble
Definition: mitkManualSegmentationToSurfaceFilter.h:45
mitk::ManualSegmentationToSurfaceFilter::m_MedianFilter3D
bool m_MedianFilter3D
Definition: mitkManualSegmentationToSurfaceFilter.h:152
mitkImageToSurfaceFilter.h
mitk::ManualSegmentationToSurfaceFilter::m_MedianKernelSizeZ
int m_MedianKernelSizeZ
Definition: mitkManualSegmentationToSurfaceFilter.h:153
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
mitk::ManualSegmentationToSurfaceFilter::m_GaussianStandardDeviation
double m_GaussianStandardDeviation
Definition: mitkManualSegmentationToSurfaceFilter.h:155
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitk::ManualSegmentationToSurfaceFilter
Supplies a 3D surface from pre-processed segmentation.
Definition: mitkManualSegmentationToSurfaceFilter.h:40
mitk::ManualSegmentationToSurfaceFilter::m_InterpolationZ
vtkDouble m_InterpolationZ
Definition: mitkManualSegmentationToSurfaceFilter.h:160
mitk::ImageToSurfaceFilter
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...
Definition: mitkImageToSurfaceFilter.h:50
mitk::ManualSegmentationToSurfaceFilter::m_InterpolationY
vtkDouble m_InterpolationY
Definition: mitkManualSegmentationToSurfaceFilter.h:159
mitk::ManualSegmentationToSurfaceFilter::m_UseGaussianImageSmooth
bool m_UseGaussianImageSmooth
Definition: mitkManualSegmentationToSurfaceFilter.h:154
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h
mitk::ManualSegmentationToSurfaceFilter::m_InterpolationX
vtkDouble m_InterpolationX
Definition: mitkManualSegmentationToSurfaceFilter.h:158
mitk::ManualSegmentationToSurfaceFilter::m_Interpolation
bool m_Interpolation
Definition: mitkManualSegmentationToSurfaceFilter.h:156