Page 1 of 1

hdr size

PostPosted: Sat Jul 28, 2012 2:10 pm
by sonyhdr
Hello,

First thank you for your great software. :)

I noticed that the generated HDR file doesn't keep the original file size. My photos are in full HD 16:9 format (6000 x 3360) but the HDR tif files are 6005 x 4004.
Is it possible to keep the original format ?

Thank you.

Re: hdr size

PostPosted: Mon Jul 30, 2012 10:38 am
by Sebastian Nibisz
You load a RAW files?

Re: hdr size

PostPosted: Mon Jul 30, 2012 5:32 pm
by sonyhdr
I loaded several RAW files (6) for test. I tried with 1 RAW file but same result (target file is 6008x4012 ?).
Source files are .ARW from a sony alpha 77 camera.
Thanks.

Re: hdr size

PostPosted: Mon Jul 30, 2012 7:18 pm
by Sebastian Nibisz
The dcraw convert the image to those dimensions.

Re: hdr size

PostPosted: Tue Jul 31, 2012 6:29 am
by sonyhdr
Is it possible to add an option when using dcraw with SNS HDR ? dcraw -e file.arw for example ?

Re: hdr size

PostPosted: Tue Jul 31, 2012 8:40 am
by Sebastian Nibisz
The parameter "-e" reads the thumbnail of image, raw image is not decoded.

Re: hdr size

PostPosted: Tue Jul 31, 2012 10:59 am
by zwartespecht
Sebastian Nibisz wrote:The dcraw convert the image to those dimensions.


This is why (from Dave Coffin's website)
Why are dcraw output images larger than camera JPEGs?
Any algorithm that combines each pixel with its neighbors is going to have problems near the edges. C code is cheap, so dcraw applies a different algorithm to edge pixels. Hardware logic is expensive, so cameras crop off the edge pixels after processing.

Regards
Kor

Re: hdr size

PostPosted: Tue Jul 31, 2012 4:51 pm
by sonyhdr
OK thank you for your help.

Regards