ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkFDKVarianceReconstructionFilter.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 rtkFDKVarianceReconstructionFilter_h
20#define rtkFDKVarianceReconstructionFilter_h
21
23#include "rtkConfiguration.h"
26
28
29namespace rtk
30{
31
54template <class TInputImage, class TOutputImage = TInputImage, class TFFTPrecision = double>
55class ITK_TEMPLATE_EXPORT FDKVarianceReconstructionFilter : public itk::InPlaceImageFilter<TInputImage, TOutputImage>
56{
57public:
58 ITK_DISALLOW_COPY_AND_MOVE(FDKVarianceReconstructionFilter);
59
65
67 using InputImageType = TInputImage;
68 using OutputImageType = TOutputImage;
69
76
78 itkNewMacro(Self);
79
81 itkOverrideGetNameOfClassMacro(FDKVarianceReconstructionFilter);
82
84 itkGetModifiableObjectMacro(Geometry, ThreeDCircularProjectionGeometry);
85 itkSetObjectMacro(Geometry, ThreeDCircularProjectionGeometry);
86
93
96 itkGetMacro(ProjectionSubsetSize, unsigned int);
97 itkSetMacro(ProjectionSubsetSize, unsigned int);
98
102 itkGetMacro(BackProjectionFilter, BackProjectionFilterPointer);
103 virtual void
105
106protected:
109
111 void
112 VerifyPreconditions() const override;
113
114 void
116
117 void
119
120 void
121 GenerateData() override;
122
125 void
126 VerifyInputInformation() const override
127 {}
128
135
136private:
138 unsigned int m_ProjectionSubsetSize{ 16 };
139
142}; // end of class
143
144} // end namespace rtk
145
146#ifndef ITK_MANUAL_INSTANTIATION
147# include "rtkFDKVarianceReconstructionFilter.hxx"
148#endif
149
150#endif
Decrease the image size by cropping the image to the selected region bounds.
Base class for filters that take an image as input and overwrite that image as the output.
Implements transparent reference counting.
CPU version of the backprojection of the FDK algorithm.
typename BackProjectionFilterType::Pointer BackProjectionFilterPointer
virtual void SetBackProjectionFilter(BackProjectionFilterPointer _arg)
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
void VerifyPreconditions() const override
itk::ExtractImageFilter< InputImageType, OutputImageType > ExtractFilterType
VarianceRampFilterType::Pointer GetVarianceRampFilter()
rtk::FFTVarianceRampImageFilter< OutputImageType, OutputImageType, TFFTPrecision > VarianceRampFilterType
~FDKVarianceReconstructionFilter() override=default
rtk::FDKBackProjectionImageFilter< OutputImageType, OutputImageType > BackProjectionFilterType
ThreeDCircularProjectionGeometry::Pointer m_Geometry
void GenerateInputRequestedRegion() override
rtk::FDKWeightProjectionFilter< InputImageType, OutputImageType > WeightFilterType
itkSetMacro(ProjectionSubsetSize, unsigned int)
Weighting of projections to correct for the divergence in filtered backprojection reconstruction algo...
Implements the variance image filter of the filtered backprojection algorithm.
Projection geometry for a source and a 2-D flat panel.