I want to extract depth map from this file.
https://files.catbox.moe/s0xg10.jpg (https://files.catbox.moe/s0xg10.jpg)
could you provide command line for this one?
I try to run this command. but i cannot open the output file. it keep said incorrect format.
exiftool -b -DepthImage original.jpg > out.jpg
I also try open in Photopea. and it works!
However, Nokia advertise that "Nokia 9 pureview's Depth Map captures more than 1200 layers" (ref: https://en.wikipedia.org/wiki/Nokia_9_PureView#Specifications) but Photopea can output only 8-bit image with can handle only 256 step of depth. Can Exiftool output depth map with 1200 step?
Depth map layer in Photopea
(https://i.imgur.com/arCNenX.png)
I found a few threads on reddit talking about this camera. One thread seemed to indicate that the data you want would be in the xmp-gdepth:Data tag and would be a Base64 encoded PNG file. That tag doesn't exist in your sample image. Only the 256 level grey jpg seems to exist.
See this Reddit post (https://www.reddit.com/r/Android/comments/2375r7/google_research_blog_lens_blur_in_the_new_google/cgu6pfo/).