farm-ng-core
camera_model_test.cpp File Reference
#include "sophus/sensor/camera_model.h"
#include "sophus/calculus/num_diff.h"
#include "sophus/image/interpolation.h"
#include "sophus/lie/se3.h"
#include "sophus/sensor/orthographic.h"
#include <gtest/gtest.h>
Include dependency graph for camera_model_test.cpp:

Functions

auto openCvCameraModel () -> CameraModel
 
 TEST (camera_model, projection_round_trip)
 
 TEST (camera_model, scale_up_down_roundtrip)
 
 TEST (camera_model, ortho_cam)
 

Variables

constexpr double kEps = 1e-5
 

Function Documentation

◆ openCvCameraModel()

auto openCvCameraModel ( ) -> CameraModel

◆ TEST() [1/3]

TEST ( camera_model  ,
ortho_cam   
)

◆ TEST() [2/3]

TEST ( camera_model  ,
projection_round_trip   
)

◆ TEST() [3/3]

TEST ( camera_model  ,
scale_up_down_roundtrip   
)

Variable Documentation

◆ kEps

constexpr double kEps = 1e-5
constexpr