![]() |
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 Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef GPUInputImageType::Pointer | GPUInputImagePointer |
typedef itk::GPUImage< InputImagePixelType, InputImageType::ImageDimension > | GPUInputImageType |
typedef float | GPUInterpolatorPrecisionType |
typedef itk::GPUImage< OutputImagePixelType, OutputImageType::ImageDimension > | GPUOutputImageType |
typedef GPUResamplerType::Pointer | GPUResamplerPointer |
typedef itk::GPUResampleImageFilter< GPUInputImageType, GPUOutputImageType, GPUInterpolatorPrecisionType > | GPUResamplerType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef Superclass1::InputImageType | InputImageType |
typedef Superclass1::InterpolatorType | InterpolatorType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef Superclass1::OutputImageType | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef OpenCLResampler | Self |
typedef itk::ResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > | Superclass1 |
typedef ResamplerBase< TElastix > | Superclass2 |
typedef Superclass1::TransformType | TransformType |
![]() | |
typedef Superclass::ConfigurationPointer | ConfigurationPointer |
typedef Superclass::ConfigurationType | ConfigurationType |
typedef ElastixType::CoordRepType | CoordRepType |
typedef ITKBaseType::DirectionType | DirectionType |
typedef Superclass::ElastixPointer | ElastixPointer |
typedef Superclass::ElastixType | ElastixType |
typedef ITKBaseType::IndexType | IndexType |
typedef ElastixType::MovingImageType | InputImageType |
typedef ITKBaseType::InterpolatorType | InterpolatorType |
typedef itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > | ITKBaseType |
typedef ITKBaseType::OriginPointType | OriginPointType |
typedef ElastixType::MovingImageType | OutputImageType |
typedef ITKBaseType::PixelType | OutputPixelType |
typedef ElastixType::ParameterMapType | ParameterMapType |
typedef elx::ProgressCommand | ProgressCommandType |
typedef Superclass::RegistrationPointer | RegistrationPointer |
typedef Superclass::RegistrationType | RegistrationType |
typedef ResamplerBase | Self |
typedef ITKBaseType::SizeType | SizeType |
typedef ITKBaseType::SpacingType | SpacingType |
typedef BaseComponentSE< TElastix > | Superclass |
typedef ITKBaseType::TransformType | TransformType |
![]() | |
typedef ElastixType::ConfigurationPointer | ConfigurationPointer |
typedef ElastixType::ConfigurationType | ConfigurationType |
typedef ElastixType::Pointer | ElastixPointer |
typedef TElastix | ElastixType |
typedef RegistrationType * | RegistrationPointer |
typedef ElastixType::RegistrationBaseType | RegistrationType |
typedef BaseComponentSE | Self |
typedef BaseComponent | Superclass |
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 |
![]() | |
virtual void | AfterEachIterationBase (void) |
virtual void | AfterEachResolutionBase (void) |
virtual void | AfterRegistrationBase (void) |
virtual int | BeforeAllTransformix (void) |
virtual void | BeforeRegistrationBase (void) |
virtual void | CreateItkResultImage (void) |
virtual void | CreateTransformParametersMap (ParameterMapType *paramsMap) const |
virtual ITKBaseType * | GetAsITKBaseType (void) |
virtual const ITKBaseType * | GetAsITKBaseType (void) const |
itkStaticConstMacro (ImageDimension, unsigned int, OutputImageType::ImageDimension) | |
virtual void | ResampleAndWriteResultImage (const char *filename, const bool &showProgress=true) |
virtual void | WriteResultImage (OutputImageType *imageimage, const char *filename, const bool &showProgress=true) |
![]() | |
virtual ConfigurationType * | GetConfiguration (void) const |
virtual ElastixType * | GetElastix (void) const |
virtual RegistrationPointer | GetRegistration (void) const |
virtual void | SetConfiguration (ConfigurationType *_arg) |
virtual void | SetElastix (ElastixType *_arg) |
![]() | |
virtual void | AfterEachIteration (void) |
virtual void | AfterEachResolution (void) |
virtual void | AfterRegistration (void) |
virtual int | BeforeAll (void) |
virtual int | BeforeAllBase (void) |
virtual void | BeforeEachResolution (void) |
virtual void | BeforeEachResolutionBase (void) |
std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) const |
virtual const char * | elxGetClassName (void) const |
virtual const char * | GetComponentLabel (void) const |
virtual void | SetComponentLabel (const char *label, unsigned int idx) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | BeforeGenerateData (void) |
virtual void | GenerateData (void) |
OpenCLResampler () | |
virtual | ~OpenCLResampler () |
![]() | |
ResamplerBase () | |
virtual void | SetComponents (void) |
virtual | ~ResamplerBase () |
![]() | |
BaseComponentSE () | |
virtual | ~BaseComponentSE () |
![]() | |
BaseComponent () | |
virtual | ~BaseComponent () |
Private Member Functions | |
OpenCLResampler (const Self &) | |
void | operator= (const Self &) |
void | SwitchingToCPUAndReport (const bool configError) |
Additional Inherited Members | |
![]() | |
bool | m_ShowProgress |
![]() | |
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 >.
|
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 171 of file elxOpenCLResampler.h.
|
private |
Definition at line 168 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 167 of file elxOpenCLResampler.h.
|
private |
Definition at line 166 of file elxOpenCLResampler.h.
|
private |
Definition at line 172 of file elxOpenCLResampler.h.
Generated on 07-03-2016 for elastix by ![]() |
![]() |