Install python-lfp-reader in ubuntu 12.04

python lfp reader is a tool that can read the latest lytro camera file format, and then extract the content inside.

The website for this project is: http://code.behnam.es/python-lfp-reader/ . The project has instructions on how to install and run. However, when installing on ubuntu 12.04, I still encountered several problems. Here I took a note on how to solve the problems.

  • no element ffdec_h264 : need to install package gstreamer0.10-ffmpeg
  • no element h264parser : need to install package gstreamer0.10-plugins-bad
  • ecoder jpeg not available : need to make a link in order for PIL to find the jpeg lib, refer to the following links:       http://stackoverflow.com/questions/4632261/pil-jpeg-library-help             and after making the link, you need to reinstall the PIL library
  • no modeule named _imagingtk : need to install package python-imaging-tk

Then you can use:  “lfp-picture export <path to your input stack.lfp file>” to obtain all the focus stack and depth map and the all_focus image. The depth map txt file can be directly read into matlab using load command.

此条目发表在 Research, 计算视觉 分类目录。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>