20 #ifndef MIRTK_GradientFieldSimilarity_H 21 #define MIRTK_GradientFieldSimilarity_H 23 #include "mirtk/ImageSimilarity.h" 43 mirtkPublicAttributeMacro(
bool, IgnoreJacobianGradientWrtDOFs);
73 virtual bool Set(
const char *,
const char *);
112 virtual void Update(
bool =
true);
131 #endif // MIRTK_GradientFieldSimilarity_H void ReorientGradient(RegisteredImage *, bool=false)
Reorient transformed image gradient according to dI(y)/dy * dy/dx.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
virtual void Update(bool=true)
Update moving input image(s) and internal state of similarity measure.
void MultiplyByImageHessian(const RegisteredImage *image, GradientImageType *gradient)
GradientFieldSimilarity(const char *="", double=1.0)
Constructor.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
virtual void ParametricGradient(const RegisteredImage *image, GradientImageType *np_gradient, double *gradient, double weight)
virtual bool Set(const char *, const char *)
Set parameter value from string.
virtual ~GradientFieldSimilarity()
Destructor.
virtual ParameterList Parameter() const
Get parameter name/value map.
virtual void InitializeInput(const ImageAttributes &domain)