Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I get exception when I do a flip

First-chance exception at 0x0F5880DD (igdrcl32.dll) in ImageUtils.exe: 0xC0000005: Access violation reading location 0x000008E0. Unhandled exception at 0x0F5880DD (igdrcl32.dll) in ImageUtils.exe: 0xC0000005: Access violation reading location 0x000008E0.

     std::vector<uchar> vectorImageDecoded(imageDecodedLength);
memcpy(&vectorImageDecoded[0], imageDecoded, imageDecodedLength);
cv::Mat matrixDecoded = cv::imdecode(cv::Mat(vectorImageDecoded), cv::IMREAD_UNCHANGED);

cv::Mat res;
cv::flip(matrixDecoded, res, 0);
imageMatrix = res;

Why I get this from that dll? How should I avoid this the image is a .png format

I get exception when I do a flip

image description

First-chance exception at 0x0F5880DD (igdrcl32.dll) in ImageUtils.exe: 0xC0000005: Access violation reading location 0x000008E0. Unhandled exception at 0x0F5880DD (igdrcl32.dll) in ImageUtils.exe: 0xC0000005: Access violation reading location 0x000008E0.

     std::vector<uchar> vectorImageDecoded(imageDecodedLength);
memcpy(&vectorImageDecoded[0], imageDecoded, imageDecodedLength);
cv::Mat matrixDecoded = cv::imdecode(cv::Mat(vectorImageDecoded), cv::IMREAD_UNCHANGED);

cv::Mat res;
cv::flip(matrixDecoded, res, 0);
imageMatrix = res;

Why I get this from that dll? How should I avoid this the image is a .png format