What Exactly is BaseColor?

OK thanks, this is very enlightening.

Essentially what I am trying to do is find a reliable method to check whether two colors are the same. In other words:

  1. Define a BaseColor channel value using numbers (e.g 0.4575)
  2. Take a SceneCapture
  3. Read the chosen pixel’s BaseColor channel
  4. Check if the value is the same (i.e. 0.4575), and if so, return TRUE

However, what has become clear from this discussion is that conducting such a test is by no means trivial. As you point out, there are many nuances which might cause values to change somewhere during the process, causing any dependent logic to fail.

I guess the only practical solution would be to assume 8-bit unsigned integers, then implement some watertight testing and validation at every step to ensure data is as expected :slight_smile: