[問題] vector<iplimage*>的複製

看板C_and_CPP (C/C++)作者 (little sunshine:))時間13年前 (2013/03/27 23:06), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) vc++ 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) opencv 問題(Question): 不好意思請問一下各位大大 要如複製儲存多張iplimage*的vector到另一個vector裡呢? 因為原始的vector裡面是iplimage的指標 所以複製過去都會互相被改變@@ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.118.175.46

03/27 23:11, , 1F
自己實現一個複製函式
03/27 23:11, 1F

03/27 23:20, , 2F
改用mat
03/27 23:20, 2F
文章代碼(AID): #1HKmhj5e (C_and_CPP)
文章代碼(AID): #1HKmhj5e (C_and_CPP)