Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

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

$
0
0
I'm using OpenCV 3.0, but my question should be version agnostic. I'm wondering which of [the many](https://en.wikipedia.org/wiki/RGB_color_space#Specifications) RGB color space OpenCV uses by default. That is, **for images in the [default representation, `BGR`](http://docs.opencv.org/doc/tutorials/core/how_to_scan_images/how_to_scan_images.html#how-the-image-matrix-is-stored-in-the-memory), which RGB space does OpenCV use**? I suspect they are either the [CIE 1931 XYZ functions](https://en.wikipedia.org/wiki/File:CIE_1931_XYZ_Color_Matching_Functions.svg): ![CIE XYZ](https://upload.wikimedia.org/wikipedia/commons/8/8f/CIE_1931_XYZ_Color_Matching_Functions.svg) or the [CIE 1931 RGB functions](https://commons.wikimedia.org/wiki/File:CIE1931_RGBCMF.svg): ![CIE RGB](https://upload.wikimedia.org/wikipedia/commons/6/69/CIE1931_RGBCMF.svg)

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>