摘要: 1. 关于Mat的row操作cv::Mat mat1 = cv::Mat(2,2,CV_64F);mat1.at<double>(0,0) = 1;mat1.at<double>(0,1) = 2;mat1.at<double>(1,0) = 3;mat1.at<double>(1,1) = 4;cv::Mat mat2 = cv::Mat(2,2,CV_64F);mat2.row(0) = mat1.row(0);mat2.row(1) = mat1.row(1);std::cout<<mat1<<std::endl;s 阅读全文
posted @ 2012-04-16 19:55 yangyangcv 阅读(1793) 评论(4) 推荐(0) 编辑