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
Post a Comment