[問題] R6010 -abort的bug
看板C_and_CPP (C/C++)作者Fisher810228 (FrisbeeFish)時間10年前 (2015/09/07 19:57)推噓3(3推 0噓 7→)留言10則, 4人參與討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VS2013
額
外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
OpenCV2.4.9
問題(Question):
我現在正在使用OpenCV的拼貼功能,可是每當我使用的時候,當需要拼貼的畫面一多,總
是會跑出R6010 -abort()has been called的這個錯誤,一直找不出錯誤的地方,還想請
問有經驗的前輩們相關解決辦法。
程式碼:
vector<Mat> img;
Mat dst;
Mat img1 = imread("img0001.bmp",1);
img.push_back(img1);
for(inti = 1; i < 10; i++){
Mat img2 = imread(NextFrame);
img.push_back(img2);
Stitcher stitcher = Stitcher::createDefault(false);
Stitcher::Status status = stitcher.stitch(img,dst);
}
在讀取影片做拼得的動作時,我是使用迴圈去拼貼A跟B得C,接著C跟D得E,E再跟F拼,依
此類推。
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.138.176.63
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1441627067.A.B45.html
※ 編輯: Fisher810228 (140.138.176.64), 09/07/2015 21:42:43
推
09/07 22:08, , 1F
09/07 22:08, 1F
→
09/07 22:15, , 2F
09/07 22:15, 2F
推
09/08 11:01, , 3F
09/08 11:01, 3F
→
09/08 11:02, , 4F
09/08 11:02, 4F
→
09/09 00:22, , 5F
09/09 00:22, 5F
→
09/09 08:31, , 6F
09/09 08:31, 6F
→
09/09 08:34, , 7F
09/09 08:34, 7F
→
09/09 08:42, , 8F
09/09 08:42, 8F
→
09/10 08:00, , 9F
09/10 08:00, 9F
推
09/10 08:18, , 10F
09/10 08:18, 10F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章