AIBluefisher / GraphOptim

The official implementation of our CVPR 2021 paper - Hybrid Rotation Averaging: A Fast and Robust Rotation Averaging Approach
BSD 3-Clause "New" or "Revised" License
147 stars 24 forks source link

irls_rotation_local_refiner: Failed to factorize the least squares system #8

Open Devincool opened 2 years ago

Devincool commented 2 years ago

image geometric_new.g2o.zip 你好,可以帮忙看一下这个错误吗? 数据用的是实际项目中产出的,这是在求出图片的相对位置又进行了一次BA优化操作后的结果(未做BA的也尝试过,都是这个错误)

Devincool commented 2 years ago

这个数据是通过五目相机倾斜摄影获取的,有五个不同的镜头,不知道是否适合该算法。

AIBluefisher commented 2 years ago

This actually could happen when node indices are not consistent (something might be wrong with the input) or the view graph is not fully connected (has more than 1 connected components). Maybe you should validate your input at first. You may also want to use the function inside the graph class to detect if there are more than 1 connected components.