参考依据OpenCV-Python官方教程:https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_core/py_basic_ops...实例img = cv2.imread('testimg.png')img = cv2.resize(img,(256,256))cv2.imshow('origin',img),cv2.waitKey(...,cv2.BORDER_CONSTANT,value=(255,255,255))cv2.imshow('constant',constant),cv2.waitKey(0),cv2.destroyAllWindows...()reflect = cv2.copyMakeBorder(img,20,20,20,20,cv2.BORDER_REFLECT)cv2.imshow('reflect',reflect),cv2.waitKey...20,20,20,20,cv2.BORDER_WRAP)cv2.imshow('wrap',wrap),cv2.waitKey(0),cv2.destroyAllWindows()??????