参考:https://www.jianshu.com/p/f2bd63766204
it = np.nditer(altitude_matrix, flags=['multi_index'], op_flags=['readwrite'])
min = altitude_matrix.min()
while not it.finished:
length = it.multi_index[0]
width = it.multi_index[1]
altitude_matrix[length, width] -= min
it.iternext()
numpy矩阵的一种循环方式