Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you very much - your answer works quite well ! Except that with your proposed solution I end up getting memory-leaks using "cvCreateGLCM" !!! What could be the mistake ? My C-skills are not sufficiant to find out more.

Reading link1 , link2 or link3, they all mention 3 additional bugs inside /modules/legacy/src/texture.cpp But none of the three links work for me neither without errors (maybe since they keep using cvAlloc - their code does not go through without an exception...).

Do you have any suggestion on how to get glcm running without memory leaks ? Please consult the three links in order to compare your solution with the 3 suggested bugs. Are they relevant ?

Many thanks for any help on this.