Evangelos Achillopoulos
Well-known member
- Joined
- Apr 10, 2007
- Messages
- 558
- Reaction score
- 0
- Points
- 0
- Location
- Athens, Greece
- Website
- www.motionfx.gr
I decided to start a new thread in order to clear up what Cineon encoding is, to RED team, below is my opinion, Mike Most, Mitch Gross and others please tell me if I'm wrong.
That is what made me start this thread... I thing that there is one log Cineon workflow (which is equivalent to scanned film DPX's) and the encoding of it is described below...
When we scan film we measuring negative film densities, status M that is, in RGB... film has a base density that we call "base", this is when the negative is developed, in the unexposed area at the perforation of the negative, we have an area that is the total black (unexposed) the base... above that base RGB values (densities) are recorded to negative... so to scan it we zeroing the scanner to the base density that we presume its the total black.
So on Cineon encoding which is 10bit Log we have the following structure on RGB values (0 to 1023 RGB) that are corresponding to negative densities above base.
From 0cv to 94cv (95) is nothing (in real life that is used after color grading that black can go below film black as a headroom)... the black Code Value (cv) is 95cv or 95Bcv (B=black point)... then every 0.002 negative densities, above base, is one Code Value (cv)... so for red negative density 1.002D the cineon value is 1.002D/0.002D=501cv then 501cv+95Bcv=596cv, for green negative value 0.75D which is the 18% gray value the number is 0.75D/0.002D=375cv then 375cv+95Bcv= 470cv... that's the LAD gray card number for those who understand what I'm saying... these values are going all the way up to 1023cv even though 1023cv is equal to 1.856D which is a very rare in real life applications...
Now how do we match these values to sensor linear data?
With scene brightness is the answer.
Study the following table and you will see what is the relation...
Or in that link for more info...
http://www.acvl.org/digital_intermediates/dicompanion/ch02.html#id591490
In the above table someone can realize that 90% white, is just a white with 90% scene brightness, and that there are whiter (brighter is better) whites than the 90%... that happens to be the other magic number that we commonly see and it called white point 685cv... so thats why the PDlog685 clips everything above 685 white... because, for a weird reason that I can't understand, someone on the RedAlert code (or REDCine code) presumed that above that white is nothing... or that it must compress all the values between 95 and 685...
Also its understood that in order to make the conversion of linear sensor data to Cineon values you have to totally disclose the maximum scene brightness that RED sensor can withstand... If that is not being done, totally aligned with the above method, then there will be problems like Rainer is describing...
The rest its just mathematics... that I thing Graeme is very capable of solving...
I just described a very precise description of what we all want... (I thing...)
This is how you going to create DPX files according to Cineon 10bit Log spec.
That is what all want.-
Everyone's got a different opinion about what's best for post and there really is no "one simple way". We will continue to add more options and flexibility for log workflows though because we often get requests for different types of outputs for log workflows (and they're all different).
That is what made me start this thread... I thing that there is one log Cineon workflow (which is equivalent to scanned film DPX's) and the encoding of it is described below...
When we scan film we measuring negative film densities, status M that is, in RGB... film has a base density that we call "base", this is when the negative is developed, in the unexposed area at the perforation of the negative, we have an area that is the total black (unexposed) the base... above that base RGB values (densities) are recorded to negative... so to scan it we zeroing the scanner to the base density that we presume its the total black.
So on Cineon encoding which is 10bit Log we have the following structure on RGB values (0 to 1023 RGB) that are corresponding to negative densities above base.
From 0cv to 94cv (95) is nothing (in real life that is used after color grading that black can go below film black as a headroom)... the black Code Value (cv) is 95cv or 95Bcv (B=black point)... then every 0.002 negative densities, above base, is one Code Value (cv)... so for red negative density 1.002D the cineon value is 1.002D/0.002D=501cv then 501cv+95Bcv=596cv, for green negative value 0.75D which is the 18% gray value the number is 0.75D/0.002D=375cv then 375cv+95Bcv= 470cv... that's the LAD gray card number for those who understand what I'm saying... these values are going all the way up to 1023cv even though 1023cv is equal to 1.856D which is a very rare in real life applications...
Now how do we match these values to sensor linear data?
With scene brightness is the answer.
Study the following table and you will see what is the relation...
Or in that link for more info...
http://www.acvl.org/digital_intermediates/dicompanion/ch02.html#id591490
In the above table someone can realize that 90% white, is just a white with 90% scene brightness, and that there are whiter (brighter is better) whites than the 90%... that happens to be the other magic number that we commonly see and it called white point 685cv... so thats why the PDlog685 clips everything above 685 white... because, for a weird reason that I can't understand, someone on the RedAlert code (or REDCine code) presumed that above that white is nothing... or that it must compress all the values between 95 and 685...
Also its understood that in order to make the conversion of linear sensor data to Cineon values you have to totally disclose the maximum scene brightness that RED sensor can withstand... If that is not being done, totally aligned with the above method, then there will be problems like Rainer is describing...
The rest its just mathematics... that I thing Graeme is very capable of solving...
I just described a very precise description of what we all want... (I thing...)
This is how you going to create DPX files according to Cineon 10bit Log spec.
That is what all want.-