Skip to content

Reconstruction Scale/Pose Mismatch: Predicted Poses and Intrinsics Not Aligning with Ground Truth #93

@LouisBdg

Description

@LouisBdg

Hello, thank you for this great repository.
I’m tracking cameras and reconstructing a scene using this repository. I have ground truth poses and intrinsics for each image. When I run inference with only images, the point cloud looks reasonable but is incorrectly scaled. Adding intrinsics doesn’t change the result, but adding poses improves the scale—however, the point cloud becomes incoherent and unrecognizable. To find where this problem comes from, I looked at input/output difference in poses and intrinsics.
I plotted the poses in 3D:
With images only: Point cloud is scaled incorrectly (4x too large). Predicted poses are in green, measured ones in blue.

Image

With images plus intrinsics: Result is almost identical to image-only.

Image

With images, intrinsics and poses: Scale improves, but is still incorrect, the point cloud is noisy and doesn’t match the scene, it seems like the pointclouds related to each input images duplicate the scanned object in different but nearby positions. My issue seems close to the #33 one.

Image

About intrinsics:
The predicted intrinsics (fx, fy, cx, cy) are significantly different from the provided values. And this difference is not completely correlated to the reshape process of images (2048x1536) -> (518, 392) as seen in the issue #38 .
One of the differences is that input cx and cy are not centered while the predicted intrinsics are centered. I’ve seen a similar problem in issue #67 but with no solution for me.

Do somebody know where my errors come from? Is it normal to have predicted poses and intrinsics that differs that much from inputs? As somebody managed to have a satisfying result with poses and intrinsics as inputs?
Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions