VMTK
Loading...
Searching...
No Matches
vtkvmtkObjectnessMeasureImageFilter.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
42
43#ifndef __vtkvmtkObjectnessMeasureImageFilter_h
44#define __vtkvmtkObjectnessMeasureImageFilter_h
45
46#include "vtkSimpleImageToImageFilter.h"
47#include "vtkvmtkWin32Header.h"
48
49#include "vtkImageData.h"
50
51class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkObjectnessMeasureImageFilter : public vtkSimpleImageToImageFilter
52{
53 public:
55 vtkTypeMacro(vtkvmtkObjectnessMeasureImageFilter, vtkSimpleImageToImageFilter);
56
58
62 vtkGetMacro(SigmaMin,double);
63 vtkSetMacro(SigmaMin,double);
65
67
71 vtkGetMacro(SigmaMax,double);
72 vtkSetMacro(SigmaMax,double);
74
76
80 vtkGetMacro(NumberOfSigmaSteps,int);
81 vtkSetMacro(NumberOfSigmaSteps,int);
83
85
90 vtkGetMacro(SigmaStepMethod,int);
91 vtkSetMacro(SigmaStepMethod,int);
93
101
109
110 enum
111 {
114 };
115
117
121 vtkGetMacro(UseScaledObjectness,int);
122 vtkSetMacro(UseScaledObjectness,int);
124
126
131 vtkGetMacro(Alpha,double);
132 vtkSetMacro(Alpha,double);
134
136
140 vtkGetMacro(Beta,double);
141 vtkSetMacro(Beta,double);
143
145
149 vtkGetMacro(Gamma,double);
150 vtkSetMacro(Gamma,double);
152
154
158 vtkGetMacro(ObjectDimension,int);
159 vtkSetMacro(ObjectDimension,int);
161
166 vtkGetObjectMacro(ScalesOutput,vtkImageData);
167
168protected:
171
172 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
173
174private:
176 void operator=(const vtkvmtkObjectnessMeasureImageFilter&); // Not implemented.
177
178 double SigmaMin;
179 double SigmaMax;
180 int NumberOfSigmaSteps;
181 int SigmaStepMethod;
182 int UseScaledObjectness;
183 double Alpha;
184 double Beta;
185 double Gamma;
186 int ObjectDimension;
187 vtkImageData* ScalesOutput;
188};
189
190#endif
191
static vtkvmtkObjectnessMeasureImageFilter * New()
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override