VMTK
Loading...
Searching...
No Matches
vtkvmtkFWHMFeatureImageFilter.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
38
39#ifndef __vtkvmtkFWHMFeatureImageFilter_h
40#define __vtkvmtkFWHMFeatureImageFilter_h
41
42#include "vtkSimpleImageToImageFilter.h"
43#include "vtkvmtkWin32Header.h"
44
45class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkFWHMFeatureImageFilter : public vtkSimpleImageToImageFilter
46{
47 public:
49 vtkTypeMacro(vtkvmtkFWHMFeatureImageFilter, vtkSimpleImageToImageFilter);
50
52
56 vtkGetMacro(UseImageSpacing,int);
57 vtkSetMacro(UseImageSpacing,int);
58 vtkBooleanMacro(UseImageSpacing,int);
60
62
66 vtkGetVectorMacro(Radius,int,3);
67 vtkSetVectorMacro(Radius,int,3);
69
71
75 vtkGetMacro(BackgroundValue,double);
76 vtkSetMacro(BackgroundValue,double);
78
79protected:
82
83 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
84
85private:
87 void operator=(const vtkvmtkFWHMFeatureImageFilter&); // Not implemented.
88
89 double BackgroundValue;
90 int UseImageSpacing;
91 int* Radius;
92};
93
94#endif
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override
static vtkvmtkFWHMFeatureImageFilter * New()