18#ifndef itkPasteImageFilter_h
19#define itkPasteImageFilter_h
56template <
typename TInputImage,
typename TSourceImage = TInputImage,
typename TOutputImage = TInputImage>
75 using typename Superclass::InputImagePointer;
76 using typename Superclass::OutputImagePointer;
107 static constexpr unsigned int InputImageDimension = InputImageType::ImageDimension;
108 static constexpr unsigned int OutputImageDimension = OutputImageType::ImageDimension;
109 static constexpr unsigned int SourceImageDimension = SourceImageType::ImageDimension;
213 static_assert(InputImageDimension >= SourceImageDimension,
214 "The source image dimension is greater than the input image.");
218#ifndef ITK_MANUAL_INSTANTIATION
219# include "itkPasteImageFilter.hxx"
Base class for filters that take an image as input and overwrite that image as the output.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Paste an image (or a constant value) into another image.
itkGetInputMacro(DestinationImage, InputImageType)
itkSetInputMacro(DestinationImage, InputImageType)
InputImageSizeType GetPresumedDestinationSize() const
typename OutputImageType::PixelType OutputImagePixelType
void VerifyInputInformation() const override
typename SourceImageType::ConstPointer SourceImageConstPointer
typename InputImageType::IndexType InputImageIndexType
~PasteImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename SourceImageType::SizeType SourceImageSizeType
TSourceImage SourceImageType
typename SourceImageType::IndexType SourceImageIndexType
typename InputImageType::RegionType InputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
bool CanRunInPlace() const override
typename OutputImageType::IndexType OutputImageIndexType
typename InputImageType::PixelType InputImagePixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename InputImageType::SizeType InputImageSizeType
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
TInputImage InputImageType
itkGetInputMacro(SourceImage, SourceImageType)
typename OutputImageType::SizeType OutputImageSizeType
typename SourceImageType::RegionType SourceImageRegionType
itkSetInputMacro(SourceImage, SourceImageType)
TOutputImage OutputImageType
typename SourceImageType::Pointer SourceImagePointer
void GenerateInputRequestedRegion() override
typename SourceImageType::PixelType SourceImagePixelType
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....