Well this was the reply I got from Terry at SX, to my question asking what is the correct bayer pattern to use for this camera…and if you understand it then good on you….😂😂
There isn’t an easy answer to this, as it varies with the software that you use. I always recommend taking an image of objects with a known colour ad then trying the various colour decode settings to get a good image.
The wrong settings are usually easy to spot, as they give completely the wrong colour and often have a residual ‘grid’ pattern.
The start point defines the array pattern, so the pixel and line at the top corner of the image array will set the RGB pattern for decoding. As we do not have direct control of the third party software, it may start on a red, green or blue pixel and this swaps the decode pattern between RGGB, GRBG, GBRG and BGGR, depending on the start point.
Once defined for your software, it is reliable, but different programs may have different patterns.