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
FFT
include
itkVnlForwardFFTImageFilter.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 __itkVnlForwardFFTImageFilter_h
19
#define __itkVnlForwardFFTImageFilter_h
20
21
#include "
itkForwardFFTImageFilter.h
"
22
#include "vnl/algo/vnl_fft_base.h"
23
24
namespace
itk
25
{
43
template
<
class
TInputImage,
class
TOutputImage=Image< std::complex<
typename
TInputImage::PixelType>, TInputImage::ImageDimension> >
44
class
VnlForwardFFTImageFilter
:
45
public
ForwardFFTImageFilter
< TInputImage, TOutputImage >
46
{
47
public
:
49
typedef
TInputImage
InputImageType
;
50
typedef
typename
InputImageType::PixelType
InputPixelType
;
51
typedef
typename
InputImageType::SizeType
InputSizeType
;
52
typedef
typename
InputImageType::SizeValueType
InputSizeValueType
;
53
typedef
TOutputImage
OutputImageType
;
54
typedef
typename
OutputImageType::PixelType
OutputPixelType
;
55
56
typedef
VnlForwardFFTImageFilter
Self
;
57
typedef
ForwardFFTImageFilter< TInputImage, TOutputImage>
Superclass
;
58
typedef
SmartPointer< Self >
Pointer
;
59
typedef
SmartPointer< const Self >
ConstPointer
;
60
62
itkNewMacro(
Self
);
63
65
itkTypeMacro(
VnlForwardFFTImageFilter
,
66
ForwardFFTImageFilter
);
67
70
itkStaticConstMacro(
ImageDimension
,
unsigned
int
,
71
TOutputImage::ImageDimension);
72
itkStaticConstMacro(
InputImageDimension
,
unsigned
int
,
73
TInputImage::ImageDimension);
74
itkStaticConstMacro(
OutputImageDimension
,
unsigned
int
,
75
TOutputImage::ImageDimension);
77
78
#ifdef ITK_USE_CONCEPT_CHECKING
79
80
itkConceptMacro
( ImageDimensionsMatchCheck,
81
(
Concept::SameDimension< InputImageDimension, OutputImageDimension >
) );
82
84
#endif
85
86
protected
:
87
VnlForwardFFTImageFilter
() {}
88
~VnlForwardFFTImageFilter
() {}
89
90
virtual
void
GenerateData
();
91
92
private
:
93
VnlForwardFFTImageFilter
(
const
Self
&);
//purposely not implemented
94
void
operator=
(
const
Self
&);
//purposely not implemented
95
96
typedef
vnl_vector< vcl_complex< InputPixelType >
>
SignalVectorType
;
97
};
98
}
99
100
#ifndef ITK_MANUAL_INSTANTIATION
101
#include "itkVnlForwardFFTImageFilter.hxx"
102
#endif
103
104
#endif
105
Generated on Tue Jul 10 2012 23:48:16 for ITK by
1.8.1