Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core dumped #36

Open
KeeganRen opened this issue Dec 16, 2016 · 2 comments
Open

core dumped #36

KeeganRen opened this issue Dec 16, 2016 · 2 comments

Comments

@KeeganRen
Copy link

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.cols
src.channels() == 2) in function undistortPoints

[1] 19077 abort (core dumped) ./SfMToyUI -v 0 -p ../dataset/crazyhorse/

@sahilyousif
Copy link

Hi @KeeganRen ,

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

@Magicboomliu
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants