SfM-Toy-Library icon indicating copy to clipboard operation
SfM-Toy-Library copied to clipboard

core dumped

Open KeeganRen opened this issue 8 years ago • 2 comments

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/

KeeganRen avatar Dec 16 '16 03:12 KeeganRen

Hi @KeeganRen ,

Were you able to rectify this? I'm facing the same issue.

sahilyousif avatar Oct 04 '17 07:10 sahilyousif

core dumped problem often occurs when null pointer is used or deleted, Please check your code, Maybe use unique pointer can avoid this problem.

Magicboomliu avatar Mar 07 '21 10:03 Magicboomliu