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翻转,图像上下左右翻转