ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkADMMWaveletsConeBeamReconstructionFilter.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 rtkADMMWaveletsConeBeamReconstructionFilter_h
20#define rtkADMMWaveletsConeBeamReconstructionFilter_h
21
22#include <itkAddImageFilter.h>
26
33
34namespace rtk
35{
141
142template <typename TOutputImage>
144 : public rtk::IterativeConeBeamReconstructionFilter<TOutputImage, TOutputImage>
145{
146public:
147 ITK_DISALLOW_COPY_AND_MOVE(ADMMWaveletsConeBeamReconstructionFilter);
148
153
155 itkNewMacro(Self);
156
158 itkOverrideGetNameOfClassMacro(ADMMWaveletsConeBeamReconstructionFilter);
159
160 // /** The 3D image to be updated */
161 // void SetInputVolume(const TOutputImage* Volume);
162
163 // /** The gated measured projections */
164 // void SetInputProjectionStack(const TOutputImage* Projection);
165
175
178
180 itkSetObjectMacro(Geometry, ThreeDCircularProjectionGeometry);
181
182 itkSetMacro(Alpha, float);
183 itkGetMacro(Alpha, float);
184
185 itkSetMacro(Beta, float);
186 itkGetMacro(Beta, float);
187
188 itkSetMacro(AL_iterations, float);
189 itkGetMacro(AL_iterations, float);
190
191 itkSetMacro(CG_iterations, float);
192 itkGetMacro(CG_iterations, float);
193
194 itkSetMacro(Order, unsigned int);
195 itkGetMacro(Order, unsigned int);
196
197 itkSetMacro(NumberOfLevels, unsigned int);
198 itkGetMacro(NumberOfLevels, unsigned int);
199
201 itkSetMacro(DisableDisplacedDetectorFilter, bool);
202 itkGetMacro(DisableDisplacedDetectorFilter, bool);
203
204protected:
207
209 void
210 VerifyPreconditions() const override;
211
213 void
214 GenerateData() override;
215
231
235 void
236 VerifyInputInformation() const override
237 {}
238
241 void
243 void
245
246private:
247 float m_Alpha{ 1 };
248 float m_Beta{ 1 };
249 unsigned int m_AL_iterations{ 10 };
250 unsigned int m_CG_iterations{ 3 };
251 unsigned int m_Order{ 3 };
252 unsigned int m_NumberOfLevels{ 5 };
254
256};
257} // namespace rtk
258
259
260#ifndef ITK_MANUAL_INSTANTIATION
261# include "rtkADMMWaveletsConeBeamReconstructionFilter.hxx"
262#endif
263
264#endif
Pixel-wise addition of two images.
Pixel-wise multiplication of two images.
Implements transparent reference counting.
Pixel-wise subtraction of two images.
rtk::DeconstructSoftThresholdReconstructImageFilter< TOutputImage > SoftThresholdFilterType
rtk::ADMMWaveletsConjugateGradientOperator< TOutputImage > CGOperatorFilterType
rtk::BackProjectionImageFilter< TOutputImage, TOutputImage > BackProjectionFilterType
BackProjectionImageFilter< TOutputImage, TOutputImage >::Pointer m_BackProjectionFilterForConjugateGradient
rtk::ConjugateGradientImageFilter< TOutputImage > ConjugateGradientFilterType
BackProjectionImageFilter< TOutputImage, TOutputImage >::Pointer m_BackProjectionFilter
~ADMMWaveletsConeBeamReconstructionFilter() override=default
rtk::DisplacedDetectorImageFilter< TOutputImage > DisplacedDetectorFilterType
rtk::ForwardProjectionImageFilter< TOutputImage, TOutputImage > ForwardProjectionFilterType
ForwardProjectionImageFilter< TOutputImage, TOutputImage >::Pointer m_ForwardProjectionFilterForConjugateGradient
IterativeConeBeamReconstructionFilter< TOutputImage, TOutputImage > Superclass
Implements the operator A used in the conjugate gradient step of ADMM reconstruction with wavelets re...
Solves AX = B by conjugate gradient.
Deconstructs an image, soft thresholds its wavelets coefficients, then reconstructs.
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
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)