Showing posts with label Matlab. Show all posts
Showing posts with label Matlab. Show all posts

Monday, April 8, 2013

How to install pfstools Matlab support (HDR, EXR)

Pfstools is a set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images and video frames. This is how to install for Matlab:
  1. Get pfstools http://pfstools.sourceforge.net/
  2. ../configure --prefix=$HOME/local --with-mex=/path/to/matlab/bin/mex (this installs in home folder)
  3. make
  4. make install
  5. From Matlab, File, Set Path, set it to $HOME/local//share/pfstools/pfstools_matlab/
Use --prefix=/path/ to istall to custom path. By default it installs to /usr/local/
Note: Most linux distros have a pfstools package. if you don't need Matlab support install that instead.