VMTK
vtkvmtkSatoVesselnessMeasureImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkSatoVesselnessMeasureImageFilter.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 __vtkvmtkSatoVesselnessMeasureImageFilter_h
34 #define __vtkvmtkSatoVesselnessMeasureImageFilter_h
35 
36 #include "vtkSimpleImageToImageFilter.h"
37 #include "vtkvmtkWin32Header.h"
38 
39 class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkSatoVesselnessMeasureImageFilter : public vtkSimpleImageToImageFilter
40 {
41  public:
43  vtkTypeMacro(vtkvmtkSatoVesselnessMeasureImageFilter, vtkSimpleImageToImageFilter);
44 
45  vtkGetMacro(SigmaMin,double);
46  vtkSetMacro(SigmaMin,double);
47 
48  vtkGetMacro(SigmaMax,double);
49  vtkSetMacro(SigmaMax,double);
50 
51  vtkGetMacro(NumberOfSigmaSteps,int);
52  vtkSetMacro(NumberOfSigmaSteps,int);
53 
54  vtkGetMacro(SigmaStepMethod,int);
55  vtkSetMacro(SigmaStepMethod,int);
57  {
58  this->SetSigmaStepMethod(EQUISPACED);
59  }
60 
62  {
63  this->SetSigmaStepMethod(LOGARITHMIC);
64  }
65 
66  vtkGetMacro(Alpha1,double);
67  vtkSetMacro(Alpha1,double);
68 
69  vtkGetMacro(Alpha2,double);
70  vtkSetMacro(Alpha2,double);
71 //BTX
72  enum
73  {
75  LOGARITHMIC
76  };
77 //ETX
78 protected:
81 
82  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) VTK_OVERRIDE;
83 
84 private:
86  void operator=(const vtkvmtkSatoVesselnessMeasureImageFilter&); // Not implemented.
87 
88  double SigmaMin;
89  double SigmaMax;
90  int NumberOfSigmaSteps;
91  int SigmaStepMethod;
92  double Alpha1;
93  double Alpha2;
94 };
95 
96 #endif
97 
98 
99 
100 
Wrapper class around itk::SatoVesselnessMeasureImageFilter.