Detectable by Design: Learning a Continuous 3D Saliency Field from 2D Detector Responses
Authors: Han Sun, Jun Li, Christy Jie Liang
Organizations: H. Sun, J. Li and C. Liang are with the Faculty of Engineering and Information Technology, University of Technology Sydney, Ultimo NSW 2007, Australia.
The 3D points kept in a map decide whether a camera can be localized against it, and this choice matters more as the map becomes sparser. Existing 3D keypoint detectors usually define saliency by semantics, repeatability, reconstruction or descriptor matchability. None of these definitions asks whether a point will actually be detected in an image, and as a result most of the points they select are not detected again in images. In this paper, we define 3D saliency as image detectability: the response of a 2D interest-point detector at a surface point, aggregated over all views in which the point is visible. We propose DetField, a continuous field over 3D space that takes a point cloud as input and predicts detectability at any location around it. The supervision is the response of a 2D detector, back-projected from images onto the point cloud. Multi-scale curvature invariants are passed to the decoder at every query point, bypassing the voxel pooling of the encoder. In a localization benchmark that isolates the choice of 3D points, DetField outperforms Harris-3D and five learned 3D keypoint methods on objects and on real indoor scenes. On unseen rooms, it improves localization success by 7.4 points over Harris-3D, the strongest baseline. On objects, it also leads under a 2D detector not used in training. On sparse maps, it stays ahead of Harris-3D on both objects and real scenes.
Figures & tables
Figure 1: Image detectability on a held-out airplane. (a) The saliency predicted by DetField on the point cloud, shown as the rank within the object, and the K=48 keypoints selected from it. (b) The same keypoints projected into a rendered view, together with the SuperPoint detections in this view. Most keypoints are re-detected by the 2D detector, which is the property that DetField is trained to predict.
Figure 2: Architecture of DetField. A local-pooling PointNet encodes the point cloud X , together with the per-point curvature invariants g of Section III-B , into feature volumes at three resolutions. Each volume is refined by a 3D U-Net. At a query q , the features of the three volumes are trilinearly interpolated and added to every block of a residual MLP decoder. The input of the decoder is the in-voxel coordinate Δq concatenated with the invariants gq of the nearest input point. This path (red) bypasses voxel pooling. The decoder outputs the image detectability s^ at q .
Figure 3: SuperPoint detections on unlit RGB renderings (a, c) and on the geometry-only encoding of ( 3 ) (b, d), from the same view in each row. The numbers are detection counts. SuperPoint runs on the grayscale encoding, and (b, d) show the same views as colour-coded normals for display. On the airplane, whose flat surfaces carry a painted livery, the RGB detections follow the paint (window band, stripes), while the encoding responds to structure. On the uniformly painted car body, RGB responds mainly at the silhouette and colour boundaries, whereas the encoding also responds to the geometric detail inside it.
Figure 4: Construction of the object supervision for one view. (a) Rendered view as colour-coded normals (detector input: I of ( 3 )). (b) Dense SuperPoint response r , averaged with the mirrored response of the mirrored image. (c) Reweighting factor derived from the local occlusion measure (log scale). (d) Reweighted response r′ . (e) The target s on the point cloud after back-projection and averaging over all 128 views. Points with s below 4% of the colour range are shown in grey. Response maps in (b, d) are max-pooled over 3×3 pixels for display.
Figure 5: The real-scene training target on a training crop. (a) One of the 60 photographs used for baking, with its SuperPoint detections. (b) Photographic target sph : mean SuperPoint response over the photographs that observe each point. Blue-grey points are observed by none. (c) Rendered target from the encoded renderings of the crop mesh. (d) Training target: observed points ordered by (b), the others by (c), mapped onto the value distribution of (c). Colours show within-crop percentiles.
Method
K=32
16
8
b4 (ceiling, baked target)
61.6
65.5
70.0
DetField
43.6
52.1
61.3
Harris-3D
31.0
35.7
36.4
ISS
18.4
21.1
27.3
FPS
18.0
22.9
31.2
Key-Grid
14.9
15.8
17.2
Table I: Objects: hit rate (%)
Method
K=1024
512
256
128
64
bref (oracle)
67.6
67.5
67.5
66.9
65.2
b4 (ceiling)
56.1
54.4
51.4
41.9
29.9
DetField
53.4
51.2
50.0
43.6
32.3
Harris-3D
50.9
48.3
40.4
29.8
18.0
ISS
44.5
38.3
29.2
18.3
9.7
D3Feat
44.5
34.9
24.0
14.5
6.3
Table II: Objects: localization success rate (%)
Figure 6: Keypoints of three methods on four held-out objects. For each object, the left panel shows the keypoints in one reference view, rendered as colour-coded normals for display. The right panel shows the same keypoints on the visible points of the point cloud, coloured by the saliency of each method. The saliency is shown as its rank within the object, so that the three methods share one colour scale. Black crosses are the SuperPoint detections in the reference view. A keypoint within 4 px of a detection is a hit (green), and otherwise a miss (white). Each method selects K=32 keypoints, and the numbers give the hits over those of the 32 keypoints that are visible in this view. The objects were selected for illustration among those with a large difference to Harris-3D.
Success (%)
Hit
Method
5∘ , 5 cm
5∘ , 10 cm
10∘ , 25 cm
rate (%)
DetField
37.7
59.7
75.3
42.1
Harris-3D
31.3
52.3
69.7
36.3
D3Feat
10.0
23.1
40.0
20.7
SC3K
8.9
21.9
40.6
20.3
ISS
9.0
21.9
40.4
19.9
Table III: Real indoor scenes: localization success and hit rate (%)
Figure 7: Localization on two held-out real pairs at K=80 , with DetField on the left and Harris-3D on the right. In both pairs, DetField recovers the pose within the primary threshold ( 5∘ , 10 cm), and Harris-3D does not. The Harris-3D keypoints gather on the repetitive slats of the headboard. The pairs were selected to illustrate the difference.
Figure 8: Localization success on sparse objects as the point spacing s grows, on 130 held-out ShapeNet models and averaged over K∈{32,64,128,256} . Shaded bands are 95% bootstrap intervals over objects. Harris-3D and its continuous variant overlap almost exactly.
5∘ , 10 cm
5∘ , 5 cm
Method
s=5 cm
s=10 cm
s=5 cm
s=10 cm
DetField
32.7∗
25.8∗
18.9∗
13.7∗
Harris-3D
29.0
22.5
16.1
11.5
Continuous Harris-3D
28.6
23.0
16.0
11.7
Table IV: Sparse maps: localization success (%) on real indoor scenes
Figure S1: Locating corners between the samples of four sparse held-out objects at s=0.04 . Top: the sparse input, with the zoomed region marked. Middle and bottom: the zoomed region with the sparse points (white) and the CAD corner (dashed circle). Coloured points are the points selected by Harris-3D (middle) and by DetField with the corner head (bottom). Harris-3D can only select among the samples, while the corner head places a point on the corner. The examples are chosen among the objects in which the nearest sample lies at least s/3 from the corner.
Method
s=0.02
0.03
0.04
0.05
Corner head
40.1
34.1
33.5
29.0
Best on samples (bound)
18.4
16.1
21.7
16.9
Local three-plane RANSAC
25.7
21.1
21.7
20.2
Harris-3D ( k=16 )
1.6
1.9
3.4
1.9
ISS ( 1.5s )
0.2
0.5
0.3
0.5
Appendix
Table S3: Corner head: corners located within s/4 (%)
Method
K=16
32
64
USIP
64.8
67.1
74.6
ISS
17.2
17.4
20.6
Random
3.8
6.8
11.6
Harris-3D †
99.9
100.0
100.0
Appendix
Table S4: Baseline sanity: relative repeatability (%) under rotation
Normalization
bounding-box centre at origin, longest side 0.9
Normals
deduplicated, consistently oriented, crease 30∘
Surface points
objects 6×104 per unit area ( 2000 to 3×105 ); crops 4.8×105 per unit area (at most 7×105 )
Views
128 , Fibonacci lattice; vertical field of view 60∘ , aspect 4:3
Framing
bisection per view until the projected extent fills 0.88 of the image
Table S5: Supervision: rendering and baking settings
Figure S2: View configuration of the supervision. (a) The 128 cameras lie on a Fibonacci lattice around the object. The distance of each camera is set independently by bisection, so it varies with direction (colour). The camera centres therefore do not lie on a sphere. Cameras above and below the airplane are farthest, because the object shows its largest extent in these directions. (b) For the nearest, median and farthest view, the projected object reaches 0.88 of the image half-extent (dashed box). The views are rendered from the mesh. In view 1, the camera lies 0.07 in front of the nose, so perspective makes the nose appear much larger than the rest of the airplane.
Department of Computer Science, University of Freiburg, Germany. · Bosch Research, Robert Bosch GmbH, Renningen, Germany. · University of Haifa, Israel