namedWindow("dst");
//i want t show R B G pictures
vector<Mat> spl;
src = imread("t1.jpg");
imshow("SRC",src);
split(src,spl);
imshow("spl1",spl[0]);
imshow("spl2",spl[1]);
imshow("spl3",spl[2]);
1 | initial version |
namedWindow("dst");
//i want t show R B G pictures
vector<Mat> spl;
src = imread("t1.jpg");
imshow("SRC",src);
split(src,spl);
imshow("spl1",spl[0]);
imshow("spl2",spl[1]);
imshow("spl3",spl[2]);
2 | No.2 Revision |
namedWindow("dst");
//i want t show R B G pictures
vector<Mat> spl;
src = imread("t1.jpg");
imshow("SRC",src);
split(src,spl);
imshow("spl1",spl[0]);
imshow("spl2",spl[1]);
imshow("spl3",spl[2]);
imshow("spl1",spl[0]);//b
imshow("spl2",spl[1]);//g
imshow("spl3",spl[2]);//r
3 | retagged |
namedWindow("dst");
//i want t show R B G pictures
vector<Mat> spl;
src = imread("t1.jpg");
imshow("SRC",src);
split(src,spl);
imshow("spl1",spl[0]);//b
imshow("spl2",spl[1]);//g
imshow("spl3",spl[2]);//r