sensors in mobile devices for capturing panoramas and environment maps
DESCRIPTION
Maarten Van Lier 2 e Master Computerwetenschappen. sensors in mobile devices for capturing panoramas and environment maps. Use Case. Found an awesome view View too large for one picture Take pictures with smartphone app 360° left to right / full spherical view - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/1.jpg)
SENSORS IN MOBILE DEVICES FOR CAPTURING PANORAMAS AND ENVIRONMENT MAPS
Maarten Van Lier2e Master Computerwetenschappen
![Page 2: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/2.jpg)
Use Case Found an awesome view
View too large for one picture Take pictures with smartphone app
360° left to right / full spherical view App combines pictures into panorama
Reasonably fast
![Page 3: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/3.jpg)
Problem Description Make panoramas and environment
maps Find alignment between image pairs Combine pictures
![Page 4: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/4.jpg)
Problem Description (2) On smartphone!
Processing power = low Efficiency = necessary!
Interactivity Help user taking pictures
View result on smartphone Within a reasonable time
![Page 5: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/5.jpg)
Standard approach Take pictures
Partially overlapping Find neighboring pictures Find alignment between neighbors
Intensity based alignment Feature based alignment
Composite pictures
![Page 6: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/6.jpg)
Find AlignmentPixel Based Feature Based Find transformation
With lowest misregistration
With highest intensity match
Minimize error function Search options
Full search Hierarchical Incremental
Detect features Recognizable points Caracterized with vector SIFT, SURF, …
Match features Find same points in images Using distance between vectors
Find transformation Transforms features to
corresponing features RANSAC for outliers Find Homography
![Page 7: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/7.jpg)
Smartphone Sensors But smartphones have sensors!
Accelerometer, compass, gyroscope Determine orientation of device
Use accelerometer & compass Use orientation!
For estimated picture location (and for real time “preview”)
![Page 8: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/8.jpg)
The Overlap Approach Take pictures
Guide user with 3D preview of estimated panorama Save sensor data on shutter
Find overlapping regions Using saved sensor data
Detect & extract features From overlap regions
Match features Between corresponding overlaps
Find alignment Composite pictures
![Page 9: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/9.jpg)
Taking Pictures
![Page 10: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/10.jpg)
Taking Pictures
![Page 11: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/11.jpg)
Taking Pictures
![Page 12: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/12.jpg)
Taking Pictures
![Page 13: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/13.jpg)
Find Overlap Regions Using estimated picture locations
To find neighboring pictures To determine estimated overlap
Bounding circle around picture center Bounding box around overlap region
Axis aligned vs non axis aligned
![Page 14: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/14.jpg)
Find Overlap Regions (2)
![Page 15: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/15.jpg)
Find Overlap Regions (3)
![Page 16: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/16.jpg)
Find Overlap Regions (4)
![Page 17: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/17.jpg)
Find Overlap Regions (5)
![Page 18: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/18.jpg)
Find Overlap Regions (6)
![Page 19: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/19.jpg)
Detect & Extract Features Only from overlapping regions of image Large overlap
Many features => good alignment Expensive detection & extraction
Small overlap Fewer features => bad alignment Cheaper detection & extraction
For actual panoramas & env maps Expected: large overlap regions Actual speed gain may not be very large
![Page 20: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/20.jpg)
Match Features Neighboring pictures
Using estimated locations (sensor data) Features in same overlap region Features estimated to be close to
eachother Use estimated 3D or polar feature locations But not yet implemented
![Page 21: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/21.jpg)
Match Features
Likely match
Unlikely match
Likely match
Possible false match
![Page 22: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/22.jpg)
Overlap Regions Test
![Page 23: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/23.jpg)
Overlap Regions Test (2)
![Page 24: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/24.jpg)
Overlap Region Test (3) Recommended for most panorama apps:
About 20% on each side=> about 70-80% when on all sides
But only an estimate=> needs to be investigated & tested!
Here: on average 62% overlap Because overlap at (nearly) all sides
Expected: a 30-40% drop in time when extracting features only from overlap regions
![Page 25: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/25.jpg)
Results: Timings (6 pictures)Standard Approach Overlap Approach
Find features 2383 ms for 4998
features Matching features &
calculate homographies 18661 ms
Total: 21044 ms
Calculate Overlap Regions 9 ms for 12 overlaps
Find Features 1617 ms for 3153
features Matching features &
calculate homographies 8252 ms
Total: 9878 => 53% less!
![Page 26: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/26.jpg)
Results Standard Approach
![Page 27: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/27.jpg)
Results Overlap Approach
![Page 28: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/28.jpg)
So… What’s Next? Improve stitched result
Increase overlap region Paper! Second semester:
Optimizations Port to smartphone
Check timings on smartphone More testing & results Try something similar for pixel based alignment
Initial location using sensors + incremental refinement And maybe HDR Writing thesis text, making poster
![Page 29: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/29.jpg)
References Image Alingment and Stitching: A
Tutorial (Richard Szeliski, 2006)
SURF: Speeded Up Robust Features (Herbert Bay, Tine Tuytelaars, Luc Van Gool,
2006) Recognising Panoramas
(M. Brown, D. G. Lowe, 2003) BoofCV
http://boofcv.org
![Page 30: sensors in mobile devices for capturing panoramas and environment maps](https://reader035.vdocuments.mx/reader035/viewer/2022062310/568165fe550346895dd92dbb/html5/thumbnails/30.jpg)
Questions and suggestions?