AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Public Attributes | List of all members
aliceVision::NViewDataSet Struct Reference

A N-view metric dataset. All points are seen by all cameras. More...

#include <NViewDataSet.hpp>

Public Member Functions

Mat34 P (size_t i) const
 Return P=K*[R|t] for the Inth camera. More...
 
void exportToPLY (const std::string &outFilename) const
 Export in PLY the point structure and camera and camera looking dir. More...
 

Public Attributes

std::vector< Mat3 > _K
 Internal parameters (fx, fy, etc).
 
std::vector< Mat3 > _R
 Rotation.
 
std::vector< Vec3 > _t
 Translation.
 
std::vector< Vec3 > _C
 Camera centers.
 
Mat3X _X
 3D points.
 
std::vector< Mat2X > _x
 Projected points; may have noise added.
 
std::vector< Vecu > _x_ids
 Indexes of points corresponding to the projections.
 
std::size_t _n
 Actual number of cameras.
 

Detailed Description

A N-view metric dataset. All points are seen by all cameras.

Member Function Documentation

◆ exportToPLY()

void aliceVision::NViewDataSet::exportToPLY ( const std::string &  outFilename) const

Export in PLY the point structure and camera and camera looking dir.

Parameters
[in]outFilename

◆ P()

Mat34 aliceVision::NViewDataSet::P ( size_t  i) const

Return P=K*[R|t] for the Inth camera.

Parameters
[in]iThe Inth camera
Returns
P=K*[R|t] for the Inth camera

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