You can use Stereo Photo Maker (free software) to convert a single image plus depth map into a left/right stereo pair.
Note that the tool was written to be used on LIF images that are directly downloaded from the Lume Pad memory, e.g. from the DCIM directory via USB. Those will contain left and right images as expected. When the image is “shared”, I believe Leia converts it to a single image plus depth map, so you are seeing normal behavior.
No, if the image has two views like images captured from LeiaCam, it will always retain two views. If it’s a 2D to 3D conversion, it’ll have one view plus a disparity map. The LIF format is a container than can have multiple types of data internally.
Thanks David and Nima,
Yes the LIF image I used was a conversion from 2D to 3D using LeiaPlayer.
David, I have not found documentation or by exploring the app how Stereo Photo Maker converts Left image and depth map to 3D SBS.
Could you tell me how to accomplish this with SPM?
As a side note I asked ChatGPT gpt-4-1106-preview to generate some Processing.org java sketch code to convert Left image+depthmap to 3D SBS and the generated code mostly worked after my fixes, except the image had a lot of artifacts on the edges. The results were not acceptable. Maybe firefly can clean this up. I would rather use SPM if possible.
In SPM, use “File → Open Left/Right Images…” to read the image and its depth map, then do:
Edit → Depth Map… → Create 3D image from 2D+Depth Map…
There is a check-box to invert the depth map if necessary.
Re-reading Nima’s post above reminds me that Leia uses disparity maps rather than depth maps, which are related by a nonlinear transformation, so that may affect your result. (I’ll bet Nima was waiting for me to remember that. )