-
Install libIlm and openEXR from http://openexr.com/downloads.html
-
Install pfstools (make sure EXR support is installed) from http://pfstools.sourceforge.net
-
Add path to
<pfstools>/src/matlab
-
Install dcraw from http://www.cybercom.net/~dcoffin/dcraw/ and make sure it is in the path, so you can call it from within Matlab.
-
Profit!
Note to Mac users: install gcc
and compile all of these with it. It's way easier than using llvm
as pfstools hasn't been tested with it (apparently).