I am looking to plot out points on a 2d spherical image from a GoPro Max given an Altitude° and an Azimuth°.
Here's what you can assume:
- The center of the image is always facing south
- the image is always level looking straight at the equator.
Here's what I know:
- The image size is 5760x2880 which means the equator is at 1440px vertically.
- I have found an image online and labeled it with the Azimuth° going left to right and the Altitude° going up and down. You can find that image here
I hope that this will give you a better idea of what I'm trying to do here.
Put simply, I'm imagining a method something like:
ConvertCoords(Azimuth°, Altitude°){
...
return (x,y)
}
Is this possible? I will probably implement this using Python but I'm open to suggestions. Any sort of information to point me in the right direction is greatly appreciated!
Edit: I should mention that from my research I believe the GoPro Max uses an equirectangular projection. I was able to overlay that image I attached on one of the 360 photos and plot out some data manually which seemed to come out correct.