Invert of ofxCvGrayscaleImage

Hi all
How can we get the negative of an ofxCvGrayscaleImage ?

thanx

ofxCvGrayscaleImage myImage;

/// load the image ...

myImage.invert();

ok !
thanks a lot

1 Like