GSoC2011SfM
0.1
Google Summer of Code 2011: Structure from motion
|
#include <bundle_related.h>
Public Member Functions | |
bundle_datas (libmv::vector< int > &index, libmv::vector< libmv::Mat3 > &i, libmv::vector< Eigen::Quaterniond > &r, libmv::vector< libmv::Vec3 > &t, int c, int p, int mp, int n, int m) | |
Public Attributes | |
libmv::vector< int > & | idx |
index of intra parameters of each cameras (in case of shared intra parameters) | |
libmv::vector< libmv::Mat3 > & | intraParams |
list of intra parameters of each cameras | |
libmv::vector < Eigen::Quaterniond > & | rotations |
list of rotations matrix of each cameras | |
libmv::vector< libmv::Vec3 > & | translations |
list of translation vector of each cameras | |
double * | points3D |
List of 3d points. | |
int | cnp |
number of parameters for ONE camera; e.g. 6 for Euclidean cameras | |
int | pnp |
number of parameters for ONE 3D point; e.g. 3 for Euclidean points | |
int | mnp |
number of parameters for ONE projected point; e.g. 2 for Euclidean points | |
int | ncon |
number of points (starting from the 1st) whose parameters should not be modified. | |
int | mcon |
number of cameras (starting from the 1st) whose parameters should not be modified. |
This structure help lourakis bundle adjustment to find needed information.
Definition at line 21 of file bundle_related.h.
OpencvSfM::bundle_datas::bundle_datas | ( | libmv::vector< int > & | index, |
libmv::vector< libmv::Mat3 > & | i, | ||
libmv::vector< Eigen::Quaterniond > & | r, | ||
libmv::vector< libmv::Vec3 > & | t, | ||
int | c, | ||
int | p, | ||
int | mp, | ||
int | n, | ||
int | m | ||
) | [inline] |
Construct a bundle helper object.
index | list of corresponding intra parameters of each cameras |
i | list of intra parameters of each cameras (size can be < than m thanks to idx) |
r | list of rotations matrix of each cameras |
t | list of translation vector of each cameras |
c | number of parameters for ONE camera |
p | number of parameters for ONE 3D point |
mp | number of parameters for ONE projected point |
n | number of points (starting from the 1st) whose parameters should not be modified. |
m | number of cameras (starting from the 1st) whose parameters should not be modified. |
Definition at line 46 of file bundle_related.h.