flip function
Flip flips a 2D array around horizontal(0), vertical(1), or both axes(-1).
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaca7be533e3dac7feb70fc60635adf441
Implementation
Mat flip(InputArray src, int flipCode, {OutputArray? dst}) {
dst ??= Mat.empty();
cvRun(() => ccore.cv_flip(src.ref, dst!.ref, flipCode, ffi.nullptr));
return dst;
}