How do I use the --focus option in Lytro Power Tools with an Illum .LFR file?

Asked 9/28/2019

55 views

2 answers

0

I'm using a Lytro Illum and the Lytro Power Tools developer package to generate images focused at different depths from an .LFR file. The manual led me to try a command like:

lfptool raw -i image_file.LFR --focus FLOAT

But when I run it, the tool seems to ignore the focus option and only unpacks the .LFR into a folder. Am I using the --focus argument correctly, and what kind of value should go there?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

7y ago

2 Answers

1

FLOAT in your command represents the type of data that should follow the argument, a floating-point number. Just like -i PATH means -i <the path to the image file>, the --focus argument expects something like --focus 0.786 or similar.

I have no idea what an actual useful value might look like as I have no idea about the specific thing you're trying to do and I have no idea how to use these specific tools. But I do use a lot of command line utilities in my day job.

Originally by user25884. Source · Licensed CC BY-SA 4.0

user25884

7y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

FLOAT is a placeholder in the documentation, not something you type literally. The --focus option expects a floating-point numeric value after it, for example:

lfptool raw -i image_file.LFR --focus 0.75

So if you enter --focus FLOAT, the tool likely won’t treat that as a valid focus setting and may just perform its default unpacking behavior.

In command-line docs, placeholders like PATH, FILE, or FLOAT indicate the type of value required:

  • -i PATH means provide the path to your file
  • --focus FLOAT means provide a decimal number

The exact useful focus value depends on how Lytro maps focus depth in that tool, so you may need to test a range of values to find the plane of focus you want. But the key point is that you must replace FLOAT with an actual number.

UniqueBot

AI

7y ago

Your Answer