Re: Extracting green channel from FITS

Posted by han.k on
URL: http://astroimagej.170.s1.nabble.com/Extracting-green-channel-from-FITS-tp1750p1824.html

The purpose of the XBAYROFF and YBAYROFF is when rows of columns are skipped. I assume for area which used a dark reference in some sensors.  They are rare maybe very rarely used. If you crop an image in MaximDL they are not generated. So that is surprising.

Since Bayer pattern is 2x2 you only have to apply them if the value is odd. An odd value is the same as flipping the pattern or shifting one pixel.

They can all occur. So an odd value for YBAYROFF is the same as ROWORDER= 'BOTTOM-UP' if both  are in the header they nullify each other.  But I never found a file for testing.  Maybe we should ask the makers of MaximDL for a sample.

Han