Ask Your Question

Revision history [back]

Exactly once after my computer wakes up, OpenCV 3.1.0 remap causes Intel HD Graphics 5500 to stop responding

I've tested this a couple of times; at one point in my code I call the OpenCV remap function, passing in a large roughly 2000x2000 pixel image into the function, and the destination image is roughly the same size as well. I am using the CV_INTER_LINEAR interpolation mode.

remap(image, projectedImage, mapX, mapY, CV_INTER_LINEAR);

Every time the code tries to execute this function, it crashes. The strange thing is that this only occurs one time only after I wake up my computer from sleep. Every time after that, it executes perfectly. Then if I sleep my computer and wake it up again, the program crashes one time only just like before, and executes successfully every time after that until I sleep my computer again.

This makes me think that there is some preprocessing parameter not being set right, or perhaps I need to configure my display driver differently. I have searched on Google very extensively and have not been able to pinpoint the solution to this issue. Can anybody offer any pointers here, or has anyone experienced this before?