26#include "Transformation.h"
42 std::shared_ptr<Transformation> transformationIn );
75 void SetParameters(
const std::vector<nifti_image*>& parameterImagesIn );
Definition: CorrespondenceModel.h:31
unsigned int numberOfSurrogateSignals
The number of surrogate signals used.
Definition: CorrespondenceModel.h:133
std::shared_ptr< Transformation > transform
The internal transformation object that is used to construct a transformation (copy) from a surrogate...
Definition: CorrespondenceModel.h:136
unsigned int numberOfModelParameters
The total number of parameters describing the correspondence model.
Definition: CorrespondenceModel.h:135
~CorrespondenceModel()
Definition: CorrespondenceModel.cpp:64
PrecisionType * recoveryModelParameters
Pointer to model parameters that may be recovered.
Definition: CorrespondenceModel.h:138
void InitialiseLevel(unsigned int levelIn)
Definition: CorrespondenceModel.cpp:145
PrecisionType * modelParameters
Pointer to the model parameters.
Definition: CorrespondenceModel.h:137
void SetParameters(const PrecisionType *parametersIn)
Definition: CorrespondenceModel.cpp:374
PrecisionType GetMaxParameterLength(PrecisionType *parametersIn)
Definition: CorrespondenceModel.cpp:488
std::vector< nifti_image * > GetCorrespondenceModelAsImage()
Definition: CorrespondenceModel.cpp:237
void GetTransformationParameterGradientWRTModelParameters(PrecisionType *transformationGradientIn, const SurrogateSignalType &surrogateSignalIn, PrecisionType *correspondenceModelGradientOut)
Definition: CorrespondenceModel.cpp:508
void ClearRecoveryModelParameters()
Definition: CorrespondenceModel.cpp:346
std::shared_ptr< Transformation > GetTransformation()
Definition: CorrespondenceModel.cpp:225
PrecisionType * GetParameters()
Definition: CorrespondenceModel.cpp:362
unsigned int GetNumberOfParameters()
Definition: CorrespondenceModel.h:87
void SaveCurrentModelParametersForRecovery()
Definition: CorrespondenceModel.cpp:304
float PrecisionType
Definition: CorrespondenceModel.h:34
unsigned int numberOfTransformationParameters
The number of parameters to describe the transformation completely.
Definition: CorrespondenceModel.h:134
void RecoverSavedModelParameters()
Definition: CorrespondenceModel.cpp:324
std::shared_ptr< Transformation > GetTransformationFromSurrogateSignal(const SurrogateSignalType &surrogateSignalIn)
Definition: CorrespondenceModel.cpp:86
std::vector< PrecisionType > SurrogateSignalType
Definition: CorrespondenceModel.h:35