2019-07-25 23:36:38 -0600 | received badge | ● Notable Question (source) |
2019-01-12 06:49:04 -0600 | received badge | ● Popular Question (source) |
2017-05-21 22:11:34 -0600 | asked a question | OpenCV Error: Assertion failed(dims <= 2..... Hi everyone, I am trying to map a depth image to color space, the flowing is my code, here W is Calibration parameters. When I run this code, I got a debug error:R6010: and an opencv error: OpenCV Error: Assertion failed (dims <= 2 && data && (unsigned)i0 < (unsigned)size.p[0] && (unsigned)(i1 * DataType<_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:\opencv\opencv\build\include\opencv2\core\mat.inl.hpp, line 894 I debug the code and find that in row 0 and column 476 of the image a breakpoint is triggered. Can you help me to point where the problem is and solve it ? Thank you very much. |