1 flip
void flip
(InputArray src, OutputArray dst, int flipCode);
- flipCode:a flag to specify how to flip the array; 0 means flipping around the x-axis and positive value (for example, 1) means flipping around y-axis. Negative value (for example, -1) means flipping around both axes (see the discussion below for the formulas).
- 0: x軸翻轉眨唬,圖像顯示上下翻轉
- 1: y軸翻轉造虎,圖像顯示左右翻轉
- -1: x,y翻轉,圖像上下左右翻轉