RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
rtk::SubSelectImageFilter< ProjectionStackType > Class Template Reference

#include <rtkSubSelectImageFilter.h>

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

Public Types

typedef rtk::ConstantImageSource< ProjectionStackType > EmptyProjectionStackSourceType
 
typedef itk::ExtractImageFilter< ProjectionStackType, ProjectionStackType > ExtractFilterType
 
typedef rtk::ThreeDCircularProjectionGeometry GeometryType
 
typedef itk::PasteImageFilter< ProjectionStackType > PasteFilterType
 
typedef itk::SmartPointer< SelfPointer
 
typedef SubSelectImageFilter Self
 
typedef itk::ImageToImageFilter< ProjectionStackType, ProjectionStackType > Superclass
 

Public Member Functions

virtual const GeometryTypeGetInputGeometry () const
 
virtual GeometryTypeGetModifiableInputGeometry ()
 
virtual const char * GetNameOfClass () const
 
GeometryType::Pointer GetOutputGeometry ()
 
virtual std::vector< bool > GetSelectedProjections ()
 
virtual void SetInputGeometry (GeometryType *_arg)
 
void SetInputProjectionStack (const ProjectionStackType *Projections)
 
ProjectionStackType::ConstPointer GetInputProjectionStack ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 SubSelectImageFilter ()
 
virtual ~SubSelectImageFilter () override
 

Protected Attributes

GeometryType::Pointer m_InputGeometry
 
int m_NbSelectedProjs
 
GeometryType::Pointer m_OutputGeometry
 
std::vector< bool > m_SelectedProjections
 

Private Member Functions

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

Private Attributes

EmptyProjectionStackSourceType::Pointer m_EmptyProjectionStackSource
 
ExtractFilterType::Pointer m_ExtractFilter
 
PasteFilterType::Pointer m_PasteFilter
 

Detailed Description

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

Subselects projections from a stack of projections.

This abstract class takes as input a stack of projections and the corresponding geometry and creates an output stack of projections and its corresponding geometry using the two members m_NbSelectedProjs and m_SelectedProjections. The members must be set before GenerateOutputInformation is called. Streaming of the output is possible. The output is produced from the following mini-pipeline:

dot_inline_dotgraph_28.png
Test:
rtkadmmtotalvariationtest.cxx, rtkselectoneprojpercycletest.cxx
Author
Simon Rit

Definition at line 64 of file rtkSubSelectImageFilter.h.

Member Typedef Documentation

template<typename ProjectionStackType >
typedef rtk::ConstantImageSource<ProjectionStackType> rtk::SubSelectImageFilter< ProjectionStackType >::EmptyProjectionStackSourceType

Definition at line 82 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
typedef itk::ExtractImageFilter<ProjectionStackType, ProjectionStackType> rtk::SubSelectImageFilter< ProjectionStackType >::ExtractFilterType

Definition at line 81 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
typedef rtk::ThreeDCircularProjectionGeometry rtk::SubSelectImageFilter< ProjectionStackType >::GeometryType

Definition at line 83 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
typedef itk::PasteImageFilter<ProjectionStackType> rtk::SubSelectImageFilter< ProjectionStackType >::PasteFilterType

Definition at line 80 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
typedef itk::SmartPointer< Self > rtk::SubSelectImageFilter< ProjectionStackType >::Pointer

Definition at line 70 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
typedef SubSelectImageFilter rtk::SubSelectImageFilter< ProjectionStackType >::Self

Standard class typedefs.

Definition at line 68 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
typedef itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType> rtk::SubSelectImageFilter< ProjectionStackType >::Superclass

Definition at line 69 of file rtkSubSelectImageFilter.h.

Constructor & Destructor Documentation

template<typename ProjectionStackType >
rtk::SubSelectImageFilter< ProjectionStackType >::SubSelectImageFilter ( )
protected
template<typename ProjectionStackType >
virtual rtk::SubSelectImageFilter< ProjectionStackType >::~SubSelectImageFilter ( )
inlineoverrideprotectedvirtual
template<typename ProjectionStackType >
rtk::SubSelectImageFilter< ProjectionStackType >::SubSelectImageFilter ( const Self )
private

Member Function Documentation

template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::GenerateData ( )
overrideprotected
template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::GenerateInputRequestedRegion ( )
overrideprotected
template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::GenerateOutputInformation ( )
overrideprotected
template<typename ProjectionStackType >
virtual const GeometryType* rtk::SubSelectImageFilter< ProjectionStackType >::GetInputGeometry ( ) const
virtual
template<typename ProjectionStackType >
ProjectionStackType::ConstPointer rtk::SubSelectImageFilter< ProjectionStackType >::GetInputProjectionStack ( )

The set of projections from which a subset will be extracted

template<typename ProjectionStackType >
virtual GeometryType* rtk::SubSelectImageFilter< ProjectionStackType >::GetModifiableInputGeometry ( )
virtual
template<typename ProjectionStackType >
virtual const char* rtk::SubSelectImageFilter< ProjectionStackType >::GetNameOfClass ( ) const
virtual
template<typename ProjectionStackType >
GeometryType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::GetOutputGeometry ( )
template<typename ProjectionStackType >
virtual std::vector<bool> rtk::SubSelectImageFilter< ProjectionStackType >::GetSelectedProjections ( )
virtual
template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::operator= ( const Self )
private
template<typename ProjectionStackType >
virtual void rtk::SubSelectImageFilter< ProjectionStackType >::SetInputGeometry ( GeometryType _arg)
virtual
template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::SetInputProjectionStack ( const ProjectionStackType *  Projections)

The set of projections from which a subset will be extracted

Member Data Documentation

template<typename ProjectionStackType >
EmptyProjectionStackSourceType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::m_EmptyProjectionStackSource
private

Definition at line 113 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
ExtractFilterType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::m_ExtractFilter
private

Definition at line 114 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
GeometryType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::m_InputGeometry
protected

Member variables

Definition at line 104 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
int rtk::SubSelectImageFilter< ProjectionStackType >::m_NbSelectedProjs
protected

Definition at line 107 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
GeometryType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::m_OutputGeometry
protected

Definition at line 105 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
PasteFilterType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::m_PasteFilter
private

Definition at line 115 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
std::vector<bool> rtk::SubSelectImageFilter< ProjectionStackType >::m_SelectedProjections
protected

Definition at line 106 of file rtkSubSelectImageFilter.h.


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