RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType > Class Template Reference

#include <rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h>

+ Inheritance diagram for rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >:
+ Collaboration diagram for rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >:

Public Types

using CPUDVFInterpolatorType = CyclicDeformationImageFilter< DVFSequenceImageType, DVFImageType >
 
using CPUVolumeSeriesType = typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension >
 
using CudaCyclicDeformationImageFilterType = CPUDVFInterpolatorType
 
using DVFImageType = itk::Image< VectorForDVF, VolumeSeriesType::ImageDimension-1 >
 
using DVFSequenceImageType = itk::Image< VectorForDVF, VolumeSeriesType::ImageDimension >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = MotionCompensatedFourDReconstructionConjugateGradientOperator
 
using Superclass = FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
 
using VectorForDVF = itk::CovariantVector< typename VolumeSeriesType::ValueType, VolumeSeriesType::ImageDimension-1 >
 
using VolumeType = ProjectionStackType
 
using WarpBackProjectionImageFilterType = BackProjectionImageFilter< VolumeType, VolumeType >
 
using WarpForwardProjectionImageFilterType = JosephForwardProjectionImageFilter< ProjectionStackType, ProjectionStackType >
 
- Public Types inherited from rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
using BackProjectionFilterType = BackProjectionImageFilter< ProjectionStackType, ProjectionStackType >
 
using ConstantProjectionStackSourceType = ConstantImageSource< ProjectionStackType >
 
using ConstantVolumeSeriesSourceType = ConstantImageSource< VolumeSeriesType >
 
using ConstantVolumeSourceType = ConstantImageSource< VolumeType >
 
using CPUProjectionStackType = typename itk::Image< typename ProjectionStackType::PixelType, ProjectionStackType::ImageDimension >
 
using CudaConstantVolumeSeriesSourceType = ConstantVolumeSeriesSourceType
 
using CudaConstantVolumeSourceType = ConstantVolumeSourceType
 
using CudaInterpolateImageFilterType = InterpolationFilterType
 
using CudaSplatImageFilterType = SplatFilterType
 
using DisplacedDetectorFilterType = DisplacedDetectorImageFilter< ProjectionStackType >
 
using ForwardProjectionFilterType = ForwardProjectionImageFilter< ProjectionStackType, ProjectionStackType >
 
using InterpolationFilterType = InterpolatorWithKnownWeightsImageFilter< VolumeType, VolumeSeriesType >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = FourDReconstructionConjugateGradientOperator
 
using SplatFilterType = SplatWithKnownWeightsImageFilter< VolumeSeriesType, VolumeType >
 
using Superclass = ConjugateGradientOperator< VolumeSeriesType >
 
using VolumeType = ProjectionStackType
 
- Public Types inherited from rtk::ConjugateGradientOperator< VolumeSeriesType >
using Pointer = itk::SmartPointer< Self >
 
using Self = ConjugateGradientOperator
 
using Superclass = itk::ImageToImageFilter< VolumeSeriesType, VolumeSeriesType >
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual bool GetUseCudaCyclicDeformation ()
 
void SetSignal (const std::vector< double > signal) override
 
virtual void SetUseCudaCyclicDeformation (bool _arg)
 
void SetForwardProjectionFilter (const typename Superclass::ForwardProjectionFilterType::Pointer)
 
void SetBackProjectionFilter (const typename Superclass::BackProjectionFilterType::Pointer)
 
void SetDisplacementField (const DVFSequenceImageType *DVFs)
 
void SetInverseDisplacementField (const DVFSequenceImageType *DVFs)
 
DVFSequenceImageType::ConstPointer GetInverseDisplacementField ()
 
DVFSequenceImageType::ConstPointer GetDisplacementField ()
 
- Public Member Functions inherited from rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual bool GetDisableDisplacedDetectorFilter ()
 
virtual bool GetUseCudaInterpolation ()
 
virtual bool GetUseCudaSources ()
 
virtual bool GetUseCudaSplat ()
 
virtual itk::Array2D< float > GetWeights ()
 
void SetBackProjectionFilter (const typename BackProjectionFilterType::Pointer _arg)
 
virtual void SetDisableDisplacedDetectorFilter (bool _arg)
 
void SetForwardProjectionFilter (const typename ForwardProjectionFilterType::Pointer _arg)
 
virtual void SetGeometry (const ThreeDCircularProjectionGeometry *_arg)
 
virtual void SetUseCudaInterpolation (bool _arg)
 
virtual void SetUseCudaSources (bool _arg)
 
virtual void SetUseCudaSplat (bool _arg)
 
virtual void SetWeights (itk::Array2D< float > _arg)
 
void SetInputVolumeSeries (const VolumeSeriesType *VolumeSeries)
 
VolumeSeriesType::ConstPointer GetInputVolumeSeries ()
 
void SetInputProjectionStack (const ProjectionStackType *Projections)
 
ProjectionStackType::ConstPointer GetInputProjectionStack ()
 
- Public Member Functions inherited from rtk::ConjugateGradientOperator< VolumeSeriesType >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual void SetX (const VolumeSeriesType *OutputImage)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
static Pointer New ()
 
- Static Public Member Functions inherited from rtk::ConjugateGradientOperator< VolumeSeriesType >
static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateOutputInformation () override
 
 MotionCompensatedFourDReconstructionConjugateGradientOperator ()
 
 ~MotionCompensatedFourDReconstructionConjugateGradientOperator () override=default
 
void VerifyInputInformation () override
 
- Protected Member Functions inherited from rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
 FourDReconstructionConjugateGradientOperator ()
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
void InitializeConstantSources ()
 
 ~FourDReconstructionConjugateGradientOperator () override=default
 
- Protected Member Functions inherited from rtk::ConjugateGradientOperator< VolumeSeriesType >
 ConjugateGradientOperator ()
 
 ~ConjugateGradientOperator () override=default
 

Protected Attributes

CPUDVFInterpolatorType::Pointer m_DVFInterpolatorFilter
 
CPUDVFInterpolatorType::Pointer m_InverseDVFInterpolatorFilter
 
std::vector< double > m_Signal
 
bool m_UseCudaCyclicDeformation
 
- Protected Attributes inherited from rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >
BackProjectionFilterType::Pointer m_BackProjectionFilter
 
ConstantProjectionStackSourceType::Pointer m_ConstantProjectionStackSource
 
ConstantVolumeSeriesSourceType::Pointer m_ConstantVolumeSeriesSource
 
ConstantVolumeSourceType::Pointer m_ConstantVolumeSource1
 
ConstantVolumeSourceType::Pointer m_ConstantVolumeSource2
 
bool m_DisableDisplacedDetectorFilter
 
DisplacedDetectorFilterType::Pointer m_DisplacedDetectorFilter
 
ForwardProjectionFilterType::Pointer m_ForwardProjectionFilter
 
ThreeDCircularProjectionGeometry::ConstPointer m_Geometry
 
InterpolationFilterType::Pointer m_InterpolationFilter
 
std::vector< double > m_Signal
 
SplatFilterType::Pointer m_SplatFilter
 
bool m_UseCudaInterpolation
 
bool m_UseCudaSources
 
bool m_UseCudaSplat
 
itk::Array2D< float > m_Weights
 

Detailed Description

template<typename VolumeSeriesType, typename ProjectionStackType>
class rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >

Like FourDReconstructionConjugateGradientOperator, but motion-compensated.

dot_inline_dotgraph_19.png
Test:
rtkfourdconjugategradienttest.cxx
Author
Cyril Mory

Definition at line 96 of file rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h.

Member Typedef Documentation

template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::CPUDVFInterpolatorType = CyclicDeformationImageFilter< DVFSequenceImageType, DVFImageType>
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::CPUVolumeSeriesType = typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension>

SFINAE type alias, depending on whether a CUDA image is used.

Definition at line 112 of file rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h.

template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::CudaCyclicDeformationImageFilterType = CPUDVFInterpolatorType
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::DVFImageType = itk::Image<VectorForDVF, VolumeSeriesType::ImageDimension-1>
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::DVFSequenceImageType = itk::Image<VectorForDVF, VolumeSeriesType::ImageDimension>
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::Pointer = itk::SmartPointer< Self >
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::Self = MotionCompensatedFourDReconstructionConjugateGradientOperator

Standard class type alias.

Definition at line 102 of file rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h.

template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::Superclass = FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType>
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::VectorForDVF = itk::CovariantVector< typename VolumeSeriesType::ValueType, VolumeSeriesType::ImageDimension - 1>
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::VolumeType = ProjectionStackType

Convenient type alias

Definition at line 107 of file rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h.

template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::WarpBackProjectionImageFilterType = BackProjectionImageFilter<VolumeType, VolumeType>
template<typename VolumeSeriesType , typename ProjectionStackType >
using rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::WarpForwardProjectionImageFilterType = JosephForwardProjectionImageFilter<ProjectionStackType, ProjectionStackType>

Constructor & Destructor Documentation

template<typename VolumeSeriesType , typename ProjectionStackType >
rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::MotionCompensatedFourDReconstructionConjugateGradientOperator ( )
protected
template<typename VolumeSeriesType , typename ProjectionStackType >
rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::~MotionCompensatedFourDReconstructionConjugateGradientOperator ( )
overrideprotecteddefault

Member Function Documentation

template<typename VolumeSeriesType , typename ProjectionStackType >
virtual::itk::LightObject::Pointer rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::CreateAnother ( ) const
template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::GenerateData ( )
overrideprotected
template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::GenerateOutputInformation ( )
overrideprotected
template<typename VolumeSeriesType , typename ProjectionStackType >
DVFSequenceImageType::ConstPointer rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::GetDisplacementField ( )
template<typename VolumeSeriesType , typename ProjectionStackType >
DVFSequenceImageType::ConstPointer rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::GetInverseDisplacementField ( )
template<typename VolumeSeriesType , typename ProjectionStackType >
virtual const char* rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from rtk::FourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >.

template<typename VolumeSeriesType , typename ProjectionStackType >
virtual bool rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::GetUseCudaCyclicDeformation ( )
virtual
template<typename VolumeSeriesType , typename ProjectionStackType >
static Pointer rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::New ( )
static

Method for creation through the object factory.

template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::SetBackProjectionFilter ( const typename Superclass::BackProjectionFilterType::Pointer  )
inline
template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::SetDisplacementField ( const DVFSequenceImageType DVFs)
template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::SetForwardProjectionFilter ( const typename Superclass::ForwardProjectionFilterType::Pointer  )
inline

The forward and back projection filters cannot be set by the user

Definition at line 155 of file rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h.

template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::SetInverseDisplacementField ( const DVFSequenceImageType DVFs)
template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::SetSignal ( const std::vector< double >  signal)
overridevirtual
template<typename VolumeSeriesType , typename ProjectionStackType >
virtual void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::SetUseCudaCyclicDeformation ( bool  _arg)
virtual

Set and Get for the UseCudaCyclicDeformation variable

template<typename VolumeSeriesType , typename ProjectionStackType >
void rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::VerifyInputInformation ( )
inlineoverrideprotected

Member Data Documentation

template<typename VolumeSeriesType , typename ProjectionStackType >
CPUDVFInterpolatorType::Pointer rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::m_DVFInterpolatorFilter
protected

Member pointers to the filters used internally (for convenience)

Definition at line 192 of file rtkMotionCompensatedFourDReconstructionConjugateGradientOperator.h.

template<typename VolumeSeriesType , typename ProjectionStackType >
CPUDVFInterpolatorType::Pointer rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::m_InverseDVFInterpolatorFilter
protected
template<typename VolumeSeriesType , typename ProjectionStackType >
std::vector<double> rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::m_Signal
protected
template<typename VolumeSeriesType , typename ProjectionStackType >
bool rtk::MotionCompensatedFourDReconstructionConjugateGradientOperator< VolumeSeriesType, ProjectionStackType >::m_UseCudaCyclicDeformation
protected

The documentation for this class was generated from the following file: