RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
rtk::PhasesToInterpolationWeights Class Reference

#include <rtkPhasesToInterpolationWeights.h>

+ Inheritance diagram for rtk::PhasesToInterpolationWeights:
+ Collaboration diagram for rtk::PhasesToInterpolationWeights:

Public Types

using Array2DType = itk::Array2D< float >
using ConstPointer = itk::SmartPointer< const Self >
using Pointer = itk::SmartPointer< Self >
using Self = PhasesToInterpolationWeights
using Superclass = CSVFileReaderBase
using ValueType = float

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
virtual const char * GetNameOfClass () const
virtual int GetNumberOfReconstructedFrames ()
virtual Array2DType GetOutput ()
virtual std::vector< bool > GetSelectedProjections ()
virtual bool GetUnevenTemporalSpacing ()
void Parse () override
virtual void SetNumberOfReconstructedFrames (int _arg)
void SetSelectedProjections (std::vector< bool > sprojs)
virtual void SetUnevenTemporalSpacing (bool _arg)
virtual void Update ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 PhasesToInterpolationWeights ()
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 ~PhasesToInterpolationWeights () override=default

Private Attributes

Array2DType m_Array2D
int m_NumberOfReconstructedFrames
std::vector< bool > m_SelectedProjections
bool m_UnevenTemporalSpacing

Detailed Description

Parses csv file containing the cardiac or respiratory phases of each projection, and generates interpolation weights for 4D reconstruction.

Useful for 4D reconstruction of beating heart or breathing thorax

Cyril Mory

Definition at line 38 of file rtkPhasesToInterpolationWeights.h.

Member Typedef Documentation

DataFrame Object types

Definition at line 56 of file rtkPhasesToInterpolationWeights.h.

Definition at line 47 of file rtkPhasesToInterpolationWeights.h.

Definition at line 46 of file rtkPhasesToInterpolationWeights.h.

Standard class type alias

Definition at line 44 of file rtkPhasesToInterpolationWeights.h.

Definition at line 45 of file rtkPhasesToInterpolationWeights.h.

The value type of the dataset.

Definition at line 59 of file rtkPhasesToInterpolationWeights.h.

Constructor & Destructor Documentation

rtk::PhasesToInterpolationWeights::PhasesToInterpolationWeights ( )
rtk::PhasesToInterpolationWeights::~PhasesToInterpolationWeights ( )

Member Function Documentation

virtual::itk::LightObject::Pointer rtk::PhasesToInterpolationWeights::CreateAnother ( ) const

Reimplemented from itk::LightProcessObject.

virtual const char* rtk::PhasesToInterpolationWeights::GetNameOfClass ( ) const

Run-time type information (and related methods)

Reimplemented from itk::CSVFileReaderBase.

virtual int rtk::PhasesToInterpolationWeights::GetNumberOfReconstructedFrames ( )
virtual Array2DType rtk::PhasesToInterpolationWeights::GetOutput ( )

Aliased to the GetDataFrameObject() method to be consistent with the rest of the pipeline

virtual std::vector<bool> rtk::PhasesToInterpolationWeights::GetSelectedProjections ( )
virtual bool rtk::PhasesToInterpolationWeights::GetUnevenTemporalSpacing ( )
static Pointer rtk::PhasesToInterpolationWeights::New ( )

Standard New method.

void rtk::PhasesToInterpolationWeights::Parse ( )

This method can be used to get the data frame object once the data from the file has been parsed. Parses the data from the file. Gets the phases of the projections into a vector, then generate an Array2D object containing the interpolation weights

Implements itk::CSVFileReaderBase.

void rtk::PhasesToInterpolationWeights::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const

Print the reader.

Reimplemented from itk::CSVFileReaderBase.

virtual void rtk::PhasesToInterpolationWeights::SetNumberOfReconstructedFrames ( int  _arg)

Configure the filter to use uneven temporal spacing (finer temporal resolution during systole)

void rtk::PhasesToInterpolationWeights::SetSelectedProjections ( std::vector< bool >  sprojs)

Set/Get for a list of booleans indicating whether or not each projection must be selected

virtual void rtk::PhasesToInterpolationWeights::SetUnevenTemporalSpacing ( bool  _arg)

Configure the filter to use uneven temporal spacing (finer temporal resolution during systole)

virtual void rtk::PhasesToInterpolationWeights::Update ( )

Aliased to the Parse() method to be consistent with the rest of the pipeline.

Member Data Documentation

Array2DType rtk::PhasesToInterpolationWeights::m_Array2D

Definition at line 99 of file rtkPhasesToInterpolationWeights.h.

int rtk::PhasesToInterpolationWeights::m_NumberOfReconstructedFrames

Definition at line 100 of file rtkPhasesToInterpolationWeights.h.

std::vector<bool> rtk::PhasesToInterpolationWeights::m_SelectedProjections

Definition at line 102 of file rtkPhasesToInterpolationWeights.h.

bool rtk::PhasesToInterpolationWeights::m_UnevenTemporalSpacing

Definition at line 101 of file rtkPhasesToInterpolationWeights.h.

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