RTK  2.1.0
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 ()
 
void VerifyPreconditions () ITKv5_CONST override
 
 ~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

◆ ConstPointer

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

Definition at line 55 of file rtkReorderProjectionsImageFilter.h.

◆ GeometryPointer

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

Definition at line 64 of file rtkReorderProjectionsImageFilter.h.

◆ GeometryType

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

Definition at line 63 of file rtkReorderProjectionsImageFilter.h.

◆ InputImageType

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

Some convenient type alias.

Definition at line 58 of file rtkReorderProjectionsImageFilter.h.

◆ OutputImageRegionType

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

Definition at line 60 of file rtkReorderProjectionsImageFilter.h.

◆ OutputImageType

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

Definition at line 59 of file rtkReorderProjectionsImageFilter.h.

◆ PermutationType

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

Definition at line 61 of file rtkReorderProjectionsImageFilter.h.

◆ Pointer

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

Definition at line 54 of file rtkReorderProjectionsImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 51 of file rtkReorderProjectionsImageFilter.h.

◆ Superclass

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

Definition at line 53 of file rtkReorderProjectionsImageFilter.h.

Constructor & Destructor Documentation

◆ ReorderProjectionsImageFilter()

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

◆ ~ReorderProjectionsImageFilter()

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

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ GenerateData()

template<class TInputImage , class TOutputImage = TInputImage>
void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GetModifiableOutputGeometry()

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

Get / Set the object pointer to projection geometry

◆ GetNameOfClass()

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

Runtime information support.

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.

◆ GetOutputGeometry()

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

Get / Set the object pointer to projection geometry

◆ GetOutputSignal()

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

Set the input signal

◆ GetPermutation()

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

Get / Set the kind of permutation requested

◆ New()

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

Standard New method.

◆ SetInputGeometry()

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

Get / Set the object pointer to projection geometry

◆ SetInputSignal()

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

Set the input signal

◆ SetPermutation()

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

Get / Set the kind of permutation requested

◆ VerifyPreconditions()

template<class TInputImage , class TOutputImage = TInputImage>
void rtk::ReorderProjectionsImageFilter< TInputImage, TOutputImage >::VerifyPreconditions ( )
overrideprotectedvirtual

Checks that inputs are correctly set.

Reimplemented from itk::ProcessObject.

Member Data Documentation

◆ m_InputGeometry

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

RTK geometry objects

Definition at line 103 of file rtkReorderProjectionsImageFilter.h.

◆ m_InputSignal

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

Input and output signal vectors

Definition at line 107 of file rtkReorderProjectionsImageFilter.h.

◆ m_OutputGeometry

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

Definition at line 104 of file rtkReorderProjectionsImageFilter.h.

◆ m_OutputSignal

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

Definition at line 108 of file rtkReorderProjectionsImageFilter.h.

◆ m_Permutation

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

Permutation type

Definition at line 111 of file rtkReorderProjectionsImageFilter.h.


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