ITK
4.3.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Filtering
AnisotropicSmoothing
include
itkGradientAnisotropicDiffusionImageFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright Insight Software Consortium
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef __itkGradientAnisotropicDiffusionImageFilter_h
19
#define __itkGradientAnisotropicDiffusionImageFilter_h
20
21
#include "
itkAnisotropicDiffusionImageFilter.h
"
22
#include "
itkGradientNDAnisotropicDiffusionFunction.h
"
23
24
namespace
itk
25
{
49
template
<
class
TInputImage,
class
TOutputImage >
50
class
ITK_EXPORT
GradientAnisotropicDiffusionImageFilter
:
51
public
AnisotropicDiffusionImageFilter
< TInputImage, TOutputImage >
52
{
53
public
:
55
typedef
GradientAnisotropicDiffusionImageFilter
Self
;
56
typedef
AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >
57
Superclass
;
58
typedef
SmartPointer< Self >
Pointer
;
59
typedef
SmartPointer< const Self >
ConstPointer
;
60
62
itkNewMacro(
Self
);
63
65
itkTypeMacro(
GradientAnisotropicDiffusionImageFilter
,
66
AnisotropicDiffusionImageFilter
);
67
69
typedef
typename
Superclass::UpdateBufferType
UpdateBufferType
;
70
72
itkStaticConstMacro(ImageDimension,
unsigned
int
, Superclass::ImageDimension);
73
74
#ifdef ITK_USE_CONCEPT_CHECKING
75
76
itkConceptMacro
( UpdateBufferHasNumericTraitsCheck,
77
(
Concept::HasNumericTraits< typename UpdateBufferType::PixelType >
) );
78
80
#endif
81
82
protected
:
83
GradientAnisotropicDiffusionImageFilter
()
84
{
85
typename
GradientNDAnisotropicDiffusionFunction< UpdateBufferType >::Pointer
p =
86
GradientNDAnisotropicDiffusionFunction< UpdateBufferType >::New
();
87
this->SetDifferenceFunction(p);
88
}
89
90
~GradientAnisotropicDiffusionImageFilter
() {}
91
92
private
:
93
GradientAnisotropicDiffusionImageFilter
(
const
Self &);
//purposely not
94
// implemented
95
void
operator=(
const
Self &);
//purposely not
96
97
// implemented
98
};
99
}
// end namspace itk
100
101
#endif
102
Generated on Sun Dec 9 2012 01:02:57 for ITK by
1.8.2