OpenCV flip - Cinder-KCB (SDK 1.8 Kinect Xbox360 )

Thanks a lot @lithium & @paul.houx !!

I tried using ip::horizontalFlip and it kind of works… but I found a bug in Cinder.

Surface->hasAlpha() returns false for SurfaceChannelOrder::BGRX (mCode = 5) which makes the ip::horizontalFlip use an increment of 3 bytes instead of 4.

So basically wherever in Cinder “hasAlpha” is used to decide what the byte increment should be, for specific SurfaceChannelOrders ( I suspect RGBX, BGRX, XRGB, XBGR) there will be a mistake.

Thanks again!

edit: I just posted the bug on a separate thread: