mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
mf::vsrs_camera_array Class Reference

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_cameraoperator[] (const std::string &) const
 

Detailed Description

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.

Constructor & Destructor Documentation

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 
)

Member Function Documentation

bool mf::vsrs_camera_array::has ( const std::string &  name) const
const projection_camera & mf::vsrs_camera_array::operator[] ( const std::string &  name) const

The documentation for this class was generated from the following files: