Lytro Optical Field Camera focus C + + implementation

Source: Internet
Author: User

Several previous blogs mainly introduced the light field and the light field camera related knowledge, as well as the focus on the effect and multi-view effect of the display. A summary of the process of learning the light field.

This time affixed with the opencv/c++ written by the focus algorithm implementation, as well as interactive demo. Put on my open source China code cloud, connected here: Https://git.oschina.net/rxdj/refocus_LightFieldImg.git.

For a description of the code, see Readme. If you have any mistake, please advise me.

The image is an RGB color map captured by the Lytro Illum second-generation camera and decoded by the MATLAB Light Field toolkit, which is also the intermediate result of decoding the white image in the MATLAB toolkit.

The main references are: Tao M W, Hadap S, Malik J, et al. Depth from combining Defocus and correspondence using Light-field Cameras[c] Proceedings of the IEEE International Conference on computer Vision. 2013:673-680.

In this document, there is an open source MATLAB source code, using the image taken by the Lytro generation camera. The difference between a generation and a second-generation camera data is that the number of micro-lenses and the number of pixels behind each microlens are different, corresponding to the modified code.

Lytro Optical Field Camera focus C + + implementation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.