Reverted OpenCV image read back to C++ interface

The problem was in Release vs Debug build wrt. provided libraries.