ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkOSEMConeBeamReconstructionFilter.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 rtkOSEMConeBeamReconstructionFilter_h
20#define rtkOSEMConeBeamReconstructionFilter_h
21
25
26#include <itkAddImageAdaptor.h>
31
34
35namespace rtk
36{
37
117template <class TVolumeImage, class TProjectionImage = TVolumeImage>
118class ITK_TEMPLATE_EXPORT OSEMConeBeamReconstructionFilter
119 : public rtk::IterativeConeBeamReconstructionFilter<TVolumeImage, TProjectionImage>
120{
121public:
122 ITK_DISALLOW_COPY_AND_MOVE(OSEMConeBeamReconstructionFilter);
123
129
131 using VolumeType = TVolumeImage;
132 using ProjectionType = TProjectionImage;
133
144
147
149 itkNewMacro(Self);
150
152 itkOverrideGetNameOfClassMacro(OSEMConeBeamReconstructionFilter);
153
155 itkGetModifiableObjectMacro(Geometry, ThreeDCircularProjectionGeometry);
156 itkSetObjectMacro(Geometry, ThreeDCircularProjectionGeometry);
157
159 itkGetMacro(NumberOfIterations, unsigned int);
160 itkSetMacro(NumberOfIterations, unsigned int);
161
163 itkGetMacro(NumberOfProjectionsPerSubset, unsigned int);
164 itkSetMacro(NumberOfProjectionsPerSubset, unsigned int);
165
167 itkGetMacro(BetaRegularization, double);
168 itkSetMacro(BetaRegularization, double);
169
175 itkGetMacro(StoreNormalizationImages, bool);
176 itkSetMacro(StoreNormalizationImages, bool);
177
178protected:
181
183 void
184 VerifyPreconditions() const override;
185
186 void
188
189 void
191
192 void
193 GenerateData() override;
194
197 void
198 VerifyInputInformation() const override
199 {}
200
213
214private:
217
220
222 unsigned int m_NumberOfIterations{ 3 };
223
226
228
229}; // end of class
230
231} // end namespace rtk
232
233#ifndef ITK_MANUAL_INSTANTIATION
234# include "rtkOSEMConeBeamReconstructionFilter.hxx"
235#endif
236
237#endif
Decrease the image size by cropping the image to the selected region bounds.
Pixel-wise multiplication of two images.
Implements transparent reference counting.
Generate an n-dimensional image with constant pixel values.
Implements a regularization for MLEM/OSEM reconstruction.
Base class for forward projection, i.e. accumulation along x-ray lines.
Mother class for cone beam reconstruction filters which need runtime selection of their forward and b...
enum { FP_JOSEPH=0, FP_CUDARAYCAST=2, FP_JOSEPHATTENUATED=3, FP_ZENG=4, FP_CUDAWARP=5, FP_CUDAZENG=6 } ForwardProjectionType
enum { BP_VOXELBASED=0, BP_JOSEPH=1, BP_CUDAVOXELBASED=2, BP_CUDARAYCAST=4, BP_JOSEPHATTENUATED=5, BP_ZENG=6, BP_CUDAWARP=7, BP_CUDAZENG=8 } BackProjectionType
DePierroRegularizationFilterType::Pointer m_DePierroRegularizationFilter
ConstantProjectionSourceType::Pointer m_OneConstantProjectionStackSource
rtk::ForwardProjectionImageFilter< ProjectionType, VolumeType > ForwardProjectionFilterType
typename Superclass::ForwardProjectionType ForwardProjectionType
rtk::ConstantImageSource< ProjectionType > ConstantProjectionSourceType
typename Superclass::BackProjectionType BackProjectionType
rtk::BackProjectionImageFilter< VolumeType, ProjectionType > BackProjectionFilterType
ThreeDCircularProjectionGeometry::Pointer m_Geometry
itk::MultiplyImageFilter< VolumeType, VolumeType, VolumeType > MultiplyFilterType
ForwardProjectionFilterType::Pointer m_ForwardProjectionFilter
itk::DivideOrZeroOutImageFilter< VolumeType, VolumeType, VolumeType > DivideVolumeFilterType
IterativeConeBeamReconstructionFilter< TVolumeImage, TProjectionImage > Superclass
DivideProjectionFilterType::Pointer m_DivideProjectionFilter
~OSEMConeBeamReconstructionFilter() override=default
rtk::ConstantImageSource< VolumeType > ConstantImageSourceType
rtk::DePierroRegularizationImageFilter< VolumeType, VolumeType > DePierroRegularizationFilterType
BackProjectionFilterType::Pointer m_BackProjectionNormalizationFilter
itk::ExtractImageFilter< ProjectionType, ProjectionType > ExtractFilterType
void VerifyPreconditions() const override
itk::DivideOrZeroOutImageFilter< ProjectionType, ProjectionType, ProjectionType > DivideProjectionFilterType
ConstantProjectionSourceType::Pointer m_ZeroConstantProjectionStackSource
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)