You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** Launch the example sequences or use your own sequence / live camera and update the file 'data.yml' with the corresponding camera_path and calibration parameters ***
frames_processed -> 100 %
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.2.0) ../modules/core/src/matrix_expressions.cpp:23: error: (-5:Bad argument) Matrix operand is an empty matrix. in function 'checkOperandsExist'
and i don't know how to fix it
The text was updated successfully, but these errors were encountered:
I got the same problem and I fixed it.
change around line 285 in file /src/SemiDenseMapping.cpp
semidense_mapper->points_ref_im_sd = points_ref_im_sd_init.clone();
semidense_mapper-> image_points_byFocal_sd = image_points_byFocal_sd_init.clone();
semidense_mapper->do_init_semi=0;
cv::Mat& dm = semidense_mapper->depth_map;
dm = cv::Mat::zeros(dm.rows,dm.cols,dm.type());
problem comes from "= semidense_mapper->depth_map*0;"
there are a lot of places(more than the place i just typed) that has "cv::Mat/*0", all considered wrong.
replace them with cv::Mat::zeros() function, then the project will work.
that's my testing scene.
*** DPPTAM is working ***
*** Launch the example sequences or use your own sequence / live camera and update the file 'data.yml' with the corresponding camera_path and calibration parameters ***
frames_processed -> 100 %
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.2.0) ../modules/core/src/matrix_expressions.cpp:23: error: (-5:Bad argument) Matrix operand is an empty matrix. in function 'checkOperandsExist'
and i don't know how to fix it
The text was updated successfully, but these errors were encountered: