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
ImageIntensity
include
itkNormalizeImageFilter.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 __itkNormalizeImageFilter_h
19
#define __itkNormalizeImageFilter_h
20
21
#include "
itkStatisticsImageFilter.h
"
22
#include "
itkShiftScaleImageFilter.h
"
23
24
#include "
itkEventObject.h
"
25
26
namespace
itk
27
{
48
template
<
class
TInputImage,
class
TOutputImage >
49
class
ITK_EXPORT
NormalizeImageFilter
:
50
public
ImageToImageFilter
< TInputImage, TOutputImage >
51
{
52
public
:
54
typedef
NormalizeImageFilter
Self
;
55
typedef
ImageToImageFilter< TInputImage, TOutputImage >
Superclass
;
56
typedef
SmartPointer< Self >
Pointer
;
57
typedef
SmartPointer< const Self >
ConstPointer
;
58
60
itkNewMacro(
Self
);
61
63
itkTypeMacro(
NormalizeImageFilter
,
ImageToImageFilter
);
64
66
typedef
typename
TInputImage::Pointer
InputImagePointer
;
67
typedef
typename
TOutputImage::Pointer
OutputImagePointer
;
68
70
virtual
void
Modified()
const
;
71
72
protected
:
73
NormalizeImageFilter
();
74
76
void
GenerateData();
77
78
// Override since the filter needs all the data for the algorithm
79
void
GenerateInputRequestedRegion();
80
81
private
:
82
NormalizeImageFilter
(
const
Self
&);
//purposely not implemented
83
void
operator=(
const
Self
&);
//purposely not implemented
84
85
typename
StatisticsImageFilter< TInputImage >::Pointer
m_StatisticsFilter
;
86
87
typename
ShiftScaleImageFilter< TInputImage, TOutputImage >::Pointer
m_ShiftScaleFilter
;
88
};
// end of class
89
}
// end namespace itk
90
91
#ifndef ITK_MANUAL_INSTANTIATION
92
#include "itkNormalizeImageFilter.hxx"
93
#endif
94
95
#endif
96
Generated on Tue Jul 10 2012 23:38:31 for ITK by
1.8.1