iplimage - How get the color format in Opencv? -


in c++, how can color format (rgb or bgr example), object cv::mat or cv::iplimage?

the image type not part of image specification in opencv.
user needs know , track actual color format.
in cases, not problem since format of source of image known.
rule of thumb, rgb image sources (webcams, files etc.) represented bgr, should check particular domain.


Comments

Popular posts from this blog

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -

javascript - How to get D3 Tree link text to transition smoothly? -