彩色图RGB -操作函数

多通道拆分:split(img,imgRGB);  //Mat imgRGB[3]

多通道合并:merge(imgRGB,3,img);

原文地址:https://www.cnblogs.com/wllwqdeai/p/11755654.html