by ʇolɐǝz ǝɥʇ qoq

Submit your Photo
Hall of Fame

Please participate in Meta
and help us grow.

Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Many of us here at photo SE have read about light field photography and related cameras from Lytro and Raytrix.

A few of the advantages it allows are post-capture software focus, scene perspective changing and manipulation, and 3D video.

Are there any reference software implementations or available demo code of lightfield imaging for the above features and the related algorithms? (I read that FFT/IFFT is the tool used in obtaining software-focussed images, but I do not understand the full details of this.)

I've heard rumors that Nvidia Cuda has some thing for it, but I need more details if anyone has them.

share|improve this question
See also… – mattdm Oct 14 '11 at 20:39
@mattdm - Thank you. I had read about this post after and material on Lytro site & blog. But I am looking for implementation to play with(if possible) and understand how exactly the captured images would be and how the software focus would be done in post. – goldenmean Oct 15 '11 at 10:26
up vote 7 down vote accepted

I'm not sure about reference code; this is relatively new, and mostly what I can find are papers, not implementations with open code. A key paper is Fourier Slice Photography, by Ren Ng at Stanford University — now, not surprisingly, at Lytro. There's an abstract of the paper here, with a few nice pictures.

This doesn't give you something that you can take and just drop into place, but it gives you some technical, mathy details of how to go from the output of a plenoptic camera to a usable result. Of course, that's not all: for more, take a look at Ng's 200+-page PhD thesis on the topic.

You will probably also find the materials for MIT's MAS.531 / MAS.131 Computational Camera and Photography helpful. Thanks to the OpenCourseWare initiative, you can download and go through all the course materials yourself (including audio from the lectures).

share|improve this answer
Thanks about the new MIT resource link. I did have the 'fourier photo' paper and Ren NG's thesis on same. – goldenmean Oct 18 '11 at 9:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.