Author Topic: Error Message when using ImageCalibration  (Read 947 times)

Offline Mariner10

  • Newcomer
  • Posts: 36
Error Message when using ImageCalibration
« on: 2019 February 02 22:44:23 »
Hi, I'm trying to calibrate by light frames with a superbias, master flat and master dark frames and I keep getting an error message, I've attached it as a Word document. Essentially It's saying there's incompatible image geometry and the calibration has failed. I've tried it without a flat, same result, without a bias, same result and without a dark with again the same result. I saved the originals in .xisf from .fits to see if that made any difference and again, they both failed.
Short of not using the calibration frames I'm lost as to where to go from here.
Thanks.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Error Message when using ImageCalibration
« Reply #1 on: 2019 February 02 23:01:23 »
what is the source of the different files? DSLR, CCD, etc?

rob

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #2 on: 2019 February 03 23:25:45 »
Hi Rob, sorry about the delay but I just got home from work.
All images were taken with a one shot colour CCD (QHY8L) including calibration frames and subs.
Cheers.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Error Message when using ImageCalibration
« Reply #3 on: 2019 February 04 00:03:45 »
hmm well all i can suggest at this point is to open your master bias/dark/flat onto the desktop and look at their image dimensions - if one or more of them is not 3328x2030 then that's the problem.

rob

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #4 on: 2019 February 04 18:52:20 »
Thank you, I'll give it a shot when I get home. Could it have something to do with selecting Optimize as well? I've heard this can cause issues.
Cheers Rob.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Error Message when using ImageCalibration
« Reply #5 on: 2019 February 05 11:03:29 »
no, all Optimize does is try to compute a scaling factor for the dark which minimizes the noise in the calibrated frame. it can't be used if you have some fixed pattern noise in the sensor which is not a function of exposure time, like amp glow or what's left over from an RBI pre-flash.

rob

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #6 on: 2019 February 05 16:50:57 »
Damn, I was hoping it would be a simple fix. Anyway I'll try to get to your suggestion tonight. Thanks again.

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #7 on: 2019 February 06 00:50:42 »
Hi Rob, using Resample I checked the dimensions and they are all 3328 x 2030 so back to the drawing board.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Error Message when using ImageCalibration
« Reply #8 on: 2019 February 06 09:14:16 »
are they all 1-channel files? geometry includes the X by Y dimensions plus how many channels. so an RGB file vs. a mono file would generate the "incompatible geometry" message.

rob

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #9 on: 2019 February 06 21:46:02 »
Hi Rob, okay so I ran batchstatistics over the calibration files that I've been using, I've attached them but I'm not sure how to interpret them.
The width and height are easy and all are the same, the channels though are throwing me.
As you can see each channel is 0, 0, 1. Is that normal?
I don't use mono, the only camera I own is the QHY8L so all images including calibration files are taken with it.
Cheers.

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #10 on: 2019 February 06 21:59:45 »
Hi Rob, So I again ran the batchstatistic script over not just the calibration files but also the images I'm trying to calibrate them with and there's a difference in the size. The calibration files are 3040","2016","0","0","1", "3040","2016","0","0","1", "3040","2016","0","0","1 and the subs are
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1"
"3328","2030","0","0","1".
I think this could be the problem which you have alluded to. I will try to change the size and see if that makes any difference.
Cheers.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Error Message when using ImageCalibration
« Reply #11 on: 2019 February 07 09:50:08 »
ok yes, that's the problem.

is it possible that you changed camera drivers or capture software between the acquisition of the calibration frames and the lights? sensor chips are weird in that they sometimes have extra rows and columns which are not exposed to light; some versions of the driver might deliver them to the application and other versions of the driver might chop them off before sending the data along. or, it could just be a bug in the driver, or the developers changed their mind about how to present the sensor data to the application...

rob

Offline Mariner10

  • Newcomer
  • Posts: 36
Re: Error Message when using ImageCalibration
« Reply #12 on: 2019 February 07 22:49:27 »
Hi Rob,
Many thanks for your help, I'd be tearing what little hair I have left out by now as that is not what I would have expected.
I don't change the settings on the camera like that (not even sure I can or how to) but a system upgrade is quite possible.
Anyway, you've got me on my way so I appreciate you taking the time to help me.
Cheers.