ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtkZengBackProjectionImageFilter.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 rtkZengBackProjectionImageFilter_h
20#define rtkZengBackProjectionImageFilter_h
21
22#include "rtkConfiguration.h"
24#include "rtkMacro.h"
25#include <itkPixelTraits.h>
26
27#include <itkAddImageFilter.h>
34#include <itkPasteImageFilter.h>
38#include <itkVector.h>
39
41
42#include <itkVectorImage.h>
43namespace rtk
44{
45
111
112template <class TInputImage, class TOutputImage>
113class ITK_TEMPLATE_EXPORT ZengBackProjectionImageFilter : public BackProjectionImageFilter<TInputImage, TOutputImage>
114{
115public:
118 using InputPixelType = typename TInputImage::PixelType;
119 using OutputPixelType = typename TOutputImage::PixelType;
120 using OutputImageRegionType = typename TOutputImage::RegionType;
124
151
153 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
154
157
159 itkNewMacro(Self);
160
162 itkOverrideGetNameOfClassMacro(ZengBackProjectionImageFilter);
163
165 itkGetMacro(SigmaZero, double);
166 itkSetMacro(SigmaZero, double);
167
169 itkGetMacro(Alpha, double);
170 itkSetMacro(Alpha, double);
171
172
173protected:
175 ~ZengBackProjectionImageFilter() override = default;
176
178 void
180
181 void
183
184 void
185 GenerateData() override;
186
189 void
190 VerifyInputInformation() const override;
191
207
208private:
209 ZengBackProjectionImageFilter(const Self &) = delete; // purposely not implemented
210 void
211 operator=(const Self &) = delete; // purposely not implemented
212
213 double m_SigmaZero{ 1.5417233052142099 };
214 double m_Alpha{ 0.016241189545787734 };
217};
218
219} // end namespace rtk
220
221#ifndef ITK_MANUAL_INSTANTIATION
222# include "rtkZengBackProjectionImageFilter.hxx"
223#endif
224
225#endif
Pixel-wise addition of two images.
CenteredEuler3DTransform of a vector space (e.g. space coordinates)
Change the origin, spacing and/or region of an Image.
This boundary condition returns a constant value for out-of-bounds image pixels.
Blurs an image by separable convolution with discrete gaussian kernels. This filter performs Gaussian...
Decrease the image size by cropping the image to the selected region bounds.
Templated n-dimensional image class.
Definition itkImage.h:89
Point< PointValueType, VImageDimension > PointType
Pixel-wise multiplication of two images.
Paste an image (or a constant value) into another image.
Extract a region of interest from the input image.
Resample an image via a coordinate transform.
Implements transparent reference counting.
Implements pixel-wise generic "operation" on one image.
A templated class holding a n-Dimensional vector.
Definition itkVector.h:63
Generate an n-dimensional image with constant pixel values.
typename ResampleImageFilterType::Pointer ResampleImageFilterPointerType
typename CustomUnaryFilterType::Pointer CustomUnaryFilterPointerType
itk::MultiplyImageFilter< InputCPUImageType, InputCPUImageType > MultiplyImageFilterType
itk::UnaryGeneratorImageFilter< OuputCPUImageType, OuputCPUImageType > CustomUnaryFilterType
itk::ConstantBoundaryCondition< OuputCPUImageType > BoundaryCondition
itk::ResampleImageFilter< InputCPUImageType, InputCPUImageType > ResampleImageFilterType
itk::ChangeInformationImageFilter< OuputCPUImageType > ChangeInformationFilterType
typename AddImageFilterType::Pointer AddImageFilterPointerType
itk::CenteredEuler3DTransform< double > TransformType
typename TOutputImage::RegionType OutputImageRegionType
MultiplyImageFilterPointerType m_AttenuationMapMultiplyImageFilter
typename ConstantImageSourceType::Pointer ConstantImageSourcePointerType
RegionOfInterestPointerType m_AttenuationMapRegionOfInterest
void operator=(const Self &)=delete
typename TransformType::Pointer TransformPointerType
itk::RegionOfInterestImageFilter< OuputCPUImageType, OuputCPUImageType > RegionOfInterestFilterType
~ZengBackProjectionImageFilter() override=default
typename ChangeInformationFilterType::Pointer ChangeInformationPointerType
itk::PasteImageFilter< InputCPUImageType, OuputCPUImageType > PasteImageFilterType
itk::ExtractImageFilter< OuputCPUImageType, OuputCPUImageType > ExtractImageFilterType
typename RegionOfInterestFilterType::Pointer RegionOfInterestPointerType
typename OuputCPUImageType::PointType PointType
itk::AddImageFilter< InputCPUImageType, InputCPUImageType > AddImageFilterType
rtk::ConstantImageSource< InputCPUImageType > ConstantImageSourceType
typename ExtractImageFilterType::Pointer ExtractImageFilterPointerType
void GenerateInputRequestedRegion() override
BackProjectionImageFilter< TInputImage, TOutputImage > Superclass
void VerifyInputInformation() const override
DiscreteGaussianImageFilterPointerType m_DiscreteGaussianImageFilter
itk::DiscreteGaussianImageFilter< OuputCPUImageType, OuputCPUImageType > DiscreteGaussianImageFilterType
ChangeInformationPointerType m_AttenuationMapChangeInformation
typename DiscreteGaussianImageFilterType::Pointer DiscreteGaussianImageFilterPointerType
typename PasteImageFilterType::Pointer PasteImageFilterPointerType
ResampleImageFilterPointerType m_AttenuationMapResampleImageFilter
typename MultiplyImageFilterType::Pointer MultiplyImageFilterPointerType
ZengBackProjectionImageFilter(const Self &)=delete
itk::Image< OutputPixelType, 3 > OuputCPUImageType
void GenerateOutputInformation() override
#define itkSetMacro(name, type)