Jan 16

lfpsplitter: Update for Images processed with Lytro Desktop 2.x

Lytro’s recent upgrade to Lytro Desktop 2.0 entailed some file format changes that rendered light field files incompatible with lfpsplitter.

An update to lfpsplitter, provided by Elissa Weidaw, now accommodates for these changes and makes lfpsplitter usable again. The author has made sure to keep the lfpsplitter syntax unchanged.

Since Lytro Desktop 2.0, LFP image stacks are encoded as H264 frame sequences – used to compress files and speed up loading times. Due to “legal issues swirling around H264 decoding”, lfpsplitter does not decode said sequences. There are, however, other tools (e.g. ffmpeg) that will do the extra step for you.

More information and download link: lfpsplitter at GitHub

Here are the official README_V2 contents: Continue reading

Jan 03

Perspective Shift Feature breaks lfpsplitter [Lytro]

Perspective Shift feature breaks lfpsplitter (Picture: Lytro Raw camera extract by Nirmal Patel) Those of you who are using lfpsplitter to extract data and image stacks from LightField files have no doubt already noticed this, but we thought we’d bring it out to the open:
With the introduction of the new Perspective Shift feature last December, Lytro has made some changes to the structure of -stk.lfp files which effectively break lfpsplitter’s functionality.

The culprit seems to lie in file compression: Continue reading

Aug 13

Lytro Hack: Create all-in-focus pictures using lfpsplitter and Python Script

Lytro Pictures: Create all-in-focus pictures using lfpsplitter and Python Interactive refocus is nice, but it’s just one of the possibilities of LightField photography. Another feature that LightField fans seem anxious about is “all in focus” – a combination of all the sharp parts of the light field picture into a single, flat exposure.
Lytro has confirmed that all in focus will be possible within the Lytro Desktop software by the end of the year.

Developer Nirmal J Patel didn’t want to wait, and wrote a small python script to create “all in focus” pictures from Lytro .lfp files himself: Continue reading

Aug 03

Lytro.Net: Easily view and extract .LFP LightField Pictures from your Lytro Camera

Lytro.Windows - easy viewing and exporting of LightField picture stacks We recently showed you how to extract all the available information from .LFP files using Nirmal Patel’s lfptools/lfpsplitter.
If you’re just interested in the compressed JPG stacks that are included in the -stk.lfp files (the files that get uploaded for web viewing), developer Mark Scappini has a more convenient tool for you:

Scappini used lfptools and the supplied information to create Lytro.Net, a .NET based Graphical User Interface which helps Windows Users extract Metadata and the processed JPEGs from Lytro .LFP files.
Continue reading

Jul 29

Lytro Hack: How to extract data and jpg files from the .LFP file format using lfpsplitter

Lytro Hack: How to extract data from .LFP LightField Picture files (Picture: Lytro Raw camera extract, colour added) While Lytro’s desktop software is nice and easy to use, you may want to have a deeper look into the LightField Pictures you’ve created with your own Lytro LightField camera.
The first person to reverse-engineer the Lytro .LFP File Format and make the results available, was Nirmal Patel.

He also gives insight into the .LFP file format:

The file itself is formatted as follows. First, a header:

# magic 12 byte header (LFP)
89 4C 46 50 0D 0A 1A 0A 00 00 00 01
# 4 byte length (0, since there is nothing in this section)
00 00 00 00

After this are a number of sections.
Continue reading