Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Why doesn't the reprojection error residual use normalized units?

未关闭
#4,453 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
冷清
技术栈
cpp

调研方向

Start by reading the implementations of ReprojErrorCostFunctor and GlobalMapper::GlobalPositioning() to compare how each computes reprojection error. The issue does not name files or tests, and asks for an explanation rather than a specific change; done would be a clear answer about the differing units and whether any follow-up change is needed.

由索引模型根据 Issue 内容生成。

描述

First of all, thank you for this wonderful software!

It looks like the global BA pipeline uses ReprojErrorCostFunctor, which computes residuals in pixel units.

But when filtering outliers in GlobalMapper::GlobalPositioning(), the points are filtered based on the normalized reprojection distances (distances on the normalized image plane).

I'd like to ask why does ReprojErrorCostFunctor compute the residual in pixel units instead of using the normalized reprojection error like the point-filtering method does?

If there are 2 cameras, CamA with the resolution 640x480 px, and CamB with 3840x2160 px, then reprojection error of 1 px is more severe for CamA than for CamB. Doesn't the lack of normalized reprojection error introduce bias into the optimization?

The distortion is also computed in the normalized image plane, so why not the reprojection error too?

I'm sure you had a very good reason to choose not to normalize the residual in ReprojErrorCostFunctor, but I can't figure out why is it better than using the normalized error. In my mind, the normalized error would make the error independent of cameras' resolution, which would remove bias.

Thanks!

主要语言
C++
星标
12.9k
派生
2.2k
平均合并
1 天 2 小时
30 天内合并 PR
80

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

colmap/colmap 的其他 Issue

查看 colmap/colmap 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。