opencv buffer and remember

Hi,

I am trying to replicate Andy Best’s falling bubbles at
http://andybest.net/2009/02/processing-opencv-tutorial-2-bubbles/

I do not know how to store openCv buffer into an object and secondly, how to use the opencv.remember() function in openframeworks. The following code from the above tutorial is where the two functions are being performed.

movementImg = opencv.image();

opencv.remember(OpenCV.SOURCE, OpenCV.FLIP_HORIZONTAL);

Could someone please share how to write the above statements in openframeworks?

Thanks
Tahsin