Thanks @bopper68 , when I use the tool I get a left jpg and a right depth map when converting a shared LIF file from Lume Pad 2. How do you convert the depth map to the R side jpeg image?
-Andy
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. )
I just went to the 3d-photo files section to get a copy of the zip file and it downloaded fine. Note that you need to be a subscriber to the 3d-photo groups to download from their files section.
While I recommend that everyone subscribe to the 3d-photo group, I will offer this WeTransfer link (but it is only valid for 7 days).
I also ran a quick test of the program using the included instructions and it split a Lume Pad photo into a L/R pair.