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

Functions

template<typename TElastix >
itk::SmartPointer< TElastix > CreateDefaultElastixObject ()
 
template<typename TMap >
void ExpectAllKeysUnique (const TMap &map1, const TMap &map2)
 
itk::OptimizerParameters< doubleGeneratePseudoRandomParameters (const unsigned numberOfParameters, const double minValue, const double maxValue=1.0)
 
template<typename TMap >
TMap MakeMergedMap (TMap map1, const TMap &map2)
 

Function Documentation

◆ CreateDefaultElastixObject()

template<typename TElastix >
itk::SmartPointer< TElastix > elastix::GTestUtilities::CreateDefaultElastixObject ( )

Creates a default ElastixTemplate<FixedImageType, MovingImageType> object. for unit testing purposes.

Definition at line 72 of file elxGTestUtilities.h.

◆ ExpectAllKeysUnique()

template<typename TMap >
void elastix::GTestUtilities::ExpectAllKeysUnique ( const TMap &  map1,
const TMap &  map2 
)

Expect that all keys of both specified maps are unique.

Definition at line 43 of file elxGTestUtilities.h.

◆ GeneratePseudoRandomParameters()

itk::OptimizerParameters< double > elastix::GTestUtilities::GeneratePseudoRandomParameters ( const unsigned  numberOfParameters,
const double  minValue,
const double  maxValue = 1.0 
)
inline

Returns an OptimizerParameters object, filled with pseudo random floating point numbers between the specified minimum and maximum value.

Definition at line 96 of file elxGTestUtilities.h.

◆ MakeMergedMap()

template<typename TMap >
TMap elastix::GTestUtilities::MakeMergedMap ( TMap  map1,
const TMap &  map2 
)

Makes a map by merging its two arguments together.

Definition at line 57 of file elxGTestUtilities.h.



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