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::SelectOneProjectionPerCycleImageFilter< ProjectionStackType > Class Template Reference

#include <rtkSelectOneProjectionPerCycleImageFilter.h>

+ Inheritance diagram for rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >:
+ Collaboration diagram for rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >:

Public Types

using Pointer = itk::SmartPointer< Self >
 
using Self = SelectOneProjectionPerCycleImageFilter
 
using Superclass = SubSelectImageFilter< ProjectionStackType >
 
- Public Types inherited from rtk::SubSelectImageFilter< ProjectionStackType >
using EmptyProjectionStackSourceType = rtk::ConstantImageSource< ProjectionStackType >
 
using ExtractFilterType = itk::ExtractImageFilter< ProjectionStackType, ProjectionStackType >
 
using GeometryType = rtk::ThreeDCircularProjectionGeometry
 
using PasteFilterType = itk::PasteImageFilter< ProjectionStackType >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = SubSelectImageFilter
 
using Superclass = itk::ImageToImageFilter< ProjectionStackType, ProjectionStackType >
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual std::string GetSignalFilename ()
 
virtual void SetSignalFilename (std::string _arg)
 
virtual void SetPhase (double _arg)
 
virtual double GetPhase ()
 
- Public Member Functions inherited from rtk::SubSelectImageFilter< ProjectionStackType >
virtual const GeometryTypeGetInputGeometry () const
 
virtual GeometryTypeGetModifiableInputGeometry ()
 
GeometryType::Pointer GetOutputGeometry ()
 
virtual std::vector< bool > GetSelectedProjections ()
 
virtual void SetInputGeometry (GeometryType *_arg)
 
void SetInputProjectionStack (const ProjectionStackType *Projections)
 
ProjectionStackType::ConstPointer GetInputProjectionStack ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateOutputInformation () override
 
 SelectOneProjectionPerCycleImageFilter ()
 
 ~SelectOneProjectionPerCycleImageFilter () override=default
 
- Protected Member Functions inherited from rtk::SubSelectImageFilter< ProjectionStackType >
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 SubSelectImageFilter ()
 
void VerifyPreconditions () const override
 
 ~SubSelectImageFilter () override=default
 

Private Attributes

double m_Phase { 0. }
 
std::vector< double > m_Signal
 
std::string m_SignalFilename
 

Additional Inherited Members

- Protected Attributes inherited from rtk::SubSelectImageFilter< ProjectionStackType >
GeometryType::Pointer m_InputGeometry
 
int m_NbSelectedProjs
 
GeometryType::Pointer m_OutputGeometry
 
std::vector< bool > m_SelectedProjections
 

Detailed Description

template<typename ProjectionStackType>
class rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >

Subselects one projection per respiratory cycle from a phase signal.

The selection selects for each respiratory cycle the projection that is the nearest to the phase parameter. The phase signal is assumed to be between 0 and 1 and monotonic.

Test:
rtkselectoneprojpercycletest.cxx
Author
Simon Rit

Definition at line 39 of file rtkSelectOneProjectionPerCycleImageFilter.h.

Member Typedef Documentation

◆ Pointer

template<typename ProjectionStackType >
using rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::Pointer = itk::SmartPointer<Self>

Definition at line 47 of file rtkSelectOneProjectionPerCycleImageFilter.h.

◆ Self

template<typename ProjectionStackType >
using rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::Self = SelectOneProjectionPerCycleImageFilter

Standard class type alias.

Definition at line 45 of file rtkSelectOneProjectionPerCycleImageFilter.h.

◆ Superclass

template<typename ProjectionStackType >
using rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::Superclass = SubSelectImageFilter<ProjectionStackType>

Definition at line 46 of file rtkSelectOneProjectionPerCycleImageFilter.h.

Constructor & Destructor Documentation

◆ SelectOneProjectionPerCycleImageFilter()

template<typename ProjectionStackType >
rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::SelectOneProjectionPerCycleImageFilter ( )
protected

◆ ~SelectOneProjectionPerCycleImageFilter()

template<typename ProjectionStackType >
rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::~SelectOneProjectionPerCycleImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateAnother()

template<typename ProjectionStackType >
virtual::itk::LightObject::Pointer rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GenerateOutputInformation()

template<typename ProjectionStackType >
void rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::GenerateOutputInformation ( )
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

◆ GetNameOfClass()

template<typename ProjectionStackType >
virtual const char* rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from rtk::SubSelectImageFilter< ProjectionStackType >.

◆ GetPhase()

template<typename ProjectionStackType >
virtual double rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::GetPhase ( )
virtual

Phase value for which we want the closest projection image per cycle.

◆ GetSignalFilename()

template<typename ProjectionStackType >
virtual std::string rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::GetSignalFilename ( )
virtual

File name of a text file with one phase value between 0 and 1 per line.

◆ New()

template<typename ProjectionStackType >
static Pointer rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::New ( )
static

Method for creation through the object factory.

◆ SetPhase()

template<typename ProjectionStackType >
virtual void rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::SetPhase ( double  _arg)
virtual

Phase value for which we want the closest projection image per cycle.

◆ SetSignalFilename()

template<typename ProjectionStackType >
virtual void rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::SetSignalFilename ( std::string  _arg)
virtual

File name of a text file with one phase value between 0 and 1 per line.

Member Data Documentation

◆ m_Phase

template<typename ProjectionStackType >
double rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::m_Phase { 0. }
private

Definition at line 79 of file rtkSelectOneProjectionPerCycleImageFilter.h.

◆ m_Signal

template<typename ProjectionStackType >
std::vector<double> rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::m_Signal
private

Definition at line 80 of file rtkSelectOneProjectionPerCycleImageFilter.h.

◆ m_SignalFilename

template<typename ProjectionStackType >
std::string rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >::m_SignalFilename
private

Definition at line 78 of file rtkSelectOneProjectionPerCycleImageFilter.h.


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