摘要:
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; 阅读全文
摘要:
矩阵的边界填充类型 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) 阅读全文