RTK  2.0.1
Reconstruction Toolkit
rtkFDKWarpBackProjectionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright RTK 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 
19 #ifndef rtkFDKWarpBackProjectionImageFilter_h
20 #define rtkFDKWarpBackProjectionImageFilter_h
21 
23 
24 namespace rtk
25 {
26 
45 template <class TInputImage, class TOutputImage, class TDeformation>
47  public FDKBackProjectionImageFilter<TInputImage,TOutputImage>
48 {
49 public:
50  ITK_DISALLOW_COPY_AND_ASSIGN(FDKWarpBackProjectionImageFilter);
51 
57  using InputPixelType = typename TInputImage::PixelType;
58  using OutputImageRegionType = typename TOutputImage::RegionType;
59 
60  using DeformationType = TDeformation;
61  using DeformationPointer = typename DeformationType::Pointer;
62 
66  using ProjectionImageType = itk::Image<InputPixelType, TInputImage::ImageDimension-1>;
67  using ProjectionImagePointer = typename ProjectionImageType::Pointer;
68 
70  itkNewMacro(Self);
71 
74 
76  itkGetMacro(Deformation, DeformationPointer);
77  itkSetObjectMacro(Deformation, DeformationType);
79 
80 protected:
82  ~FDKWarpBackProjectionImageFilter() override = default;
83 
84  void GenerateData() override;
85 
86 private:
88 };
89 
90 } // end namespace rtk
91 
92 #ifndef ITK_MANUAL_INSTANTIATION
93 #include "rtkFDKWarpBackProjectionImageFilter.hxx"
94 #endif
95 
96 #endif
typename itk::Matrix< double, TDimension, TDimension+1 > MatrixType
typename TInputImage::PixelType InputPixelType
typename ProjectionImageType::Pointer ProjectionImagePointer
Projection geometry for a source and a 2-D flat panel.
CPU version of the warp backprojection of motion-compensated FDK.
A templated class holding a vector of M x (M+1) matrices.
CPU version of the backprojection of the FDK algorithm.
typename TOutputImage::RegionType OutputImageRegionType
typename GeometryType::MatrixType ProjectionMatrixType