[問題] Assertion failed .../mat.hpp, line 428

看板C_and_CPP (C/C++)作者 (FrisbeeFish)時間10年前 (2015/09/21 14:37), 10年前編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) VS 2013 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) Opencv2.4.9 問題(Question): 執行多張影像的拼貼。 圖片有13張,一次讀取一張,讀取成功縮小影像為原尺寸一半,接著Push進vector。 預期的正確結果(Expected Output): 環場影像。 錯誤結果(Wrong Output): OpenCV Error: Assertion failed < y == 0 :: <data && >= 1 && <unsigned>y < <un signed>size.p[0]>> in cv::Mat::ptr.file C:\.................\opencv2/core/mat. hpp, line 428 程式碼(Code):(請善用置底文網頁, 記得排版) http://codepad.org/ubixumU7 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.138.176.60 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1442817429.A.ECD.html ※ 編輯: Fisher810228 (140.138.176.60), 09/21/2015 14:42:06
文章代碼(AID): #1L_wMLxD (C_and_CPP)
文章代碼(AID): #1L_wMLxD (C_and_CPP)