Forum

Author Topic: Different image resolution when exporting just the masks in Colmap format  (Read 270 times)

3create

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • 3create
If I just check "Masks" (without "Images") when exporting the cameras in Colmap format, the image resolution of the exported masks is equal to the original image resolution: 6000 x 4000
However, if I check both "Images" AND "Masks" when exporting, they both get exported at 6888 x 4936
And with just "Images" checked, the resolting res is also 6888 x 4936

I'm using "Transform to pinhole camera model".

Expected behaviour: when exporting just the masks, they should have the same image dimensions as when exporting just the images.
And I'd actually prefer that generally the original image res is kept when transforming to pinhole, but I imagine that this "6888 x 4936" upscaling is in order to keep the 1-to-1 resolution of the original image center?!

vineg

  • Newbie
  • *
  • Posts: 42
    • View Profile
Hi!

Thanks for telling about the problem with masks undistortion, it will be fixed in the next 2.2.1 update.

Regarding image size, we are preserving original resolution in the center, you are correct.

Egor
« Last Edit: March 20, 2025, 08:46:15 PM by vineg »