32#ifndef eman_cmp_template_h__
33#define eman_cmp_template_h__ 1
60 return "dot product using the center of the image";
Cmp class defines image comparison method.
EMData stores an image's data and defines core image processing routines.
TypeDict is a dictionary to store <string, EMObject::ObjectType> pair.
void put(const string &key, EMObject::ObjectType o, const string &desc="")
XYZCmp is a cmp template for defining new cmps.
TypeDict get_param_types() const
Add your cmp parameter names and types in get_param_types().
float cmp(EMData *image, EMData *with) const
To compare 'image' with another image passed in through its parameters.
string get_name() const
Get the Cmp's name.