well actually nothing "fancy"
I have a ofImage and a ofxCv::Mat in ofApp.h
then in update() I do :
toOf(my_Mat, My_Img);
passing ofImage.getPixelsRef() doesn't throw any error but when I try to draw the image I get a black screen . (and I called update() on the ofImage)
thanks