21 #ifndef __vtkITKImageMargin_h 22 #define __vtkITKImageMargin_h 25 #include "vtkSimpleImageToImageFilter.h" 36 void PrintSelf(ostream& os, vtkIndent indent)
override;
40 vtkGetMacro(BackgroundValue,
int);
41 vtkSetMacro(BackgroundValue,
int);
44 vtkGetMacro(CalculateMarginInMM,
bool);
45 vtkSetMacro(CalculateMarginInMM,
bool);
46 vtkBooleanMacro(CalculateMarginInMM,
bool);
51 vtkGetMacro(OuterMarginMM,
double);
52 vtkSetMacro(OuterMarginMM,
double);
57 vtkGetMacro(InnerMarginMM,
double);
58 vtkSetMacro(InnerMarginMM,
double);
63 vtkGetMacro(OuterMarginVoxels,
double);
64 vtkSetMacro(OuterMarginVoxels,
double);
69 vtkGetMacro(InnerMarginVoxels,
double);
70 vtkSetMacro(InnerMarginVoxels,
double);
73 int BackgroundValue{0};
74 bool CalculateMarginInMM{
true};
75 double OuterMarginMM{0.0};
76 double InnerMarginMM{0.0};
77 double OuterMarginVoxels{0.0};
78 double InnerMarginVoxels{0.0};
84 void SimpleExecute(vtkImageData* input, vtkImageData* output)
override;
ITK-based utilities for manipulating connected regions in label maps. Limitation: The filter does not...