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

sql server - MSSQL Text and Varchar(MAX) fields shown (MEMO) in DBGrid -

php - Changing the visibility scope of parent methods in child classes -

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