Monado OpenXR Runtime
Loading...
Searching...
No Matches
camera_model.h File Reference

Constellation tracker's camera model storage. More...

#include "tracking/t_camera_models.h"
#include <math.h>
Include dependency graph for camera_model.h:

Go to the source code of this file.

Data Structures

struct  camera_model
 

Functions

static struct camera_model camera_model_init (int width_true, int height_true, const struct t_camera_model_params *calib)
 Creates a camera model, computing a pinhole model (with the same focal lengths as the true calibration) whose image covers the whole undistorted field of view of the true image.
 

Detailed Description

Function Documentation

◆ camera_model_init()

static struct camera_model camera_model_init ( int  width_true,
int  height_true,
const struct t_camera_model_params *  calib 
)
inlinestatic

Creates a camera model, computing a pinhole model (with the same focal lengths as the true calibration) whose image covers the whole undistorted field of view of the true image.

References camera_model::bottom_pinhole, camera_model::calib_pinhole, camera_model::height_true, camera_model::left_pinhole, camera_model::right_pinhole, T_DISTORTION_PINHOLE, camera_model::top_pinhole, and camera_model::width_true.