- 博客(2)
- 资源 (9)
- 收藏
- 关注
原创 OpenCV Mat数据的按行(列)和多行(列)赋值
赋值的不正确情况在使用opencv的过程中,希望多行或者多列进行赋值,我之前的代码是这样的 Mat c = Mat::zeros(3, 5, CV_32F); Mat a = Mat::ones(3, 6, CV_32F); //对a的第一列进行赋值 a.col(0) = c.col(0); //将c的1-5列赋值给a a.colRange(1, 6)
2017-03-25 16:36:38 27578 7
原创 【LeetCode】467. Unique Substrings in Wraparound String
问题描述Consider the string s to be the infinite wraparound string of “abcdefghijklmnopqrstuvwxyz”, so s will look like this: “…zabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd….”.Now we have anot
2017-03-01 19:40:15 564
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人