SfM-Toy-Library
SfM-Toy-Library copied to clipboard
core dumped
Ubuntu 14.04 OpenCV 3.1 Boost 1.6.2 gcc4.8
./SfMToyUI -v 0 -p ../dataset/crazyhorse/
----------------- Extract Features ----------------- ----------- Create Feature Match Matrix ------------ ----------- Find Baseline Triangulation ------------ ---------- Find Views Homography Inliers ----------- Ceres Solver Report: Iterations: 40, Initial cost: 1.319235e+01, Final cost: 1.255787e+01, Termination: CONVERGENCE ------------------ Add More Views ------------------ Ceres Solver Report: Iterations: 50, Initial cost: 1.122973e+02, Final cost: 4.608769e+01, Termination: CONVERGENCE OpenCV Error: Assertion failed (src.isContinuous() && (src.depth() == CV_32F || src.depth() == CV_64F) && ((src.rows == 1 && src.channels() == 2) || src.colssrc.channels() == 2)) in undistortPoints, file /home/keegan/Ren/Compile/OpenCV/opencv-3.1-Install/opencv-master/modules/imgproc/src/undistort.cpp, line 423 terminate called after throwing an instance of 'cv::Exception' what(): /home/keegan/Ren/Compile/OpenCV/opencv-3.1-Install/opencv-master/modules/imgproc/src/undistort.cpp:423: error: (-215) src.isContinuous() && (src.depth() == CV_32F || src.depth() == CV_64F) && ((src.rows == 1 && src.channels() == 2) || src.colssrc.channels() == 2) in function undistortPoints
[1] 19077 abort (core dumped) ./SfMToyUI -v 0 -p ../dataset/crazyhorse/
Hi @KeeganRen ,
Were you able to rectify this? I'm facing the same issue.
core dumped problem often occurs when null pointer is used or deleted, Please check your code, Maybe use unique pointer can avoid this problem.