RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private 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

typedef itk::Array2D< float > Array2DType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef PhasesToInterpolationWeights Self
 
typedef CSVFileReaderBase Superclass
 
typedef float ValueType
 

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
 
virtual ~PhasesToInterpolationWeights () override
 

Private Member Functions

void operator= (const Self &)
 
 PhasesToInterpolationWeights (const Self &)
 

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 38 of file rtkPhasesToInterpolationWeights.h.

Member Typedef Documentation

DataFrame Object types

Definition at line 54 of file rtkPhasesToInterpolationWeights.h.

Definition at line 45 of file rtkPhasesToInterpolationWeights.h.

Definition at line 44 of file rtkPhasesToInterpolationWeights.h.

Standard class typedefs

Definition at line 42 of file rtkPhasesToInterpolationWeights.h.

Definition at line 43 of file rtkPhasesToInterpolationWeights.h.

The value type of the dataset.

Definition at line 57 of file rtkPhasesToInterpolationWeights.h.

Constructor & Destructor Documentation

rtk::PhasesToInterpolationWeights::PhasesToInterpolationWeights ( )
protected
virtual rtk::PhasesToInterpolationWeights::~PhasesToInterpolationWeights ( )
inlineoverrideprotectedvirtual

Definition at line 90 of file rtkPhasesToInterpolationWeights.h.

rtk::PhasesToInterpolationWeights::PhasesToInterpolationWeights ( const Self )
private

Member Function Documentation

virtual::itk::LightObject::Pointer rtk::PhasesToInterpolationWeights::CreateAnother ( ) const
virtual const char* rtk::PhasesToInterpolationWeights::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::CSVFileReaderBase.

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

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

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

Standard New method.

void rtk::PhasesToInterpolationWeights::operator= ( const Self )
private
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.

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

Print the reader.

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

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)
virtual

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

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

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

Member Data Documentation

Array2DType rtk::PhasesToInterpolationWeights::m_Array2D
private

Definition at line 97 of file rtkPhasesToInterpolationWeights.h.

int rtk::PhasesToInterpolationWeights::m_NumberOfReconstructedFrames
private

Definition at line 98 of file rtkPhasesToInterpolationWeights.h.

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

Definition at line 100 of file rtkPhasesToInterpolationWeights.h.

bool rtk::PhasesToInterpolationWeights::m_UnevenTemporalSpacing
private

Definition at line 99 of file rtkPhasesToInterpolationWeights.h.


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