Skip to content

Is there support for 3D soft constraints? #238

Open
@ldmoser

Description

@ldmoser

Problem or Feature

Would there be an easy way to add 3D markers as constraints? Let's say that there's a 3D survey of the environment, where some points have known 3D positions in the scene. We want the camera transforms to be relative to that scene. I believe we would need the solver to support 3D constraints, forcing each 3D bundle point to match the corresponding 3D marker position (in world space). Is there any way this could be achieved in the current version?

Expected behavior:
Allow registering 3D markers that are not parented to a camera and will be compared in world space to the corresponding bundle. The loss is computed in 3D space instead of 2D for those markers. And perhaps, in order to unify 2D and 3D constraints there could be a user parameter that scales the 3D losses to a compatible unit. For example, if 3D locations are in cm, this scalar perhaps should be 10 to make the errors in 3D be about mm, and perhaps be more comparable to the errors from 2D markers (in pixels).

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions