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::ReorderProjectionsImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <rtkReorderProjectionsImageFilter.h>

+ Inheritance diagram for rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using GeometryPointer = GeometryType::Pointer
 
using GeometryType = ThreeDCircularProjectionGeometry
 
using InputImageType = TInputImage
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using PermutationType = enum{NONE=0, SORT=1, SHUFFLE=2}
 
using Pointer = itk::SmartPointer< Self >
 
using Self = ReorderProjectionsImageFilter
 
using Superclass = itk::ImageToImageFilter< TInputImage, TOutputImage >
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual GeometryTypeGetModifiableOutputGeometry ()
 
virtual const GeometryTypeGetOutputGeometry () const
 
virtual void SetInputGeometry (GeometryType *_arg)
 
virtual PermutationType GetPermutation ()
 
virtual void SetPermutation (PermutationType _arg)
 
void SetInputSignal (const std::vector< double > signal)
 
std::vector< double > GetOutputSignal ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void GenerateData () override
 
 ReorderProjectionsImageFilter ()
 
 ~ReorderProjectionsImageFilter () override=default
 

Private Attributes

GeometryPointer m_InputGeometry
 
std::vector< double > m_InputSignal
 
GeometryPointer m_OutputGeometry
 
std::vector< double > m_OutputSignal
 
PermutationType m_Permutation
 

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage>
class rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >

Sorts or shuffle projections and geometry inputs.

This filter permutes projections and geometry with the same permutation. The permutation is either the one that sorts projections by ascending phase, so that the ones with the same phase can be forward and back projected together (which is faster than one-by-one), or it is a random shuffle, useful for subset processings.

Test:
Author
Cyril Mory

Definition at line 45 of file rtkReorderProjectionsImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 56 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GeometryPointer = GeometryType::Pointer

Definition at line 65 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GeometryType = ThreeDCircularProjectionGeometry

Definition at line 64 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage

Some convenient type alias.

Definition at line 59 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType

Definition at line 61 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage

Definition at line 60 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::PermutationType = enum {NONE=0, SORT=1, SHUFFLE=2}

Definition at line 62 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::Pointer = itk::SmartPointer<Self>

Definition at line 55 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::Self = ReorderProjectionsImageFilter

Standard class type alias.

Definition at line 52 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
using rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::Superclass = itk::ImageToImageFilter<TInputImage, TOutputImage>

Definition at line 54 of file rtkReorderProjectionsImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage = TInputImage>
rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::ReorderProjectionsImageFilter ( )
protected
template<class TInputImage , class TOutputImage = TInputImage>
rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::~ReorderProjectionsImageFilter ( )
overrideprotecteddefault

Member Function Documentation

template<class TInputImage , class TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
template<class TInputImage , class TOutputImage = TInputImage>
void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotected
template<class TInputImage , class TOutputImage = TInputImage>
virtual GeometryType* rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GetModifiableOutputGeometry ( )
virtual

Get / Set the object pointer to projection geometry

template<class TInputImage , class TOutputImage = TInputImage>
virtual const char* rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage = TInputImage>
virtual const GeometryType* rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GetOutputGeometry ( ) const
virtual

Get / Set the object pointer to projection geometry

template<class TInputImage , class TOutputImage = TInputImage>
std::vector<double> rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GetOutputSignal ( )

Set the input signal

template<class TInputImage , class TOutputImage = TInputImage>
virtual PermutationType rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GetPermutation ( )
virtual

Get / Set the kind of permutation requested

template<class TInputImage , class TOutputImage = TInputImage>
static Pointer rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::New ( )
static

Standard New method.

template<class TInputImage , class TOutputImage = TInputImage>
virtual void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::SetInputGeometry ( GeometryType _arg)
virtual

Get / Set the object pointer to projection geometry

template<class TInputImage , class TOutputImage = TInputImage>
void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::SetInputSignal ( const std::vector< double >  signal)

Set the input signal

template<class TInputImage , class TOutputImage = TInputImage>
virtual void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::SetPermutation ( PermutationType  _arg)
virtual

Get / Set the kind of permutation requested

Member Data Documentation

template<class TInputImage , class TOutputImage = TInputImage>
GeometryPointer rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::m_InputGeometry
private

RTK geometry objects

Definition at line 97 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
std::vector<double> rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::m_InputSignal
private

Input and output signal vectors

Definition at line 101 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
GeometryPointer rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::m_OutputGeometry
private

Definition at line 98 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
std::vector<double> rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::m_OutputSignal
private

Definition at line 102 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
PermutationType rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::m_Permutation
private

Permutation type

Definition at line 105 of file rtkReorderProjectionsImageFilter.h.


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