EMAN2
|
This implements the technique of Mike Schmid where by the cross correlation is normalized in an effort to remove the effects of the missing wedge. More...
#include <cmp.h>
Public Member Functions | |
virtual float | cmp (EMData *image, EMData *with) const |
To compare 'image' with another image passed in through its parameters. More... | |
virtual string | get_name () const |
Get the Cmp's name. More... | |
virtual 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 = "ccc.tomo" |
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 |
This implements the technique of Mike Schmid where by the cross correlation is normalized in an effort to remove the effects of the missing wedge.
Somewhat of a heuristic solution, but it seems to work. Basiaclly it relies on the observation that 'good' matchs will conentrate the correlation signal in the peak, wheras 'bad' correlations will distribute the signal.
norm | Normalize the ccf (you need to do this if a missing wedge is present) |
ccf | Supply your own ccf function (can be used for speedups) |
searchx | The maximum acceptable tx from the origin |
searchy | The maximum acceptable ty from the origin |
searchz | The maximum acceptable tz from the origin |
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 643 of file cmp.cpp.
References EMAN::EMData::calc_ccf(), ENTERFUNC, EXITFUNC, get_stats_cuda(), get_value_at_wrap_cuda(), EMAN::Cmp::params, EMAN::Dict::set_default(), and sqrt().
|
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 333 of file cmp.h.
References EMAN::EMObject::BOOL, EMAN::EMObject::EMDATA, EMAN::EMObject::INT, and EMAN::TypeDict::put().
|
inlinestatic |
|
static |
Definition at line 345 of file cmp.h.
Referenced by get_name().