Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

brief_match_test

so hi...

i just installed the opencv 2.4.6.1 and compiled the brief_match_test in cpp samples. when i run it with the example images provided (box.png box_in_scene.png) i get :

OpenCV Error: Assertion failed (mtype == type0 || (CV_MAT_CN(mtype) == CV_MAT_CN(type0) && ((1 << type0) & fixedDepthMask) != 0)) in create, file /usr/local/src/opencv-2.4.6.1/modules/core/src/matrix.cpp, line 1486

i get that it checks if that expression is true. but if that is the stock code - i haven't changed anything in either the brief_match_test code or the matrix.cpp - and images provided with the samples why would that expression be a problem..

brief_match_test

so hi...

i just installed the opencv 2.4.6.1 and compiled the brief_match_test in cpp samples. when i run it with the example images provided (box.png box_in_scene.png) i get :

OpenCV Error: Assertion failed (mtype == type0 || (CV_MAT_CN(mtype) == CV_MAT_CN(type0) && ((1 << type0) & fixedDepthMask) != 0)) in create, file /usr/local/src/opencv-2.4.6.1/modules/core/src/matrix.cpp, line 14861486

terminate called after throwing an instance of 'cv::Exception' what(): /usr/local/src/opencv-2.4.6.1/modules/core/src/matrix.cpp:1486: error: (-215) mtype == type0 || (CV_MAT_CN(mtype) == CV_MAT_CN(type0) && ((1 << type0) & fixedDepthMask) != 0) in function create

Aborted

i get that it checks if that expression is true. but if that is the stock code - i haven't changed anything in either the brief_match_test code or the matrix.cpp - and images provided with the samples why would that expression be a problem..