RTK  2.6.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage > Class Template Reference

#include <rtkWarpSequenceImageFilter.h>

+ Inheritance diagram for rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >:
+ Collaboration diagram for rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >:

Public Types

using CastFilterType = itk::CastImageFilter< TImage, TImageSequence >
 
using ConstantImageSourceType = rtk::ConstantImageSource< TImageSequence >
 
using CPUImageType = typename itk::Image< typename TImage::PixelType, TImage::ImageDimension >
 
using CPUWarpFilterType = typename itk::WarpImageFilter< TImage, TImage, TDVFImage >
 
using CudaCyclicDeformationImageFilterType = CyclicDeformationImageFilter< TDVFImageSequence, TDVFImage >
 
using DVFInterpolatorType = rtk::CyclicDeformationImageFilter< TDVFImageSequence, TDVFImage >
 
using ExtractFilterType = itk::ExtractImageFilter< TImageSequence, TImage >
 
using ForwardWarpFilterType = ForwardWarpImageFilter< TImage, TImage, TDVFImage >
 
using LinearInterpolatorType = itk::LinearInterpolateImageFunction< TImage, double >
 
using NearestNeighborInterpolatorType = itk::NearestNeighborInterpolateImageFunction< TImage, double >
 
using PasteFilterType = itk::PasteImageFilter< TImageSequence, TImageSequence >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = WarpSequenceImageFilter
 
using Superclass = itk::ImageToImageFilter< TImageSequence, TImageSequence >
 
using WarpFilterType = CPUWarpFilterType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
TDVFImageSequence::Pointer GetDisplacementField ()
 
void SetDisplacementField (const TDVFImageSequence *DVFs)
 
virtual const char * GetNameOfClass () const
 
virtual bool GetForwardWarp ()
 
virtual void SetForwardWarp (bool _arg)
 
virtual void SetPhaseShift (float _arg)
 
virtual float GetPhaseShift ()
 
virtual void SetUseNearestNeighborInterpolationInWarping (bool _arg)
 
virtual bool GetUseNearestNeighborInterpolationInWarping ()
 
virtual void SetUseCudaCyclicDeformation (bool _arg)
 
virtual bool GetUseCudaCyclicDeformation ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
void VerifyInputInformation () const override
 
 WarpSequenceImageFilter ()
 
 ~WarpSequenceImageFilter () override=default
 
void GenerateOutputInformation () override
 
void GenerateInputRequestedRegion () override
 

Protected Attributes

CastFilterType::Pointer m_CastFilter
 
ConstantImageSourceType::Pointer m_ConstantSource
 
DVFInterpolatorType::Pointer m_DVFInterpolatorFilter
 
TImageSequence::RegionType m_ExtractAndPasteRegion
 
ExtractFilterType::Pointer m_ExtractFilter
 
bool m_ForwardWarp
 
PasteFilterType::Pointer m_PasteFilter
 
float m_PhaseShift
 
bool m_UseCudaCyclicDeformation
 
bool m_UseNearestNeighborInterpolationInWarping
 
CPUWarpFilterType::Pointer m_WarpFilter
 

Detailed Description

template<typename TImageSequence, typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
class rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >

Applies an N-D + time Motion Vector Field to an N-D + time sequence of images.

Most of the work in this filter is performed by the underlying itkWarpImageFilter. The only difference is that this filter manages the last dimension specifically as time.

Test:
rtkfourdroostertest.cxx
Author
Cyril Mory

Definition at line 97 of file rtkWarpSequenceImageFilter.h.

Member Typedef Documentation

◆ CastFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::CastFilterType = itk::CastImageFilter<TImage, TImageSequence>

Definition at line 171 of file rtkWarpSequenceImageFilter.h.

◆ ConstantImageSourceType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::ConstantImageSourceType = rtk::ConstantImageSource<TImageSequence>

Definition at line 172 of file rtkWarpSequenceImageFilter.h.

◆ CPUImageType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::CPUImageType = typename itk::Image<typename TImage::PixelType, TImage::ImageDimension>

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

Definition at line 111 of file rtkWarpSequenceImageFilter.h.

◆ CPUWarpFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::CPUWarpFilterType = typename itk::WarpImageFilter<TImage, TImage, TDVFImage>

Definition at line 112 of file rtkWarpSequenceImageFilter.h.

◆ CudaCyclicDeformationImageFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::CudaCyclicDeformationImageFilterType = CyclicDeformationImageFilter<TDVFImageSequence, TDVFImage>

Definition at line 126 of file rtkWarpSequenceImageFilter.h.

◆ DVFInterpolatorType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::DVFInterpolatorType = rtk::CyclicDeformationImageFilter<TDVFImageSequence, TDVFImage>

Definition at line 169 of file rtkWarpSequenceImageFilter.h.

◆ ExtractFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::ExtractFilterType = itk::ExtractImageFilter<TImageSequence, TImage>

Definition at line 168 of file rtkWarpSequenceImageFilter.h.

◆ ForwardWarpFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::ForwardWarpFilterType = ForwardWarpImageFilter<TImage, TImage, TDVFImage>

Definition at line 125 of file rtkWarpSequenceImageFilter.h.

◆ LinearInterpolatorType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::LinearInterpolatorType = itk::LinearInterpolateImageFunction<TImage, double>

Typedefs of internal filters

Definition at line 166 of file rtkWarpSequenceImageFilter.h.

◆ NearestNeighborInterpolatorType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::NearestNeighborInterpolatorType = itk::NearestNeighborInterpolateImageFunction<TImage, double>

Definition at line 167 of file rtkWarpSequenceImageFilter.h.

◆ PasteFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::PasteFilterType = itk::PasteImageFilter<TImageSequence, TImageSequence>

Definition at line 170 of file rtkWarpSequenceImageFilter.h.

◆ Pointer

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::Pointer = itk::SmartPointer<Self>

Definition at line 105 of file rtkWarpSequenceImageFilter.h.

◆ Self

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::Self = WarpSequenceImageFilter

Standard class type alias.

Definition at line 103 of file rtkWarpSequenceImageFilter.h.

◆ Superclass

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::Superclass = itk::ImageToImageFilter<TImageSequence, TImageSequence>

Definition at line 104 of file rtkWarpSequenceImageFilter.h.

◆ WarpFilterType

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
using rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::WarpFilterType = CPUWarpFilterType

Definition at line 124 of file rtkWarpSequenceImageFilter.h.

Constructor & Destructor Documentation

◆ WarpSequenceImageFilter()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::WarpSequenceImageFilter ( )
protected

◆ ~WarpSequenceImageFilter()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::~WarpSequenceImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual::itk::LightObject::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GenerateData()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GenerateData ( )
overrideprotectedvirtual

Does the real work.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GenerateInputRequestedRegion()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

The volume and the projections must have different requested regions

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GenerateOutputInformation ( )
overrideprotectedvirtual

The volume and the projections must have different requested regions

Reimplemented from itk::ProcessObject.

◆ GetDisplacementField()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
TDVFImageSequence::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GetDisplacementField ( )

Get the motion vector field used in input 1

◆ GetForwardWarp()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual bool rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GetForwardWarp ( )
virtual

Set/Get for m_ForwardWarp

◆ GetNameOfClass()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual const char* rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GetPhaseShift()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual float rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GetPhaseShift ( )
virtual

Phase shift to simulate phase estimation errors

◆ GetUseCudaCyclicDeformation()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual bool rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GetUseCudaCyclicDeformation ( )
virtual

Set and Get for the UseCudaCyclicDeformation variable

◆ GetUseNearestNeighborInterpolationInWarping()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual bool rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::GetUseNearestNeighborInterpolationInWarping ( )
virtual

Information for the CUDA warp filter, to avoid using RTTI

◆ New()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
static Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::New ( )
static

Method for creation through the object factory.

◆ SetDisplacementField()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::SetDisplacementField ( const TDVFImageSequence *  DVFs)

Set the motion vector field used in input 1

◆ SetForwardWarp()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::SetForwardWarp ( bool  _arg)
virtual

Set/Get for m_ForwardWarp

◆ SetPhaseShift()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::SetPhaseShift ( float  _arg)
virtual

Phase shift to simulate phase estimation errors

◆ SetUseCudaCyclicDeformation()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::SetUseCudaCyclicDeformation ( bool  _arg)
virtual

Set and Get for the UseCudaCyclicDeformation variable

◆ SetUseNearestNeighborInterpolationInWarping()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
virtual void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::SetUseNearestNeighborInterpolationInWarping ( bool  _arg)
virtual

Information for the CUDA warp filter, to avoid using RTTI

◆ VerifyInputInformation()

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
void rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::VerifyInputInformation ( ) const
inlineoverrideprotectedvirtual

The inputs of this filter have the same type (float, 3) but not the same meaning It is normal that they do not occupy the same physical space. Therefore this check must be removed

Reimplemented from itk::ProcessObject.

Definition at line 201 of file rtkWarpSequenceImageFilter.h.

Member Data Documentation

◆ m_CastFilter

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
CastFilterType::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_CastFilter
protected

Definition at line 187 of file rtkWarpSequenceImageFilter.h.

◆ m_ConstantSource

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
ConstantImageSourceType::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_ConstantSource
protected

Definition at line 188 of file rtkWarpSequenceImageFilter.h.

◆ m_DVFInterpolatorFilter

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
DVFInterpolatorType::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_DVFInterpolatorFilter
protected

Definition at line 185 of file rtkWarpSequenceImageFilter.h.

◆ m_ExtractAndPasteRegion

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
TImageSequence::RegionType rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_ExtractAndPasteRegion
protected

Extraction regions for both extract filters

Definition at line 191 of file rtkWarpSequenceImageFilter.h.

◆ m_ExtractFilter

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
ExtractFilterType::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_ExtractFilter
protected

Definition at line 184 of file rtkWarpSequenceImageFilter.h.

◆ m_ForwardWarp

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
bool rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_ForwardWarp
protected

Perform a forward warping (using splat) instead of the standard backward warping

Definition at line 194 of file rtkWarpSequenceImageFilter.h.

◆ m_PasteFilter

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
PasteFilterType::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_PasteFilter
protected

Definition at line 186 of file rtkWarpSequenceImageFilter.h.

◆ m_PhaseShift

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
float rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_PhaseShift
protected

Definition at line 195 of file rtkWarpSequenceImageFilter.h.

◆ m_UseCudaCyclicDeformation

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
bool rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_UseCudaCyclicDeformation
protected

Definition at line 213 of file rtkWarpSequenceImageFilter.h.

◆ m_UseNearestNeighborInterpolationInWarping

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
bool rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_UseNearestNeighborInterpolationInWarping
protected

Definition at line 212 of file rtkWarpSequenceImageFilter.h.

◆ m_WarpFilter

template<typename TImageSequence , typename TDVFImageSequence = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension>, typename TImage = itk::Image<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, typename TDVFImage = itk::Image<itk::CovariantVector<typename TImageSequence::ValueType, TImageSequence::ImageDimension - 1>, TImageSequence::ImageDimension - 1>>
CPUWarpFilterType::Pointer rtk::WarpSequenceImageFilter< TImageSequence, TDVFImageSequence, TImage, TDVFImage >::m_WarpFilter
protected

Member pointers to the filters used internally (for convenience)

Definition at line 183 of file rtkWarpSequenceImageFilter.h.


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