VMTK
Loading...
Searching...
No Matches
Segmentation
vtkvmtkMedialCurveFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: 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
41
class
vtkImageData;
42
class
itkImage;
43
44
class
VTK_VMTK_SEGMENTATION_EXPORT
vtkvmtkMedialCurveFilter
:
public
vtkSimpleImageToImageFilter
45
{
46
public
:
47
48
static
vtkvmtkMedialCurveFilter
*
New
();
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
:
72
vtkvmtkMedialCurveFilter
();
73
~vtkvmtkMedialCurveFilter
();
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
vtkvmtkMedialCurveFilter::vtkvmtkMedialCurveFilter
vtkvmtkMedialCurveFilter()
Definition
vtkvmtkMedialCurveFilter.cxx:46
vtkvmtkMedialCurveFilter::Sigma
double Sigma
Definition
vtkvmtkMedialCurveFilter.h:77
vtkvmtkMedialCurveFilter::SimpleExecute
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override
Definition
vtkvmtkMedialCurveFilter.cxx:55
vtkvmtkMedialCurveFilter::New
static vtkvmtkMedialCurveFilter * New()
vtkvmtkMedialCurveFilter::Threshold
double Threshold
Definition
vtkvmtkMedialCurveFilter.h:78
Generated by
1.15.0