Skip to content

Add cost functions to pycolmap#2393

Merged
ahojnnes merged 9 commits intomainfrom
sarlinpe/bindings-cost-functions
Feb 5, 2024
Merged

Add cost functions to pycolmap#2393
ahojnnes merged 9 commits intomainfrom
sarlinpe/bindings-cost-functions

Conversation

@sarlinpe
Copy link
Copy Markdown
Member

@sarlinpe sarlinpe commented Feb 2, 2024

  • Introduces a new IsotropicNoiseCostFunctionWrapper to scale the BA cost functions with the covariance of the detection noise - this was needed in LaMAR to optimize camera with very different resolution and will be useful in COLMAP in the future.
    • I haven't figured out how to efficiently support a full anisotropic covariance matrix. We don't need it for now so I'll give it a try another time.
  • Examples of usage of the pycolmap bindings for BA and PGO: https://github.com/cvg/pyceres/tree/main/examples
  • If pyceres is not installed, calling any of these function will result in an error - we don't want to make it a hard dependency yet

@sarlinpe sarlinpe marked this pull request as draft February 2, 2024 23:06
@sarlinpe sarlinpe force-pushed the sarlinpe/bindings-cost-functions branch from 6652d6f to 0418b52 Compare February 3, 2024 09:41
@sarlinpe sarlinpe marked this pull request as ready for review February 5, 2024 09:04
@sarlinpe sarlinpe requested a review from ahojnnes February 5, 2024 09:04
@ahojnnes ahojnnes merged commit 3e7893c into main Feb 5, 2024
@ahojnnes ahojnnes deleted the sarlinpe/bindings-cost-functions branch February 5, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants