33 #ifndef __vtkvmtkGrayscaleMorphologyImageFilter_h 34 #define __vtkvmtkGrayscaleMorphologyImageFilter_h 36 #include "vtkSimpleImageToImageFilter.h" 37 #include "vtkvmtkWin32Header.h" 45 vtkGetVectorMacro(BallRadius,
int,3);
46 vtkSetVectorMacro(BallRadius,
int,3);
48 vtkSetMacro(Operation,
int);
49 vtkGetMacro(Operation,
int);
51 { this->SetOperation(DILATE); }
53 { this->SetOperation(ERODE); }
55 { this->SetOperation(CLOSE); }
57 { this->SetOperation(OPEN); }
71 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) VTK_OVERRIDE;
72 virtual int RequestInformation(vtkInformation * vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) VTK_OVERRIDE;
void SetOperationToDilate()
void SetOperationToClose()
Wrapper class around itk::GrayscaleMorphologyImageFilter.
void SetOperationToOpen()
void SetOperationToErode()