18 #ifndef itkSliceBySliceImageFilter_h
19 #define itkSliceBySliceImageFilter_h
73 template<
typename TInputImage,
74 typename TOutputImage,
75 typename TInputFilter = ImageToImageFilter<
76 Image<
typename TInputImage::PixelType, TInputImage::ImageDimension - 1 >,
77 Image<
typename TOutputImage::PixelType, TOutputImage ::ImageDimension - 1 > >,
78 class TOutputFilter =
typename TInputFilter::Superclass,
79 class TInternalInputImage =
typename TInputFilter::InputImageType,
80 class TInternalOutputImage =
typename TOutputFilter::OutputImageType >
129 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
131 static constexpr
unsigned int InternalImageDimension = InternalInputImageType::ImageDimension;
134 itkGetConstMacro(
Dimension,
unsigned int);
140 return this->m_InputFilter;
145 return this->m_InputFilter;
148 void SetInputFilter(InputFilterType *filter);
149 itkGetModifiableObjectMacro(InputFilter, InputFilterType);
151 void SetOutputFilter(OutputFilterType *filter);
152 itkGetModifiableObjectMacro(OutputFilter, OutputFilterType);
164 void VerifyInputInformation() ITKv5_CONST override;
166 void GenerateData() override;
168 void PrintSelf(std::ostream & os,
Indent indent) const override;
170 void GenerateInputRequestedRegion() override;
173 unsigned int m_Dimension;
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkSliceBySliceImageFilter.hxx"
typename TInputImage::IndexType IndexType
typename InternalInputImageType::PixelType InternalInputPixelType
typename TInputImage::RegionType RegionType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Apply a filter or a pipeline slice by slice on an image.
Base class for all process objects that output image data.
constexpr unsigned int Dimension
TInputImage InputImageType
TInternalOutputImage InternalOutputImageType
typename TInputImage::PixelType PixelType
typename InternalInputImageType::PointType InternalPointType
typename TInputImage::OffsetType OffsetType
typename InternalInputImageType::OffsetType InternalOffsetType
typename InputImageType::Pointer InputImagePointer
TInternalInputImage InternalInputImageType
TInputFilter InputFilterType
ImageBaseType::SizeType SizeType
typename InternalInputImageType::IndexType InternalIndexType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
signed long IndexValueType
typename InternalInputImageType::SpacingType InternalSpacingType
typename TOutputImage::PixelType OutputPixelType
const InputFilterType * GetFilter() const
InputFilterType * GetFilter()
typename TInputImage::SizeType SizeType
typename InternalInputImageType::RegionType InternalRegionType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename InternalInputImageType::SizeType InternalSizeType
ImageBaseType::RegionType RegionType
typename InternalOutputImageType::PixelType InternalOutputPixelType
TOutputFilter OutputFilterType