Ask Your Question

china_TGS's profile - activity

2017-03-01 03:02:37 -0600 asked a question imread()写入失败
Mat image;
image = imread("F:\\123.jpg");
imshow("ABC", image);
imwrite("D:/000.bmp", image);
imwrite("D:/001.png", image);
imwrite("D:/002.jpg", image);

代码“imwrite("D:/000.bmp", image);”这是成功写入文件中,但执行到 “imwrite("D:/001.png", image);” 发生错误:“0x00007FFCBE8986C2 (opencv_world320.dll)处(位于 CeShi_opencv.exe 中)引发的异常: 0xC0000005: 读取位置 0x000000FC2D7CF000 时发生访问冲突。”

是不是我电脑的解码器问题?

(Code "imwrite (" D: /000.bmp ", image);" This is successfully written to the file but executed to "imwrite (" D: /001.png ", image);" Error occurred: "0x00007FFCBE8986C2 Opencv_world320.dll) (in CeShi_opencv.exe): 0xC0000005: An access violation occurred while reading the location 0x000000FC2D7CF000.

Is it my computer's decoder problem?)