OpenSFM如何计算OpenStreetMap街景图像的computed_rotation字段?
Mapillary computed_rotation 字段计算方式及GoPro数据转换问题
Mapillary将球形图像上传至OpenStreetMap时,会为图像附加computed_rotation、computed_altitude、computed_camera等字段。根据文档,computed_rotation采用轴角表示的旋转向量格式,我需要明确该字段的具体计算逻辑。
GoPro图像原始数据
'GRAV': '-0.4097, 0.9118, -0.0274', 'IORI': '1.0000, 0.0000, 0.0000, 0.0000', 'CORI': '0.3888, -0.0908, 0.8825, 0.2483', 'SHFX': '0.7278', 'SHFY': '1.9069', 'SHFZ': '2.0786', 'ANGX': '5.6211', 'ANGY': '7.2492', 'ANGZ': '19.3791',
GoPro GPMF Parser字段说明
| FourCC | Property | approximate frequency (Hz) | SIUN or UNIT | Comment |
|---|---|---|---|---|
| CORI | Camera ORIentation | frame rate | n/a | 相机自拍摄开始的朝向四元数 |
| IORI | Image ORIentation | frame rate | n/a | 图像相对于相机机身的朝向四元数 |
| GRAV | GRAvity Vector | frame rate | n/a | 重力方向向量 |
我尝试将GoPro图像中以四元数形式存储的相机朝向数据转换为旋转向量,但结果与OpenSFM生成的computed_rotation值不匹配。
内容的提问来源于stack exchange,提问作者Rishabh
相关产品推荐
相关产品推荐

