我将图像从rgb转换为YUV.现在我想找到单独的亮度通道的平均值.你能告诉我如何实现这个目标吗?此外,有没有办法确定图像包含多少个频道?
c++ opencv image-processing computer-vision
c++ ×1
computer-vision ×1
image-processing ×1
opencv ×1