博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年10月25日

摘要: const int dims = 3; int size[] = {3, 3, 3}; SparseMat mm(dims, size, CV_32F); int idx[dims] = {1,1,1}; mm.ref<float>(idx) += 1.0f; idx[1] = 0; mm.ref<float>(idx) += 1.0f;//添加元素或修改元素 SparseMatConstIte... 阅读全文

posted @ 2011-10-25 14:04 yuanzfy 阅读(645) 评论(0) 推荐(0)