18 #ifndef rtkProjectionStackToFourDImageFilter_h 19 #define rtkProjectionStackToFourDImageFilter_h 104 template <
typename VolumeSeriesType,
typename ProjectionStackType,
typename TFFTPrecision =
double>
127 SetInputVolumeSeries(
const VolumeSeriesType * VolumeSeries);
128 typename VolumeSeriesType::ConstPointer
129 GetInputVolumeSeries();
134 SetInputProjectionStack(
const ProjectionStackType * Projection);
135 typename ProjectionStackType::ConstPointer
136 GetInputProjectionStack();
151 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
154 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
157 typedef typename std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value,
175 itkGetMacro(UseCudaSplat,
bool);
177 itkGetMacro(UseCudaSources,
bool);
187 SetSignal(
const std::vector<double> signal);
195 VerifyPreconditions()
const override;
199 GenerateData()
override;
202 GenerateOutputInformation()
override;
205 GenerateInputRequestedRegion()
override;
208 InitializeConstantSource();
227 #ifndef ITK_MANUAL_INSTANTIATION 228 # include "rtkProjectionStackToFourDImageFilter.hxx" std::vector< double > m_Signal
itk::Array2D< float > m_Weights
Generate an n-dimensional image with constant pixel values.
ConstantVolumeSourceType::Pointer m_ConstantVolumeSource
ExtractFilterType::Pointer m_ExtractFilter
Splats (linearly) a 3D volume into a 3D+t sequence of volumes.
typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > CPUVolumeSeriesType
Projection geometry for a source and a 2-D flat panel.
#define itkSetMacro(name, type)
Implements part of the 4D reconstruction by conjugate gradient.
ProjectionStackType VolumeType
GeometryType::ConstPointer m_Geometry
SplatFilterType::Pointer m_SplatFilter
BackProjectionFilterType::Pointer m_BackProjectionFilter
ConstantVolumeSeriesSourceType::Pointer m_ConstantVolumeSeriesSource