go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Static Public Member Functions | Static Private Member Functions
elastix::TransformIO Class Reference

#include <elxTransformIO.h>

Detailed Description

Definition at line 35 of file elxTransformIO.h.

Static Public Member Functions

static std::string ConvertITKNameOfClassToElastixClassName (const std::string &itkNameOfClass)
 
template<unsigned NDimension>
static itk::SmartPointer< itk::CompositeTransform< double, NDimension > > ConvertToCompositionOfItkTransforms (const itk::AdvancedCombinationTransform< double, NDimension > &advancedCombinationTransform)
 
template<unsigned NDimension>
static itk::SmartPointer< itk::CompositeTransform< double, NDimension > > ConvertToItkCompositeTransform (const itk::AdvancedCombinationTransform< double, NDimension > &advancedCombinationTransform)
 
template<unsigned NDimension>
static itk::SmartPointer< itk::Transform< double, NDimension, NDimension > > ConvertToSingleItkTransform (const itk::Transform< double, NDimension, NDimension > &elxTransform)
 
static itk::OptimizerParameters< doubleGetParameters (const bool fixed, const itk::TransformBase &transform)
 
template<typename TElastixTransform >
static std::string MakeDeformationFieldFileName (const TElastixTransform &elxTransform)
 
static itk::TransformBase::Pointer Read (const std::string &fileName)
 
static void SetParameters (const bool fixed, itk::TransformBase &transform, const itk::OptimizerParameters< double > &parameters)
 
static void Write (const itk::TransformBase &itkTransform, const std::string &fileName)
 

Static Private Member Functions

static itk::TransformBase::Pointer ConvertItkTransformBaseToSingleItkTransform (const itk::TransformBase &elxTransform)
 
static std::string MakeDeformationFieldFileName (Configuration &configuration, const std::string &transformParameterFileName)
 

Member Function Documentation

◆ ConvertITKNameOfClassToElastixClassName()

static std::string elastix::TransformIO::ConvertITKNameOfClassToElastixClassName ( const std::string &  itkNameOfClass)
static

Converts the name of an ITK Transform class (as returned by GetNameOfClass()) to the corresponding elastix class name (as returned by elxGetClassName()).

◆ ConvertItkTransformBaseToSingleItkTransform()

static itk::TransformBase::Pointer elastix::TransformIO::ConvertItkTransformBaseToSingleItkTransform ( const itk::TransformBase &  elxTransform)
staticprivate

◆ ConvertToCompositionOfItkTransforms()

template<unsigned NDimension>
static itk::SmartPointer< itk::CompositeTransform< double, NDimension > > elastix::TransformIO::ConvertToCompositionOfItkTransforms ( const itk::AdvancedCombinationTransform< double, NDimension > &  advancedCombinationTransform)
inlinestatic

Converts the specified combination of transforms from elastix to the corresponding composition of ITK transform. Returns null when the combination transform does not use composition, or when some of the transforms does not have a corresponding ITK transform.

Definition at line 91 of file elxTransformIO.h.

◆ ConvertToItkCompositeTransform()

template<unsigned NDimension>
static itk::SmartPointer< itk::CompositeTransform< double, NDimension > > elastix::TransformIO::ConvertToItkCompositeTransform ( const itk::AdvancedCombinationTransform< double, NDimension > &  advancedCombinationTransform)
inlinestatic

Converts the specified combination transform from elastix to the corresponding ITK composite transform. Returns null when the combination transform does not use composition.

Definition at line 62 of file elxTransformIO.h.

◆ ConvertToSingleItkTransform()

template<unsigned NDimension>
static itk::SmartPointer< itk::Transform< double, NDimension, NDimension > > elastix::TransformIO::ConvertToSingleItkTransform ( const itk::Transform< double, NDimension, NDimension > &  elxTransform)
inlinestatic

Converts the specified single transform from elastix to the corresponding ITK transform. Returns null when ITK has no transform type that corresponds with this elastix transform.

Definition at line 124 of file elxTransformIO.h.

◆ GetParameters()

static itk::OptimizerParameters< double > elastix::TransformIO::GetParameters ( const bool  fixed,
const itk::TransformBase &  transform 
)
inlinestatic

Definition at line 39 of file elxTransformIO.h.

◆ MakeDeformationFieldFileName() [1/2]

static std::string elastix::TransformIO::MakeDeformationFieldFileName ( Configuration configuration,
const std::string &  transformParameterFileName 
)
staticprivate

◆ MakeDeformationFieldFileName() [2/2]

template<typename TElastixTransform >
static std::string elastix::TransformIO::MakeDeformationFieldFileName ( const TElastixTransform &  elxTransform)
inlinestatic

Makes the deformation field file name, as used by BSplineTransformWithDiffusion and DeformationFieldTransform.

Definition at line 144 of file elxTransformIO.h.

◆ Read()

static itk::TransformBase::Pointer elastix::TransformIO::Read ( const std::string &  fileName)
static

◆ SetParameters()

static void elastix::TransformIO::SetParameters ( const bool  fixed,
itk::TransformBase &  transform,
const itk::OptimizerParameters< double > &  parameters 
)
inlinestatic

Definition at line 45 of file elxTransformIO.h.

◆ Write()

static void elastix::TransformIO::Write ( const itk::TransformBase &  itkTransform,
const std::string &  fileName 
)
static


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo