VMTK
Loading...
Searching...
No Matches
vtkvmtkVesselEnhancingDiffusionImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 Portions of this code are covered under the ITK copyright.
13 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm
14 for details.
15
16 This software is distributed WITHOUT ANY WARRANTY; without even
17 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18 PURPOSE. See the above copyright notices for more information.
19
20=========================================================================*/
21
37
38#ifndef __vtkvmtkVesselEnhancingDiffusionImageFilter_h
39#define __vtkvmtkVesselEnhancingDiffusionImageFilter_h
40
41#include "vtkSimpleImageToImageFilter.h"
42#include "vtkvmtkWin32Header.h"
43
44class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkVesselEnhancingDiffusionImageFilter : public vtkSimpleImageToImageFilter
45{
46 public:
48 vtkTypeMacro(vtkvmtkVesselEnhancingDiffusionImageFilter, vtkSimpleImageToImageFilter);
49
51
56 vtkGetMacro(SigmaMin,double);
57 vtkSetMacro(SigmaMin,double);
59
61
65 vtkGetMacro(SigmaMax,double);
66 vtkSetMacro(SigmaMax,double);
68
70
73 vtkGetMacro(NumberOfSigmaSteps,int);
74 vtkSetMacro(NumberOfSigmaSteps,int);
76
78
83 vtkGetMacro(SigmaStepMethod,int);
84 vtkSetMacro(SigmaStepMethod,int);
86
94
102
106 enum
107 {
110 };
111
113
117 vtkGetMacro(Alpha,double);
118 vtkSetMacro(Alpha,double);
120
122
127 vtkGetMacro(Beta,double);
128 vtkSetMacro(Beta,double);
130
132
136 vtkGetMacro(Gamma,double);
137 vtkSetMacro(Gamma,double);
139
141
145 vtkGetMacro(C,double);
146 vtkSetMacro(C,double);
148
150
154 vtkGetMacro(NumberOfIterations,int);
155 vtkSetMacro(NumberOfIterations,int);
157
159
163 vtkGetMacro(NumberOfDiffusionSubIterations,int);
164 vtkSetMacro(NumberOfDiffusionSubIterations,int);
166
168
171 vtkGetMacro(TimeStep,double);
172 vtkSetMacro(TimeStep,double);
174
176
180 vtkGetMacro(Epsilon,double);
181 vtkSetMacro(Epsilon,double);
183
185
188 vtkGetMacro(WStrength,double);
189 vtkSetMacro(WStrength,double);
191
193
197 vtkGetMacro(Sensitivity,double);
198 vtkSetMacro(Sensitivity,double);
200
201protected:
202
205
206 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
207
208private:
210 void operator=(const vtkvmtkVesselEnhancingDiffusionImageFilter&); // Not implemented.
211
212 double SigmaMin;
213 double SigmaMax;
214 int NumberOfSigmaSteps;
215 int SigmaStepMethod;
216 int NumberOfIterations;
217 int NumberOfDiffusionSubIterations;
218 double TimeStep;
219 double Epsilon;
220 double WStrength;
221 double Sensitivity;
222 double Alpha;
223 double Beta;
224 double Gamma;
225 double C;
226};
227
228#endif
229
static vtkvmtkVesselEnhancingDiffusionImageFilter * New()