Convert image coordinates to geographic coordinates
Cherry2410 opened this issue · 1 comments
Cherry2410 commented
How to calculate the geographic coordinates of each pixel in image,which part of the code should I refer to? thx.
LukasBommes commented
Hey LingQiu,
at the moment, only the image coordinates of the corners of segmented PV modules are triangulated into the georeferenced 3D reconstruction. I.e. only for these points the geocoordinates are known.
However, you could use parts of my code to triangulate arbitrary pixel positions into the 3D reconstruction. Note, that this will only be efficient for a sparse set of points. If you want to estimate the 3D positions of all pixels, then my code would not be suitable for this.
You can find the triangulation code in extractor/mapping/triangulate_modules.py.
Regards,
Lukas