Blender V4.3
euclidean_resection_test.cc File Reference
#include "libmv/multiview/euclidean_resection.h"
#include "libmv/logging/logging.h"
#include "libmv/multiview/projection.h"
#include "libmv/numeric/numeric.h"
#include "testing/testing.h"

Go to the source code of this file.

Functions

static void CreateCameraSystem (const Mat3 &KK, const Mat3X &x_image, const Vec &X_distances, const Mat3 &R_input, const Vec3 &T_input, Mat2X *x_camera, Mat3X *X_world, Mat3 *R_expected, Vec3 *T_expected)
 
 TEST (AbsoluteOrientation, QuaternionSolution)
 
 TEST (EuclideanResection, Points4KnownImagePointsRandomTranslationRotation)
 
 TEST (EuclideanResection, Points6AllRandomInput)
 

Function Documentation

◆ CreateCameraSystem()

static void CreateCameraSystem ( const Mat3 & KK,
const Mat3X & x_image,
const Vec & X_distances,
const Mat3 & R_input,
const Vec3 & T_input,
Mat2X * x_camera,
Mat3X * X_world,
Mat3 * R_expected,
Vec3 * T_expected )
static

Definition at line 31 of file euclidean_resection_test.cc.

Referenced by TEST(), and TEST().

◆ TEST() [1/3]

TEST ( AbsoluteOrientation ,
QuaternionSolution  )

Definition at line 71 of file euclidean_resection_test.cc.

References libmv::euclidean_resection::AbsoluteOrientation(), e, R, and X.

◆ TEST() [2/3]

TEST ( EuclideanResection ,
Points4KnownImagePointsRandomTranslationRotation  )

◆ TEST() [3/3]