ITK
4.2.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
protected
:
82
GradientAnisotropicDiffusionImageFilter
()
83
{
84
typename
GradientNDAnisotropicDiffusionFunction< UpdateBufferType >::Pointer
p =
85
GradientNDAnisotropicDiffusionFunction< UpdateBufferType >::New
();
86
this->SetDifferenceFunction(p);
87
}
89
90
~GradientAnisotropicDiffusionImageFilter
() {}
91
private
:
92
GradientAnisotropicDiffusionImageFilter
(
const
Self &);
//purposely not
93
// implemented
94
void
operator=(
const
Self &);
//purposely not
95
96
// implemented
97
};
98
}
// end namspace itk
99
100
#endif
101
Generated on Tue Jul 10 2012 23:27:07 for ITK by
1.8.1