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::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

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

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

Private Member Functions

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

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>
typedef itk::SmartPointer<const Self> rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 54 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 63 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 62 of file rtkReorderProjectionsImageFilter.h.

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

Some convenient typedefs.

Definition at line 57 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 59 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 58 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 53 of file rtkReorderProjectionsImageFilter.h.

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

Standard class typedefs.

Definition at line 50 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 52 of file rtkReorderProjectionsImageFilter.h.

Member Enumeration Documentation

template<class TInputImage , class TOutputImage = TInputImage>
enum rtk::ReorderProjectionsImageFilter::PermutationType
Enumerator
NONE 
SORT 
SHUFFLE 

Definition at line 60 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>
virtual rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::~ReorderProjectionsImageFilter ( )
inlineoverrideprotectedvirtual

Definition at line 89 of file rtkReorderProjectionsImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage>
rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::ReorderProjectionsImageFilter ( const Self )
private

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>
void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private
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 98 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 102 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 99 of file rtkReorderProjectionsImageFilter.h.

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

Definition at line 103 of file rtkReorderProjectionsImageFilter.h.

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

Permutation type

Definition at line 106 of file rtkReorderProjectionsImageFilter.h.


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