Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Which color matching functions does OpenCV use for its RGB/BGR color space?

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:

CIE XYZ

or the CIE 1931 RGB functions:

CIE RGB


Heads up: this question is mirrored here. I'll make sure any knowledge is shared between them.