Go to the documentation of this file.
18 #ifndef __elxOpenCLResampler_h
19 #define __elxOpenCLResampler_h
22 #include "elxOpenCLSupportedImageTypes.h"
49 template<
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"
186 #endif // end #ifndef __elxOpenCLResampler_h
itk::GPUAdvancedCombinationTransformCopier< OpenCLImageTypes, OpenCLImageDimentions, AdvancedCombinationTransformType, float > TransformCopierType
InterpolateCopierPointer m_InterpolatorCopier
itk::GPUImage< OutputImagePixelType, OutputImageType::ImageDimension > GPUOutputImageType
InputImageType::PixelType InputImagePixelType
void BeforeGenerateData(void)
ElastixType::CoordRepType CoordRepType
A helper class which creates an GPU interpolator which is perfect copy of the CPU interpolator.
A resampler based on the itk::GPUResampleImageFilter. The parameters used in this class are:
Templated n-dimensional image class for the GPU.
itk::AdvancedCombinationTransform< InterpolatorPrecisionType, OutputImageType::ImageDimension > AdvancedCombinationTransformType
elxClassNameMacro("OpenCLResampler")
TransformCopierType::Pointer TransformCopierPointer
Superclass1::TransformType TransformType
Superclass1::OutputImageType OutputImageType
itk::GPUInterpolatorCopier< OpenCLImageTypes, OpenCLImageDimentions, InterpolateImageFunctionType, float > InterpolateCopierType
virtual void SetInterpolator(InterpolatorType *_arg)
Superclass1::InterpolatorType InterpolatorType
itk::SmartPointer< Self > Pointer
virtual void BeforeRegistration(void)
virtual void SetTransform(const TransformType *_arg)
InterpolatorType::CoordRepType InterpolatorCoordRepType
GPU version of ResampleImageFilter.
TransformCopierType::GPUComboTransformPointer GPUTransformPointer
virtual void ReadFromFile(void)
bool m_GPUResamplerCreated
InterpolateCopierType::GPUExplicitInterpolatorPointer GPUExplicitInterpolatorPointer
itk::ResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > Superclass1
ElastixType::MovingImageType OutputImageType
itk::GPUResampleImageFilter< GPUInputImageType, GPUOutputImageType, GPUInterpolatorPrecisionType > GPUResamplerType
GPUResamplerPointer m_GPUResampler
virtual void GenerateData(void)
itk::SmartPointer< const Self > ConstPointer
GPUExplicitInterpolatorType::Pointer GPUExplicitInterpolatorPointer
itk::InterpolateImageFunction< InterpolatorInputImageType, InterpolatorCoordRepType > InterpolateImageFunctionType
OutputImageType::RegionType OutputImageRegionType
InterpolateCopierType::Pointer InterpolateCopierPointer
GPUInputImageType::Pointer GPUInputImagePointer
OpenCLResampler(const Self &)
virtual ~OpenCLResampler()
void SwitchingToCPUAndReport(const bool configError)
ResamplerBase< TElastix > Superclass2
itk::GPUImage< InputImagePixelType, InputImageType::ImageDimension > GPUInputImageType
float GPUInterpolatorPrecisionType
InterpolatorType::InputImageType InterpolatorInputImageType
TransformCopierPointer m_TransformCopier
GPUResamplerType::Pointer GPUResamplerPointer
OutputImageType::PixelType OutputImagePixelType
virtual void WriteToFile(void) const
Superclass1::InputImageType InputImageType
ResamplerBase< TElastix >::CoordRepType InterpolatorPrecisionType
void operator=(const Self &)
ElastixType::MovingImageType InputImageType
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|