Author Topic: Incompatible Image Geometry error  (Read 10554 times)

Offline jbinpg

  • Newcomer
  • Posts: 14
Incompatible Image Geometry error
« on: 2015 May 08 10:26:08 »
First post so I apologize if this is the wrong place for this topic. I have been using PixInsight for a few months. A brilliant program. I use a Pentax K-3 and a 300mm lens for acquiring images of comets. I have had no problems using the DNG file format other than a horrid green tint that is easy to take care of in curves. But last night I decided to switch to the Pentax native PEF raw file format to see if the green cast disappears. But PI does not like something in the files which produces an "Incompatible Image Geometry" error and PI refuses to work with the files. I have attached a screenshot which may point to something. Any help apreciated. - Jack

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Incompatible Image Geometry error
« Reply #1 on: 2015 May 09 21:59:00 »
what is probably happening is that the program that converted the raw files to DNG has made the files a slightly different x/y dimension than the DCRAW module in pixinsight. if you try to mix some DNGs and some PEF files in PI, you'll get this error as the files do not have the same dimensions.

but that will only happen if you try to calibrate a PEF with a master made from the DNGs, or integrate the DNGs with the PEFs etc.


Offline jbinpg

  • Newcomer
  • Posts: 14
Re: Incompatible Image Geometry error
« Reply #2 on: 2015 May 10 00:25:59 »
Yes, I can see how mix and match would be a problem. But this is not the case here. It was a stack of identical PEF files straight from the camera.

Jack

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: Incompatible Image Geometry error
« Reply #3 on: 2015 May 10 01:49:00 »
The first thing I would recommend would be to actually check the individual file sizes. You say the files are identical. Have you checked that this is truly the case?
Geoff
« Last Edit: 2015 May 10 01:55:07 by Geoff »
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline jbinpg

  • Newcomer
  • Posts: 14
Re: Incompatible Image Geometry error
« Reply #4 on: 2015 May 10 07:07:45 »
As can be seen in the screenshot, the X/Y pixel sizes (thumbnail size, image size, output size, etc.) are identical between frames. Without looking at the actual code, I suspect these are the parameters PI uses to determine image geometry. And yes, they are same in all images.

Jack

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Incompatible Image Geometry error
« Reply #5 on: 2015 May 10 12:35:49 »
but where did your calibration masters come from? if you had prepared them from the DNG files, that is the problem.

IIRC the image geometry consists of the following: the x dimension, the y dimension and the number of channels (typically 3 for debayered OSC images, and 1 for undebayered OSC images or mono images).

rob

Offline jbinpg

  • Newcomer
  • Posts: 14
Re: Incompatible Image Geometry error
« Reply #6 on: 2015 May 10 22:34:46 »
Sorry, I should have been more clear. This happens using the PreProcessing script where I just feed the PEF files to it and let it do the registration/alignment/calibration of files. When this didn't prove to work, I then tried the registration, etc. on my own with the same error.

Jack

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Incompatible Image Geometry error
« Reply #7 on: 2015 May 11 00:09:38 »
can you pare this down to a minimum set of files that causes the problem to occur and then upload the files to dropbox or google drive or similar?

rob

Offline jbinpg

  • Newcomer
  • Posts: 14
Re: Incompatible Image Geometry error
« Reply #8 on: 2015 May 11 09:58:21 »
I have placed five files in my Dropbox here:

https://www.dropbox.com/sh/jxy7w65vdetcwzv/AAAtyulanY-Vdm4vyyNr22tLa?dl=0

Any one of them produces the error.

Jack

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Incompatible Image Geometry error
« Reply #9 on: 2015 May 11 11:48:31 »
i am guessing this is a real problem. i am actually running a downrev version of pixinsight and the file causes an unhandled exception when you try to open it. the newer pixinsight has a newer version of DCRAW, but apparently not new enough.

i suppose it means that the DCRAW shared library needs to be updated by Juan. hopefully he will see this thread and take a look at it.

rob

Offline jbinpg

  • Newcomer
  • Posts: 14
Re: Incompatible Image Geometry error
« Reply #10 on: 2015 May 11 15:53:33 »
Fair enough. Will just use DNG until problem is rectified. Thanks for your time.

Jack

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Incompatible Image Geometry error
« Reply #11 on: 2015 May 12 08:11:43 »
bump

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Incompatible Image Geometry error
« Reply #12 on: 2015 May 12 08:39:40 »
These are Pentax K-3 raw files, which have been supported by dcraw and hence by PixInsight since at least one year. The five files are opened and decoded perfectly in the latest up-to-date version of PixInsight. They all have identical geometries and nothing special, so... the problem must be in the masters you are using to calibrate them. How did you generate them? Can you upload them?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline jbinpg

  • Newcomer
  • Posts: 14
Re: Incompatible Image Geometry error
« Reply #13 on: 2015 May 12 10:09:44 »
Hi, Juan. These are PEF files straight from the camera. No manipulation before loading into PI. Some files exhibiting the error can be found here.

https://www.dropbox.com/sh/jxy7w65vdetcwzv/AAAtyulanY-Vdm4vyyNr22tLa?dl=0

Jack

Offline kkoppert

  • Newcomer
  • Posts: 8
Re: Incompatible Image Geometry error
« Reply #14 on: 2015 December 31 01:11:17 »
Was there a solution to this?
I am having the same problem using ImageCallibration to callibrate some flats.
I'm using a Canon 1100D and create the MasterBias and MasterDark files as fits from the raw cr2 file using ImageIntegration, no mucking about with the files other than what imageintegration does. I attempt to reate callibrated flats using the afore mentioned fits masters and get

Timestamp: Tue Dec 29 20:25:41 2015
Camera: Canon EOS 1100D
ISO speed: 1600
Shutter: 1/394.8 sec
Aperture: f/1.$
Focal length: 50.0 mm
Embedded ICC profile: no
Number of raw images: 1
Thumb size:  4272 x 2848
Full size:   4352 x 2874
Image size:  4290 x 2856
Output size: 2856 x 4290
Raw colors: 3
Filter pattern: RG/GB
Daylight multipliers: 2.353782 0.931874 1.178846
Camera multipliers: 1616.000000 1024.000000 1504.000000 1024.000000

Invoking: dcraw -4 -o 0 -w -q 1
Decoding Canon EOS 1100D file (4290x2856 pixels, ISO=1600, Exposure=1/395s): done
Loading raw image: done

* Waiting for running tasks to terminate ...
*** Error: Incompatible image geometry
<* failed *>