Copy from ofxCvColorImage to ofImage

Hi people,

Is posible to copy from ofxCvColorImage to ofImage and how this can be done in the case that is posible.

  
//do this once after you have allocate the cv color image:  
//ie in testApp::setup  
myOfImage.allocate(myCvColorImage.getWidth(), myCvColorImage.getHeight(), OF_IMAGE_COLOR);  
  
//testApp::update  
myOfImage.setFromPixels(myCvColorImage.getPixels(), myCvColorImage.getWidth(), myCvColorImage.getHeight(), OF_IMAGE_COLOR);  

Theo,

Thanks its working.