opencv分别显示彩色图片各通道图片

#include<opencv2/opencv.hpp>   #include<stdlib.h>   using namespace cv; using namespace std; int main() { Mat img = imread("dota_jugg.jpg"); if (!img.data)  { cout << "加载图片失败!" << endl; return false;
相关文章
相关标签/搜索