20 #ifndef MIRTK_CosineOfNormalizedGradientField_H 21 #define MIRTK_CosineOfNormalizedGradientField_H 23 #include "mirtk/NormalizedGradientFieldSimilarity.h" 40 mirtkPublicAttributeMacro(
int, Power);
89 virtual double RawValue(
double)
const;
92 virtual void WriteDataSets(
const char *,
const char *,
bool =
true)
const;
99 #endif // MIRTK_CosineOfNormalizedGradientField_H CosineOfNormalizedGradientField(const char *="")
Constructor.
CosineOfNormalizedGradientField & operator=(const CosineOfNormalizedGradientField &)
Assignment operator.
Cosine of normalzed gradient field.
virtual bool NonParametricGradient(const RegisteredImage *, GradientImageType *)
Evaluate non-parametric similarity gradient w.r.t the given image.
virtual double Evaluate()
Evaluate similarity of images.
virtual void WriteDataSets(const char *, const char *, bool=true) const
Write input of data fidelity term.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
virtual bool SetWithoutPrefix(const char *, const char *)
Set parameter value from string.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
~CosineOfNormalizedGradientField()
Destructor.
virtual ParameterList Parameter() const
Get parameter key/value as string map.