Can anyone point me towards a resource about how DNG spec handles native 3 color channels per pixel that does not require debayering. I know DNG supports a "linearized" output but it is not clear if the raw processor is smart enough to distinguish between a raw linearized file and a 3 raw color TIFF. Indeed, loading a raw tiff of an SD14 x3f file and that of a native x3f file show drastically different processed results in Adobe Camera Raw.
From reading over the DNG spec, the DNG spec seems to be geared towards data sets that are bayer-like in nature. I am interested to know if DNG can accommodate files like Multi-shot backs or Foveon sensors. As a related aside, I notice Camera Raw can natively handle foveon files up to a Sigma SD14, yet you can not actually use the Adobe DNG converter to convert these SD14 x3f files into DNG files. And the default "look" of an SD14 files looks very similar to that outputted from DCRaw which leads me to believe Adobe did an implementation of that DCRaw code as opposed to a generic 3 raw colors per channel file processing.
I was looking through the documentation and I see the following flags that can be set, though DNG seems to assume you actually have a CFA:
CFAPlaneColor provides a mapping between the values in the CFAPattern tag and the plane numbers in LinearRaw space. This is a required tag for non-RGB CFA images.
CFALayout describes the spatial layout of the CFA. The currently defined values are:
1 = Rectangular (or square) layout
2 = Staggered layout A: even columns are offset down by 1/2 row
3 = Staggered layout B: even columns are offset up by 1/2 row
4 = Staggered layout C: even rows are offset right by 1/2 column
5 = Staggered layout D: even rows are offset left by 1/2 column
6 = Staggered layout E: even rows are offset up by 1/2 row, even columns are offset left by 1/2 column
7 = Staggered layout F: even rows are offset up by 1/2 row, even columns are offset right by 1/2 column
8 = Staggered layout G: even rows are offset down by 1/2 row, even columns are offset left by 1/2 column
9 = Staggered layout H: even rows are offset down by 1/2 row, even columns are offset right by 1/2 column
Note that for the purposes of this tag, rows and columns are numbered starting with one.
Layout values 6 through 9 were added with DNG version 184.108.40.206.
ColorMatrix1 defines a transformation matrix that converts XYZ values to reference camera native color space values, under the first calibration illuminant. The matrix values are stored in row scan order.