I'm using OpenCV 3.0, but my question should be version agnostic. I'm wondering which of the many RGB color space OpenCV uses by default.
That is, for images in the default representation, BGR
, which RGB space does OpenCV use?
I suspect they are either the CIE 1931 XYZ functions:
or the CIE 1931 RGB functions:
Heads up: this question is mirrored here. I'll make sure any knowledge is shared between them.