![]() |
RTK
2.7.0
Reconstruction Toolkit
|
#include <rtkWarpFourDToProjectionStackImageFilter.h>
Public Types | |
using | CPUDVFInterpolatorType = CyclicDeformationImageFilter< DVFSequenceImageType, DVFImageType > |
using | CPUVolumeSeriesType = typename itk::Image< typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension > |
typedef std::conditional< std::is_same< VolumeSeriesType, CPUVolumeSeriesType >::value, CPUDVFInterpolatorType, CudaCyclicDeformationImageFilter >::type | CudaCyclicDeformationImageFilterType |
typedef std::conditional< std::is_same< VolumeSeriesType, CPUVolumeSeriesType >::value, itk::Image< VectorForDVF, VolumeSeriesType::ImageDimension - 1 >, itk::CudaImage< VectorForDVF, VolumeSeriesType::ImageDimension - 1 > >::type | DVFImageType |
typedef std::conditional< std::is_same< VolumeSeriesType, CPUVolumeSeriesType >::value, itk::Image< VectorForDVF, VolumeSeriesType::ImageDimension >, itk::CudaImage< VectorForDVF, VolumeSeriesType::ImageDimension > >::type | DVFSequenceImageType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = WarpFourDToProjectionStackImageFilter |
using | SignalVectorType = std::vector< double > |
using | Superclass = rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType > |
using | VectorForDVF = itk::CovariantVector< typename VolumeSeriesType::ValueType, VolumeSeriesType::ImageDimension - 1 > |
using | VolumeType = ProjectionStackType |
typedef std::conditional< std::is_same< VolumeSeriesType, CPUVolumeSeriesType >::value, JosephForwardProjectionImageFilter< ProjectionStackType, ProjectionStackType >, CudaWarpForwardProjectionImageFilter >::type | WarpForwardProjectionImageFilterType |
![]() | |
using | ConstantProjectionStackSourceType = rtk::ConstantImageSource< ProjectionStackType > |
using | ConstantVolumeSourceType = rtk::ConstantImageSource< VolumeType > |
using | ForwardProjectionFilterType = rtk::ForwardProjectionImageFilter< ProjectionStackType, ProjectionStackType > |
using | GeometryType = rtk::ThreeDCircularProjectionGeometry |
using | InterpolatorFilterType = rtk::InterpolatorWithKnownWeightsImageFilter< VolumeType, VolumeSeriesType > |
using | PasteFilterType = itk::PasteImageFilter< ProjectionStackType, ProjectionStackType > |
using | Pointer = itk::SmartPointer< Self > |
using | Self = FourDToProjectionStackImageFilter |
using | Superclass = itk::ImageToImageFilter< ProjectionStackType, ProjectionStackType > |
using | VolumeType = ProjectionStackType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
const char * | GetNameOfClass () const override |
void | SetForwardProjectionFilter (typename Superclass::ForwardProjectionFilterType *) |
void | SetSignal (const std::vector< double > signal) override |
void | SetDisplacementField (const DVFSequenceImageType *DisplacementField) |
DVFSequenceImageType::ConstPointer | GetDisplacementField () |
virtual void | SetUseCudaCyclicDeformation (bool _arg) |
virtual bool | GetUseCudaCyclicDeformation () |
![]() | |
void | InitializeConstantVolumeSource () |
void | SetForwardProjectionFilter (ForwardProjectionFilterType *_arg) |
virtual void | SetGeometry (GeometryType *_arg) |
void | SetInputProjectionStack (const ProjectionStackType *Projection) |
void | SetInputVolumeSeries (const VolumeSeriesType *VolumeSeries) |
void | SetWeights (const itk::Array2D< float > _arg) |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData () override |
void | GenerateInputRequestedRegion () override |
void | GenerateOutputInformation () override |
void | VerifyInputInformation () const override |
WarpFourDToProjectionStackImageFilter () | |
~WarpFourDToProjectionStackImageFilter () override=default | |
![]() | |
FourDToProjectionStackImageFilter () | |
ProjectionStackType::Pointer | GetInputProjectionStack () |
VolumeSeriesType::ConstPointer | GetInputVolumeSeries () |
~FourDToProjectionStackImageFilter () override=default | |
Protected Attributes | |
CPUDVFInterpolatorType::Pointer | m_DVFInterpolatorFilter |
std::vector< double > | m_Signal |
bool | m_UseCudaCyclicDeformation { false } |
![]() | |
ConstantProjectionStackSourceType::Pointer | m_ConstantProjectionStackSource |
ConstantVolumeSourceType::Pointer | m_ConstantVolumeSource |
ForwardProjectionFilterType::Pointer | m_ForwardProjectionFilter |
GeometryType::Pointer | m_Geometry |
InterpolatorFilterType::Pointer | m_InterpolationFilter |
PasteFilterType::Pointer | m_PasteFilter |
ConstantProjectionStackSourceType::OutputImageRegionType | m_PasteRegion |
std::vector< double > | m_Signal |
itk::Array2D< float > | m_Weights |
Forward projection part for motion compensated iterative 4D reconstruction.
This filter is similar to FourDToProjectionStackImageFilter, except that it uses a motion-compensated forward projection. A 4D displacement vector field is therefore required, and its forward projection filter cannot be changed.
Definition at line 88 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::CPUDVFInterpolatorType = CyclicDeformationImageFilter<DVFSequenceImageType, DVFImageType> |
Definition at line 119 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::CPUVolumeSeriesType = typename itk::Image<typename VolumeSeriesType::PixelType, VolumeSeriesType::ImageDimension> |
Definition at line 104 of file rtkWarpFourDToProjectionStackImageFilter.h.
typedef std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value, CPUDVFInterpolatorType, CudaCyclicDeformationImageFilter>::type rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::CudaCyclicDeformationImageFilterType |
Definition at line 126 of file rtkWarpFourDToProjectionStackImageFilter.h.
typedef std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value, itk::Image<VectorForDVF, VolumeSeriesType::ImageDimension - 1>, itk::CudaImage<VectorForDVF, VolumeSeriesType::ImageDimension - 1> >::type rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::DVFImageType |
Definition at line 114 of file rtkWarpFourDToProjectionStackImageFilter.h.
typedef std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value, itk::Image<VectorForDVF, VolumeSeriesType::ImageDimension>, itk::CudaImage<VectorForDVF, VolumeSeriesType::ImageDimension> >::type rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::DVFSequenceImageType |
SFINAE type alias, depending on whether a CUDA image is used.
Definition at line 110 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::Pointer = itk::SmartPointer<Self> |
Definition at line 97 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::Self = WarpFourDToProjectionStackImageFilter |
Standard class type alias.
Definition at line 95 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::SignalVectorType = std::vector<double> |
Definition at line 139 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::Superclass = rtk::FourDToProjectionStackImageFilter<ProjectionStackType, VolumeSeriesType> |
Definition at line 96 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::VectorForDVF = itk::CovariantVector<typename VolumeSeriesType::ValueType, VolumeSeriesType::ImageDimension - 1> |
Definition at line 101 of file rtkWarpFourDToProjectionStackImageFilter.h.
using rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::VolumeType = ProjectionStackType |
Convenient type alias
Definition at line 100 of file rtkWarpFourDToProjectionStackImageFilter.h.
typedef std::conditional<std::is_same<VolumeSeriesType, CPUVolumeSeriesType>::value, JosephForwardProjectionImageFilter<ProjectionStackType, ProjectionStackType>, CudaWarpForwardProjectionImageFilter>::type rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::WarpForwardProjectionImageFilterType |
Definition at line 123 of file rtkWarpFourDToProjectionStackImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Reimplemented from rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >.
|
overrideprotectedvirtual |
Does the real work.
Reimplemented from rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >.
|
overrideprotectedvirtual |
Reimplemented from rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >.
|
overrideprotectedvirtual |
Reimplemented from rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >.
DVFSequenceImageType::ConstPointer rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::GetDisplacementField | ( | ) |
The ND + time motion vector field
|
overridevirtual |
Run-time type information (and related methods).
Reimplemented from rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >.
|
virtual |
Set and Get for the UseCudaCyclicDeformation variable
|
static |
Method for creation through the object factory.
void rtk::WarpFourDToProjectionStackImageFilter< VolumeSeriesType, ProjectionStackType >::SetDisplacementField | ( | const DVFSequenceImageType * | DisplacementField | ) |
The ND + time motion vector field
|
inline |
The forward projection filter cannot be set by the user
Definition at line 143 of file rtkWarpFourDToProjectionStackImageFilter.h.
|
overridevirtual |
Store the phase signal in a member variable
Reimplemented from rtk::FourDToProjectionStackImageFilter< ProjectionStackType, VolumeSeriesType >.
|
virtual |
Set and Get for the UseCudaCyclicDeformation variable
|
inlineoverrideprotectedvirtual |
The first two inputs should not be in the same space so there is nothing to verify.
Reimplemented from itk::ProcessObject.
Definition at line 180 of file rtkWarpFourDToProjectionStackImageFilter.h.
|
protected |
Member pointers to the filters used internally (for convenience)
Definition at line 184 of file rtkWarpFourDToProjectionStackImageFilter.h.
|
protected |
Definition at line 185 of file rtkWarpFourDToProjectionStackImageFilter.h.
|
protected |
Definition at line 186 of file rtkWarpFourDToProjectionStackImageFilter.h.