19 #ifndef rtkBackProjectionImageFilter_h 20 #define rtkBackProjectionImageFilter_h 22 #include "rtkConfiguration.h" 29 #include <type_traits> 49 template <
class TInputImage,
class TOutputImage>
74 #ifdef itkOverrideGetNameOfClassMacro 87 itkGetMacro(Transpose,
bool);
95 this->SetNumberOfRequiredInputs(2);
96 this->SetInPlace(
true);
102 VerifyPreconditions()
const override;
106 GenerateInputRequestedRegion()
override;
109 BeforeThreadedGenerateData()
override;
112 DynamicThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread)
override;
116 CylindricalDetectorCenteredOnSourceBackprojection(
117 const OutputImageRegionType & region,
118 const ProjectionMatrixType & volIndexToProjPP,
120 const ProjectionImagePointer projection);
125 OptimizedBackprojectionX(
const OutputImageRegionType & region,
126 const ProjectionMatrixType & matrix,
127 const ProjectionImagePointer projection);
132 OptimizedBackprojectionY(
const OutputImageRegionType & region,
133 const ProjectionMatrixType & matrix,
134 const ProjectionImagePointer projection);
146 template <
class TProjectionImage>
147 typename TProjectionImage::Pointer
148 GetProjection(
const unsigned int iProj);
153 GetIndexToIndexProjectionMatrix(
const unsigned int iProj);
156 GetVolumeIndexToProjectionPhysicalPointMatrix(
const unsigned int iProj);
159 GetProjectionPhysicalPointToProjectionIndexMatrix(
const unsigned int iProj);
167 bool m_Transpose{
false };
172 #ifndef ITK_MANUAL_INSTANTIATION 173 # include "rtkBackProjectionImageFilter.hxx"
typename itk::Matrix< double, TDimension, TDimension+1 > MatrixType
typename TOutputImage ::PixelType InputPixelType
typename ProjectionImageType::Pointer ProjectionImagePointer
typename TOutputImage ::InternalPixelType InternalInputPixelType
Projection geometry for a source and a 2-D flat panel.
void VerifyInputInformation() const override
#define itkSetMacro(name, type)
typename OutputImageType::RegionType OutputImageRegionType
typename GeometryType::ConstPointer GeometryConstPointer
typename GeometryType::MatrixType ProjectionMatrixType
GeometryConstPointer m_Geometry
BackProjectionImageFilter()