I'm trying to HDR compose 3 images and I'm finding this:
HDRComposition: Global context
Opening files:
/home/hue/IMG_003510.CR2
Timestamp: Sun Jun 7 16:26:09 2009
Camera: Canon EOS 40D
ISO speed: 100
Shutter: 1/1024.0 sec
Aperture: f/19.9
Focal length: 18.0 mm
Embedded ICC profile: no
Number of raw images: 1
Thumb size: 1936 x 1288
Full size: 3944 x 2622
Image size: 3908 x 2602
Output size: 2602 x 3908
Raw colors: 3
Filter pattern: RG/GB
Daylight multipliers: 2.444244 0.930336 1.163797
Camera multipliers: 2335.000000 1024.000000 1367.000000 1024.000000
Invoking: dcraw -4 -o 0 -w -q 2
Decoding Canon EOS 40D file (3908x2602 pixels, ISO=100, Exposure=1/1024s): done
Loading raw image: done
/home/hue/IMG_003511_r.fit
*** Error: /home/hue/IMG_003511_r.fit: Incompatible image geometry.
<* failed *>
It's one CR2 and two FIT images, these two being the result of a FFTRegistration made earlier this week.
Then I opened the 3 images to check their geometry:
Reading 3 image(s):
/home/hue/IMG_003510.CR2
Timestamp: Sun Jun 7 16:26:09 2009
Camera: Canon EOS 40D
ISO speed: 100
Shutter: 1/1024.0 sec
Aperture: f/19.9
Focal length: 18.0 mm
Embedded ICC profile: no
Number of raw images: 1
Thumb size: 1936 x 1288
Full size: 3944 x 2622
Image size: 3908 x 2602
Output size: 2602 x 3908
Raw colors: 3
Filter pattern: RG/GB
Daylight multipliers: 2.444244 0.930336 1.163797
Camera multipliers: 2335.000000 1024.000000 1367.000000 1024.000000
Invoking: dcraw -4 -o 0 -w -q 2
Decoding Canon EOS 40D file (3908x2602 pixels, ISO=100, Exposure=1/1024s): done
Loading raw image: done
/home/hue/IMG_003511_r.fit
27 FITS keywords extracted
ICC profile extracted: 'sRGB IEC61966-2.1', 3024 bytes
Reading FITS: 16-bit integers, 3 channel(s), 2602x3908 pixels: done
/home/hue/IMG_003512_r.fit
27 FITS keywords extracted
ICC profile extracted: 'sRGB IEC61966-2.1', 3024 bytes
Reading FITS: 16-bit integers, 3 channel(s), 2602x3908 pixels: done
So geometry is 2602x3908 in all cases. It should work, right? But I noticed that when decoding the CR2 it says:
Image size: 3908 x 2602
Output size: 2602 x 3908
So it switches from "landscape" to "portrait", so to speak. If I open the JPG that was created by the camera alongside the CR2, it opens in "landscape". This may have something to do…
Is it a bug?
![Wink ;)](http://pixinsight.com/forum/Smileys/default/wink.gif)
. If not, what can I do besides the obvious step of rotating the first (CR2) image?