VMTK
Loading...
Searching...
No Matches
vtkvmtkVesselnessMeasureImageFilter.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
39
40#ifndef __vtkvmtkVesselnessMeasureImageFilter_h
41#define __vtkvmtkVesselnessMeasureImageFilter_h
42
43#include "vtkSimpleImageToImageFilter.h"
44#include "vtkvmtkWin32Header.h"
45
46#include "vtkImageData.h"
47
48class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkVesselnessMeasureImageFilter : public vtkSimpleImageToImageFilter
49{
50 public:
52 vtkTypeMacro(vtkvmtkVesselnessMeasureImageFilter, vtkSimpleImageToImageFilter);
53
55
59 vtkGetMacro(SigmaMin,double);
60 vtkSetMacro(SigmaMin,double);
62
64
68 vtkGetMacro(SigmaMax,double);
69 vtkSetMacro(SigmaMax,double);
71
73
76 vtkGetMacro(NumberOfSigmaSteps,int);
77 vtkSetMacro(NumberOfSigmaSteps,int);
79
81
86 vtkGetMacro(SigmaStepMethod,int);
87 vtkSetMacro(SigmaStepMethod,int);
89
97
105
109 enum
110 {
113 };
114
116
120 vtkGetMacro(UseScaledVesselness,int);
121 vtkSetMacro(UseScaledVesselness,int);
123
125
129 vtkGetMacro(Alpha,double);
130 vtkSetMacro(Alpha,double);
132
134
139 vtkGetMacro(Beta,double);
140 vtkSetMacro(Beta,double);
142
144
148 vtkGetMacro(Gamma,double);
149 vtkSetMacro(Gamma,double);
151
156 vtkGetObjectMacro(ScalesOutput,vtkImageData);
157
159
163 vtkSetMacro(BrightObject, bool);
164 vtkGetMacro(BrightObject, bool);
165 vtkBooleanMacro(BrightObject, bool);
167
168protected:
171
172 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
173
174private:
176 void operator=(const vtkvmtkVesselnessMeasureImageFilter&); // Not implemented.
177
178 double SigmaMin;
179 double SigmaMax;
180 int NumberOfSigmaSteps;
181 int SigmaStepMethod;
182 int UseScaledVesselness;
183 double Alpha;
184 double Beta;
185 double Gamma;
186 bool BrightObject;
187 vtkImageData* ScalesOutput;
188};
189
190#endif
191
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override
static vtkvmtkVesselnessMeasureImageFilter * New()