18#ifndef __elxOpenCLResampler_h
19#define __elxOpenCLResampler_h
22#include "elxOpenCLSupportedImageTypes.h"
49template<
class TElastix >
51 public itk::ResampleImageFilter<
52 typename ResamplerBase< TElastix >::InputImageType,
53 typename ResamplerBase< TElastix >::OutputImageType,
54 typename ResamplerBase< TElastix >::CoordRepType >,
62 typedef itk::ResampleImageFilter<
67 typedef itk::SmartPointer< Self >
Pointer;
148 typedef itk::InterpolateImageFunction< InterpolatorInputImageType, InterpolatorCoordRepType >
182#ifndef ITK_MANUAL_INSTANTIATION
183#include "elxOpenCLResampler.hxx"
A resampler based on the itk::GPUResampleImageFilter. The parameters used in this class are:
itk::GPUImage< InputImagePixelType, InputImageType::ImageDimension > GPUInputImageType
ResamplerBase< TElastix >::CoordRepType InterpolatorPrecisionType
bool m_GPUResamplerCreated
InterpolatorType::CoordRepType InterpolatorCoordRepType
itk::AdvancedCombinationTransform< InterpolatorPrecisionType, OutputImageType::ImageDimension > AdvancedCombinationTransformType
GPUInputImageType::Pointer GPUInputImagePointer
itk::GPUAdvancedCombinationTransformCopier< OpenCLImageTypes, OpenCLImageDimentions, AdvancedCombinationTransformType, float > TransformCopierType
itk::ResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > Superclass1
virtual ~OpenCLResampler()
TransformCopierType::Pointer TransformCopierPointer
void operator=(const Self &)
virtual void ReadFromFile(void)
Superclass1::InputImageType InputImageType
TransformCopierPointer m_TransformCopier
itk::GPUInterpolatorCopier< OpenCLImageTypes, OpenCLImageDimentions, InterpolateImageFunctionType, float > InterpolateCopierType
float GPUInterpolatorPrecisionType
void SwitchingToCPUAndReport(const bool configError)
InputImageType::PixelType InputImagePixelType
GPUResamplerType::Pointer GPUResamplerPointer
TransformCopierType::GPUComboTransformPointer GPUTransformPointer
Superclass1::InterpolatorType InterpolatorType
elxClassNameMacro("OpenCLResampler")
void BeforeGenerateData(void)
Superclass1::OutputImageType OutputImageType
virtual void SetInterpolator(InterpolatorType *_arg)
InterpolateCopierType::Pointer InterpolateCopierPointer
GPUResamplerPointer m_GPUResampler
itk::InterpolateImageFunction< InterpolatorInputImageType, InterpolatorCoordRepType > InterpolateImageFunctionType
InterpolatorType::InputImageType InterpolatorInputImageType
virtual void BeforeRegistration(void)
Superclass1::TransformType TransformType
virtual void WriteToFile(void) const
virtual void SetTransform(const TransformType *_arg)
itk::SmartPointer< const Self > ConstPointer
InterpolateCopierType::GPUExplicitInterpolatorPointer GPUExplicitInterpolatorPointer
itk::GPUImage< OutputImagePixelType, OutputImageType::ImageDimension > GPUOutputImageType
OpenCLResampler(const Self &)
InterpolateCopierPointer m_InterpolatorCopier
OutputImageType::PixelType OutputImagePixelType
OutputImageType::RegionType OutputImageRegionType
ResamplerBase< TElastix > Superclass2
itk::SmartPointer< Self > Pointer
virtual void GenerateData(void)
itk::GPUResampleImageFilter< GPUInputImageType, GPUOutputImageType, GPUInterpolatorPrecisionType > GPUResamplerType
ElastixType::CoordRepType CoordRepType
ElastixType::MovingImageType InputImageType
ElastixType::MovingImageType OutputImageType
Templated n-dimensional image class for the GPU.
A helper class which creates an GPU interpolator which is perfect copy of the CPU interpolator.
GPUExplicitInterpolatorType::Pointer GPUExplicitInterpolatorPointer
GPU version of ResampleImageFilter.