19#ifndef rtkBackProjectionImageFilter_h
20#define rtkBackProjectionImageFilter_h
22#include "rtkConfiguration.h"
49template <
class TInputImage,
class TOutputImage>
81 itkGetMacro(Transpose,
bool);
139 template <
class TProjectionImage>
140 typename TProjectionImage::Pointer
167#if defined(RTK_USE_CUDA) && defined(RTK_EXTERN_TEMPLATES)
168ITK_GCC_PRAGMA_DIAG_PUSH()
169ITK_GCC_PRAGMA_DIAG(ignored
"-Wattributes")
170extern template class RTK_EXPORT_EXPLICIT
171 rtk::BackProjectionImageFilter<
itk::CudaImage<
float, 3>,
itk::CudaImage<
float, 3>>;
172ITK_GCC_PRAGMA_DIAG_POP()
175#ifndef ITK_MANUAL_INSTANTIATION
176# include "rtkBackProjectionImageFilter.hxx"
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Base class for filters that take an image as input and overwrite that image as the output.
virtual void SetInPlace(bool _arg)
A templated class holding a M x N size Matrix.
virtual void SetNumberOfRequiredInputs(DataObjectPointerArraySizeType)
Set the number of required indexed inputs.
Implements transparent reference counting.
typename TOutputImage::RegionType OutputImageRegionType
itk::ImageToImageFilter< TOutputImage, TOutputImage > Superclass
GeometryConstPointer m_Geometry
TProjectionImage::Pointer GetProjection(unsigned int iProj)
void BeforeThreadedGenerateData() override
typename TOutputImage::InternalPixelType InternalInputPixelType
typename TOutputImage::PixelType InputPixelType
typename ProjectionImageType::Pointer ProjectionImagePointer
itk::Matrix< double, TInputImage::ImageDimension, TInputImage::ImageDimension > GetProjectionPhysicalPointToProjectionIndexMatrix(unsigned int iProj)
void GenerateInputRequestedRegion() override
ProjectionMatrixType GetIndexToIndexProjectionMatrix(unsigned int iProj)
rtk::ThreeDCircularProjectionGeometry GeometryType
virtual void CylindricalDetectorCenteredOnSourceBackprojection(const OutputImageRegionType ®ion, const ProjectionMatrixType &volIndexToProjPP, const itk::Matrix< double, TInputImage::ImageDimension, TInputImage::ImageDimension > &projPPToProjIndex, ProjectionImagePointer projection)
itk::Image< InputPixelType, TOutputImage::ImageDimension - 1 > ProjectionImageType
BackProjectionImageFilter()
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
itk::SmartPointer< Self > Pointer
~BackProjectionImageFilter() override=default
typename GeometryType::ConstPointer GeometryConstPointer
virtual void OptimizedBackprojectionY(const OutputImageRegionType ®ion, const ProjectionMatrixType &matrix, ProjectionImagePointer projection)
virtual void OptimizedBackprojectionX(const OutputImageRegionType ®ion, const ProjectionMatrixType &matrix, ProjectionImagePointer projection)
typename GeometryType::MatrixType ProjectionMatrixType
itk::SmartPointer< const Self > ConstPointer
ProjectionMatrixType GetVolumeIndexToProjectionPhysicalPointMatrix(unsigned int iProj)
BackProjectionImageFilter Self
void VerifyPreconditions() const override
void VerifyInputInformation() const override
typename itk::Matrix< double, TDimension, TDimension+1 > MatrixType
Projection geometry for a source and a 2-D flat panel.
itk::SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)