18#ifndef itkResampleImageFilter_h
19#define itkResampleImageFilter_h
86template <
typename TInputImage,
87 typename TOutputImage,
88 typename TInterpolatorPrecisionType = double,
89 typename TTransformPrecisionType = TInterpolatorPrecisionType>
116 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
119 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
121#if !defined(ITK_LEGACY_REMOVE)
122 static constexpr unsigned int ImageDimension = OutputImageDimension;
226 itkGetConstReferenceMacro(DefaultPixelValue,
PixelType);
277 itkSetMacro(UseReferenceImage,
bool);
278 itkBooleanMacro(UseReferenceImage);
279 itkGetConstMacro(UseReferenceImage,
bool);
282#ifdef ITK_USE_CONCEPT_CHECKING
365 template <
typename TComponent>
372 template <
typename TPixel>
391 bool m_UseReferenceImage{
false };
395#ifndef ITK_MANUAL_INSTANTIATION
396# include "itkResampleImageFilter.hxx"
A templated class holding a point in n-Dimensional image space.
Decorates any subclass of itkObject with a DataObject API.
Traits class used to by ConvertPixels to convert blocks of pixels.
typename PixelType::ComponentType ComponentType
NumericTraits< TInputImage::PixelType >::RealType OutputType
Base class for templated image classes.
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::ConstPointer InputImageConstPointer
typename InputImageType::Pointer InputImagePointer
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
Base class for all image interpolators.
Linearly interpolate an image at specified positions.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Resample an image via a coordinate transform.
ModifiedTimeType GetMTime() const override
typename InterpolatorType::OutputType InterpolatorOutputType
typename DecoratedTransformType::Pointer DecoratedTransformPointer
virtual void NonlinearThreadedGenerateData(const OutputImageRegionType &outputRegionForThread)
typename LinearInterpolatorType::Pointer LinearInterpolatorPointerType
typename InterpolatorConvertType::ComponentType ComponentType
typename TOutputImage::PixelType PixelType
void SetOutputParametersFromImage(const ImageBaseType *image)
static PixelType CastPixelWithBoundsChecking(const TPixel value)
void AfterThreadedGenerateData() override
virtual void LinearThreadedGenerateData(const OutputImageRegionType &outputRegionForThread)
typename ExtrapolatorType::Pointer ExtrapolatorPointerType
static PixelType CastPixelWithBoundsChecking(const ComponentType value)
void GenerateInputRequestedRegion() override
typename TOutputImage::PointType OutputPointType
void VerifyPreconditions() const override
Verifies that the process object has been configured correctly, that all required inputs are set,...
itkGetInputMacro(ReferenceImage, ReferenceImageBaseType)
void BeforeThreadedGenerateData() override
typename TOutputImage::SpacingType SpacingType
typename TOutputImage::DirectionType DirectionType
typename TOutputImage::PointType OriginPointType
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateOutputInformation() override
~ResampleImageFilter() override=default
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
virtual void SetOutputOrigin(const double *origin)
void InitializeTransform()
typename PixelConvertType::ComponentType PixelComponentType
typename InterpolatorType::PointType InputPointType
typename TransformType::ConstPointer TransformPointerType
virtual void SetOutputSpacing(const double *spacing)
void VerifyInputInformation() const override
static itkLegacyMacro(virtual PixelType CastPixelWithBoundsChecking(const InterpolatorOutputType value, const ComponentType minComponent, const ComponentType maxComponent) const ;) private PixelComponentType CastComponentWithBoundsChecking(const TComponent value)
typename TOutputImage::IndexType IndexType
typename TInputImage::PixelType InputPixelType
typename InterpolatorType::Pointer InterpolatorPointerType
itkSetInputMacro(ReferenceImage, ReferenceImageBaseType)
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
ImageBaseType::DirectionType DirectionType
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType ModifiedTimeType