1 | initial version |
Solved my problem. Probably I was doing something wrong by starting out in the old Opencv1.x API and then combining it with the newer C++ Opencv 2.x API. The conversion between IplImages and MAT objects got screwed up.
Changing my complete code to the C++ interface worked, no longer problems with pointers, unclosed references, ... all done for me by the api now.
Topic closed :)