EMAN2
|
This is an ABS for use in constructing, rt_scale, rt_flip, etc scale aligners. More...
#include <aligner.h>
Public Member Functions | |
ScaleAlignerABS (const string &ba) | |
Constructor to initialize the basealigner string. More... | |
EMData * | align_using_base (EMData *this_img, EMData *to_img, const string &cmp_name="dot", const Dict &cmp_params=Dict()) const |
implmentation of the scale alignment using the base aligner set in set_base_aligner More... | |
Public Member Functions inherited from EMAN::Aligner | |
virtual | ~Aligner () |
virtual EMData * | align (EMData *this_img, EMData *to_img) const =0 |
virtual EMData * | align (EMData *this_img, EMData *to_img, const string &cmp_name, const Dict &cmp_params) const =0 |
To align 'this_img' with another image passed in through its parameters. More... | |
virtual string | get_name () const =0 |
Get the Aligner's name. More... | |
virtual string | get_desc () const =0 |
virtual Dict | get_params () const |
Get the Aligner parameters in a key/value dictionary. More... | |
virtual void | set_params (const Dict &new_params) |
Set the Aligner parameters using a key/value dictionary. More... | |
virtual TypeDict | get_param_types () const =0 |
virtual vector< Dict > | xform_align_nbest (EMData *this_img, EMData *to_img, const unsigned int nsoln, const string &cmp_name, const Dict &cmp_params) const |
This function first added in the context of the 3D aligners used by e2tomohunter: which wants the n best solutions, as opposed to just the best. More... | |
Protected Attributes | |
const string | basealigner |
Dict | basealigner_params |
Protected Attributes inherited from EMAN::Aligner | |
Dict | params |
This is an ABS for use in constructing, rt_scale, rt_flip, etc scale aligners.
Hence this class is not be be initialized To use, inherit this class and set the base aligner name This stragtegy uses the Template design pattern
|
inline |
EMData * ScaleAlignerABS::align_using_base | ( | EMData * | this_img, |
EMData * | to_img, | ||
const string & | cmp_name = "dot" , |
||
const Dict & | cmp_params = Dict() |
||
) | const |
implmentation of the scale alignment using the base aligner set in set_base_aligner
Definition at line 141 of file aligner.cpp.
References basealigner, basealigner_params, EMAN::Aligner::params, EMAN::Dict::set_default(), EMAN::Transform::set_scale(), and UnexpectedBehaviorException.
|
protected |
Definition at line 179 of file aligner.h.
Referenced by align_using_base().
|
protected |
Definition at line 180 of file aligner.h.
Referenced by align_using_base().