ITK  5.3.0
Insight Toolkit
itkDirectFourierReconstructionImageToImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
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 itkDirectFourierReconstructionImageToImageFilter_h
19 #define itkDirectFourierReconstructionImageToImageFilter_h
20 
21 #include "itkImageToImageFilter.h"
22 #include "itkImage.h"
23 
26 
29 
31 
32 #include <cmath>
33 
34 namespace itk
35 {
50 template <typename TInputImage, typename TOutputImage = TInputImage>
52  : public ImageToImageFilter<TInputImage, TOutputImage>
53 {
54 public:
55  ITK_DISALLOW_COPY_AND_MOVE(DirectFourierReconstructionImageToImageFilter);
56 
59 
60  using InputImageType = TInputImage;
61  using InputPixelType = typename InputImageType::PixelType;
62  using OutputImageType = TOutputImage;
63  using OutputPixelType = typename OutputImageType::PixelType;
64 
67 
70 
73 
74  itkNewMacro(Self);
76 
79 
82 
85 
88 
90  using SpacingType = typename InputImageType::SpacingType;
91 
93  using ConstInputImagePointer = typename InputImageType::ConstPointer;
94 
96  using InputImagePointer = typename InputImageType::Pointer;
97 
99  using OutputImagePointer = typename OutputImageType::Pointer;
100 
101  itkSetMacro(ZeroPadding, unsigned short int);
102  itkGetConstMacro(ZeroPadding, unsigned short int);
103 
104  itkSetMacro(OverSampling, unsigned short int);
105  itkGetConstMacro(OverSampling, unsigned short int);
106 
107  itkSetMacro(Cutoff, double);
108  itkGetConstMacro(Cutoff, double);
109 
110  itkSetMacro(AlphaRange, double);
111  itkGetConstMacro(AlphaRange, double);
112 
113  itkSetMacro(AlphaDirection, unsigned short int);
114  itkGetConstMacro(AlphaDirection, unsigned short int);
115 
116  itkSetMacro(ZDirection, unsigned short int);
117  itkGetConstMacro(ZDirection, unsigned short int);
118 
119  itkSetMacro(RDirection, unsigned short int);
120  itkGetConstMacro(RDirection, unsigned short int);
121 
122  itkSetMacro(RadialSplineOrder, unsigned short int);
123  itkGetConstMacro(RadialSplineOrder, unsigned short int);
124 
125 protected:
128 
130  ~DirectFourierReconstructionImageToImageFilter() override = default;
131 
133  void
134  PrintSelf(std::ostream & os, Indent indent) const override;
135 
137  void
138  GenerateOutputInformation() override;
139 
141  void
142  GenerateInputRequestedRegion() override;
143 
145  void
146  GenerateData() override;
147 
148 private:
151 
155 
158 
161 
164 
167 
171 
174 
177 
180 
183 
208 };
209 } // namespace itk
210 
211 #ifndef ITK_MANUAL_INSTANTIATION
212 # include "itkDirectFourierReconstructionImageToImageFilter.hxx"
213 #endif
214 
215 #endif /* itkDirectFourierReconstructionImageToImageFilter_h */
itk::DirectFourierReconstructionImageToImageFilter::FFTLineType
FFTLineFilterType::OutputImageType FFTLineType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:157
itk::ImageSource::OutputImagePointer
typename OutputImageType::Pointer OutputImagePointer
Definition: itkImageSource.h:91
itk::DirectFourierReconstructionImageToImageFilter::ConstInputImagePointer
typename InputImageType::ConstPointer ConstInputImagePointer
Definition: itkDirectFourierReconstructionImageToImageFilter.h:93
itk::DirectFourierReconstructionImageToImageFilter
Direct fourier reconstruction filter of a tomographic volume.
Definition: itkDirectFourierReconstructionImageToImageFilter.h:51
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itkImage.h
itk::VnlInverseFFTImageFilter
VNL-based reverse Fast Fourier Transform.
Definition: itkVnlInverseFFTImageFilter.h:46
itk::VnlInverseFFTImageFilter::InputImageType
TInputImage InputImageType
Definition: itkVnlInverseFFTImageFilter.h:52
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::ImageSliceConstIteratorWithIndex
Multi-dimensional image iterator which only walks a region.
Definition: itkImageSliceConstIteratorWithIndex.h:113
itkImageRegionIteratorWithIndex.h
itk::DirectFourierReconstructionImageToImageFilter::PointType
typename InputImageType::PointType PointType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:87
itkComplexBSplineInterpolateImageFunction.h
itk::GTest::TypedefsAndConstructors::Dimension2::IndexType
ImageBaseType::IndexType IndexType
Definition: itkGTestTypedefsAndConstructors.h:50
itk::ImageToImageFilter
Base class for filters that take an image as input and produce an image as output.
Definition: itkImageToImageFilter.h:108
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::DirectFourierReconstructionImageToImageFilter::OutputSliceType
IFFTSliceFilterType::OutputImageType OutputSliceType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:176
itk::DirectFourierReconstructionImageToImageFilter::RegionType
typename InputImageType::RegionType RegionType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:78
itk::DirectFourierReconstructionImageToImageFilter::SizeType
typename InputImageType::SizeType SizeType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:84
itk::ImageToImageFilter::InputImagePointer
typename InputImageType::Pointer InputImagePointer
Definition: itkImageToImageFilter.h:130
itk::DirectFourierReconstructionImageToImageFilter::OutputPixelType
typename OutputImageType::PixelType OutputPixelType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:63
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::DirectFourierReconstructionImageToImageFilter::FFTSliceType
IFFTSliceFilterType::InputImageType FFTSliceType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:173
itk::ComplexBSplineInterpolateImageFunction
Complex wrapper around BSplineInterpolateImageFunction.
Definition: itkComplexBSplineInterpolateImageFunction.h:44
itk::DirectFourierReconstructionImageToImageFilter::IndexType
typename InputImageType::IndexType IndexType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:81
itk::ImageToImageFilter::InputImageType
TInputImage InputImageType
Definition: itkImageToImageFilter.h:129
itk::DirectFourierReconstructionImageToImageFilter::SpacingType
typename InputImageType::SpacingType SpacingType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:90
itkImageToImageFilter.h
itk::ImageRegionIteratorWithIndex
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
Definition: itkImageRegionIteratorWithIndex.h:73
itk::VnlForwardFFTImageFilter::InputImageType
TInputImage InputImageType
Definition: itkVnlForwardFFTImageFilter.h:50
itkImageSliceConstIteratorWithIndex.h
itk::DirectFourierReconstructionImageToImageFilter::ProjectionLineType
FFTLineFilterType::InputImageType ProjectionLineType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:160
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itkVnlForwardFFTImageFilter.h
itk::VnlForwardFFTImageFilter
VNL based forward Fast Fourier Transform.
Definition: itkVnlForwardFFTImageFilter.h:44
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itkVnlInverseFFTImageFilter.h
itk::Image
Templated n-dimensional image class.
Definition: itkImage.h:86
itk::DirectFourierReconstructionImageToImageFilter::InputPixelType
typename InputImageType::PixelType InputPixelType
Definition: itkDirectFourierReconstructionImageToImageFilter.h:61
itk::VnlInverseFFTImageFilter::OutputImageType
TOutputImage OutputImageType
Definition: itkVnlInverseFFTImageFilter.h:56
itk::VnlForwardFFTImageFilter::OutputImageType
TOutputImage OutputImageType
Definition: itkVnlForwardFFTImageFilter.h:54
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90