VMTK
Loading...
Searching...
No Matches
vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter.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
33
34#ifndef __vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter_h
35#define __vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter_h
36
37#include "vtkSimpleImageToImageFilter.h"
38#include "vtkvmtkWin32Header.h"
39
40class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter : public vtkSimpleImageToImageFilter
41{
42 public:
44 vtkTypeMacro(vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter, vtkSimpleImageToImageFilter);
45
47
51 vtkGetMacro(Sigma,double);
52 vtkSetMacro(Sigma,double);
54
56
60 vtkGetMacro(NormalizeAcrossScale,int);
61 vtkSetMacro(NormalizeAcrossScale,int);
62 vtkBooleanMacro(NormalizeAcrossScale,int);
64
65protected:
68
69 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
70
71private:
73 void operator=(const vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter&); // Not implemented.
74
75 double Sigma;
76 int NormalizeAcrossScale;
77};
78
79#endif
80
static vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter * New()