我的Img在IplImage*中
您确认以下是正确的顺序:
- x and y: x for the width and y for the height of the image?
B, G and R : the order of OpenCV in colors?
CvScalar scal = cvGet2D(img, x, y); blue_lum=scal.val[0]; green_lum=scal.val[1]; red_lum=scal.val[2];
- The order of a 3Channel image? Channel 1 is B and Channel 3 is R ?