OpenGV

OpenGV库解析:3D-2D场景下的相机坐标与bearing vector计算

OpenGV: The OpenGV library

对于3d-2d的场景,求解

Vocabulary

Bearing vector: 3d 向量,2个自由度

cental 和 non-central的:这里就引出了non-central 的概念,多相机中,在central case, 这个是最简单的,每个相机都单独存在, 在non-central case, 多个相机公用了一个view point

opengv 在debug模式下编译,会导致卡死


bearing vector的计算方式

gt这个是三维点, position是body坐标,    camOffsets是0, camRotations是单位阵

//project the point into the viewpoint frame
point_t bodyPoint = rotation.transpose()*(gt.col(i) - position);

//project the point into the camera frame
bearingVectors.push_back(camRotation.transpose()*(bodyPoint - camOffset));

//normalize the bearing-vector to 1
bearingVectors[i] = bearingVectors[i] / bearingVectors[i].norm();

实际上bearing vector就是局部坐标的单位方向向量, 

目标函数

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

手持电烙铁的侠客

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值