Using Opencv3.0.0

in the new Mat interface doesn't exist refcount attribute anymore