VMTK
vtkvmtkFWHMFeatureImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkFWHMFeatureImageFilter.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  Portions of this code are covered under the ITK copyright.
15  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm
16  for details.
17 
18  This software is distributed WITHOUT ANY WARRANTY; without even
19  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
20  PURPOSE. See the above copyright notices for more information.
21 
22 =========================================================================*/
23 
33 #ifndef __vtkvmtkFWHMFeatureImageFilter_h
34 #define __vtkvmtkFWHMFeatureImageFilter_h
35 
36 #include "vtkSimpleImageToImageFilter.h"
37 #include "vtkvmtkWin32Header.h"
38 
39 class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkFWHMFeatureImageFilter : public vtkSimpleImageToImageFilter
40 {
41  public:
42  static vtkvmtkFWHMFeatureImageFilter *New();
43  vtkTypeMacro(vtkvmtkFWHMFeatureImageFilter, vtkSimpleImageToImageFilter);
44 
45  vtkGetMacro(UseImageSpacing,int);
46  vtkSetMacro(UseImageSpacing,int);
47  vtkBooleanMacro(UseImageSpacing,int);
48 
49  vtkGetVectorMacro(Radius,int,3);
50  vtkSetVectorMacro(Radius,int,3);
51 
52  vtkGetMacro(BackgroundValue,double);
53  vtkSetMacro(BackgroundValue,double);
54 
55 protected:
58 
59  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) VTK_OVERRIDE;
60 
61 private:
63  void operator=(const vtkvmtkFWHMFeatureImageFilter&); // Not implemented.
64 
65  double BackgroundValue;
66  int UseImageSpacing;
67  int* Radius;
68 };
69 
70 #endif
Wrapper class around itk::FWHMFeatureImageFilter.