ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkFDKBackProjectionImageFilter.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 * https://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 rtkFDKBackProjectionImageFilter_h
20#define rtkFDKBackProjectionImageFilter_h
21
23
24namespace rtk
25{
26
38template <class TInputImage, class TOutputImage>
39class ITK_TEMPLATE_EXPORT FDKBackProjectionImageFilter : public BackProjectionImageFilter<TInputImage, TOutputImage>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(FDKBackProjectionImageFilter);
43
49
51 using OutputImageRegionType = typename TOutputImage::RegionType;
53 using ProjectionImagePointer = typename ProjectionImageType::Pointer;
54
56 itkNewMacro(Self);
57
59 itkOverrideGetNameOfClassMacro(FDKBackProjectionImageFilter);
60
61protected:
63 ~FDKBackProjectionImageFilter() override = default;
64
65 void
67
68 void
69 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
70
73 void
75 const ProjectionMatrixType & matrix,
76 ProjectionImagePointer projection) override;
77
80 void
82 const ProjectionMatrixType & matrix,
83 ProjectionImagePointer projection) override;
84};
85
86} // end namespace rtk
87
89
90#if defined(RTK_USE_CUDA) && defined(RTK_EXTERN_TEMPLATES)
91ITK_GCC_PRAGMA_DIAG_PUSH()
92ITK_GCC_PRAGMA_DIAG(ignored "-Wattributes")
93extern template class RTK_EXPORT_EXPLICIT
94 rtk::FDKBackProjectionImageFilter<itk::CudaImage<float, 3>, itk::CudaImage<float, 3>>;
95ITK_GCC_PRAGMA_DIAG_POP()
96#endif
97
98#ifndef ITK_MANUAL_INSTANTIATION
99# include "rtkFDKBackProjectionImageFilter.hxx"
100#endif
101
102#endif
Implements transparent reference counting.
itk::Image< InputPixelType, TInputImage::ImageDimension - 1 > ProjectionImageType
typename GeometryType::MatrixType ProjectionMatrixType
typename TOutputImage::RegionType OutputImageRegionType
void GenerateOutputInformation() override
BackProjectionImageFilter< TInputImage, TOutputImage > Superclass
typename Superclass::ProjectionImageType ProjectionImageType
typename ProjectionImageType::Pointer ProjectionImagePointer
~FDKBackProjectionImageFilter() override=default
void OptimizedBackprojectionY(const OutputImageRegionType &region, const ProjectionMatrixType &matrix, ProjectionImagePointer projection) override
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
void OptimizedBackprojectionX(const OutputImageRegionType &region, const ProjectionMatrixType &matrix, ProjectionImagePointer projection) override
typename Superclass::ProjectionMatrixType ProjectionMatrixType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....