18 #ifndef rtkFourDToProjectionStackImageFilter_h 19 #define rtkFourDToProjectionStackImageFilter_h 21 #include <itkExtractImageFilter.h> 22 #include <itkPasteImageFilter.h> 23 #include <itkMultiplyImageFilter.h> 99 template <
typename ProjectionStackType,
typename VolumeSeriesType>
101 :
public itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType>
108 using Superclass = itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType>;
122 SetInputVolumeSeries(
const VolumeSeriesType * VolumeSeries);
128 SetInputProjectionStack(
const ProjectionStackType * Projection);
132 using PasteFilterType = itk::PasteImageFilter<ProjectionStackType, ProjectionStackType>;
147 SetWeights(
const itk::Array2D<float> _arg);
151 InitializeConstantVolumeSource();
155 SetSignal(
const std::vector<double> signal);
161 typename VolumeSeriesType::ConstPointer
162 GetInputVolumeSeries();
163 typename ProjectionStackType::Pointer
164 GetInputProjectionStack();
168 GenerateData()
override;
171 GenerateOutputInformation()
override;
174 GenerateInputRequestedRegion()
override;
192 #ifndef ITK_MANUAL_INSTANTIATION 193 # include "rtkFourDToProjectionStackImageFilter.hxx" itk::SmartPointer< Self > Pointer
Base class for forward projection, i.e. accumulation along x-ray lines.
ConstantProjectionStackSourceType::Pointer m_ConstantProjectionStackSource
itk::SmartPointer< Self > Pointer
Generate an n-dimensional image with constant pixel values.
std::vector< double > m_Signal
GeometryType::Pointer m_Geometry
ProjectionStackType VolumeType
Projection geometry for a source and a 2-D flat panel.
ConstantVolumeSourceType::Pointer m_ConstantVolumeSource
typename TOutputImage::RegionType OutputImageRegionType
InterpolatorFilterType::Pointer m_InterpolationFilter
itk::ImageToImageFilter< ProjectionStackType, ProjectionStackType > Superclass
itk::SmartPointer< Self > Pointer
itk::SmartPointer< Self > Pointer
Interpolates (linearly) in a 3D+t sequence of volumes to get a 3D volume.
ForwardProjectionFilterType::Pointer m_ForwardProjectionFilter
PasteFilterType::Pointer m_PasteFilter
itk::Array2D< float > m_Weights
itk::SmartPointer< Self > Pointer
ConstantProjectionStackSourceType::OutputImageRegionType m_PasteRegion
Implements part of the 4D reconstruction by conjugate gradient.
itk::PasteImageFilter< ProjectionStackType, ProjectionStackType > PasteFilterType