How to extract depth map from Nokia 9 pureview (with ToF sensor)

Started by pureexe, May 06, 2020, 02:36:46 AM

Previous topic - Next topic

pureexe

I want to extract depth map from this file.

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

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype