#include <utils.h>
Static Public Member Functions | |
static tf::Transform | buildTransformation (Mat rvec, Mat tvec) |
compose the transformation matrix using 2 Mat as inputs: one for rotation and one for translation | |
static bool | calculate3DPoint (const image_geometry::StereoCameraModel stereo_camera_model, const Point2d &left_point, const Point2d &right_point, double max_proj_err, Point3d &world_point) |
Compute the 3D point projecting the disparity. | |
static void | crossCheckFilter (const vector< DMatch > &matches1to2, const vector< DMatch > &matches2to1, vector< DMatch > &checked_matches) |
filter matches of cross check matching | |
static void | crossCheckThresholdMatching (const Mat &descriptors1, const Mat &descriptors2, double threshold, const Mat &match_mask, vector< DMatch > &matches) |
match descriptors of 2 images by threshold | |
static void | descriptorExtraction (const Mat &image, vector< KeyPoint > &key_points, Mat &descriptors, string type) |
extract descriptors of some image | |
static void | keypointDetector (const Mat &image, vector< KeyPoint > &key_points, string type) |
extract the keypoints of some image | |
static void | ratioMatching (const Mat &descriptors1, const Mat &descriptors2, double ratio, const Mat &match_mask, vector< DMatch > &matches) |
match descriptors of 2 images by ratio | |
static bool | sortByLikelihood (const pair< int, float > p1, const pair< int, float > p2) |
Sort 2 matchings by likelihood. | |
static bool | sortByMatching (const pair< int, float > d1, const pair< int, float > d2) |
Sort 2 matchings by value. | |
static bool | sortByResponse (const KeyPoint kp1, const KeyPoint kp2) |
Sort 2 keypoints by its response. | |
static bool | sortDescByDistance (const DMatch &d1, const DMatch &d2) |
Sort 2 descriptors matchings by distance. | |
static void | thresholdMatching (const Mat &descriptors1, const Mat &descriptors2, double threshold, const Mat &match_mask, vector< DMatch > &matches) |
match descriptors of 2 images by threshold |
static tf::Transform haloc::Utils::buildTransformation | ( | Mat | rvec, |
Mat | tvec | ||
) | [inline, static] |
static bool haloc::Utils::calculate3DPoint | ( | const image_geometry::StereoCameraModel | stereo_camera_model, |
const Point2d & | left_point, | ||
const Point2d & | right_point, | ||
double | max_proj_err, | ||
Point3d & | world_point | ||
) | [inline, static] |
static void haloc::Utils::crossCheckFilter | ( | const vector< DMatch > & | matches1to2, |
const vector< DMatch > & | matches2to1, | ||
vector< DMatch > & | checked_matches | ||
) | [inline, static] |
static void haloc::Utils::crossCheckThresholdMatching | ( | const Mat & | descriptors1, |
const Mat & | descriptors2, | ||
double | threshold, | ||
const Mat & | match_mask, | ||
vector< DMatch > & | matches | ||
) | [inline, static] |
static void haloc::Utils::descriptorExtraction | ( | const Mat & | image, |
vector< KeyPoint > & | key_points, | ||
Mat & | descriptors, | ||
string | type | ||
) | [inline, static] |
static void haloc::Utils::keypointDetector | ( | const Mat & | image, |
vector< KeyPoint > & | key_points, | ||
string | type | ||
) | [inline, static] |
static void haloc::Utils::ratioMatching | ( | const Mat & | descriptors1, |
const Mat & | descriptors2, | ||
double | ratio, | ||
const Mat & | match_mask, | ||
vector< DMatch > & | matches | ||
) | [inline, static] |
static bool haloc::Utils::sortByLikelihood | ( | const pair< int, float > | p1, |
const pair< int, float > | p2 | ||
) | [inline, static] |
static bool haloc::Utils::sortByMatching | ( | const pair< int, float > | d1, |
const pair< int, float > | d2 | ||
) | [inline, static] |
static bool haloc::Utils::sortByResponse | ( | const KeyPoint | kp1, |
const KeyPoint | kp2 | ||
) | [inline, static] |
static bool haloc::Utils::sortDescByDistance | ( | const DMatch & | d1, |
const DMatch & | d2 | ||
) | [inline, static] |
static void haloc::Utils::thresholdMatching | ( | const Mat & | descriptors1, |
const Mat & | descriptors2, | ||
double | threshold, | ||
const Mat & | match_mask, | ||
vector< DMatch > & | matches | ||
) | [inline, static] |