VMTK
Loading...
Searching...
No Matches
vtkvmtkMedialCurveFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Richard Izzo, Luca Antiga. 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 Note: this class was contributed by
20 Richard Izzo
21 https://github.com/rlizzo
22
23=========================================================================*/
33
34#ifndef __vtkvmtkMedialCurveFilter_h
35#define __vtkvmtkMedialCurveFilter_h
36
37#include "vtkSimpleImageToImageFilter.h"
38#include "vtkImageData.h"
39#include "vtkvmtkWin32Header.h"
40
41class vtkImageData;
42class itkImage;
43
44class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkMedialCurveFilter : public vtkSimpleImageToImageFilter
45{
46 public:
47
49 vtkTypeMacro(vtkvmtkMedialCurveFilter, vtkSimpleImageToImageFilter);
50 // void PrintSelf(std::ostream& os, vtkIndent indent) override;
51
53
58 vtkGetMacro(Sigma,double);
59 vtkSetMacro(Sigma,double);
61
63
67 vtkGetMacro(Threshold,double);
68 vtkSetMacro(Threshold,double);
70
71 protected:
74
75 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
76
77 double Sigma;
78 double Threshold;
79
80 private:
81 vtkvmtkMedialCurveFilter(const vtkvmtkMedialCurveFilter&); // Not implemented.
82 void operator=(const vtkvmtkMedialCurveFilter&); // Not implemented.
83};
84#endif
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override
static vtkvmtkMedialCurveFilter * New()