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.
Public Member Functions | |
virtual void | BeforeRegistration (void) |
elxClassNameMacro ("OpenCLResampler") | |
virtual const char * | GetClassName () const |
virtual void | ReadFromFile (void) |
virtual void | SetInterpolator (InterpolatorType *_arg) |
virtual void | SetTransform (const TransformType *_arg) |
virtual void | WriteToFile (void) const |
Public Member Functions inherited from elastix::ResamplerBase< TElastix > | |
void | AfterEachIterationBase (void) override |
void | AfterEachResolutionBase (void) override |
void | AfterRegistrationBase (void) override |
virtual int | BeforeAllTransformix (void) |
void | BeforeRegistrationBase (void) override |
virtual void | CreateItkResultImage (void) |
virtual void | CreateTransformParametersMap (ParameterMapType *paramsMap) const |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension) | |
virtual void | ReadFromFile (void) |
virtual void | ResampleAndWriteResultImage (const char *filename, const bool &showProgress=true) |
virtual void | WriteResultImage (OutputImageType *imageimage, const char *filename, const bool &showProgress=true) |
virtual void | WriteToFile (void) const |
Public Member Functions inherited from elastix::BaseComponentSE< TElastix > | |
ConfigurationType * | GetConfiguration (void) const |
ElastixType * | GetElastix (void) const |
RegistrationPointer | GetRegistration (void) const |
ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponentSE) | |
void | SetConfiguration (ConfigurationType *_arg) |
void | SetElastix (ElastixType *_arg) |
Public Member Functions inherited from elastix::BaseComponent | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistration (void) |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAll (void) |
virtual int | BeforeAllBase (void) |
virtual void | BeforeEachResolution (void) |
virtual void | BeforeEachResolutionBase (void) |
virtual void | BeforeRegistration (void) |
virtual void | BeforeRegistrationBase (void) |
virtual const char * | elxGetClassName (void) const |
const char * | GetComponentLabel (void) const |
ITK_DISALLOW_COPY_AND_ASSIGN (BaseComponent) | |
itkTypeMacroNoParent (BaseComponent) | |
void | SetComponentLabel (const char *label, unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from elastix::BaseComponent | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Protected Member Functions | |
void | BeforeGenerateData (void) |
virtual void | GenerateData (void) |
OpenCLResampler () | |
virtual | ~OpenCLResampler () |
Protected Member Functions inherited from elastix::ResamplerBase< TElastix > | |
ResamplerBase () | |
virtual void | SetComponents (void) |
~ResamplerBase () override | |
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 | |
OpenCLResampler (const Self &) | |
void | operator= (const Self &) |
void | ReportToLog (void) |
void | SwitchingToCPUAndReport (const bool configError) |
Additional Inherited Members | |
Protected Attributes inherited from elastix::ResamplerBase< TElastix > | |
bool | m_ShowProgress |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
ConfigurationPointer | m_Configuration {} |
ElastixPointer | m_Elastix {} |
RegistrationPointer | m_Registration {} |
|
protected |
Definition at line 138 of file elxOpenCLResampler.h.
typedef itk::SmartPointer< const Self > elastix::OpenCLResampler< TElastix >::ConstPointer |
Definition at line 68 of file elxOpenCLResampler.h.
|
protected |
Definition at line 154 of file elxOpenCLResampler.h.
typedef GPUInputImageType::Pointer elastix::OpenCLResampler< TElastix >::GPUInputImagePointer |
Definition at line 96 of file elxOpenCLResampler.h.
typedef itk::GPUImage< InputImagePixelType, InputImageType::ImageDimension > elastix::OpenCLResampler< TElastix >::GPUInputImageType |
GPU Typedefs for GPU image and GPU resampler.
Definition at line 95 of file elxOpenCLResampler.h.
typedef float elastix::OpenCLResampler< TElastix >::GPUInterpolatorPrecisionType |
Definition at line 99 of file elxOpenCLResampler.h.
typedef itk::GPUImage< OutputImagePixelType, OutputImageType::ImageDimension > elastix::OpenCLResampler< TElastix >::GPUOutputImageType |
Definition at line 98 of file elxOpenCLResampler.h.
typedef GPUResamplerType::Pointer elastix::OpenCLResampler< TElastix >::GPUResamplerPointer |
Definition at line 105 of file elxOpenCLResampler.h.
typedef itk::GPUResampleImageFilter< GPUInputImageType, GPUOutputImageType, GPUInterpolatorPrecisionType > elastix::OpenCLResampler< TElastix >::GPUResamplerType |
Definition at line 104 of file elxOpenCLResampler.h.
|
protected |
Definition at line 143 of file elxOpenCLResampler.h.
typedef InputImageType::PixelType elastix::OpenCLResampler< TElastix >::InputImagePixelType |
Definition at line 87 of file elxOpenCLResampler.h.
typedef Superclass1::InputImageType elastix::OpenCLResampler< TElastix >::InputImageType |
Definition at line 86 of file elxOpenCLResampler.h.
|
protected |
Definition at line 153 of file elxOpenCLResampler.h.
|
protected |
Definition at line 152 of file elxOpenCLResampler.h.
|
protected |
Definition at line 149 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 136 of file elxOpenCLResampler.h.
typedef Superclass1::InterpolatorType elastix::OpenCLResampler< TElastix >::InterpolatorType |
Typedefs inherited from the superclass.
Definition at line 83 of file elxOpenCLResampler.h.
typedef OutputImageType::PixelType elastix::OpenCLResampler< TElastix >::OutputImagePixelType |
Definition at line 90 of file elxOpenCLResampler.h.
typedef OutputImageType::RegionType elastix::OpenCLResampler< TElastix >::OutputImageRegionType |
Definition at line 91 of file elxOpenCLResampler.h.
typedef Superclass1::OutputImageType elastix::OpenCLResampler< TElastix >::OutputImageType |
Definition at line 89 of file elxOpenCLResampler.h.
typedef itk::SmartPointer< Self > elastix::OpenCLResampler< TElastix >::Pointer |
Definition at line 67 of file elxOpenCLResampler.h.
typedef OpenCLResampler elastix::OpenCLResampler< TElastix >::Self |
Standard ITK-stuff.
Definition at line 60 of file elxOpenCLResampler.h.
typedef itk::ResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > elastix::OpenCLResampler< TElastix >::Superclass1 |
Definition at line 65 of file elxOpenCLResampler.h.
typedef ResamplerBase< TElastix > elastix::OpenCLResampler< TElastix >::Superclass2 |
Definition at line 66 of file elxOpenCLResampler.h.
|
protected |
Definition at line 142 of file elxOpenCLResampler.h.
|
protected |
Definition at line 141 of file elxOpenCLResampler.h.
typedef Superclass1::TransformType elastix::OpenCLResampler< TElastix >::TransformType |
Definition at line 84 of file elxOpenCLResampler.h.
|
protected |
The constructor.
|
inlineprotectedvirtual |
The destructor.
Definition at line 127 of file elxOpenCLResampler.h.
|
private |
The private constructor.
|
protected |
This method performs all configuration for GPU resampler.
|
virtual |
Do some things before registration.
Reimplemented from elastix::BaseComponent.
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")
|
protectedvirtual |
Executes GPU resampler.
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::ResamplerBase< TElastix >.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
|
virtual |
Function to read parameters from a file.
Reimplemented from elastix::ResamplerBase< TElastix >.
|
private |
Helper method to report to elastix log.
|
virtual |
Set the interpolator.
|
virtual |
Set the transform.
|
private |
Helper method to report switching to CPU mode.
|
virtual |
Function to write parameters to a file.
Reimplemented from elastix::ResamplerBase< TElastix >.
|
private |
Definition at line 174 of file elxOpenCLResampler.h.
|
private |
Definition at line 171 of file elxOpenCLResampler.h.
|
private |
Definition at line 173 of file elxOpenCLResampler.h.
|
private |
Definition at line 172 of file elxOpenCLResampler.h.
|
private |
Definition at line 170 of file elxOpenCLResampler.h.
|
private |
Definition at line 169 of file elxOpenCLResampler.h.
|
private |
Definition at line 175 of file elxOpenCLResampler.h.
Generated on 1667476801 for elastix by 1.9.4 |