效果展示:前者(左)是ENVI5.3计算,后者(右)是本文代码计算

1.运行环境
GDAL 3.4.2,Scikit-image最新版本0.19.3,numpy1.21.5
GDAL主要用于实现图像的读取和保存,Scikit-image和numpy对图像进行各种计算处理。
在调试好之前,由于numpy版本(1.16.6)低的问题,运行提示如下错误,更新为1.21.5版本之后就可以正常运行了,在此记录一下:
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Traceback (most recent call last):
File "D:/PycharmProjects/pythonProject/RS/gdal_image_texture.py", line 16, in <module>
get_img_texture(inputimgfi
订阅专栏 解锁全文
289



被折叠的 条评论
为什么被折叠?



