Extract blocks or patches from NumPy Array

前端 未结 0 1204
心在旅途
心在旅途 2021-02-12 17:22

I have a 2-d numpy array as follows:

a = np.array([[1,5,9,13],
              [2,6,10,14],
              [3,7,11,15],
              [4,8,12,16]]

相关标签:
回答
  • 消灭零回复
提交回复
热议问题