mf
Media Framework
|
Reader of camera array format used by VSRS. More...
#include <vsrs_camera_array.h>
Public Member Functions | |
vsrs_camera_array (const std::string &filename, const depth_projection_parameters &, const ndsize< 2 > &, bool fourth_extrinsic_row=false) | |
bool | has (const std::string &) const |
const projection_camera & | operator[] (const std::string &) const |
Reader of camera array format used by VSRS.
File contains array of names projection cameras, defined using their extrinsic and intrinsic matrices, in plain text format. Some camera array files contain additional fourth 0 0 0 1
row of extrinsic matrix, while some omit it. fourth_extrinsic_row
must be set accordingly.
mf::vsrs_camera_array::vsrs_camera_array | ( | const std::string & | filename, |
const depth_projection_parameters & | dparam, | ||
const ndsize< 2 > & | img_sz, | ||
bool | fourth_extrinsic_row = false |
||
) |
bool mf::vsrs_camera_array::has | ( | const std::string & | name | ) | const |
const projection_camera & mf::vsrs_camera_array::operator[] | ( | const std::string & | name | ) | const |