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

html - jquery - p element wont show after I hid it -

python - BeautifulSoup: How to get the nearest tag -

php - Return Last Insert ID with PDO -