阅读背景:

获取存储在矩阵中的图像的ROI的平均R、G和B。

来源:互联网 

I am using OpenCV in C++. I have a matrix that stores the ROI from a certain image. Now I want to calculate the mean R,G and B values of all the pixels (ROI Matrix values basically). The longer way is to use two for loops and access each pixel and then each stream. But there is a function in Open CV I am using OpenCV in C++. I have a matrix that




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: