ITK
4.4.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Filtering
ImageGradient
include
itkDifferenceOfGaussiansGradientImageFilter.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 __itkDifferenceOfGaussiansGradientImageFilter_h
19
#define __itkDifferenceOfGaussiansGradientImageFilter_h
20
21
#include "
itkImageToImageFilter.h
"
22
#include "
itkCovariantVector.h
"
23
24
namespace
itk
25
{
34
template
<
typename
TInputImage,
typename
TDataType >
35
class
ITK_EXPORT
DifferenceOfGaussiansGradientImageFilter
:
36
public
ImageToImageFilter
< TInputImage,
37
Image< CovariantVector< TDataType, TInputImage::ImageDimension >,
38
TInputImage::ImageDimension > >
39
{
40
public
:
42
itkStaticConstMacro(NDimensions,
unsigned
int
, TInputImage::ImageDimension);
43
45
typedef
DifferenceOfGaussiansGradientImageFilter
Self
;
46
49
typedef
Image< CovariantVector< TDataType, itkGetStaticConstMacro(NDimensions) >
, itkGetStaticConstMacro(NDimensions) >
50
TOutputImage
;
51
53
typedef
ImageToImageFilter< TInputImage, TOutputImage >
Superclass
;
54
typedef
SmartPointer< Self >
Pointer
;
55
typedef
SmartPointer< const Self >
ConstPointer
;
56
58
itkNewMacro(
Self
);
59
61
itkTypeMacro(
DifferenceOfGaussiansGradientImageFilter
,
ImageToImageFilter
);
62
64
typedef
Size< itkGetStaticConstMacro(NDimensions) >
SizeType
;
65
67
typedef
typename
TInputImage::IndexType
IndexType
;
68
70
typedef
typename
TInputImage::PixelType
PixelType
;
71
73
typedef
typename
TInputImage::RegionType
OutputImageRegionType
;
74
76
itkGetConstMacro(Width,
unsigned
int
);
77
itkSetMacro(Width,
unsigned
int
);
79
80
#ifdef ITK_USE_CONCEPT_CHECKING
81
82
itkConceptMacro
( DataTypeHasNumericTraitsCheck,
83
(
Concept::HasNumericTraits< TDataType >
) );
84
86
#endif
87
88
protected
:
89
DifferenceOfGaussiansGradientImageFilter
();
90
virtual
~DifferenceOfGaussiansGradientImageFilter
() {}
91
void
PrintSelf(std::ostream & os,
Indent
indent)
const
;
92
94
void
GenerateData();
95
96
private
:
97
DifferenceOfGaussiansGradientImageFilter
(
const
Self &);
//purposely not
98
// implemented
99
void
operator=(
const
Self &);
//purposely not
100
101
// implemented
102
103
unsigned
int
m_Width
;
104
};
105
}
// end namespace itk
106
107
#ifndef ITK_MANUAL_INSTANTIATION
108
#include "itkDifferenceOfGaussiansGradientImageFilter.hxx"
109
#endif
110
111
#endif
112
Generated on Mon May 13 2013 00:48:12 for ITK by
1.8.3.1