2016-06-26 08:06:01 -0600 | asked a question | assertion Failed in Mat::at If I try to execute this code: I get the error: OpenCV Error: Assertion failed (elemSize() == (((((DataType<_Tp>::type) & ((512 - 1) << 3)) >> 3) + 1) << ((((sizeof(size_t)/4+1)16384|0x3a50) >> ((DataType<_Tp>::type) & ((1 << 3) - 1))2) & 3))) in cv::Mat::at (I debugged it the error occurs when calling GrayImage.at[...]) Does somebody know what this error means and how to fix it? I googled it already, but there wasn't a working solution until now. |