For NumPy, crop operation can be performed by slicing the array. crop_img = image[20:199,:200,:] imgplot = plt.imshow(crop_img). Output:.
確定! 回上一頁