open-forest-observatory / geograypher

Enabling Geospatial Predictions from Individual Drone Images
https://open-forest-observatory.github.io/geograypher/
BSD 3-Clause "New" or "Revised" License
11 stars 5 forks source link

Explore supporting 360 degree cameras #128

Open russelldj opened 4 months ago

russelldj commented 4 months ago

360 degree cameras can be useful for mapping understories. Currently, we only support traditional "perspective" cameras. It would be useful to think about what changes we'd need for 360 cameras. This would likely require both updated renders that support 360 cameras and additional metadata/new ways of handling images taken from 360 cameras.

russelldj commented 1 month ago

As far as I can tell, this data is heavily pre-processed by the GoPro so it follows a very standardized form. Each pixel step in the horizontal direction is an equal step in the azimuth angle that it represents. And every step in the vertical direction is an equal step in elevation. So pixels represent a square field of view at the vertical middle of the image and increasingly narrow slices as you go toward the top or bottom.

Long story short, as far as I can tell, metashape doesn't actually need to report any parameters for us to be able to use this data.

Unfortunately, I think this problem is starting to show some downsides to how this code is structured. But for now, I think the easiest way to approach this problem is as follows: