#include <itkGPUInterpolatorCopier.h>
A helper class which creates an GPU interpolator which is perfect copy of the CPU interpolator.
This class is NOT a filter. Although it has an API similar to a filter, this class is not intended to be used in a pipeline. Instead, the typical use will be like it is illustrated in the following code:
Note that the Update() method must be called explicitly in the filter that provides the input to the GPUInterpolatorCopier object. This is needed because the GPUInterpolatorCopier is not a pipeline filter.
Definition at line 65 of file itkGPUInterpolatorCopier.h.
Public Types | |
using | ConstPointer = SmartPointer<const Self> |
using | CPUCoordRepType = typename CPUInterpolatorType::CoordRepType |
using | CPUInputImagePixelType = typename CPUInputImageType::PixelType |
using | CPUInputImageType = typename CPUInterpolatorType::InputImageType |
using | CPUInterpolatorConstPointer = typename CPUInterpolatorType::ConstPointer |
using | CPUInterpolatorType = TInterpolator |
using | GPUCoordRepType = TOutputCoordRep |
using | GPUExplicitInterpolatorConstPointer = typename GPUExplicitInterpolatorType::ConstPointer |
using | GPUExplicitInterpolatorPointer = typename GPUExplicitInterpolatorType::Pointer |
using | GPUExplicitInterpolatorType = InterpolateImageFunction<GPUInputImageType, GPUCoordRepType> |
using | GPUInputImageType = itk::GPUImage<CPUInputImagePixelType, CPUInputImageType::ImageDimension> |
using | GPUInterpolatorConstPointer = typename GPUInterpolatorType::ConstPointer |
using | GPUInterpolatorPointer = typename GPUInterpolatorType::Pointer |
using | GPUInterpolatorType = InterpolateImageFunction<CPUInputImageType, GPUCoordRepType> |
using | Pointer = SmartPointer<Self> |
using | Self = GPUInterpolatorCopier |
using | Superclass = Object |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | GetExplicitMode () const |
ITK_DISALLOW_COPY_AND_MOVE (GPUInterpolatorCopier) | |
itkGetModifiableObjectMacro (ExplicitOutput, GPUExplicitInterpolatorType) | |
itkGetModifiableObjectMacro (Output, GPUInterpolatorType) | |
virtual void | SetExplicitMode (bool _arg) |
virtual void | SetInputInterpolator (const CPUInterpolatorType *_arg) |
void | Update () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
GPUInterpolatorCopier () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GPUInterpolatorCopier () override=default | |
Private Attributes | |
bool | m_ExplicitMode {} |
GPUExplicitInterpolatorPointer | m_ExplicitOutput {} |
CPUInterpolatorConstPointer | m_InputInterpolator {} |
ModifiedTimeType | m_InternalTransformTime {} |
GPUInterpolatorPointer | m_Output {} |
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::ConstPointer = SmartPointer<const Self> |
Definition at line 74 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::CPUCoordRepType = typename CPUInterpolatorType::CoordRepType |
Definition at line 86 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::CPUInputImagePixelType = typename CPUInputImageType::PixelType |
Typedef's for explicit GPU interpolator definitions.
Definition at line 95 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::CPUInputImageType = typename CPUInterpolatorType::InputImageType |
Definition at line 85 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::CPUInterpolatorConstPointer = typename CPUInterpolatorType::ConstPointer |
Definition at line 84 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::CPUInterpolatorType = TInterpolator |
Type CPU definitions for the interpolator.
Definition at line 83 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUCoordRepType = TOutputCoordRep |
Definition at line 87 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUExplicitInterpolatorConstPointer = typename GPUExplicitInterpolatorType::ConstPointer |
Definition at line 99 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUExplicitInterpolatorPointer = typename GPUExplicitInterpolatorType::Pointer |
Definition at line 98 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUExplicitInterpolatorType = InterpolateImageFunction<GPUInputImageType, GPUCoordRepType> |
Definition at line 97 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUInputImageType = itk::GPUImage<CPUInputImagePixelType, CPUInputImageType::ImageDimension> |
Definition at line 96 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUInterpolatorConstPointer = typename GPUInterpolatorType::ConstPointer |
Definition at line 92 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUInterpolatorPointer = typename GPUInterpolatorType::Pointer |
Definition at line 91 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::GPUInterpolatorType = InterpolateImageFunction<CPUInputImageType, GPUCoordRepType> |
Typedef's for non explicit GPU interpolator definitions.
Definition at line 90 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::Pointer = SmartPointer<Self> |
Definition at line 73 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::Self = GPUInterpolatorCopier |
Standard class typedefs.
Definition at line 71 of file itkGPUInterpolatorCopier.h.
using itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::Superclass = Object |
Definition at line 72 of file itkGPUInterpolatorCopier.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get/Set the explicit mode. The default is true. If the explicit mode has been set to false that means that early in the code the factories has been created. ObjectFactoryBase::RegisterFactory( GPUNearestNeighborInterpolateImageFunctionFactory::New() ); ObjectFactoryBase::RegisterFactory( GPULinearInterpolateImageFunctionFactory::New() ); ObjectFactoryBase::RegisterFactory( GPUBSplineInterpolateImageFunctionFactory::New() );
itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::ITK_DISALLOW_COPY_AND_MOVE | ( | GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep > | ) |
itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::itkGetModifiableObjectMacro | ( | ExplicitOutput | , |
GPUExplicitInterpolatorType | ) |
Compute of the explicit output interpolator. This output should be used when ExplicitMode has been set to true.
itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::itkGetModifiableObjectMacro | ( | Output | , |
GPUInterpolatorType | ) |
Compute of the non explicit output interpolator.
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
virtual |
|
virtual |
Get/Set the input interpolator.
void itk::GPUInterpolatorCopier< TTypeList, NDimensions, TInterpolator, TOutputCoordRep >::Update | ( | ) |
Update method.
|
private |
Definition at line 141 of file itkGPUInterpolatorCopier.h.
|
private |
Definition at line 139 of file itkGPUInterpolatorCopier.h.
|
private |
Definition at line 137 of file itkGPUInterpolatorCopier.h.
|
private |
Definition at line 140 of file itkGPUInterpolatorCopier.h.
|
private |
Definition at line 138 of file itkGPUInterpolatorCopier.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |