【发布时间】:2020-04-09 11:38:50
【问题描述】:
vector <Mat> sepframe;
split(frame, sepframe );
imshow(window_red, sepframe[2]);
imshow(window_green, sepframe[1]);
imshow(window_blue, sepframe[0]);
所以使用 BGR 我能够提取通道,但我想象在显示红色通道时,我将能够看到至少一些红色像素。在所有 3 个通道中,我看到的只是灰度图像(因为我只通过了一个通道垫)。 问题:如何得到我想象的图像。
【问题讨论】: