33 #ifndef __vtkvmtkThresholdSegmentationLevelSetImageFilter_h 34 #define __vtkvmtkThresholdSegmentationLevelSetImageFilter_h 36 #include "vtkSimpleImageToImageFilter.h" 37 #include "vtkvmtkWin32Header.h" 39 #include "vtkImageData.h" 47 vtkGetMacro(UpperThreshold,
double);
48 vtkSetMacro(UpperThreshold,
double);
50 vtkGetMacro(LowerThreshold,
double);
51 vtkSetMacro(LowerThreshold,
double);
53 vtkGetMacro(EdgeWeight,
double);
54 vtkSetMacro(EdgeWeight,
double);
56 vtkGetMacro(SmoothingIterations,
int);
57 vtkSetMacro(SmoothingIterations,
int);
59 vtkGetMacro(SmoothingTimeStep,
double);
60 vtkSetMacro(SmoothingTimeStep,
double);
62 vtkGetMacro(SmoothingConductance,
double);
63 vtkSetMacro(SmoothingConductance,
double);
65 vtkGetMacro(IsoSurfaceValue,
double);
66 vtkSetMacro(IsoSurfaceValue,
double);
68 vtkGetMacro(NumberOfIterations,
int);
69 vtkSetMacro(NumberOfIterations,
int);
71 vtkGetMacro(PropagationScaling,
double);
72 vtkSetMacro(PropagationScaling,
double);
74 vtkGetMacro(CurvatureScaling,
double);
75 vtkSetMacro(CurvatureScaling,
double);
77 vtkGetMacro(AdvectionScaling,
double);
78 vtkSetMacro(AdvectionScaling,
double);
80 vtkGetMacro(MaximumRMSError,
double);
81 vtkSetMacro(MaximumRMSError,
double);
83 vtkGetMacro(UseNegativeFeatures,
int);
84 vtkSetMacro(UseNegativeFeatures,
int);
85 vtkBooleanMacro(UseNegativeFeatures,
int);
87 vtkGetMacro(AutoGenerateSpeedAdvection,
int);
88 vtkSetMacro(AutoGenerateSpeedAdvection,
int);
89 vtkBooleanMacro(AutoGenerateSpeedAdvection,
int);
91 vtkGetMacro(InterpolateSurfaceLocation,
int);
92 vtkSetMacro(InterpolateSurfaceLocation,
int);
93 vtkBooleanMacro(InterpolateSurfaceLocation,
int);
95 vtkGetMacro(UseImageSpacing,
int);
96 vtkSetMacro(UseImageSpacing,
int);
97 vtkBooleanMacro(UseImageSpacing,
int);
99 vtkGetObjectMacro(FeatureImage,vtkImageData);
100 vtkSetObjectMacro(FeatureImage,vtkImageData);
102 vtkGetObjectMacro(SpeedImage,vtkImageData);
103 vtkSetObjectMacro(SpeedImage,vtkImageData);
105 vtkGetMacro(RMSChange,
double);
107 vtkGetMacro(ElapsedIterations,
int);
113 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) VTK_OVERRIDE;
119 double UpperThreshold;
120 double LowerThreshold;
122 int SmoothingIterations;
123 double SmoothingTimeStep;
124 double SmoothingConductance;
125 double IsoSurfaceValue;
126 int NumberOfIterations;
127 double PropagationScaling;
128 double CurvatureScaling;
129 double AdvectionScaling;
130 double MaximumRMSError;
131 int UseNegativeFeatures;
132 int AutoGenerateSpeedAdvection;
133 int InterpolateSurfaceLocation;
136 int ElapsedIterations;
137 vtkImageData* FeatureImage;
138 vtkImageData* SpeedImage;
Wrapper class around itk::ThresholdSegmentationLevelSetImageFilter.