2023.02.07 13:52 "[Tiff] Code for decoding of CFA tags", by David C. Partridge

I've found 3 tiff tags that appear to relate to the use of CFA (Bayer) images in tiff files:

Assume that I have little prior experience of coding for tiff.

  1. Would I be correct in assuming that in any given TIFF I would find either a) or b) but not both? If not which should take precedence?
  2. If these tags are present could some-one please point me to code that will correctly interpret them for de-Bayering the data.
  3. Is there anything like the FITS XBAYROFF/YBAYROFF headers to worry about?

Cheers, David