Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

neither cv::Mat, nor numpy arrays "know" about the colorspace at all.

imshow() will only look at the channels and the depth (float images will get multiplied by 255)

so, if you throw a yuv image at it, Y will get mapped to the 1st(blue), U will go into green, and V into red channel for visualization. - that's it !