4-6 湖面に映る風景のように変換する上下反転画像
img_src = cv2.imread("data/img_4-1.bmp")
img_dst = cv2.flip(img_src,0)
描画する
cv2.imshow("img_src",img_src) cv2.imshow("img_dst",img_dst) cv2.waitKey(0) cv2.destroyAllWindows()
img_src = cv2.imread("data/img_4-1.bmp")
img_dst = cv2.flip(img_src,0)
cv2.imshow("img_src",img_src) cv2.imshow("img_dst",img_dst) cv2.waitKey(0) cv2.destroyAllWindows()