RTK  2.6.0
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 ()
 
GeometryType::Pointer GetOutputGeometry ()
 
virtual std::vector< bool > GetSelectedProjections ()
 
virtual void SetInputGeometry (GeometryType *_arg)
 
virtual const char * GetNameOfClass () const
 
void SetInputProjectionStack (const ProjectionStackType *Projections)
 
ProjectionStackType::ConstPointer GetInputProjectionStack ()
 

Protected Member Functions

void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 SubSelectImageFilter ()
 
void VerifyPreconditions () const override
 
 ~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:

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

Definition at line 64 of file rtkSubSelectImageFilter.h.

Member Typedef Documentation

◆ EmptyProjectionStackSourceType

template<typename ProjectionStackType >
using rtk::SubSelectImageFilter< ProjectionStackType >::EmptyProjectionStackSourceType = rtk::ConstantImageSource<ProjectionStackType>

Definition at line 92 of file rtkSubSelectImageFilter.h.

◆ ExtractFilterType

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

Definition at line 91 of file rtkSubSelectImageFilter.h.

◆ GeometryType

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

Definition at line 93 of file rtkSubSelectImageFilter.h.

◆ PasteFilterType

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

Definition at line 90 of file rtkSubSelectImageFilter.h.

◆ Pointer

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

Definition at line 73 of file rtkSubSelectImageFilter.h.

◆ Self

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

Standard class type alias.

Definition at line 71 of file rtkSubSelectImageFilter.h.

◆ Superclass

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

Definition at line 72 of file rtkSubSelectImageFilter.h.

Constructor & Destructor Documentation

◆ SubSelectImageFilter()

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

◆ ~SubSelectImageFilter()

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

Member Function Documentation

◆ GenerateData()

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

Does the real work.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GenerateInputRequestedRegion()

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

Reimplemented from itk::ProcessObject.

◆ GenerateOutputInformation()

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

Reimplemented from itk::ProcessObject.

◆ GetInputGeometry()

template<typename ProjectionStackType >
virtual const GeometryType* rtk::SubSelectImageFilter< ProjectionStackType >::GetInputGeometry ( ) const
virtual

◆ GetInputProjectionStack()

template<typename ProjectionStackType >
ProjectionStackType::ConstPointer rtk::SubSelectImageFilter< ProjectionStackType >::GetInputProjectionStack ( )

The set of projections from which a subset will be extracted

◆ GetModifiableInputGeometry()

template<typename ProjectionStackType >
virtual GeometryType* rtk::SubSelectImageFilter< ProjectionStackType >::GetModifiableInputGeometry ( )
virtual

◆ GetNameOfClass()

template<typename ProjectionStackType >
virtual const char* rtk::SubSelectImageFilter< ProjectionStackType >::GetNameOfClass ( ) const
virtual

◆ GetOutputGeometry()

template<typename ProjectionStackType >
GeometryType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::GetOutputGeometry ( )

◆ GetSelectedProjections()

template<typename ProjectionStackType >
virtual std::vector<bool> rtk::SubSelectImageFilter< ProjectionStackType >::GetSelectedProjections ( )
virtual

◆ SetInputGeometry()

template<typename ProjectionStackType >
virtual void rtk::SubSelectImageFilter< ProjectionStackType >::SetInputGeometry ( GeometryType _arg)
virtual

◆ SetInputProjectionStack()

template<typename ProjectionStackType >
void rtk::SubSelectImageFilter< ProjectionStackType >::SetInputProjectionStack ( const ProjectionStackType *  Projections)

The set of projections from which a subset will be extracted

◆ VerifyPreconditions()

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

Checks that inputs are correctly set.

Reimplemented from itk::ProcessObject.

Member Data Documentation

◆ m_EmptyProjectionStackSource

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

Definition at line 128 of file rtkSubSelectImageFilter.h.

◆ m_ExtractFilter

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

Definition at line 129 of file rtkSubSelectImageFilter.h.

◆ m_InputGeometry

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

Member variables

Definition at line 122 of file rtkSubSelectImageFilter.h.

◆ m_NbSelectedProjs

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

Definition at line 125 of file rtkSubSelectImageFilter.h.

◆ m_OutputGeometry

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

Definition at line 123 of file rtkSubSelectImageFilter.h.

◆ m_PasteFilter

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

Definition at line 130 of file rtkSubSelectImageFilter.h.

◆ m_SelectedProjections

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

Definition at line 124 of file rtkSubSelectImageFilter.h.


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