Small WIndows program to convert multiple Lume Pad photos into L/R pairs

I generated a small wIndows program to convert multiple Lume Pad photos into L/R pairs.

You do not need to install or use python or use the command line to use this program.

It works with stereo photos taken with the Lume Pad 1 and Lume Pad 2.

Instructions:

  1. Put Lume2LRWin.exe into a folder

  2. Create 2 subfolders named input and output and put these subfolders in the same folder as Lume2LRWin.exe

  3. Put your Lume Pad photos in the input subfolder

  4. Open File Explorer and double click on Lume2LRWin.exe

The photo files will be converted into separate L and R files and those L and R files placed in the output subfolder

The photo files in the input subfolder will remain unchanged.

I uploaded a zip file to the photo-3d files section with the windows executable file and two empty subfolders.

Also included in the zip file are a readme.txt file and the modified python script that was converted into the windows executable file.

Here is a direct link to the announcement message on photo-3d
Small WIndows program to convert multiple Lume Pad photos into L/R pairs

Thanks to David_in_VA for his help and for creating the original python script this work was based on.

KenK

3 Likes

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.

David

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 for the correction. Perhaps the image in question was a 2D-to-3D conversion. In any event, SPM can produce the L/R pair that @javamind wanted.

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.

thanks, Andy

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. :slight_smile: )

David

1 Like

sadly, the Lume2LRWin.exe download does not seam to work anymore

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.

KenK

I’m happy to host a mirror of this download on the Leia Google Drive so anyone can get it any time in perpetuity from here.

Please remember to support the original creator though!

https://drive.google.com/drive/folders/12hp7R_3Ukq011HH2Y11iJ48tO7Ir_k8g?usp=share_link

TBH I think it’s me. Thanks for checking and the additional links.