摘要: Matlab中filter2与opencv中filter2D的比较 比较一:横向卷积 Matlab中filter2: opencv中filter2D: Mat C =(Mat_<float>(3,4)<<1,2,3,4,5,6,7,8,9,10,11,12); float *data = NULL; 阅读全文
posted @ 2019-09-24 16:14 walker_bin 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 矩阵的边界填充类型 Mat C =(Mat_<uchar>(3,3)<<1,2,3,4,5,6,7,8,9); uchar *data = NULL; for (int row = 0; row < C.rows; row++) { data = (uchar *)C.ptr<uchar>(row) 阅读全文
posted @ 2019-09-24 15:19 walker_bin 阅读(557) 评论(0) 推荐(0) 编辑