Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv:Mat Encoding (RGB vs BGR)

How is the encoding information stored in the in a cv:Mat? Like how it can be known if it is an RGB or a BGR image? (there are other possibilities) As far as I know, it is only the channel number what is stored. (like 32FC1)