c++ - who can help me with this exception in vs2010 and opencv3.0 alpha? -
please help, here cpp code:
`#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv.hpp> #include <iostream> #include <opencv2/imgproc/imgproc.hpp> using namespace cv; using namespace std; int main() { int x=5,y=5,z; mat image = imread("c:\\users\\wang\\desktop\\1.jpg",0); vec3d intensity = image.at<uchar>(point(y, x)); z=intensity.val[0]; vector<point>points; mat dst=mat(points); image.convertto(dst,cv_32f); mat grey=mat(points); cvtcolor(dst,grey,color_bgr2gray); imshow("miffy", dst); waitkey(0); return 1; }`
the results:................. ..... '23.exe': loaded 'c:\program files (x86)\common files\intel\opencl\bin\x86\tbb\tbb.dll', cannot find or open pdb file
'23.exe': loaded 'c:\windows\syswow64\igdrcl32.dll', cannot find or open pdb file
'23.exe': unloaded 'c:\windows\syswow64\igdrcl32.dll'
first-chance exception @ 0x77384878 in 23.exe: microsoft c++ exception: cv::exception @ memory location 0x005fdc84..
unhandled exception @ 0x77384878 in 23.exe: microsoft c++ exception: cv::exception @ memory location 0x005fdc84.. program '[4704] 23.exe: native' has exited code 0 (0x0).
at first, thought there no igdrcl32.dll in laptop, after searched it, did exist there. have no idea now, can me?
Comments
Post a Comment