VMTK
vtkvmtkSigmoidImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkSigmoidImageFilter.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 =========================================================================*/
32 #ifndef __vtkvmtkSigmoidImageFilter_h
33 #define __vtkvmtkSigmoidImageFilter_h
34 
35 #include "vtkSimpleImageToImageFilter.h"
36 #include "vtkvmtkWin32Header.h"
37 
38 class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkSigmoidImageFilter : public vtkSimpleImageToImageFilter
39 {
40  public:
41  static vtkvmtkSigmoidImageFilter *New();
42  vtkTypeMacro(vtkvmtkSigmoidImageFilter, vtkSimpleImageToImageFilter);
43 
44  vtkGetMacro(Alpha,double);
45  vtkSetMacro(Alpha,double);
46 
47  vtkGetMacro(Beta,double);
48  vtkSetMacro(Beta,double);
49 
50  vtkGetMacro(OutputMinimum,double);
51  vtkSetMacro(OutputMinimum,double);
52 
53  vtkGetMacro(OutputMaximum,double);
54  vtkSetMacro(OutputMaximum,double);
55 
56 protected:
57 
60 
61  virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) VTK_OVERRIDE;
62 
63 private:
64  vtkvmtkSigmoidImageFilter(const vtkvmtkSigmoidImageFilter&); // Not implemented.
65  void operator=(const vtkvmtkSigmoidImageFilter&); // Not implemented.
66 
67  double Alpha;
68  double Beta;
69  double OutputMinimum;
70  double OutputMaximum;
71 };
72 
73 #endif
74 
75 
76 
77 
Wrapper class around itk::SigmoidImageFilter.