Note1 Matlab重新赋值地理信息
#读取没有地理信息的图片
[X, R] = geotiffread('C:\Users\Administrator\Desktop\tests\huidu.tif');%read image with spatially referenced
#读取另一张图片地理信息
info = geotiffinfo('C:\Users\Administrator\Desktop\tests\huidu.tif');
#保存新图
geotiffwrite('C:\Users\Administrator\Desktop\裁切\ok789.tif',rgrf,R, 'GeoKeyDirectoryTag', info.GeoTIFFTags.GeoKeyDirectoryTag);%write image with spatially referenced