Mirror a Kinect image horizontal

Hey guys,

the input image of the kinect is mirror inverted. i thought i could flip it simply bei inverting the coordinats but i think i thought to simple. Has anyone an idea or even better a solution how to mirror a kinect input image?

bye

if you only need to flip what you’re showing on screen you can use glScalef(1,-1,1);

if you need your actual pixels to be flipped, you can use ofxCVImage’s mirror() function or you could flip your pixels by hand with 2 nested for cycles