0
我試圖做簡單的圖像處理與OpenCV的和++的cvBlobsLib在Visual C++ 2008年,我得到一個錯誤信息,當我嘗試創建一個CBlobResult對象堆棧各地使用可變cvBlobsLib(OpenCV的)時損壞
IplImage* original = cvLoadImage("pic6.png",0);
cvThreshold(original, original, 100, 255, CV_THRESH_BINARY);
CBlobResult blobs = CBlobResult(original, NULL, 255);
的消息如下:
Run-Time Check Failure #2 - Stack around the variable blobs was corrupted
爲什麼會出現這種情況?我應該如何創建這個對象?非常感謝您的幫助。