#include <elxTransformIO.h>
Definition at line 35 of file elxTransformIO.h.
|
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< double > | GetParameters (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 > ¶meters) |
|
static void | Write (const itk::TransformBase &itkTransform, const std::string &fileName) |
|
◆ 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>
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()
◆ 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 |
◆ Read()
static itk::TransformBase::Pointer elastix::TransformIO::Read |
( |
const std::string & |
fileName | ) |
|
|
static |
◆ SetParameters()
◆ Write()
static void elastix::TransformIO::Write |
( |
const itk::TransformBase & |
itkTransform, |
|
|
const std::string & |
fileName |
|
) |
| |
|
static |