1 Reply Latest reply on Aug 17, 2016 4:29 AM by sandy_mc

    Which DNG tag is used to specify Bayer orientation?

    Benhut1 Level 1

      There are 4 possible orientations for the Bayer color filter array in a camera sensor's upper-left corner (and the pattern then repeats throughout the image). These are:

      RG

      GB

       

      BG

      GR

       

      GR

      BG

       

      GB

      RG

       

      Which DNG tag specifies which orientation is being used? I have looked at the official specification at https://www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_spec_1.4.0.0.pdf and I cannot find any such tag listed. Please let me know. I'm writing my own DNG reader, so I will need to know what tag is used for this purpose. Without knowing the orientation of the Bayer color filter array, a demosaiced image cannot be reconstructed.