Skip to content

Question: project.ini shows ImageReader.camera_model=SIMPLE_RADIAL, but exported cameras.txt is THIN_PRISM_FISHEYE #4321

Description

@DuVogel87

Describe the bug

After running bundle adjustment on an existing reconstruction, the optimized reconstruction is exported with a THIN_PRISM_FISHEYE camera model in cameras.txt, but the generated project.ini still shows ImageReader.camera_model=SIMPLE_RADIAL.

This is confusing because project.ini suggests one camera model, while the actual optimized reconstruction clearly uses another one. It is unclear whether this is expected behavior, stale project state, or an inconsistency in how COLMAP writes project.ini when working with existing reconstructions and/or bundle adjustment.

To Reproduce

  1. Start from an existing reconstruction that already uses THIN_PRISM_FISHEYE.
  2. Open the project in the COLMAP GUI.
  3. Run bundle adjustment on the existing model.
  4. Save/export the project/reconstruction.
  5. Inspect the generated project.ini.
  6. Inspect the exported cameras.txt.
  7. Observe that project.ini contains ImageReader.camera_model=SIMPLE_RADIAL, while cameras.txt contains THIN_PRISM_FISHEYE.

Expected behavior

I would expect one of the following:

  • project.ini should reflect the actual camera model used by the current reconstruction, or
  • it should be documented clearly that ImageReader.camera_model is only an import/default setting and not the source of truth after loading an existing model or after bundle adjustment.

At the moment it looks misleading, because the project file suggests a different camera model than the one actually used in the optimized reconstruction.

Screenshots

Not included yet, but I can provide screenshots of the GUI and the relevant file contents if helpful.

Relevant file excerpts:

project.ini

[ImageReader]
camera_model=SIMPLE_RADIAL

cameras.txt

1 THIN_PRISM_FISHEYE 1920 1920 ...

Environment:

  • OS: Windows
  • COLMAP Version: 3.13.0
  • Commit: 0b21f98 on 2025-11-07, prebuilt with CUDA on Windows
  • Capture Device: extracted video frames

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions