Name of this transformation? Geometric, Affine,

Viewed 61

I've been looking around the web and I cant seem to find the name for this specific transformation. Basically I want to go from this:

Bowling Lane - From behind view

(don't mind the curve, it's only for presentation) to this:

Bowling Lane - Above View.

The picture itself isn't necessary to transform because I can just use an already above view picture but what I want is to transform the curve from picture 1 so it would show it like it is in picture 2, because the entry angle of the curve hitting the pins on picture 1 isn't the same as the one shown on picture 2.

And what are the theoretical steps of doing this? Thanks

1 Answers

Ignoring the pins entirely, because they'll just turn weird, what you're looking for is called perspective control, used to transform image data such that lines that "should" be parallel end up parallel, with "the thing you do" having quite a few names depending on how precise you want to get...

What you're looking for is...

  1. a colinear mapping called
  2. a homographic transform, but specifically
  3. a 3d projection, which is one of many
  4. anamorphic projections

Of those, (3) is going to get you all the programming details, whereas (1) and (2) will find you mathematical insight (if you can read the language of maths), and (4) will teach you about art.

And of course, because what you really want is python code to do this for you: you probably want to dig into SO posts like "Automatic perspective correction OpenCV" and related posts.

Related