Opencv IplImage (or Mat): how get the color format? -
please, talking c++, how can color format (rgb or bgr example), object cv::mat or cv::iplimage? thanks.
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.
opencv iplimage
No comments:
Post a Comment