raw2hdr

Hello,

For those who might be interested I have updated Greg's raw2hdr to run on linux. I had to make the following modifications to get it to work:

   1. The most recent version of dcraw (v8.86) has different output for
      "dcraw -i -v" so I had to update the format output to correspond
   2. For certain cases dcraw reports the shutter speed as
      1/(1/shutter), this occurs for 0 < shutter < 1, for example:
      Shutter: 1/256.0 sec. So this creates a case where the format
      fails (eg: Shutter: ${speed} sec) in rcalc. So the easiest work
      around (for me) was to add a one liner perl command that reads the
      "rawinfo$$.txt" file and converts 1/speed to a floating point
      decimal value.
   3. For some reason the script was not processing the double quotes
      around the -s argument at the rcalc command so changing this to
      single quotes fixed things.

For those who are interested attached is the updated script. Please note that this is AS IS and without warranty, so use at your own risk. There are a couple of caveats:

   1. dcraw -i -v output seems to have changed over multiple versions so
      this may not work with other versions of dcraw
   2. although it should not have mattered, between csh on the mac
      version and csh on linux (ubuntu) I did need to make the change to
      the quoting, which is a bit weird if you as me.

I have been testing out DSLR Remote Pro (www.breezesys.com) for remote capture control of my EOS 5D with automatic bracketing across the full range in 1/3 stops. Then I can use raw2hdr on a vm running linux to convert and check the hdri.

Best,

-Jack de Valpine

raw2hdr (2.87 KB)

···

--
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction

Jack de Valpine wrote:

Hello,

For those who might be interested I have updated Greg's raw2hdr to run on linux.

Did I miss a meeting? What is this raw2hdr utility you speak of?! I presume there is a version that works on OS X? Inquiring minds...

The original (unsupported) version runs under OS X and includes a utility for running a Canon camera through the necessary exposures. It may still be found on the front page of www.anyhere.com. It's not well-advertised, and for good reason...

  http://www.anyhere.com/gward/pickup/HDRcapOSX.tar.gz

-Greg

···

From: Rob Guglielmetti <[email protected]>
Date: June 30, 2008 3:10:46 PM PDT

Jack de Valpine wrote:

Hello,

For those who might be interested I have updated Greg's raw2hdr to run on linux.

Did I miss a meeting? What is this raw2hdr utility you speak of?! I presume there is a version that works on OS X? Inquiring minds...