28#ifndef itkImageToImageFilter_h
29#define itkImageToImageFilter_h
107template <
typename TInputImage,
typename TOutputImage>
125 using typename Superclass::OutputImageRegionType;
126 using typename Superclass::OutputImagePixelType;
136 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
137 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
140 using Superclass::SetInput;
189 itkSetMacro(CoordinateTolerance,
double);
190 itkGetConstMacro(CoordinateTolerance,
double);
198 itkSetMacro(DirectionTolerance,
double);
199 itkGetConstMacro(DirectionTolerance,
double);
367 using Superclass::PushBackInput;
368 using Superclass::PushFrontInput;
376 double m_CoordinateTolerance{};
377 double m_DirectionTolerance{};
381#ifndef ITK_MANUAL_INSTANTIATION
382# include "itkImageToImageFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
Secondary base class of ImageToImageFilter common between templates.
static double GetGlobalDefaultCoordinateTolerance()
static double GetGlobalDefaultDirectionTolerance()
static void SetGlobalDefaultDirectionTolerance(double)
static void SetGlobalDefaultCoordinateTolerance(double)
A Function object used to dispatching to a routine to copy a region (start index and size).
Base class for filters that take an image as input and produce an image as output.
virtual void PushBackInput(const InputImageType *input)
virtual void CallCopyOutputRegionToInputRegion(InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
void PopBackInput() override
TInputImage InputImageType
const InputImageType * GetInput(unsigned int idx) const
void VerifyInputInformation() const override
Verifies that the input images occupy the same physical space and the each index is at the same physi...
typename InputImageType::ConstPointer InputImageConstPointer
virtual void SetInput(unsigned int, const TInputImage *image)
void GenerateInputRequestedRegion() override
~ImageToImageFilter() override=default
typename InputImageType::Pointer InputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void SetInput(const InputImageType *input)
const InputImageType * GetInput() const
virtual void PushFrontInput(const InputImageType *input)
void PopFrontInput() override
typename InputImageType::PixelType InputImagePixelType
virtual void CallCopyInputRegionToOutputRegion(OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....