I have 2 datasets of the same object but both obtained in different coordinate systems. One is in the coordinates obtained from an image [pixel data] so the coordinates are relative to the image. The other system is the WGS84 system.
I need to convert the points in the image pixel system by mapping them to their corresponding relative points in the WGS84 system using python.
The information I have is as follows:
The image data is in this format:
pixIndex X Y R G B
1 0 0 227 227 227
2 1 0 237 237 237
3 2 0 0 0 0
4 3 0 232 232 232
5 4 0 233 233 233
... ... ... ... ... ... ...
The original data:
How can I do this conversion? equirectangular projection should be okay , I don't need it to be in Mercator coordinates.
Not very strong with python atm, I looked at this but wasn't sure how to do so in python:
Convert latitude/longitude point to a pixels (x,y) on mercator projection
Any and all help is appreciated :) thank you!