VMTK
Loading...
Searching...
No Matches
vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter.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
34
35#ifndef __vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter_h
36#define __vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter_h
37
38#include "vtkSimpleImageToImageFilter.h"
39#include "vtkvmtkWin32Header.h"
40
41class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter : public vtkSimpleImageToImageFilter
42{
43 public:
45 vtkTypeMacro(vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter, vtkSimpleImageToImageFilter);
46
48
52 vtkGetMacro(Sigma,double);
53 vtkSetMacro(Sigma,double);
55
57
61 vtkGetMacro(NormalizeAcrossScale,int);
62 vtkSetMacro(NormalizeAcrossScale,int);
63 vtkBooleanMacro(NormalizeAcrossScale,int);
65
66protected:
69
70 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
71
72private:
74 void operator=(const vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter&); // Not implemented.
75
76 double Sigma;
77 int NormalizeAcrossScale;
78};
79
80#endif
81
static vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter * New()