Hi, I am working on a project with weather maps (rain/temperature/etc). These maps are provided in Mercator projection, where poles suffer of unavoidable distortion.
My goal is to extract image crops starting from random locations where distance (or areas) are somehow consistent. For example, in Mercator projection, a 200x200 crop around Oslo, Norway encapsulates way less area than the same crop centered in Lima, Peru. Moreover, extracting the neighborhood of the south pole is impossible (that point is actually a line).
I was thinking to something like this.
- from Mercator image, warp into a kind of spherical representation
- rotate the sphere so that target is at the “center”
- Apply a projection. Technically, anyone. My goal is that the distortion is always the same.
Do you have any suggestion? Is there anything convenient in OpenCV?