|
|
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxOpenCLResampler.h>
A resampler based on the itk::GPUResampleImageFilter. The parameters used in this class are:
Resampler: Select this resampler as follows:
(Resampler "OpenCLResampler")
Resampler: Enable the OpenCL resampler as follows:
(OpenCLResamplerUseOpenCL "true")
Definition at line 50 of file elxOpenCLResampler.h.
Inheritance diagram for elastix::OpenCLResampler< TElastix >:Public Types | |
| using | ConstPointer = itk::SmartPointer< const Self > |
| using | GPUInputImagePointer = typename GPUInputImageType::Pointer |
| using | GPUInputImageType = itk::GPUImage< InputImagePixelType, InputImageType::ImageDimension > |
| using | GPUInterpolatorPrecisionType = float |
| using | GPUOutputImageType = itk::GPUImage< OutputImagePixelType, OutputImageType::ImageDimension > |
| using | GPUResamplerPointer = typename GPUResamplerType::Pointer |
| using | GPUResamplerType = itk::GPUResampleImageFilter< GPUInputImageType, GPUOutputImageType, GPUInterpolatorPrecisionType > |
| using | InputImagePixelType = typename InputImageType::PixelType |
| using | OutputImagePixelType = typename OutputImageType::PixelType |
| using | OutputImageRegionType = typename OutputImageType::RegionType |
| using | ParameterMapType = typename ElastixType::ParameterMapType |
| using | Pointer = itk::SmartPointer< Self > |
| using | Self = OpenCLResampler |
| using | Superclass1 = itk::ResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > |
| using | Superclass2 = ResamplerBase< TElastix > |
Public Types inherited from elastix::ResamplerBase< TElastix > | |
| using | CoordRepType = ElastixBase::CoordRepType |
| using | DirectionType = typename ITKBaseType::DirectionType |
| using | ElastixType = TElastix |
| using | IndexType = typename ITKBaseType::IndexType |
| using | InputImageType = typename ElastixType::MovingImageType |
| using | InterpolatorType = typename ITKBaseType::InterpolatorType |
| using | ITKBaseType = itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > |
| using | OriginPointType = typename ITKBaseType::OriginPointType |
| using | OutputImageType = typename ElastixType::MovingImageType |
| using | OutputPixelType = typename ITKBaseType::PixelType |
| using | ParameterMapType = typename ElastixType::ParameterMapType |
| using | RegistrationType = typename ElastixType::RegistrationBaseType |
| using | Self = ResamplerBase |
| using | SizeType = typename ITKBaseType::SizeType |
| using | SpacingType = typename ITKBaseType::SpacingType |
| using | Superclass = BaseComponentSE< TElastix > |
| using | TransformType = typename ITKBaseType::TransformType |
Public Types inherited from elastix::BaseComponentSE< TElastix > | |
| using | ElastixType = TElastix |
| using | RegistrationType = typename ElastixType::RegistrationBaseType |
| using | Self = BaseComponentSE |
| using | Superclass = BaseComponent |
Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from elastix::BaseComponent | |
| template<typename TBaseComponent > | |
| static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
| static void | InitializeElastixExecutable () |
| static bool | IsElastixLibrary () |
Protected Types | |
| using | AdvancedCombinationTransformType = typename itk::AdvancedCombinationTransform< InterpolatorPrecisionType, OutputImageType::ImageDimension > |
| using | GPUExplicitInterpolatorPointer = typename InterpolateCopierType::GPUExplicitInterpolatorPointer |
| using | GPUTransformPointer = typename TransformCopierType::GPUComboTransformPointer |
| using | InterpolateCopierPointer = typename InterpolateCopierType::Pointer |
| using | InterpolateCopierType = typename itk::GPUInterpolatorCopier< OpenCLImageTypes, OpenCLImageDimentions, InterpolateImageFunctionType, float > |
| using | InterpolateImageFunctionType = itk::InterpolateImageFunction< InterpolatorInputImageType, InterpolatorCoordRepType > |
| using | InterpolatorCoordRepType = typename InterpolatorType::CoordRepType |
| using | InterpolatorInputImageType = typename InterpolatorType::InputImageType |
| using | InterpolatorPrecisionType = typename ResamplerBase< TElastix >::CoordRepType |
| using | TransformCopierPointer = typename TransformCopierType::Pointer |
| using | TransformCopierType = typename itk::GPUAdvancedCombinationTransformCopier< OpenCLImageTypes, OpenCLImageDimentions, AdvancedCombinationTransformType, float > |
Protected Member Functions | |
| void | BeforeGenerateData () |
| void | GenerateData () override |
| OpenCLResampler () | |
| ~OpenCLResampler () override=default | |
Protected Member Functions inherited from elastix::ResamplerBase< TElastix > | |
| ResamplerBase ()=default | |
| virtual void | SetComponents () |
| ~ResamplerBase () override=default | |
Protected Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
| BaseComponentSE ()=default | |
| ~BaseComponentSE () override=default | |
Protected Member Functions inherited from elastix::BaseComponent | |
| BaseComponent ()=default | |
| virtual | ~BaseComponent ()=default |
Private Member Functions | |
| ParameterMapType | CreateDerivedTransformParameterMap () const override |
| void | ReportToLog () |
| void | SwitchingToCPUAndReport (const bool configError) |
Additional Inherited Members | |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
| Configuration::ConstPointer | m_Configuration {} |
| itk::WeakPointer< TElastix > | m_Elastix {} |
| RegistrationType * | m_Registration {} |
|
protected |
Definition at line 136 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 67 of file elxOpenCLResampler.h.
|
protected |
Definition at line 153 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::GPUInputImagePointer = typename GPUInputImageType::Pointer |
Definition at line 94 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::GPUInputImageType = itk::GPUImage<InputImagePixelType, InputImageType::ImageDimension> |
GPU Typedefs for GPU image and GPU resampler.
Definition at line 93 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::GPUInterpolatorPrecisionType = float |
Definition at line 96 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::GPUOutputImageType = itk::GPUImage<OutputImagePixelType, OutputImageType::ImageDimension> |
Definition at line 95 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::GPUResamplerPointer = typename GPUResamplerType::Pointer |
Definition at line 100 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::GPUResamplerType = itk::GPUResampleImageFilter<GPUInputImageType, GPUOutputImageType, GPUInterpolatorPrecisionType> |
Definition at line 98 of file elxOpenCLResampler.h.
|
protected |
Definition at line 143 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 86 of file elxOpenCLResampler.h.
|
protected |
Definition at line 152 of file elxOpenCLResampler.h.
|
protected |
Definition at line 150 of file elxOpenCLResampler.h.
|
protected |
Definition at line 148 of file elxOpenCLResampler.h.
|
protected |
Definition at line 147 of file elxOpenCLResampler.h.
|
protected |
Interpolator copier
Definition at line 146 of file elxOpenCLResampler.h.
|
protected |
Transform copier
Definition at line 135 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 89 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 90 of file elxOpenCLResampler.h.
| using elastix::ResamplerBase< TElastix >::ParameterMapType = typename ElastixType::ParameterMapType |
Typedef that is used in the elastix dll version.
Definition at line 114 of file elxResamplerBase.h.
| using elastix::OpenCLResampler< TElastix >::Pointer = itk::SmartPointer<Self> |
Definition at line 66 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::Self = OpenCLResampler |
Standard ITK-stuff.
Definition at line 60 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::Superclass1 = itk::ResampleImageFilter<typename ResamplerBase<TElastix>::InputImageType, typename ResamplerBase<TElastix>::OutputImageType, typename ResamplerBase<TElastix>::CoordRepType> |
Definition at line 62 of file elxOpenCLResampler.h.
| using elastix::OpenCLResampler< TElastix >::Superclass2 = ResamplerBase<TElastix> |
Definition at line 65 of file elxOpenCLResampler.h.
|
protected |
Definition at line 142 of file elxOpenCLResampler.h.
|
protected |
Definition at line 138 of file elxOpenCLResampler.h.
|
protected |
The constructor.
|
overrideprotecteddefault |
The destructor.
|
protected |
This method performs all configuration for GPU resampler.
|
overridevirtual |
Do some things before registration.
Reimplemented from elastix::BaseComponent.
|
overrideprivatevirtual |
Creates a map of the parameters specific for this (derived) resampler type.
Reimplemented from elastix::ResamplerBase< TElastix >.
| elastix::OpenCLResampler< TElastix >::elxClassNameMacro | ( | "OpenCLResampler< TElastix >" | ) |
Name of this class. Use this name in the parameter file to select this specific resampler.
example: (Resampler "OpenCLResampler")
|
overrideprotected |
Executes GPU resampler.
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::ResamplerBase< TElastix >.
| elastix::OpenCLResampler< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | OpenCLResampler< TElastix > | ) |
|
static |
Method for creation through the object factory.
|
overridevirtual |
Function to read parameters from a file.
Reimplemented from elastix::ResamplerBase< TElastix >.
|
private |
Helper method to report to elastix log.
|
override |
Set the interpolator.
|
override |
Set the transform.
|
private |
Helper method to report switching to CPU mode.
|
private |
Definition at line 156 of file elxOpenCLResampler.h.
|
private |
Definition at line 175 of file elxOpenCLResampler.h.
|
private |
Definition at line 172 of file elxOpenCLResampler.h.
|
private |
Definition at line 174 of file elxOpenCLResampler.h.
|
private |
Definition at line 173 of file elxOpenCLResampler.h.
|
private |
Definition at line 171 of file elxOpenCLResampler.h.
|
private |
Definition at line 170 of file elxOpenCLResampler.h.
|
private |
Definition at line 176 of file elxOpenCLResampler.h.
Generated on 1739326392 for elastix by 1.9.8 |