@maxotics
Thank you for your post.
By the way, on the strength of your work with the EOS-M, I just got one with a Fujian 35mm. I can't wait to start shooting with it!
In regards to my color depth post, the math that I quoted (from the page that I linked) has nothing to do with video compression. In fact, that formula only applies to raw, unadulterated image information. Introducing compression variables would make the math more complex.
However, introducing compression can never increase the color depth capabilities inherent in a given image capture or image viewing system.
Not sure what is the point with the Bayer images, but the color depth formula probably applies to raw Bayer images, with a slight adjustment. One chooses pixel groups in multiples of four (two green, one blue, one red), and, I think the only formula change is that one merely sums the bit depth of the two green pixels and then multiplies that sum against the bit depth of the other two pixles.
Keep in mind that one is calculating the color depth of a raw image that normally (but not necessarily) has a predominant green cast. Also, be mindful of the fact that there are no Bayer viewing systems (just Bayer sensors).
On the other hand, there are several non-Bayer sensors (even RGB sensors, eg. Panavision Genesis), and almost all digital color viewing systems are RGB.
I do not follow the point on the formula discrepancy, but note that for the formula to work, one must choose a percentage of an image frame, and one must consistently use that same percentage for all image frames to assess their relative color depth. One can choose for the area to be the entire image, but then one is essentially taking the entire frame as one blended pixel group.
If you are consistently utilizing the same image percentage throughout your example, please simplify your point for my benefit. I do not understand your conclusion, with the statement, "The number of bits that represent a color have 2 aspects."
I think that I agree with the statement: "The larger the bit value the GREATER accuracy you can have in representing the color." I am not sure if "accuracy" is the appropriate term. Certainly, the larger the bit depth, the greater the number of possible colors/shades.
I am not sure this statement was what you meant: "The large the bit value, the greater RANGE you can have between the same color in two neighboring pixels, say." There is a situation in which the color/shade range would be exactly the same regardless of bit depth. In addition, a greater bit depth can actually reduce the dynamic range between two pixel values. I am happy to give examples on request.
Speaking of dynamic range, it really is a property that is independent from bit depth and color depth. Dynamic range involves the possible high and low value extremes relative to the noise level. The bit depth determines the number of available increments within those extremes. There are plenty of examples of systems having high dynamic range with a low bit depth (and vice versa).
I agree with this statement: "Higher resolution does not create higher dynamic range." Resolution and dynamic range are completely independent. However, higher resolution definitely increases color depth.
I disagree with this statement: "Dynamic range is a function of bit-depth at the pixel level." Again, bit depth and dynamic range are two different characteristics. A system can have: great bit depth and low dynamic range or low bit depth and great dynamic range -- or any other combination of the two.
Thanks!
[edit -- corrected formula]