Colmap problem with depth map size

448 views
Skip to first unread message

Tadeusz Golczyk

unread,
Aug 5, 2021, 12:47:27 PM8/5/21
to col...@googlegroups.com
Dir Sir or Madame,
I'm writing because I have occurred a problem in my project, which I am making on behalf of Warsaw University of Technology. I was using colmap to obtain depth maps, and unfortunately whatever I do I can't make the depth map to be the same size as original photos (i was trying to change max_picture_size param and different camera types in database and also trying maany different parameters, but result was always the same or even worse). I was wondering if I'm doing something wrong, or is there some kind of limit of picture size that I'm not aware of? My picture size for reconstruction is typically something around 5472 x 3648‬ and the max size of depth map I have been able to obtain is ‪2400 x 1597.
If anyone would be able to help me, I would be extremely grateful! Thanks in advance for your help and time! Have a great day!
Yours sincerely,
Tadeusz Golczyk

Pierre-Olivier Agliati

unread,
Aug 10, 2021, 4:20:37 AM8/10/21
to col...@googlegroups.com
Hi Tadeusz,

It is generally normal not to have the same size as the original photos since the depth maps have to be computed over a PINHOLE camera model.
Therefore, unless you have chosen the Pinhole model as base settings for your camera, the undistorsion step of the dense reconstruction is dedicated to the transformation of your images into a pinhole model, what is likely to modify the original size of your images.
However the size you mentioned is far less than what may be expected, so be sure to set the max_image_size parameter to -1 (or for instance 6000), in the Stereo tab of Dense reconstruction options.

Cheers,
Pierre-Olivier

--
You received this message because you are subscribed to the Google Groups "COLMAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to colmap+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/CACgiFz-bitQp%2BUYq8KMKqq1FdPndTFPOSL7P-3vJUBGLHVoUWQ%40mail.gmail.com.

SUKLA SATAPATHY

unread,
Mar 7, 2022, 11:48:03 AM3/7/22
to COLMAP
Dear Tadeusz Golczyk,

I came to know that you are able to generate depth map during dense reconstruction.
I am obtaining the depth map file extension as: IMG_143202.jpg.photometric.bin.
Can you please help me by visualizing the depth map ? Can I save it .jpg or .png file extension ?

thanks
Sukla 

Reply all
Reply to author
Forward
0 new messages