@tommyzenth Cool! Thank you so much. Did I miss the Linear option in the second dropdown? I couldnât see it? I refreshed a few times.
EDIT Ah, I see the problem. It is there, but the bottom of the list is getting visually cut off by the css. Just needs a tweak to padding?
PS Is it possible for the app to take a dng sample as well as dpx? I canât get a âcleanâ dpx from the source dng without baking in some transform â unless someone knows how!?
@Dean Iâve found the problem and it is very interesting.
For Arri, the reason is that if I use the provided ACES primaries and white point ([0.73470,0.26530,0.000,1.000,0.000,-0.07700,0.32168,0.33767,0.0]) to calculate ACES(AP0) to XYZ matrix, the precision of the matrix is low compared to the matrix presented in the ACES P-2013-001document. As a result, I directly use the XYZ matrix shown in ACES P-2013-001document with the CAT02 method, I got the exact same transformation (even higher precision) as the Arri official document. (I have updated the tool)
@sdyer I think a more accurate ACES RGB primaries should be provided to make all the calculations consistent.
As for RED, there is a very tiny deviation at ~0.00002 precision caused by the Bradford matrix, as I only got 4digit precision data of the Bradford matrix. The deviation will be fixed if I find a Bradford matrix model with higher precision.
@sdyer I also found a very interesting point about the white point D65, the CIE xy data of D65 is
[0.3127, 0.3290] and its XYZ value is shown as [0.9504, 1.0000, 1.0888] on every document I found. However, when D65 xyY is converted to XYZ value mathematically, it can never be [0.9504, 1.0000, 1.08883]. It is not a precision issue. I am not sure whatâs going on here.
The primaries are what they are and they should not be changed, ever
Likewise, the Bradford matrix is given at 4 digits and that is what you will find everywhere, should you change it for something more precise, and you would never match other sources.
The CIE xy values for D65 is not [0.3127, 0.3290] but [0.31272, 0.32903] as given in CIE 015:2018 Colorimetry, 4th Edition. The rounded value at 4 digits is the one used by virtually all the RGB colourspaces using D65. You will, unfortunately, find many variants depending on the source of the data.
@tommyzenth Update on visual display of Linear option et al. Just a heads up: Iâm on Mac: Linear option is only visible on Firefox. Safari and Chrome it is cut-off. First tests of the XYZ > Linear > ACES settings create a DCTL that is visually identical to leaving Resolve CTL to âNo LUT selectedâ. I assume this means that Resolve is using the Adobe DNG D50 matrices? Thanks again!
Thanks for the feedback!. I will check if there is a bug for Safari or Chrome soon. I found the visual result identical to leaving Resolve No Lut is caused by a mistaking when implementing CIE XYZ space as source space. I really hope if you could send me one ML sample dng file. That would be sufficient to test because currently it quite hard for me to debug ML raw without any visual content.
@Paul_Dore Sorry if this is a dumb question, but is it impossible to intercept the transform in Resolve from Raw XYZ into ACES that it performs automatically when say DNG is loaded?
I just fixed a bug that the previous display in rec709(ODT+RRT) may encounter incorrect white point issue due to an additional matrix transpose operation, now itâs fixed. (The IDT were not affected, only the display in web page had a bug).
The formula converting XYZ to ACES is universal, what you want to look at is the conversion from the camera raw to XYZ. Thereâs no need for a transfer function to convert to linear (because itâs already linear in raw), just two 3x3 matrices (one for the conversion to XYZ and one for the white point conversion). As far as I know, you canât intercept these values directly in Resolve. You would have to overwrite the DNG metadata if you want to change the values. Otherwise, you could apply an additional 3x3 matrix via DCTL (provided you know which values are being interpreted in the metadata).
Another issue with the DNG format is that itâs not really suited for true scene referred caption i.e. the full dynamic range of the camera is always squeezed into the region of 0.0 to 1.0, so even in linear space thereâs no extra highlight latitude (when there should be). This was one of the reasons I worked on a DNG specific DCTL.
@Paul_Dore Thanks for the reply Paul. This is very useful information. Is this âtwo 3x3 matricesâ data that could theoretically be re-written to the DNG post capture using say exiftool? Fascinating re the extra highlight latitude missing in DNG format. I didnât know this. Does ensuring the DNG has max 16383 White Level present improve headroom? Or is it data we can never recover?
BMD WIde Gamut Film Gen 4 ïŒBMPCC 4k Film Gen 4ïŒ
BMD Video Gen 4
The log curve data of the BMD cameras are not published, currentlly you may need to convert the log gamma to other common gamma (linear, arri log C, etcâŠ) via Color Transform Ofx or 1D Lut in Resolve before using this DCTL.
Nice! Are the BMD matrices reverse engineered out of the Resolve Color Space Transform OFX?
Iâve not experimented with it, but DCTLs can apply LUTs, so I wonder if it might be possible to have generated DCTLs for BMD transforms make use of the 1D LUTs which ship with Resolve to do the linearisation?
EDIT
Just tested, and as an example the following DCTL seems to work:
Note: The relative path of the LUT needs to be correct. I have a first level sub-folder of IDTs, hence the ../ at the start of the LUT path. I only tested on a Mac. Cross platform compatibility might complicate path naming.