Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add collection of terrain perspective matching examples #12

Open
loganwilliams opened this issue Oct 21, 2021 · 3 comments
Open

Add collection of terrain perspective matching examples #12

loganwilliams opened this issue Oct 21, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@loganwilliams
Copy link
Contributor

In order to constrain the problem space somewhat, and provide a scaffolding for contributors to get started with, it would be helpful to have a sample dataset collection of image:lat/lon/angle pairs for experimenting with. This could initially be small, perhaps a dozen images.

To generate a larger dataset in the future, perhaps online images with known geocodes could be used?

@loganwilliams loganwilliams added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers labels Oct 21, 2021
@hfroot
Copy link

hfroot commented Jan 13, 2022

Hi! I'd be interested in helping.

  1. Would it be enough to take some photos around my city, recording lat/lon/angle as I do?
  2. For angle, did you have in mind measuring the angle of the camera lens relative to the ground, making a photo taken directly of the ground 0 degrees?
  3. Would height from ground level also be useful (e.g. photos taken from apartment buildings)? Might have to be more approximate however.

@pdehaye
Copy link

pdehaye commented Feb 13, 2022

The key is to understand the projective transformation associated with taking a picture. This helps, for point-like objects. Four points determine a cross ratio, from which you can deduce things, like construct an ellipse. Two ellipses built on five points intersect into the source.

The wikipedia picture of the street is also really helpful.

Cross_ratio_metrology_example

What's essentially needed is a Shazam like system for cross ratio calculations, where your lookup database is based on known relevant points in an area.

You can also use topographic features if you think of them as function over a line (slope of the horizon) from the picture vantage point.

@geodata-analyst
Copy link

geodata-analyst commented Mar 7, 2022

Some parts of this request can be done relatively easily with the photogrammetry algorithms (SfM), if the source is not an image, but a video. The result of these algorithms can be a point cloud, that afterwards can be used with OSM. The whole process can be automated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants