x = cv2.resize(np.array([[1.,2],[3,4]]),(4,4), interpolation=cv2.INTER_LINEAR) print x [[ 1. 1.25 1.75 2. ] [ 1.5 1.75 2.25 2.5 ] [ 2.5 2.75 ...
確定! 回上一頁