[PYTHON] View photos taken with LYTRO ILLUM

The second generation of LYTRO ILLUM is still expensive, but the old LYTRO ILLUM is now affordable if it's used! !!

図2.png

Light field cameras are very convenient because they can be refocused after shooting when used in general. However, it is unexpectedly difficult to read the images taken with ILLUM. Why?

** Because the extension is lfp **

Since there is no such extension, it is natural that it cannot be read by opencv. Therefore, Lytro Desktop is the standard software to load. https://www.lytro.jp/desktop With this, the minimum processing such as refocusing can be done, and I think that this is fine if I do not do research (I am also this one these days).

LYTRO meltdown http://optics.miloush.net/lytro/

This is a very convenient site. From a detailed description of Lytro cameras to a viewer that loads images. Download your favorite code from the resources tab. I'm a python sect, so download the Python LFP reader at the bottom.

図1.png

http://code.behnam.es/python-lfp-reader/ How to use is written in. If you find it awkward to do it on the command line, use Spyder. With this code, you can retrieve the depth data etc. in the lfp file.

キャプチャ.JPG

Notes

--In addition to the extension lfp, there are stk-lfp and so on. This is for web rendering. --There are RAW and XRAW at the time of shooting, but this is the difference between having calibration data and not having it. (Due to the individual differences in the structure of the microlens and CMOS sensor, it is better to have calibration data for each individual, but the capacity is doubled.)

Recommended Posts

View photos taken with LYTRO ILLUM
View PDF with fbterm
Restore disjointed photos with optimization!
View Python communication with Fiddler
View flask coverage with pytest-cov