Comment by gerrit for Hi,I cannot run the code now but I guess there is int...
Hello Ilya, thanks for your help, it seems to at least solve the memory access error. I today made the changes and the calculation started without the error. But it takes a lot mor time to calculate....
View ArticleComment by gerrit for Hi,I cannot run the code now but I guess there is int...
Hello again, it calculated the signatures. It seems it was finished shortly after i checked the last time. The used memory was about 3gb but that seems reasonable since a matrix half the size seems to...
View ArticleComment by Ilya Lysenkov for Hi,I cannot run the code now but I guess there...
Hello, you are welcome :-) It was definitely a bug so you should report it at http://code.opencv.org to make sure that it will be fixed.
View ArticleComment by pierre_w for Hi,I cannot run the code now but I guess there is int...
I have the same issue: with 16k rows I get a write access exception but if I reduce the size, just to confirm this is the source of the problem, I get no error. There indeed seems to be a bug of...
View ArticleAnswer by Ilya Lysenkov for Hello,i am trying to compute the Earth Mover's...
Hi, I cannot run the code now but I guess there is int overflow in the line 343. Try to change the emd.cpp like this: 334 long long buffer_size; ... 343 buffer_size = static_cast (size1+1) * (size2+1)...
View ArticleEarth Mover's Distance EMD() results in memory access error
Hello, i am trying to compute the Earth Mover's Distance using opencv's function EMD(). For most of my signatures that works fine. But for others i get an memory access error which i do not understand....
View Article