Atik Cameras

Author Topic: Bayer matrix variable depending on the image?  (Read 3375 times)

Michel

  • Newbie
  • *
  • Posts: 2
Bayer matrix variable depending on the image?
« on: July 27, 2020, 02:46:50 pm »
Good morning all,
Here is the FIT header of the last image in a series of 19 images (Atik Horizon color camera) saved and stacked last night with Infinity:
SIMPLE  =                    T                                                 
BITPIX  =                   16                                                 
NAXIS   =                    2                                                 
NAXIS1  =                 4644                                                 
NAXIS2  =                 3506                                                 
BSCALE  =                    1                                                 
BZERO   =                32768                                                 
XPIXSZ  =     3,79999995231628                                                 
YPIXSZ  =     3,79999995231628                                                 
XBINNING=                    1                                                 
YBINNING=                    1                                                 
EXPTIME =                  120                                                 
ISCOLOUR=                    T                                                 
DATE-OBS= '2020-07-27T01:06:31.968'                                             
BAYOFFX =                    1                                                 
BAYOFFY =                    0                                                 
GAIN    =                    6                                                 
OFFSET  =                   27                                                 
END                                                                                                                                               
and here is the fit header of the stacked image:
SIMPLE  =                    T                                                 
BITPIX  =                   16                                                 
NAXIS   =                    2                                                 
NAXIS1  =                 4644                                                 
NAXIS2  =                 3506                                                 
BSCALE  =                    1                                                 
BZERO   =                32768                                                 
XPIXSZ  =     3,79999995231628                                                 
YPIXSZ  =     3,79999995231628                                                 
XBINNING=                    1                                                 
YBINNING=                    1                                                 
EXPTIME =                  120                                                 
ISCOLOUR=                    T                                                 
DATE-OBS= '2020-07-27T01:06:31.968'                                             
BAYOFFX =                    1                                                 
BAYOFFY =                    0                                                 
GAIN    =                    6                                                 
OFFSET  =                   27                                                 
END       
These two headers are strictly identical, however:
with Fitswork the image of the series is correctly debayered by the filter G R / B G, while the image resulting from the stacking is correctly debayered by the filter R G / G B.
Can we trust the BAYOFFX, BAYOFFY indications? What do they mean?

Michel
« Last Edit: July 27, 2020, 02:55:44 pm by Michel »

vince

  • Atik Staff
  • Sr. Member
  • *****
  • Posts: 283
Re: Bayer matrix variable depending on the image?
« Reply #1 on: September 08, 2020, 12:18:38 pm »
Hello Michel,

The bayer matrix offsets are correctly identified by our software and most other astro software. If you are unsure what the offset should be have a look at this video we made a few years ago

https://www.youtube.com/watch?v=v6A2y3W0uJY&feature=emb_logo

With your images where the offset has changed is it possible the image was rotated?

Best regards
Vince

freidasnow

  • Newbie
  • *
  • Posts: 1
Re: Bayer matrix variable depending on the image?
« Reply #2 on: April 06, 2021, 08:44:09 am »
OK,I get it,tks!