Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • What comes to mind is that you need a 'least squares' method, but then in two dimensions. Maybe google for something like least squares 2 dimensions. I find stuff like On Least-Squares Fitting of Two-Dimensional Data with a Special Structure. Maybe add geography and mapping as additional keywords Commented Jul 25, 2016 at 14:58
  • 2
    Wouldn't you rather ask this in gis.stackexchange.com ? Commented Aug 18, 2016 at 14:17
  • 1
    What exactly shall your algorithm do? Adjust the position of the background picture until it matches the red line as best as possible? Change/Distort that picture? Or change the red line until it fits into the white corridor (but I guess since you wrote "the red line is correct", that is not what you want). Or are you simply looking for a metrics how "good" the redline matches the picture? Consider to edit your question to add some clarifying words. Commented Nov 16, 2016 at 15:02