Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxOpenCLFixedGenericPyramid.h>
A pyramid based on the itk::GenericMultiResolutionPyramidImageFilter. The parameters used in this class are:
Pyramid: Select this pyramid as follows:
(FixedImagePyramid "OpenCLFixedGenericImagePyramid")
Pyramid: Enable the OpenCL pyramid as follows:
(OpenCLFixedGenericImagePyramidUseOpenCL "true")
Definition at line 48 of file elxOpenCLFixedGenericPyramid.h.
Public Member Functions | |
virtual void | BeforeRegistration (void) |
elxClassNameMacro ("OpenCLFixedGenericImagePyramid") | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension) | |
virtual void | ReadFromFile (void) |
Public Member Functions inherited from elastix::FixedGenericPyramid< TElastix > | |
void | BeforeEachResolution (void) override |
elxClassNameMacro ("FixedGenericImagePyramid") | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, Superclass1::ImageDimension) | |
void | SetFixedSchedule (void) override |
Public Member Functions inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType > | |
virtual void | ComputeOnlyForCurrentLevelOff () |
virtual void | ComputeOnlyForCurrentLevelOn () |
virtual const char * | GetClassName () const |
virtual bool | GetComputeOnlyForCurrentLevel () const |
virtual const unsigned int & | GetCurrentLevel () |
const RescaleScheduleType & | GetRescaleSchedule (void) const |
virtual const SmoothingScheduleType & | GetSmoothingSchedule () |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
itkStaticConstMacro (OutputImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual void | SetComputeOnlyForCurrentLevel (const bool _arg) |
virtual void | SetCurrentLevel (unsigned int level) |
void | SetNumberOfLevels (unsigned int num) override |
virtual void | SetRescaleSchedule (const RescaleScheduleType &schedule) |
virtual void | SetRescaleScheduleToUnity (void) |
void | SetSchedule (const ScheduleType &schedule) override |
virtual void | SetSmoothingSchedule (const SmoothingScheduleType &schedule) |
virtual void | SetSmoothingScheduleToZero (void) |
Public Member Functions inherited from elastix::FixedImagePyramidBase< TElastix > | |
void | BeforeEachResolutionBase (void) override |
void | BeforeRegistrationBase (void) override |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
virtual const char * | GetClassName () const |
virtual void | SetFixedSchedule (void) |
virtual void | WritePyramidImage (const std::string &filename, const unsigned int &level) |
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::FixedGenericPyramid< TElastix > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType > | |
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 () |
Private Member Functions | |
OpenCLFixedGenericPyramid (const Self &) | |
void | operator= (const Self &) |
void | RegisterFactories (void) |
void | ReportToLog (void) |
void | SwitchingToCPUAndReport (const bool configError) |
void | UnregisterFactories (void) |
Private Attributes | |
bool | m_ContextCreated |
std::vector< ObjectFactoryBasePointer > | m_Factories |
GPUPyramidPointer | m_GPUPyramid |
bool | m_GPUPyramidCreated |
bool | m_GPUPyramidReady |
bool | m_UseOpenCL |
Additional Inherited Members | |
Protected Attributes inherited from itk::GenericMultiResolutionPyramidImageFilter< FixedImagePyramidBase< TElastix >::InputImageType, FixedImagePyramidBase< TElastix >::OutputImageType > | |
bool | m_ComputeOnlyForCurrentLevel |
unsigned int | m_CurrentLevel |
SmoothingScheduleType | m_SmoothingSchedule |
bool | m_SmoothingScheduleDefined |
Protected Attributes inherited from elastix::BaseComponentSE< TElastix > | |
ConfigurationPointer | m_Configuration {} |
ElastixPointer | m_Elastix {} |
RegistrationPointer | m_Registration {} |
typedef itk::SmartPointer< const Self > elastix::OpenCLFixedGenericPyramid< TElastix >::ConstPointer |
Definition at line 59 of file elxOpenCLFixedGenericPyramid.h.
typedef GPUInputImageType::Pointer elastix::OpenCLFixedGenericPyramid< TElastix >::GPUInputImagePointer |
Definition at line 88 of file elxOpenCLFixedGenericPyramid.h.
typedef itk::GPUImage< InputImagePixelType, InputImageType::ImageDimension > elastix::OpenCLFixedGenericPyramid< TElastix >::GPUInputImageType |
GPU Typedefs for GPU image and GPU filter.
Definition at line 87 of file elxOpenCLFixedGenericPyramid.h.
typedef itk::GPUImage< OutputImagePixelType, OutputImageType::ImageDimension > elastix::OpenCLFixedGenericPyramid< TElastix >::GPUOutputImageType |
Definition at line 90 of file elxOpenCLFixedGenericPyramid.h.
typedef GPUPyramidType::Pointer elastix::OpenCLFixedGenericPyramid< TElastix >::GPUPyramidPointer |
Definition at line 95 of file elxOpenCLFixedGenericPyramid.h.
typedef itk::GenericMultiResolutionPyramidImageFilter< GPUInputImageType, GPUOutputImageType, float > elastix::OpenCLFixedGenericPyramid< TElastix >::GPUPyramidType |
Definition at line 94 of file elxOpenCLFixedGenericPyramid.h.
typedef Superclass1::InputImageType::PixelType elastix::OpenCLFixedGenericPyramid< TElastix >::InputImagePixelType |
Definition at line 79 of file elxOpenCLFixedGenericPyramid.h.
typedef Superclass1::InputImageType elastix::OpenCLFixedGenericPyramid< TElastix >::InputImageType |
Typedefs inherited from the superclass.
Definition at line 77 of file elxOpenCLFixedGenericPyramid.h.
typedef itk::ObjectFactoryBase::Pointer elastix::OpenCLFixedGenericPyramid< TElastix >::ObjectFactoryBasePointer |
Typedefs for factory.
Definition at line 83 of file elxOpenCLFixedGenericPyramid.h.
typedef Superclass1::OutputImageType::PixelType elastix::OpenCLFixedGenericPyramid< TElastix >::OutputImagePixelType |
Definition at line 80 of file elxOpenCLFixedGenericPyramid.h.
typedef Superclass1::OutputImageType elastix::OpenCLFixedGenericPyramid< TElastix >::OutputImageType |
Definition at line 78 of file elxOpenCLFixedGenericPyramid.h.
typedef itk::SmartPointer< Self > elastix::OpenCLFixedGenericPyramid< TElastix >::Pointer |
Definition at line 58 of file elxOpenCLFixedGenericPyramid.h.
typedef OpenCLFixedGenericPyramid elastix::OpenCLFixedGenericPyramid< TElastix >::Self |
Standard ITK-stuff.
Definition at line 54 of file elxOpenCLFixedGenericPyramid.h.
typedef FixedGenericPyramid< TElastix > elastix::OpenCLFixedGenericPyramid< TElastix >::Superclass |
Definition at line 55 of file elxOpenCLFixedGenericPyramid.h.
typedef FixedGenericPyramid<TElastix>::Superclass1 elastix::OpenCLFixedGenericPyramid< TElastix >::Superclass1 |
Definition at line 56 of file elxOpenCLFixedGenericPyramid.h.
typedef FixedGenericPyramid<TElastix>::Superclass2 elastix::OpenCLFixedGenericPyramid< TElastix >::Superclass2 |
Definition at line 57 of file elxOpenCLFixedGenericPyramid.h.
|
protected |
The constructor.
|
inlineprotectedvirtual |
The destructor.
Definition at line 114 of file elxOpenCLFixedGenericPyramid.h.
|
private |
The private constructor.
|
protected |
This method performs all configuration for GPU pyramid.
|
virtual |
Do some things before registration.
Reimplemented from elastix::BaseComponent.
elastix::OpenCLFixedGenericPyramid< TElastix >::elxClassNameMacro | ( | "OpenCLFixedGenericImagePyramid" | ) |
Name of this class. Use this name in the parameter file to select this specific pyramid.
example: (FixedImagePyramid "OpenCLFixedGenericImagePyramid")
|
protectedvirtual |
Executes GPU pyramid.
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::FixedGenericPyramid< TElastix >.
elastix::OpenCLFixedGenericPyramid< TElastix >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned int | , | ||
Superclass1::ImageDimension | |||
) |
Get the ImageDimension.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
|
virtual |
Function to read parameters from a file.
|
private |
Register/Unregister factories.
|
private |
Helper method to report to elastix log.
|
private |
Helper method to report switching to CPU mode.
|
private |
|
private |
Definition at line 137 of file elxOpenCLFixedGenericPyramid.h.
|
private |
Definition at line 139 of file elxOpenCLFixedGenericPyramid.h.
|
private |
Definition at line 134 of file elxOpenCLFixedGenericPyramid.h.
|
private |
Definition at line 136 of file elxOpenCLFixedGenericPyramid.h.
|
private |
Definition at line 135 of file elxOpenCLFixedGenericPyramid.h.
|
private |
Definition at line 138 of file elxOpenCLFixedGenericPyramid.h.
Generated on 1667476801 for elastix by 1.9.4 |