SLProject 4.0.000
F2FTransform Class Reference

#include <F2FTransform.h>

Static Public Member Functions

static void opticalFlowMatch (const cv::Mat &f1Gray, const cv::Mat &f2Gray, std::vector< cv::Point2f > &p1, std::vector< cv::Point2f > &p2, std::vector< uchar > &inliers, std::vector< float > &err)
 
static float filterPoints (const std::vector< cv::Point2f > &p1, const std::vector< cv::Point2f > &p2, std::vector< cv::Point2f > &goodP1, std::vector< cv::Point2f > &goodP2, std::vector< uchar > &inliers, std::vector< float > &err)
 
static bool estimateRot (const cv::Mat K, std::vector< cv::Point2f > &p1, std::vector< cv::Point2f > &p2, float &yaw, float &pitch, float &roll)
 
static bool estimateRotXYZ (const cv::Mat &K, const std::vector< cv::Point2f > &p1, const std::vector< cv::Point2f > &p2, float &xAngRAD, float &yAngRAD, float &zAngRAD, std::vector< uchar > &inliers)
 
static bool estimateRotXY (const cv::Mat &K, const std::vector< cv::Point2f > &p1, const std::vector< cv::Point2f > &p2, float &xAngRAD, float &yAngRAD, const float zAngRAD, std::vector< uchar > &inliers)
 
static void eulerToMat (float xAngRAD, float yAngRAD, float zAngRAD, cv::Mat &Rx, cv::Mat &Ry, cv::Mat &Rz)
 

Static Private Member Functions

static cv::Mat eigen2cv (Eigen::Matrix3f m)
 

Member Function Documentation

◆ eigen2cv()

cv::Mat F2FTransform::eigen2cv ( Eigen::Matrix3f  m)
staticprivate

◆ estimateRot()

bool F2FTransform::estimateRot ( const cv::Mat  K,
std::vector< cv::Point2f > &  p1,
std::vector< cv::Point2f > &  p2,
float &  yaw,
float &  pitch,
float &  roll 
)
static

◆ estimateRotXY()

bool F2FTransform::estimateRotXY ( const cv::Mat &  K,
const std::vector< cv::Point2f > &  p1,
const std::vector< cv::Point2f > &  p2,
float &  xAngRAD,
float &  yAngRAD,
const float  zAngRAD,
std::vector< uchar > &  inliers 
)
static

◆ estimateRotXYZ()

bool F2FTransform::estimateRotXYZ ( const cv::Mat &  K,
const std::vector< cv::Point2f > &  p1,
const std::vector< cv::Point2f > &  p2,
float &  xAngRAD,
float &  yAngRAD,
float &  zAngRAD,
std::vector< uchar > &  inliers 
)
static

◆ eulerToMat()

void F2FTransform::eulerToMat ( float  xAngRAD,
float  yAngRAD,
float  zAngRAD,
cv::Mat &  Rx,
cv::Mat &  Ry,
cv::Mat &  Rz 
)
static

◆ filterPoints()

float F2FTransform::filterPoints ( const std::vector< cv::Point2f > &  p1,
const std::vector< cv::Point2f > &  p2,
std::vector< cv::Point2f > &  goodP1,
std::vector< cv::Point2f > &  goodP2,
std::vector< uchar > &  inliers,
std::vector< float > &  err 
)
static

◆ opticalFlowMatch()

void F2FTransform::opticalFlowMatch ( const cv::Mat &  f1Gray,
const cv::Mat &  f2Gray,
std::vector< cv::Point2f > &  p1,
std::vector< cv::Point2f > &  p2,
std::vector< uchar > &  inliers,
std::vector< float > &  err 
)
static

This file is part of ORB-SLAM2.

Copyright (C) 2014-2016 Raúl Mur-Artal <raulmur at unizar dot es> (University of Zaragoza) For more information see https://github.com/raulmur/ORB_SLAM2

ORB-SLAM2 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ORB-SLAM2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ORB-SLAM2. If not, see http://www.gnu.org/licenses/.


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