|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSliceBySliceImageFilter_h
19 #define itkSliceBySliceImageFilter_h
73 template <
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;
133 itkGetConstMacro(
Dimension,
unsigned int);
141 return this->m_InputFilter;
144 const InputFilterType *
147 return this->m_InputFilter;
151 SetInputFilter(InputFilterType * filter);
152 itkGetModifiableObjectMacro(InputFilter, InputFilterType);
155 SetOutputFilter(OutputFilterType * filter);
156 itkGetModifiableObjectMacro(OutputFilter, OutputFilterType);
169 VerifyInputInformation()
const override;
172 GenerateData()
override;
175 PrintSelf(std::ostream & os,
Indent indent)
const override;
178 GenerateInputRequestedRegion()
override;
181 unsigned int m_Dimension{};
191 #ifndef ITK_MANUAL_INSTANTIATION
192 # include "itkSliceBySliceImageFilter.hxx"
SmartPointer< Self > Pointer
typename InternalInputImageType::PointType InternalPointType
typename TInputImage::RegionType RegionType
typename InternalInputImageType::PixelType InternalInputPixelType
typename InternalOutputImageType::PixelType InternalOutputPixelType
ImageBaseType::PointType PointType
typename InternalInputImageType::IndexType InternalIndexType
ImageBaseType::SizeType SizeType
typename InternalInputImageType::OffsetType InternalOffsetType
Control indentation during Print() invocation.
typename TInputImage::IndexType IndexType
TOutputFilter OutputFilterType
typename InternalInputImageType::RegionType InternalRegionType
ImageBaseType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Base class for all process objects that output image data.
typename InternalInputImageType::SizeType InternalSizeType
ImageBaseType::RegionType RegionType
typename TOutputImage::PixelType OutputPixelType
InputFilterType * GetFilter()
TInputImage InputImageType
TInternalInputImage InternalInputImageType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
TInputFilter InputFilterType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename TInputImage::SizeType SizeType
typename InternalInputImageType::SpacingType InternalSpacingType
TInternalOutputImage InternalOutputImageType
const InputFilterType * GetFilter() const
Apply a filter or a pipeline slice by slice on an image.
constexpr unsigned int Dimension
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
typename TInputImage::OffsetType OffsetType
typename TInputImage::PixelType PixelType
TOutputImage OutputImageType