Ask Your Question

statcom's profile - activity

2015-06-18 16:22:23 -0600 commented question How many tests are supposed to be passed?

@berak Thanks for your comment. But your recommendation didn't resolve my problem as details are in my updated question above. Any idea what might be wrong? Thanks

2015-06-18 16:19:12 -0600 received badge  Editor (source)
2015-06-18 16:10:54 -0600 asked a question OpenCV 3.0 and Matlab Code Generator

I managed to compile and install OpenCV 3.0 and Matlab Code Generator. And in my Matlab, I was able to imread and imshow through cv.

But those functions seemed to be all I can do with "OpenCV Toolbox." For example, if I tried cv.dft, I got Matlab crashed. Actually, I couldn't easily find any cv function that does not make MATLAB crash - except for imread and imshow. Is this the reason that this modules is not a part of official OpenCV module or was something wrong in my build?

2015-06-15 23:41:50 -0600 asked a question How many tests are supposed to be passed?

Downloaded and compiled OpenCV 3.0 gold with VS2013 without any problem. The new build created all necessary dlls and also _perf_.exe and _test_.exe files for testing. Regarding this, I have a couple of questions.

  1. How can I run all perf_.exe and test_.exe? I couldn't find any way to do this so I simply made a batch file to run every test files and put their results into a text file. I wonder if this is a right way.

  2. Looking at test results from _test_.exe files, most of tests passed but there are some (sometimes hundreds) tests failed. Is this normal? Considering these tests are unit tests, I think they should all pass. Does this mean my build has a problem?

UPDATE: As berak recommended, I've downloaded necessary files and set the system variable OPENCV_TEST_DATA_PATH, but still get many errors like following in opencv_test_core.exe. So question #2 still stands.

[ RUN ] OCL_Arithm/Pow.Mat/0 unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.

[ FAILED ] OCL_Arithm/Pow.Mat/0, where GetParam() = (CV_32F, Channels(1), fals e) (131 ms)