Code Monkey home page Code Monkey logo

scene-reconstruction-from-light-field-data's Introduction

Scene reconstruction from light-field data

This is a prototype for scene reconstruction from light-field data. It will load a series a Lytro's 'raw.lfp' files. After processing, an interactive reconstruction is available.

The current version of the prototype is still faulty and does not provide a useful reconstruction. However, it's an example of how to render images from Lytro's files, perform depth estimation from light-field data and reconstruct a scene from it.

How to use it

The prototype works with 'raw.lfp' files generated by either a Lytro plenoptic camera (first generation) or its companion software Lytro Desktop. It uses a number of libraries. Except for OpenCV, they are all contained in the repository. OpenCV 2.4.9.0 including the modules ocl and viz is required. Both modules must be compiled explicitly and have further dependencies. The current prototype is partially OpenCL-accellerated and requires an AMD graphics chip.

For information on OpenCV ocl see http://docs.opencv.org/2.4.3/modules/ocl/doc/introduction.html

For instructions on how to compile OpenCV with viz, see http://answers.opencv.org/question/32502/opencv-249-viz-module-not-there/

With OpenCV set up, change the variables lfpCount and lfpPaths in main.cpp to match the LFP files you want to use. You can use main.cpp as a sandbox to explore the API.

Licence information

See LICENSE.txt for license information.

scene-reconstruction-from-light-field-data's People

Contributors

kputh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.