Using Stanford's Lytro images with the Light Field Toolbox

128 views
Skip to first unread message

mojojojoreyal

unread,
Jun 9, 2019, 12:56:59 AM6/9/19
to Light Field Vision
Hi,

So I've used the toolbox with images from our Lytro which usually have the .LFR extension. I want to try things with Stanford's data available here. I downloaded one of the folders and had a look at the raw images. I'm confused. First of all they have .png extensions and I'm able to actually open them and look without the toolbox, how do I get the actual raw image from this? I mean I want the different slices etc, is it possible with these png files? Also there's a metadata folder, but I don't see any .RAW or .TXT files so where so I get the white images for them? 

I hope someone has worked with the Stanford data. Please let me know what needs to be done.

Alireza Sepas-Moghaddam

unread,
Jun 9, 2019, 1:10:51 AM6/9/19
to mojojojoreyal, lightfie...@googlegroups.com
Hi,

The png files are the demosaiced raw images, also known as lenslet images, corresponding to a set of micro-images; you can render this lenslet image in form of multi-view sub-aperture images by putting together the pixels in the same position within each micro-image to create a rendered image for a specific viewpoint; So, basically what you get in the end is the same as the toolbox's output.   

--
You received this message because you are subscribed to the Google Groups "Light Field Vision" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lightfieldvisi...@googlegroups.com.
To post to this group, send email to lightfie...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lightfieldvision/c6c6b2e1-49d4-4d03-b6a0-6f01690bb915%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Donald Dansereau

unread,
Jun 17, 2019, 4:20:11 PM6/17/19
to Alireza Sepas-Moghaddam, mojojojoreyal, lightfie...@googlegroups.com
There is a function in the development branch of the toolbox on GitHub that reads these files, called something like LFXReadStanfordIllum. A similar function is in the LiFF light field features toolbox, also on GitHub, I think called LiFF_ReadESLF.  It's also straightforward to read the png and slice it into 4D.

Hope that's helpful, let me know if you have trouble finding these.

Don

Reply all
Reply to author
Forward
0 new messages