MATLAB File Help: cv.flip Index
cv.flip

Flips a 2D array around vertical, horizontal, or both axes

dst = cv.flip(src, flipCode)

Input

Output