简体   繁体   English

使用python gdal从数组创建投影栅格

[英]Create a projected raster from array with python gdal

I've got a processed image array from UAV and want to write it into a projected tiff. 我有一个来自无人机的经过处理的图像阵列,想要将其写入投影的tiff中。 I am aware with the array to tiff writting process with python gdal, however not sure how to project it correctly. 我知道数组可以使用python gdal进行写操作,但是不确定如何正确投影。

I have got the central GPS, UAV height, pixel size of the image array, the array is northward. 我已经获得了中央GPS,无人机高度,图像阵列的像素大小,该阵列向北。 The orginal UAV image's metadata can not be recognized by gdal, so I have to extract them out and then rearrange them to project the array. gdal无法识别原始的无人机图像的元数据,因此我必须将它们提取出来,然后重新排列以投影阵列。

Many thanks! 非常感谢!

This question is too vague. 这个问题太含糊了。 The process you need to look into is called "ortho-rectification". 您需要研究的过程称为“正交校正”。 You should read about the process and then break it down into stages. 您应该阅读有关该过程的信息,然后将其分解为多个阶段。 Then, figure out the specific pieces you have and don't have. 然后,找出您拥有和不拥有的特定物品。

Fundamentally, in order to create an ortho-image, you need a digital elevation model (DEM), intrinsic camera parameters, and extrinsic parameters (pose). 从根本上说,为了创建正射影像,您需要一个数字高程模型(DEM),内部摄像机参数和外部参数(姿势)。 You can find documentation on the algorithm online or in a standard Remote Sensing book. 您可以在线或在标准遥感书中找到有关算法的文档。

Another option is if your camera provides Rational Polynomial Coefficients (RPCs), which I assume is no. 另一个选择是,如果您的相机提供有理多项式系数(RPC),我认为没有。

Generic Amazon Search of Remote Sensing Books 亚马逊通用遥感图书搜索

https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=remote+sensing https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=remote+sensing

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM