@wangwenfeng wrote:
I have an image, that is Mat image, now i want to change the image to ofxCvColorImage class,it likes :
ofxCvColorImage IMG=image;
, and then I can use the function "IMG.draw(0,0)" to draw the image on the screen in the openframeworks.
but now I have no ideas about how could I convert it.
If you know about it, please tell me soon. Thank you very much!for example:
ofxCvGrayscaleImage gray;
Mat img(gray.getCvImage());but could from Mat to ofxCvGrayscaleImage or ofxCvColorImage ??
Posts: 2
Participants: 2