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

asked 2016-08-11 13:26:48 -0600

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?

edit retag flag offensive close merge delete



looks like a driver problem not opencv.

LBerger gravatar imageLBerger ( 2016-08-12 01:30:08 -0600 )edit

I have the latest driver updates. Plus, I was able to reproduce this issue on another person's computer, who has roughly the same specs as mine. Could there be a possibility that the Intel HD Graphics 5500 graphics card doesn't have proper support to run OpenCV 3.1.0? If there is some kind of configuration that should be done in the source code that will allow for that graphics card to run it without crashing the first time?

orthogonality gravatar imageorthogonality ( 2016-08-12 11:42:58 -0600 )edit

if you have a small example to reproduce issue may be somebody will try it (I will do it..)

LBerger gravatar imageLBerger ( 2016-08-12 14:19:32 -0600 )edit