def get_rgb_data(img_id):
image_path = three_band_path + '/' + img_id + '.tif'
image = tiff.imread(image_path)
image = image.transpose((1, 2, 0))
image = image.astype(np.float32)
return image
utils.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录