简体   繁体   中英

Name of this transformation? Geometric, Affine,

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:

保龄球道 - 从后面看

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

保龄球道 - 俯视图 .

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM