EMAN2
|
Iterative rotational, translational alignment with flipping and scaling. More...
#include <aligner.h>
Public Member Functions | |
RotateTranslateFlipScaleAlignerIterative () | |
virtual EMData * | align (EMData *this_img, EMData *to_img, const string &cmp_name="dot", const Dict &cmp_params=Dict()) const |
To align 'this_img' with another image passed in through its parameters. More... | |
virtual EMData * | align (EMData *this_img, EMData *to_img) const |
virtual string | get_name () const |
Get the Aligner's name. More... | |
virtual string | get_desc () const |
virtual TypeDict | get_param_types () const |
Public Member Functions inherited from EMAN::ScaleAlignerABS | |
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 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 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... | |
Static Public Member Functions | |
static Aligner * | NEW () |
Static Public Attributes | |
static const string | NAME = "rotate_trans_flip_scale_iter" |
Additional Inherited Members | |
Protected Attributes inherited from EMAN::ScaleAlignerABS | |
const string | basealigner |
Dict | basealigner_params |
Protected Attributes inherited from EMAN::Aligner | |
Dict | params |
Iterative rotational, translational alignment with flipping and scaling.
Basically, we find the best translation, and move to that pointer then we find the best rotation and rotate to that point. Next we iterate X times. We do this for each scale and flip of the image and return the optimal solution
min | Minimum scaling (default: 0.95) |
max | aximum scaling (default: 1.05) |
step | Scaling step (default: 0.01) |
flip | |
maxshift | Maximum translation in pixels |
r1 | inner ring |
r2 | outer ring |
maxiter | maximum number of alignment iterations |
|
inline |
Definition at line 1076 of file aligner.h.
Referenced by NEW().
|
inlinevirtual |
Implements EMAN::Aligner.
Definition at line 1083 of file aligner.h.
References align().
|
virtual |
To align 'this_img' with another image passed in through its parameters.
The alignment uses a user-given comparison method to compare the two images. If none is given, a default one is used.
this_img | The image to be compared. |
to_img | 'this_img" is aligned with 'to_img'. |
cmp_name | The comparison method to compare the two images. |
cmp_params | The parameter dictionary for comparison method. |
Implements EMAN::Aligner.
Referenced by align().
|
inlinevirtual |
Implements EMAN::Aligner.
|
inlinevirtual |
Get the Aligner's name.
Each Aligner is identified by a unique name.
Implements EMAN::Aligner.
Definition at line 1088 of file aligner.h.
References NAME.
|
inlinevirtual |
Implements EMAN::Aligner.
Definition at line 1103 of file aligner.h.
References EMAN::EMObject::EMDATA, EMAN::EMObject::FLOAT, EMAN::EMObject::INT, and EMAN::TypeDict::put().
|
inlinestatic |
Definition at line 1098 of file aligner.h.
References RotateTranslateFlipScaleAlignerIterative().
|
static |
Definition at line 1117 of file aligner.h.
Referenced by get_name().