18 #ifndef rtkSubSelectImageFilter_h 19 #define rtkSubSelectImageFilter_h 21 #include <itkPasteImageFilter.h> 22 #include <itkExtractImageFilter.h> 63 template <
typename ProjectionStackType>
65 :
public itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType>
72 using Superclass = itk::ImageToImageFilter<ProjectionStackType, ProjectionStackType>;
80 SetInputProjectionStack(
const ProjectionStackType * Projections);
81 typename ProjectionStackType::ConstPointer
82 GetInputProjectionStack();
86 using ExtractFilterType = itk::ExtractImageFilter<ProjectionStackType, ProjectionStackType>;
91 itkGetModifiableObjectMacro(InputGeometry,
GeometryType);
93 itkGetMacro(SelectedProjections, std::vector<bool>);
104 VerifyPreconditions()
const override;
107 GenerateInputRequestedRegion()
override;
110 GenerateOutputInformation()
override;
114 GenerateData()
override;
130 #ifndef ITK_MANUAL_INSTANTIATION 131 # include "rtkSubSelectImageFilter.hxx" GeometryType::Pointer m_InputGeometry
itk::SmartPointer< Self > Pointer
ExtractFilterType::Pointer m_ExtractFilter
Generate an n-dimensional image with constant pixel values.
itk::ExtractImageFilter< ProjectionStackType, ProjectionStackType > ExtractFilterType
Subselects projections from a stack of projections.
std::vector< bool > m_SelectedProjections
PasteFilterType::Pointer m_PasteFilter
itk::SmartPointer< Self > Pointer
Projection geometry for a source and a 2-D flat panel.
itk::ImageToImageFilter< ProjectionStackType, ProjectionStackType > Superclass
GeometryType::Pointer m_OutputGeometry
itk::PasteImageFilter< ProjectionStackType > PasteFilterType
EmptyProjectionStackSourceType::Pointer m_EmptyProjectionStackSource
itk::SmartPointer< Self > Pointer