Error when opencv running (visual studio c++)
I have an error with information as below:
OpenCV Error: Assertion failed (dims <= 2 && data && (unsigned)i0 < (unsigned)size.p[0] && (unsigned)(i1DataType<_Tp>::channels) < (unsigned)(size.p[1]channels()) && ((((sizeof(size_t)<<28)|0x8442211) >> ((DataType<_Tp>::depth) & ((1 << 3) - 1))*4) & 15) == elemSize1()) in cv::Mat::at, file E:\EE_env\OpenCV\opencv\build\include\opencv2/core/mat.hpp, line 538 Does anyone know how to solve my problem. Thank you!
can you show the context / code, please ?
Can you help to provide me your guesses ? Or anything related to this problem. The source is quite complex so I can post in here, hope you sympathize.
well, you're obviously doing something bad, try to locate it, and maybe show the +-5 lines of code around that, so we can make more educated guesses.
I can not determine which line cause the error, the program run for a while and is halted, it just jump to that file (mat.hpp) at that line. Thank you!
cmon, you got the best debugger, the world has seen, ever. can it be, you just don't know , how to handle anything ?
sorry, kid, but with your recent approach, you're not going to make anything, ever.