EMAN::RotateTranslateBestAligner Class Reference

rotational, translational alignment More...

#include <aligner.h>

Inheritance diagram for EMAN::RotateTranslateBestAligner:

Inheritance graph
[legend]
Collaboration diagram for EMAN::RotateTranslateBestAligner:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual EMDataalign (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.
virtual EMDataalign (EMData *this_img, EMData *to_img) const
virtual string get_name () const
 Get the Aligner's name.
virtual string get_desc () const
virtual TypeDict get_param_types () const

Static Public Member Functions

static AlignerNEW ()


Detailed Description

rotational, translational alignment

Parameters:
maxshift Maximum translation in pixels
snr signal to noise ratio array

Definition at line 332 of file aligner.h.


Member Function Documentation

virtual EMData* EMAN::RotateTranslateBestAligner::align ( EMData this_img,
EMData to_img,
const string &  cmp_name = "dot",
const Dict cmp_params = Dict() 
) const [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.

Parameters:
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.
Returns:
The aligned image.

Implements EMAN::Aligner.

Referenced by align().

virtual EMData* EMAN::RotateTranslateBestAligner::align ( EMData this_img,
EMData to_img 
) const [inline, virtual]

Implements EMAN::Aligner.

Definition at line 338 of file aligner.h.

References align().

00339                 {
00340                         return align(this_img, to_img, "frc", Dict());
00341                 }

virtual string EMAN::RotateTranslateBestAligner::get_name (  )  const [inline, virtual]

Get the Aligner's name.

Each Aligner is identified by a unique name.

Returns:
The Aligner's name.

Implements EMAN::Aligner.

Definition at line 343 of file aligner.h.

00344                 {
00345                         return "rotate_translate_best";
00346                 }

virtual string EMAN::RotateTranslateBestAligner::get_desc (  )  const [inline, virtual]

Implements EMAN::Aligner.

Definition at line 348 of file aligner.h.

00349                 {
00350                         return "Full 2D alignment using 'Rotational' and 'Translational', also incorporates 2D 'Refine' alignments.";
00351                 }

static Aligner* EMAN::RotateTranslateBestAligner::NEW (  )  [inline, static]

Definition at line 353 of file aligner.h.

00354                 {
00355                         return new RotateTranslateBestAligner();
00356                 }

virtual TypeDict EMAN::RotateTranslateBestAligner::get_param_types (  )  const [inline, virtual]

Implements EMAN::Aligner.

Definition at line 358 of file aligner.h.

References EMAN::EMObject::FLOATARRAY, EMAN::EMObject::INT, and EMAN::TypeDict::put().

00359                 {
00360                         TypeDict d;
00361                         d.put("maxshift", EMObject::INT, "Maximum translation in pixels");
00362                         d.put("snr", EMObject::FLOATARRAY, "signal to noise ratio array");
00363                         return d;
00364                 }


The documentation for this class was generated from the following file:

Generated on Sat Nov 21 02:20:14 2009 for EMAN2 by  doxygen 1.5.6