VMTK
Loading...
Searching...
No Matches
vtkvmtkCurvesLevelSetImageFilter.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
40
41#ifndef __vtkvmtkCurvesLevelSetImageFilter_h
42#define __vtkvmtkCurvesLevelSetImageFilter_h
43
44#include "vtkSimpleImageToImageFilter.h"
45#include "vtkImageData.h"
46#include "vtkvmtkWin32Header.h"
47
48class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkCurvesLevelSetImageFilter : public vtkSimpleImageToImageFilter
49{
50 public:
52 vtkTypeMacro(vtkvmtkCurvesLevelSetImageFilter, vtkSimpleImageToImageFilter);
53
55
59 vtkGetMacro(IsoSurfaceValue,double);
60 vtkSetMacro(IsoSurfaceValue,double);
62
64
68 vtkGetMacro(NumberOfIterations,int);
69 vtkSetMacro(NumberOfIterations,int);
71
73
77 vtkGetMacro(PropagationScaling,double);
78 vtkSetMacro(PropagationScaling,double);
80
82
86 vtkGetMacro(CurvatureScaling,double);
87 vtkSetMacro(CurvatureScaling,double);
89
91
95 vtkGetMacro(AdvectionScaling,double);
96 vtkSetMacro(AdvectionScaling,double);
98
100
104 vtkGetMacro(MaximumRMSError,double);
105 vtkSetMacro(MaximumRMSError,double);
107
109
113 vtkGetMacro(UseNegativeFeatures,int);
114 vtkSetMacro(UseNegativeFeatures,int);
115 vtkBooleanMacro(UseNegativeFeatures,int);
117
119
123 vtkGetMacro(UseImageSpacing,int);
124 vtkSetMacro(UseImageSpacing,int);
125 vtkBooleanMacro(UseImageSpacing,int);
127
129
134 vtkGetMacro(AutoGenerateSpeedAdvection,int);
135 vtkSetMacro(AutoGenerateSpeedAdvection,int);
136 vtkBooleanMacro(AutoGenerateSpeedAdvection,int);
138
140
144 vtkGetMacro(InterpolateSurfaceLocation,int);
145 vtkSetMacro(InterpolateSurfaceLocation,int);
146 vtkBooleanMacro(InterpolateSurfaceLocation,int);
148
150
155 vtkGetMacro(DerivativeSigma,double);
156 vtkSetMacro(DerivativeSigma,double);
158
160
164 vtkGetObjectMacro(FeatureImage,vtkImageData);
165 vtkSetObjectMacro(FeatureImage,vtkImageData);
167
169
173 vtkGetObjectMacro(SpeedImage,vtkImageData);
174 vtkSetObjectMacro(SpeedImage,vtkImageData);
176
181 vtkGetMacro(RMSChange,double);
182
188 vtkGetMacro(ElapsedIterations,int);
189
190protected:
191
194
195 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
196
197private:
199 void operator=(const vtkvmtkCurvesLevelSetImageFilter&); //
200 // Not implemented
201
202 double IsoSurfaceValue;
203 int NumberOfIterations;
204 double PropagationScaling;
205 double CurvatureScaling;
206 double AdvectionScaling;
207 double MaximumRMSError;
208 int UseNegativeFeatures;
209 int UseImageSpacing;
210 int AutoGenerateSpeedAdvection;
211 int InterpolateSurfaceLocation;
212 double DerivativeSigma;
213 double RMSChange;
214 int ElapsedIterations;
215
216 vtkImageData* FeatureImage;
217 vtkImageData* SpeedImage;
218};
219
220#endif
221
222
223
224
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override
static vtkvmtkCurvesLevelSetImageFilter * New()