RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkSubSelectImageFilter.h>
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 GeometryType * | GetInputGeometry () const |
virtual GeometryType * | GetModifiableInputGeometry () |
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 |
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:
Definition at line 64 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::EmptyProjectionStackSourceType = rtk::ConstantImageSource<ProjectionStackType> |
Definition at line 92 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::ExtractFilterType = itk::ExtractImageFilter<ProjectionStackType, ProjectionStackType> |
Definition at line 91 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::GeometryType = rtk::ThreeDCircularProjectionGeometry |
Definition at line 93 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::PasteFilterType = itk::PasteImageFilter<ProjectionStackType> |
Definition at line 90 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::Pointer = itk::SmartPointer<Self> |
Definition at line 73 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::Self = SubSelectImageFilter |
Standard class type alias.
Definition at line 71 of file rtkSubSelectImageFilter.h.
using rtk::SubSelectImageFilter< ProjectionStackType >::Superclass = itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType> |
Definition at line 72 of file rtkSubSelectImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Does the real work.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overrideprotectedvirtual |
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
Reimplemented from itk::ProcessObject.
|
virtual |
ProjectionStackType::ConstPointer rtk::SubSelectImageFilter< ProjectionStackType >::GetInputProjectionStack | ( | ) |
The set of projections from which a subset will be extracted
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in rtk::SelectOneProjectionPerCycleImageFilter< ProjectionStackType >, rtk::PhaseGatingImageFilter< ProjectionStackType >, and rtk::SubSelectFromListImageFilter< ProjectionStackType >.
GeometryType::Pointer rtk::SubSelectImageFilter< ProjectionStackType >::GetOutputGeometry | ( | ) |
|
virtual |
|
virtual |
void rtk::SubSelectImageFilter< ProjectionStackType >::SetInputProjectionStack | ( | const ProjectionStackType * | Projections | ) |
The set of projections from which a subset will be extracted
|
overrideprotectedvirtual |
Checks that inputs are correctly set.
Reimplemented from itk::ProcessObject.
|
private |
Definition at line 128 of file rtkSubSelectImageFilter.h.
|
private |
Definition at line 129 of file rtkSubSelectImageFilter.h.
|
protected |
Member variables
Definition at line 122 of file rtkSubSelectImageFilter.h.
|
protected |
Definition at line 125 of file rtkSubSelectImageFilter.h.
|
protected |
Definition at line 123 of file rtkSubSelectImageFilter.h.
|
private |
Definition at line 130 of file rtkSubSelectImageFilter.h.
|
protected |
Definition at line 124 of file rtkSubSelectImageFilter.h.