VMTK
Loading...
Searching...
No Matches
vtkvmtkSigmoidImageFilter.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=========================================================================*/
37
38#ifndef __vtkvmtkSigmoidImageFilter_h
39#define __vtkvmtkSigmoidImageFilter_h
40
41#include "vtkSimpleImageToImageFilter.h"
42#include "vtkvmtkWin32Header.h"
43
44class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkSigmoidImageFilter : public vtkSimpleImageToImageFilter
45{
46 public:
48 vtkTypeMacro(vtkvmtkSigmoidImageFilter, vtkSimpleImageToImageFilter);
49
51
56 vtkGetMacro(Alpha,double);
57 vtkSetMacro(Alpha,double);
59
61
65 vtkGetMacro(Beta,double);
66 vtkSetMacro(Beta,double);
68
70
74 vtkGetMacro(OutputMinimum,double);
75 vtkSetMacro(OutputMinimum,double);
77
79
83 vtkGetMacro(OutputMaximum,double);
84 vtkSetMacro(OutputMaximum,double);
86
87protected:
88
91
92 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
93
94private:
95 vtkvmtkSigmoidImageFilter(const vtkvmtkSigmoidImageFilter&); // Not implemented.
96 void operator=(const vtkvmtkSigmoidImageFilter&); // Not implemented.
97
98 double Alpha;
99 double Beta;
100 double OutputMinimum;
101 double OutputMaximum;
102};
103
104#endif
105
106
107
108
Wraps itk::SigmoidImageFilter.
static vtkvmtkSigmoidImageFilter * New()