An Image Detectability Field as a Viewpoint Utility for 2D-3D Localization in Sparse Maps
Organizations: Faculty of Engineering and Information Technology, University of Technology Sydney, Ultimo NSW 2007, Australia
Abstract
In 2D-3D localization, a camera estimates its pose by matching an image to a 3D map. A camera held in a hand or mounted on a robot can often choose its viewpoint before it takes the image. In this work, we ask whether an image detectability field is a useful viewpoint utility when the planner reads only the geometry of the map. The field can be queried at any 3D point near a surface. From the local geometry around the point, it predicts how likely a 2D image detector is to fire at the projection of the point. We use the trained field as it is, without fine-tuning it for view selection. A fixed SuperPoint and EPnP-RANSAC localizer then estimates the pose from the chosen view. We answer in two settings, each with a test registered before the runs. On synthetic ShapeNet objects with sparse point maps, summing the field over the visible landmarks beats counting them by +2.0 points of localization success rate (object-clustered 95% interval [+0.7, +3.2]). It also beats summing Harris-3D ranks by +2.2 [+0.8, +3.5]. On real indoor scenes from SceneFun3D, our adaptation of the learned view scorer LWL falls below counting on the test rooms. We therefore add the field to a learned per-landmark planner. On the test rooms with sparse maps whose landmarks the field also selects, the planner with the field beats the same planner without it by +1.8 points. It beats the planner with Harris-3D or curvature in its place by +1.0 and +0.8 points. All three room-clustered intervals lie above zero. In both settings, the field helps in sparse maps and is on par with Harris-3D in dense maps.
Figures & tables
| Quantity | Value |
|---|---|
| Frame coverage (share of crop seen) | |
| Decisions per crop | |
| Separation of anchors | m |
| Candidate radius around the anchor | m |
| Candidates per decision | to |
| Separation of candidate optical axes |
| Sparse objects | Dense objects | |||
|---|---|---|---|---|
| Planner | Field lm. | Harris lm. | Field lm. | Harris lm. |
| random | 16.0 | 3.7 | 30.6 | 18.4 |
| co-vis | 22.9 | 5.3 | 36.7 | 25.0 |
| count | 32.0 | 7.6 | 48.1 | 29.9 |
| permuted-field | 27.9 | 6.8 | 44.3 | 29.6 |
| Harris-matched | 29.6 | 7.9 | 44.0 | 30.2 |
| field-sum minus | |||||
| Setting | count | Harris-sum | permuted-field | Harris-matched | Harris-matched Harris-sum |
| Sparse objects (130 objects, 4,160 decisions) | |||||
| (i) Field lm., pooled (registered) | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| (ii) Field lm., | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| (iii) Field lm., | [ , ] | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| (iv) Harris lm., pooled | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] |
| Test, field lm. | Val., field lm. | Test, Harris lm. | |||
| Planner | top-1 | Rel. | top-1 | Rel. | top-1 |
| random | 31.3 | 40.2 | 35.9 | 44.6 | 28.2 |
| count | 45.3 | 58.2 | 47.8 | 59.5 | 39.0 |
| co-vis | 44.8 | 57.6 | 51.0 | 63.4 | 40.4 |
| angle | 46.8 | 60.1 | 49.8 | 61.9 | 38.2 |
| Harris-sum | 44.4 | 57.0 | 47.9 | 59.6 | 42.3 |
| Setting | H1: G+F G | H2: G+F G+H | H3: G+F G+C9 | G+F+C9 G+C9 | G count |
|---|---|---|---|---|---|
| Test set, sparse tier | |||||
| (a) Field lm., merged (main) | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| (b) Field lm., 100 mm (secondary) | [ , ] ∗ | [ , ] | [ , ] | [ , ] ∗ | [ , ] ∗ |
| (c) Field lm., 50 mm | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| (d) Harris lm., merged | [ , ] ∗ | [ , ] | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| Validation set | |||||
| Val. | Test | |||
| Tier | Planner | top-1 | top-1 | count |
| Dense | LWL, all points † | 52.7 | 50.3 | [ , ] ∗ |
| Dense | LWL, localizer lm. | 60.9 | 57.0 | [ , ] ∗ |
| Dense | FIF | 59.3 | 55.1 | [ , ] ∗ |
| Sparse | LWL, all points † | 39.9 | 37.0 | [ , ] ∗ |
| Sparse | FIF | 39.6 | 38.3 | [ , ] ∗ |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Work | Map read by the planner | Candidate views | Localizer | Success threshold | Data |
|---|---|---|---|---|---|
| Hanlon et al. [ 5 ] | SfM landmarks with their mapping observations, a TSDF for occlusion | Rendered, 50 directions of yaw and pitch at each of 100 waypoints | hloc [ 6 ] with SuperPoint [ 7 ] or SIFT [ 8 ] | Six, from 0.025 m / to 1 m / | HM3D [ 9 ] , 9 scenes |
| LWL [ 10 ] | SfM points triangulated from SIFT features | Rendered, grid positions with sphere-sampled directions, no roll | COLMAP [ 11 ] with SIFT | Four, from 0.05 m / to 5 m / | HM3D, 10 training and 2 test scenes |
| ActLoc [ 12 ] | SfM landmarks with colour, and the mapping camera poses | Rendered, a grid of pitch and yaw at each position | hloc with SuperPoint | 0.1 m / | HM3D, 100 scenes; ScanNet [ 13 ] , 5 scenes |
| Ours | Scan points and the depth of the mapping frames, without colour or descriptors | Real frames, four to eight per decision, with roll | SuperPoint matched to one reference image, EPnP [ 14 ] with RANSAC [ 15 ] | 0.1 m / | SceneFun3D, real scans and videos |
| Field landmarks | Harris landmarks | |||||
| Planner | AUC | AUC | ||||
| random | 31.3 | 31.4 | 34.2 | 28.2 | 28.3 | 31.6 |
| count | 45.3 | 45.1 | 46.9 | 39.0 | 39.1 | 41.8 |
| co-vis | 44.8 | 44.7 | 48.1 | 40.4 | 40.5 | 44.7 |
| Harris-sum | 44.4 | 44.4 | 46.4 | 42.3 | 42.3 | 45.2 |
| field-sum | 49.0 | 48.8 | 50.9 | 43.6 | 43.7 | 46.4 |
| , endpoint | H1: G+F G | H2: G+F G+H | H3: G+F G+C9 | G+F+C9 G+C9 | G count |
|---|---|---|---|---|---|
| Field landmarks | |||||
| Merged, | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| Merged, | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| Merged, AUC | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| 50 mm, | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| 50 mm, | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ | [ , ] ∗ |
| Planner | Validation | Test |
|---|---|---|
| random | 49.9 | 43.5 |
| count | 64.8 | 60.4 |
| co-vis | 65.1 | 59.5 |
| FIF | 59.3 | 55.1 |
| angle | 66.8 | 61.3 |
| Harris-sum | 66.2 | 61.9 |
Map-Based Localization
Map-Based Localization estimates a device or robot’s position and orientation by matching sensor observations to stored maps.
See all 120 papers