cv:Mat Encoding (RGB vs BGR)

asked 2016-04-15 06:56:29 -0600

kovand11 gravatar image

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)

edit retag flag offensive close merge delete

Comments

no encoding is stored at all.

berak gravatar imageberak ( 2016-04-15 08:23:09 -0600 )edit