18#ifndef itkSliceBySliceImageFilter_h
19#define itkSliceBySliceImageFilter_h
73template <
typename TInputImage,
74 typename TOutputImage,
75 typename TInputFilter =
76 ImageToImageFilter<Image<
typename TInputImage::PixelType, TInputImage::ImageDimension - 1>,
77 Image<
typename TOutputImage::PixelType, TOutputImage::ImageDimension - 1>>,
79 class TInternalInputImage =
typename TInputFilter::InputImageType,
80 class TInternalOutputImage =
typename TOutputFilter::OutputImageType>
93 using typename Superclass::InputImagePointer;
128 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
130 static constexpr unsigned int InternalImageDimension = InternalInputImageType::ImageDimension;
141 return this->m_InputFilter;
144 const InputFilterType *
147 return this->m_InputFilter;
181 unsigned int m_Dimension{};
191#ifndef ITK_MANUAL_INSTANTIATION
192# include "itkSliceBySliceImageFilter.hxx"
Base class for all process objects that output image data.
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
Control indentation during Print() invocation.
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.
typename TInputImage::PixelType PixelType
~SliceBySliceImageFilter() override=default
typename InternalInputImageType::IndexType InternalIndexType
typename InternalInputImageType::OffsetType InternalOffsetType
typename InternalInputImageType::SizeType InternalSizeType
typename TInputImage::SizeType SizeType
TInternalInputImage InternalInputImageType
TOutputFilter OutputFilterType
typename TInputImage::OffsetType OffsetType
SliceBySliceImageFilter()
InputFilterType * GetFilter()
void GenerateData() override
void VerifyInputInformation() const override
Verifies that the input images occupy the same physical space and the each index is at the same physi...
TInputFilter InputFilterType
typename InternalInputImageType::PointType InternalPointType
void GenerateInputRequestedRegion() override
typename InternalInputImageType::RegionType InternalRegionType
void PrintSelf(std::ostream &os, Indent indent) const override
typename InternalInputImageType::PixelType InternalInputPixelType
const InputFilterType * GetFilter() const
typename TInputImage::RegionType RegionType
typename InternalOutputImageType::PixelType InternalOutputPixelType
typename InternalInputImageType::SpacingType InternalSpacingType
void SetFilter(InputFilterType *filter)
typename TInputImage::IndexType IndexType
typename TOutputImage::PixelType OutputPixelType
void SetOutputFilter(OutputFilterType *filter)
TInternalOutputImage InternalOutputImageType
void SetInputFilter(InputFilterType *filter)
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
constexpr unsigned int Dimension
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....