EMAN2
|
Uses math.sub.optimal to remove the density of the reference from the image as much as possible. More...
#include <cmp.h>
Public Member Functions | |
OptSubCmp () | |
float | cmp (EMData *image, EMData *with) const |
To compare 'image' with another image passed in through its parameters. More... | |
string | get_name () const |
Get the Cmp's name. More... | |
string | get_desc () const |
TypeDict | get_param_types () const |
Get Cmp parameter information in a dictionary. More... | |
Public Member Functions inherited from EMAN::Cmp | |
virtual | ~Cmp () |
virtual Dict | get_params () const |
Get the Cmp parameters in a key/value dictionary. More... | |
virtual void | set_params (const Dict &new_params) |
Set the Cmp parameters using a key/value dictionary. More... | |
Static Public Member Functions | |
static Cmp * | NEW () |
Static Public Attributes | |
static const string | NAME = "optsub" |
Additional Inherited Members | |
Protected Member Functions inherited from EMAN::Cmp | |
void | validate_input_args (const EMData *image, const EMData *with) const |
Protected Attributes inherited from EMAN::Cmp | |
Dict | params |
Uses math.sub.optimal to remove the density of the reference from the image as much as possible.
What is left should be pure noise if there is a good match. If the match is not as good there should be additional residual power. This comparator returns the average residual power after subtraction weighted in various ways
|
inline |
To compare 'image' with another image passed in through its parameters.
An optional transformation may be used to transform the 2 images.
image | The first image to be compared. |
with | The second image to be comppared. |
Implements EMAN::Cmp.
Definition at line 1575 of file cmp.cpp.
References ENTERFUNC, EMAN::Cmp::params, EMAN::Dict::set_default(), and EMAN::Cmp::validate_input_args().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Get Cmp parameter information in a dictionary.
Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Implements EMAN::Cmp.
Definition at line 546 of file cmp.h.
References EMAN::EMObject::BOOL, EMAN::EMObject::EMDATA, EMAN::EMObject::FLOAT, and EMAN::TypeDict::put().
|
inlinestatic |
Definition at line 541 of file cmp.h.
References OptSubCmp().
|
static |
Definition at line 558 of file cmp.h.
Referenced by get_name().