Thanks Greg! I am getting closer... Can I bother anyone with a few more questions?

1) My first attempt after installing the Unix version of exiftool showed this output near the end:

>raw2hdr -o B1.hdr *.NEF
.
.
.
Loading NIKON D90 image from Img1319.NEF ...
Scaling with darkness 0, saturation 3840, and
multipliers 2.170906 1.000000 1.163172 1.000000
AHD interpolation...
Converting to sRGB colorspace...
Writing data to standard output ...
    1 image files updated
Executing: hdrgen -m 400 -e -a -r /tmp/raw2hdr.vVpbvN/sqr.rsp -o B1.hdr -c sRGB /tmp/raw2hdr.vVpbvN/Img1310.tif /tmp/raw2hdr.vVpbvN/Img1311.tif /tmp/raw2hdr.vVpbvN/Img1312.tif /tmp/raw2hdr.vVpbvN/Img1313.tif /tmp/raw2hdr.vVpbvN/Img1314.tif /tmp/raw2hdr.vVpbvN/Img1315.tif /tmp/raw2hdr.vVpbvN/Img1316.tif /tmp/raw2hdr.vVpbvN/Img1317.tif /tmp/raw2hdr.vVpbvN/Img1318.tif /tmp/raw2hdr.vVpbvN/Img1319.tif phdrimg.cpp@564>data: /tmp/raw2hdr.vVpbvN/Img1310.tif: needs exposure calibration
hdrgenmain.cpp@185>data: Failure generating HDR image

2) I then dug up an old response file, and tried a few different permutations of the following:

>raw2hdr hdrgen -r cama.rsp -o output.hdr *.NEF
>raw2hdr -r cama.rsp -o output.hdr *.NEF
>...etc..

However, I got different errors with different command orderings. I am sure I have a syntax/command order problem, but I am also worried that if/when I get it right, there will be another problem... The cama.rsp file I have was made from jpegs. I may have to remake this with .NEFs, but I am not sure how to get a .rsp file from .NEFs. Any suggestions?

3) Finally, I have a lot of Radiance/Photosphere/hdrgen creators and software to credit in my work. Is there a documented list for proper software references, or should I do my best by examining the literature?

Thanks again!
-Chris

On 3/7/12 4:50 PM, Gregory J. Ward wrote:
I goofed with the posted script. You need to download and install Exiftool yourself from:

http://www.sno.phy.queensu.ca/~phil/exiftool/install.html <http://www.sno.phy.queensu.ca/%7Ephil/exiftool/install.html>

I think I mentioned this in a follow-up post. Once you have that, the script should at least urn.

-Greg

*From: *Chris Kallie <[email protected] <mailto:[email protected]>>

*Date: *March 7, 2012 2:16:45 PM PST

*
*

Dear All,

I would like to make use of Greg's script, but had a problem. It seems that either my search path for the exiftool is not checking the local directory, or I have to copy exiftool to the right directory, or update perl, but I'm not sure. My input and output is shown below. The error at the bottom of the snippet repeats for each image. Any advice?

Also, is there a good reason for me to create my own calibration file for my camera? Or is it safe to use the built-in calibration data for my camera?

Thanks!
Chris

GRad:~ chris$ cd Thesis/BangFilt/WardMethod/raw/B1
GRad:B1 chris$ ls
Img1310.NEF Img1312.NEF Img1314.NEF Img1316.NEF Img1318.NEF dcraw hdrgen Img1311.NEF Img1313.NEF Img1315.NEF Img1317.NEF Img1319.NEF exiftool raw2hdr
GRad:B1 chris$ raw2hdr -o B1.hdr *.NEF
Loading NIKON D90 image from Img1310.NEF ...
Scaling with darkness 0, saturation 3840, and
multipliers 2.170906 1.000000 1.163172 1.000000
AHD interpolation...
Converting to sRGB colorspace...
Writing data to standard output ...
Can't locate Image/ExifTool.pm in @INC (@INC contains: ./lib /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at ./exiftool line 30.
BEGIN failed--compilation aborted at ./exiftool line 30.


On 2/20/12 12:10 PM, Gregory J. Ward wrote:

Photosphere does not accept camera RAW as input, but I have written a Perl script that uses dcraw with the command-line HDR image builder hdrgen to overcome this limitation. It also requires the use of another third-party program, exiftool, which I have packaged together for you at:

http://www.anyhere.com/gward/pickup/raw2hdr.tgz



_______________________________________________
HDRI mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/hdri
_______________________________________________
HDRI mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/hdri

Reply via email to