I have got a problem with some basic OpenCV code. Here is my code:
cv::Mat src;
src=imread(\"Calibration.bmp\",0);
if (src.empty())
cout << \"Ca
I had this behavior when trying to load an ARGB bitmap image (which I tried to load with color). Converting the bitmap to RGB (24bpp) solved the problem.
Ok, I fixed the problem... Problem arises when you are mixing up release and debug OpenCV libs. I've changed paths and libs names in project properties and "cv::imread" works just fine.