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;
相關文章
相關標籤/搜索