7 #ifndef IMPEM2D_ALIGN_2D_H
8 #define IMPEM2D_ALIGN_2D_H
10 #include "IMP/em2d/em2d_config.h"
18 IMPEM2D_BEGIN_NAMESPACE
34 cv::Mat &m_to_align,
bool apply=
false);
46 cv::Mat &m_to_align,
bool apply=
false);
58 cv::Mat &m_to_align,
bool apply=
false);
74 const cv::Mat &INPUT,
const cv::Mat &POLAR1,
75 cv::Mat &m_to_align,
const cv::Mat &POLAR2,
bool apply=
false);
85 const cv::Mat &POLAR1,
86 const cv::Mat &POLAR2);
116 const cv::Mat &AUTOC_POLAR1,
117 const cv::Mat &AUTOC_POLAR2);
120 IMPEM2D_END_NAMESPACE
std::pair< algebra::Transformation2D, double > ResultAlign2D
ResultAlign2D get_complete_alignment_with_centers_no_preprocessing(const algebra::Vector2D ¢er1, const algebra::Vector2D ¢er2, const cv::Mat &AUTOC_POLAR1, const cv::Mat &AUTOC_POLAR2)
ResultAlign2D get_translational_alignment(const cv::Mat &input, cv::Mat &m_to_align, bool apply=false)
Aligns two matrices translationally.
ResultAlign2D get_complete_alignment(const cv::Mat &input, cv::Mat &m_to_align, bool apply=false)
em2d::ResultAlign2D get_rotational_alignment(const cv::Mat &input, cv::Mat &m_to_align, bool apply=false)
ResultAlign2D get_rotational_alignment_no_preprocessing(const cv::Mat &POLAR1, const cv::Mat &POLAR2)
Functions to deal with very common math operations.
Funtions related with rotations in em2d Copyright 2007-2013 IMP Inventors. All rights reserved...
ResultAlign2D get_translational_alignment_no_preprocessing(const cv::Mat &M1, const cv::Mat &M2)
em2d::ResultAlign2D get_complete_alignment_no_preprocessing(const cv::Mat &input, const cv::Mat &INPUT, const cv::Mat &POLAR1, cv::Mat &m_to_align, const cv::Mat &POLAR2, bool apply=false)