【发布时间】:2013-02-19 09:27:51
【问题描述】:
访问多通道矩阵的第 i 行 channel::n 的语法是什么。我可以访问 channel::n 的 (i,j) 元素,但是使用 row、rowRange 等函数的语法是什么.....
示例代码:
Mat M(10, 3, CV_32SC3);
cout << M.at<Vec3d>(0,0)[1] << endl; // This works
cout << M.row(0)[1] << endl; // Syntax of this
【问题讨论】: