20 #ifndef MIRTK_MeanSquaredDisplacementError_H    21 #define MIRTK_MeanSquaredDisplacementError_H    23 #include "mirtk/DataFidelity.h"    24 #include "mirtk/RegisteredImage.h"   104   virtual void Update(
bool gradient = 
true);
   119 #endif // MIRTK_MeanSquaredDisplacementError_H 
virtual void Initialize()
Initialize energy term once input and parameters have been set. 
virtual void Update(bool gradient=true)
Mean squared deviation from given deformation. 
double GradientType
Type of non-parametric gradient components. 
mirtkPublicAggregateMacro(const class Transformation, TargetTransformation)
Target transformation. 
virtual void EvaluateGradient(double *, double, double)
Compute gradient of penalty term w.r.t transformation parameters. 
mirtkAttributeMacro(DisplacementImageType, TargetDisplacement)
Target displacements. 
MeanSquaredDisplacementError(const char *="", double=1.)
Constructor. 
RegisteredImage::DisplacementImageType DisplacementImageType
Type of cached displacement fields. 
GenericImage< GradientType > GradientImageType
Type of non-parametric gradient image. 
virtual double Evaluate()
Compute penalty for current transformation estimate. 
mirtkPublicAttributeMacro(ImageAttributes, Domain)
Finite regular grid over which to integrate error.