Forum

Author Topic: export "real" depth maps?  (Read 3634 times)

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
export "real" depth maps?
« on: May 28, 2018, 05:57:35 PM »
Hi guys,
Is there a way to export the depth maps generated by Photoscan? I don't mean the "Depth images" created from each camera when there is a mesh in the chunk, but the actual depth maps generated by the buildDepthMaps step.
Thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14854
    • View Profile
Re: export "real" depth maps?
« Reply #1 on: May 28, 2018, 10:21:57 PM »
Hello stephan,

Have you tried the solution from the following post - http://www.agisoft.com/forum/index.php?topic=9053.msg42452#msg42452

Best regards,
Alexey Pasumansky,
Agisoft LLC

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: export "real" depth maps?
« Reply #2 on: May 29, 2018, 02:06:52 PM »
Hi Alexey,

Thanks, I was able to export the depth maps from there. Can you recommend software to open the .exr files? I have tried a couple of ways but it seems the encoding is not well recognized so I get only a black / white mask.

Kind regards,

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14854
    • View Profile
Re: export "real" depth maps?
« Reply #3 on: May 29, 2018, 11:59:37 PM »
Hello stephan,

It's saved in floating point format by default. If you wish to save it in grayscale mode, you need to normalize the depth range to 8-bit format, for example, and save as RGB.
Best regards,
Alexey Pasumansky,
Agisoft LLC

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: export "real" depth maps?
« Reply #4 on: May 31, 2018, 10:50:58 AM »
Thanks Alexey, I will look into converting them to test.