Are the S-Log3 transformations incorrectly applied to legal range data? #786
-
Data is transformed into legal range before passing through the log_decoding_SLog3 and log_encoding_SLog3 functions. This is incorrect according to the Technical Summary for S-Gamut3.Cine/S-Log3 and S-Gamut3/S-Log3 document (see FAQ Q4.) |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
I agree that that matches the provided table, I will have to go back and understand what I am missing in the documentation. Thank you for clarifying. |
Beta Was this translation helpful? Give feedback.
-
Believe me, I have spent a lot of time in a camera test rooms with cameras and waveform monitors, working out what is meant by ambiguous documentation! |
Beta Was this translation helpful? Give feedback.
-
The arguments were originally called |
Beta Was this translation helpful? Give feedback.
-
I understand the arguments. My confusion mostly stems from the difference between slog and slog3. The slog transformation is applied to full range data, whereas the slog3 one is applied to legal. |
Beta Was this translation helpful? Give feedback.
-
Yes. Sony changed the way they did things with the different S-Log papers. They also changed the handling of "reflectance" vs "linear IRE" just to keep everybody more confused. I would say S-Log2 and S-Log3 work the same way. They are just described from a different perspective in their respective white papers. Note that if you compare the S-Log(1) and S-Log2 values in the tables in the S-Log2 and S-Log3 white papers, they match. |
Beta Was this translation helpful? Give feedback.
-
@willSmallHD : Welcome! Given your alias, am I correct thinking you are working for SmallHD? |
Beta Was this translation helpful? Give feedback.
That is the purpose of the
out_normalised_code_value
(encoding) andin_normalised_code_value
(decoding) arguments. You can choose whether to apply a range scaling or not. This is to deal with cases such as recording the S-Log3 SDI output of a Sony camera with a "naive" ProRes Recorder, and then decoding the ProRes as if it were "video", mapping 0% IRE to 0.0 and 100% IRE to 1.0.Those two results match the 3.5% IRE and 10-bit CV 95, as given in the table in the Sony paper.
Or for all three reflectio…