$search
Declarations for geometry-related calculations. More...
#include "general_resources.hpp"
#include "opencv_resources.hpp"
Go to the source code of this file.
Defines | |
#define | ALGEBRAIC_DISTANCE 1 |
#define | EPIPOLAR_DISTANCE 2 |
#define | LOURAKIS_DISTANCE 3 |
#define | SAMPSON_DISTANCE 0 |
Functions | |
double | calcGeometryDistance (Point2f &pt1, Point2f &pt2, Mat &mat, int distMethod=SAMPSON_DISTANCE) |
double | calculateGRIC (vector< Point2f > &pts1, vector< Point2f > &pts2, Mat &rel, Mat &mask, int d, double k, double r, double lambda_3, int distMethod) |
double | calculateRho (double e, double sig, double r, double lambda_3, int d) |
double | lourakisSampsonError (Point2f &pt1, Point2f &pt2, Mat &H) |
double | normalizedGRICdifference (vector< Point2f > &pts1, vector< Point2f > &pts2, Mat &F, Mat &H, Mat &mask_F, Mat &mask_H, double &F_GRIC, double &H_GRIC) |
Declarations for geometry-related calculations.
Definition in file geometry.hpp.
#define ALGEBRAIC_DISTANCE 1 |
Definition at line 13 of file geometry.hpp.
#define EPIPOLAR_DISTANCE 2 |
Definition at line 14 of file geometry.hpp.
#define LOURAKIS_DISTANCE 3 |
Definition at line 15 of file geometry.hpp.
#define SAMPSON_DISTANCE 0 |
Definition at line 12 of file geometry.hpp.
double calcGeometryDistance | ( | Point2f & | pt1, | |
Point2f & | pt2, | |||
Mat & | mat, | |||
int | distMethod = SAMPSON_DISTANCE | |||
) |
Definition at line 84 of file geometry.cpp.
double calculateGRIC | ( | vector< Point2f > & | pts1, | |
vector< Point2f > & | pts2, | |||
Mat & | rel, | |||
Mat & | mask, | |||
int | d, | |||
double | k, | |||
double | r, | |||
double | lambda_3, | |||
int | distMethod | |||
) |
Definition at line 32 of file geometry.cpp.
double calculateRho | ( | double | e, | |
double | sig, | |||
double | r, | |||
double | lambda_3, | |||
int | d | |||
) |
Definition at line 75 of file geometry.cpp.
double lourakisSampsonError | ( | Point2f & | pt1, | |
Point2f & | pt2, | |||
Mat & | H | |||
) |
Definition at line 151 of file geometry.cpp.
double normalizedGRICdifference | ( | vector< Point2f > & | pts1, | |
vector< Point2f > & | pts2, | |||
Mat & | F, | |||
Mat & | H, | |||
Mat & | mask_F, | |||
Mat & | mask_H, | |||
double & | F_GRIC, | |||
double & | H_GRIC | |||
) |
Definition at line 7 of file geometry.cpp.