Efficiently splitting an image into tiles in Python using NumPy ... tiles = np.zeros((4, 2, 2, 3)) ... tiles[c] = image[:, i:i+2, j:j+2]
確定! 回上一頁