RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | 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

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 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 ()
 
 ~SubSelectImageFilter () override=default
 

Protected Attributes

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

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 >
using rtk::SubSelectImageFilter< ProjectionStackType >::EmptyProjectionStackSourceType = rtk::ConstantImageSource<ProjectionStackType>

Definition at line 84 of file rtkSubSelectImageFilter.h.

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

Definition at line 83 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
using rtk::SubSelectImageFilter< ProjectionStackType >::GeometryType = rtk::ThreeDCircularProjectionGeometry

Definition at line 85 of file rtkSubSelectImageFilter.h.

template<typename ProjectionStackType >
using rtk::SubSelectImageFilter< ProjectionStackType >::PasteFilterType = itk::PasteImageFilter<ProjectionStackType>

Definition at line 82 of file rtkSubSelectImageFilter.h.

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

Definition at line 72 of file rtkSubSelectImageFilter.h.

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

Standard class type alias.

Definition at line 70 of file rtkSubSelectImageFilter.h.

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

Definition at line 71 of file rtkSubSelectImageFilter.h.

Constructor & Destructor Documentation

template<typename ProjectionStackType >
rtk::SubSelectImageFilter< ProjectionStackType >::SubSelectImageFilter ( )
protected
template<typename ProjectionStackType >
rtk::SubSelectImageFilter< ProjectionStackType >::~SubSelectImageFilter ( )
overrideprotecteddefault

Member Function Documentation

template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::GenerateData ( )
overrideprotectedvirtual

Does the real work.

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

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

Reimplemented from itk::ProcessObject.

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 >
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 112 of file rtkSubSelectImageFilter.h.

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

Definition at line 113 of file rtkSubSelectImageFilter.h.

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

Member variables

Definition at line 106 of file rtkSubSelectImageFilter.h.

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

Definition at line 109 of file rtkSubSelectImageFilter.h.

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

Definition at line 107 of file rtkSubSelectImageFilter.h.

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

Definition at line 114 of file rtkSubSelectImageFilter.h.

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

Definition at line 108 of file rtkSubSelectImageFilter.h.


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