RTK  2.6.0
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 Array2DType GetOutput ()
 
void Parse () override
 
virtual void Update ()
 
virtual const char * GetNameOfClass () const
 
virtual void SetUnevenTemporalSpacing (bool _arg)
 
virtual bool GetUnevenTemporalSpacing ()
 
virtual void SetNumberOfReconstructedFrames (int _arg)
 
virtual int GetNumberOfReconstructedFrames ()
 
void SetSelectedProjections (std::vector< bool > sprojs)
 
virtual std::vector< bool > GetSelectedProjections ()
 

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

Author
Cyril Mory

Definition at line 40 of file rtkPhasesToInterpolationWeights.h.

Member Typedef Documentation

◆ Array2DType

DataFrame Object types

Definition at line 63 of file rtkPhasesToInterpolationWeights.h.

◆ ConstPointer

Definition at line 49 of file rtkPhasesToInterpolationWeights.h.

◆ Pointer

Definition at line 48 of file rtkPhasesToInterpolationWeights.h.

◆ Self

Standard class type alias

Definition at line 46 of file rtkPhasesToInterpolationWeights.h.

◆ Superclass

Definition at line 47 of file rtkPhasesToInterpolationWeights.h.

◆ ValueType

The value type of the dataset.

Definition at line 66 of file rtkPhasesToInterpolationWeights.h.

Constructor & Destructor Documentation

◆ PhasesToInterpolationWeights()

rtk::PhasesToInterpolationWeights::PhasesToInterpolationWeights ( )
protected

◆ ~PhasesToInterpolationWeights()

rtk::PhasesToInterpolationWeights::~PhasesToInterpolationWeights ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

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

Reimplemented from itk::Object.

◆ GetNameOfClass()

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

Run-time type information (and related methods)

Reimplemented from itk::CSVFileReaderBase.

◆ GetNumberOfReconstructedFrames()

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

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

◆ GetOutput()

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

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

◆ GetSelectedProjections()

virtual std::vector<bool> rtk::PhasesToInterpolationWeights::GetSelectedProjections ( )
virtual

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

◆ GetUnevenTemporalSpacing()

virtual bool rtk::PhasesToInterpolationWeights::GetUnevenTemporalSpacing ( )
virtual

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

◆ New()

static Pointer rtk::PhasesToInterpolationWeights::New ( )
static

Standard New method.

◆ Parse()

void rtk::PhasesToInterpolationWeights::Parse ( )
overridevirtual

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.

◆ PrintSelf()

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

Print the reader.

Reimplemented from itk::CSVFileReaderBase.

◆ SetNumberOfReconstructedFrames()

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

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

◆ SetSelectedProjections()

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

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

◆ SetUnevenTemporalSpacing()

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

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

◆ Update()

virtual void rtk::PhasesToInterpolationWeights::Update ( )
virtual

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

Member Data Documentation

◆ m_Array2D

Array2DType rtk::PhasesToInterpolationWeights::m_Array2D
private

Definition at line 112 of file rtkPhasesToInterpolationWeights.h.

◆ m_NumberOfReconstructedFrames

int rtk::PhasesToInterpolationWeights::m_NumberOfReconstructedFrames
private

Definition at line 113 of file rtkPhasesToInterpolationWeights.h.

◆ m_SelectedProjections

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

Definition at line 115 of file rtkPhasesToInterpolationWeights.h.

◆ m_UnevenTemporalSpacing

bool rtk::PhasesToInterpolationWeights::m_UnevenTemporalSpacing
private

Definition at line 114 of file rtkPhasesToInterpolationWeights.h.


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