# 读取Matlab的.mat文件 data = loadmat(file_name)['key'] # 返回的是dict,所以需要key # 读取.raw的文件(BIL) raw_image = np.fromfile(file_name, dtype) format_image = np.zeros((lines, samples, bands)) # 参数分别对应文件行数、列数、波段数,对应的hdr文件可查询 for row in range(0, l...