Papers
Topics
Authors
Recent
Search
2000 character limit reached

Depth-Aware Floorplan Probabilistic Map

Updated 24 April 2026
  • The paper introduces a novel probabilistic map that integrates monocular depth estimates with uncertainty modeling for precise camera localization within a known 2D floorplan.
  • It employs ray-casting and a Laplace observation model to align observed depth data with floorplan geometry, improving robustness against ambiguous measurements.
  • Empirical results show significant gains in success rate and RMSE over previous methods, supporting efficient indoor localization and mixed-reality applications.

A Depth-Aware Floorplan Probabilistic Map (DAFPM) is a data structure and algorithmic framework central to the problem of visual-inertial localization within a 2D floorplan using depth information inferred from monocular images. DAFPM unifies geometric reasoning over spatial layouts with uncertainty-aware integration of monocular depth estimates, providing an explicit probabilistic map over possible camera poses relative to a known floorplan. This formulation enables robust camera localization in GPS-denied indoor environments, especially when only RGB imagery and floorplan data are available, and no custom sensor calibration or training is practical. DAFPM serves as the computational core in state-of-the-art systems such as UnLoc (Wüest et al., 14 Sep 2025) and PALMS+ (Cheng et al., 12 Nov 2025).

1. Problem Definition and Conceptual Foundations

DAFPM addresses the challenge of estimating the planar camera pose st=[xt,yt,φt]TSE(2)s_t = [x_t, y_t, \varphi_t]^T \in \mathrm{SE}(2) from monocular RGB observations in the presence of a known 2D floorplan map MM. The task is formalized as maintaining and updating a probability distribution, at each timestep, over the set of all feasible poses, informed by observed imagery, precomputed floorplan geometry, odometric or inertial data, and—critically—per-column monocular depth predictions together with their associated uncertainties.

A key requirement is the explicit modeling of depth measurement uncertainties, often due to the imperfect generalization of monocular depth estimation networks, scene ambiguities (e.g., glass, open doorways), or textureless surfaces. DAFPM employs probabilistic observation models that link the predicted depth and uncertainty to the latent floorplan geometry via ray-casting, facilitating both maximum a posteriori (MAP) pose extraction and principled uncertainty quantification.

2. Observation Model and Probabilistic Ray-Casting

In DAFPM-based approaches, monocular depth estimation outputs, typically in the form of depth images or per-column depth vectors d^t\hat{d}_t with uncertainties b^t\hat{b}_t, are utilized to form likelihoods over candidate camera poses:

  • Ray-casting: For a given candidate pose s=[x,y,φ]Ts = [x, y, \varphi]^T, a set of rays with fixed angular intervals relative to the yaw φ\varphi are projected into the floorplan map MM. For each ray jj, the ray-casting function rj(s)r_j(s) computes the distance from ss to the first occupied cell (wall), yielding the floorplan-expected depth MM0.
  • Depth likelihoods: Each observed depth MM1 is associated with a scale uncertainty MM2. The probabilistic model assumes

MM3

with independence across rays. The resulting likelihood for all rays is

MM4

This formulation naturally down-weights noisy or ambiguous depth measurements, enhancing localization stability (Wüest et al., 14 Sep 2025). The log-domain implementation addresses numerical stability for large MM5.

3. Generative and Filtering Models for Sequential Localization

DAFPM enables both stationary and sequential localization. In sequential settings, a generative model comprises:

  1. Transition (motion) model: Incorporates odometric estimates and Gaussian motion noise, defined as

MM6

where MM7 denotes ego-motion from odometry or an external estimator.

  1. Observation model: As above, encoding floorplan-consistent depth likelihoods.

The recursive Bayesian filter (histogram or grid filter) updates the belief over poses as

MM8

The pose space MM9 is discretized into d^t\hat{d}_t0, maintaining a 3D probability volume. Efficient inference exploits separable convolutions for translation and rotation, coupled with element-wise observation likelihood updates (Wüest et al., 14 Sep 2025).

For stationary observations or image sets, the posterior d^t\hat{d}_t1 is generated via a similar likelihood construction, optionally marginalizing scale uncertainty or smoothing over discrete orientation candidates (Cheng et al., 12 Nov 2025).

4. Integration of Off-the-Shelf Depth Networks and Data Association

A principal advance in DAFPM-based systems is their decoupling from environment-specific depth training. Pretrained monocular depth models (e.g., Depth Anything V2, Depth Pro) extract features from each frame, which—by a masked attention mechanism and with gravity-aligned masking—produce per-column depth and uncertainty vectors. The network is trained (where necessary) by minimizing the negative log-likelihood of the Laplace observation model against ground-truth floorplan depths at known poses:

d^t\hat{d}_t2

(Wüest et al., 14 Sep 2025). In PALMS+, the Depth Pro model is used in an untrained, foundation paradigm, achieving scale alignment via global and cross-view optimization over per-image depth point clouds (Cheng et al., 12 Nov 2025).

Workflow summary in PALMS+:

  1. Pose-aligned, scale-corrected 3D point cloud is reconstructed from monocular depths, intrinsics, and camera poses.
  2. Cloud is projected to the floorplane and discretized; geometric layout features are extracted (e.g., via Canny edge detection and Hough transforms).
  3. A convolutional kernel (comprising rotated wall segment maps and “certainly empty spaces”) matches observed geometric features to floorplan template, yielding a 3D likelihood tensor over d^t\hat{d}_t3.
  4. Posterior is normalized and stored as a DAFPM for pose extraction and uncertainty visualization.

5. Posterior Representation, MAP Extraction, and Visualization

DAFPM is internally maintained as a multi-dimensional tensor indexed by spatial position and orientation: d^t\hat{d}_t4. MAP pose estimates are computed as

d^t\hat{d}_t5

Uncertainty quantification is supported via local covariance estimation or entropy calculations. The DAFPM structure naturally supports visualization as heatmaps (marginalized or non-marginalized over orientation) overlaid on the floorplan. Segment-angle histograms and kernel smoothing are employed to refine orientation discretization and improve numerical robustness (Cheng et al., 12 Nov 2025).

Implementation heuristics include:

  • Floorplan resolution of 0.05 m/px, kernel sizes of d^t\hat{d}_t6100×100 px.
  • Orientation candidate selection via segment-angle histograms and circular convolution.
  • Depth artifact masking (e.g., windows) and resampling strategies to suppress spurious maxima.
  • Fast convolution (FFT-based) for large-scale, real-time applications.

6. Applications and Empirical Performance

DAFPM-based methods have demonstrated substantial gains in localization performance on both synthetic and real-world datasets. On the LaMAR HGE dataset (22,500 m², FoV 48°, sequence length d^t\hat{d}_t7), DAFPM in UnLoc achieved:

  • SR@1m = 100% (with uncertainty modeling), vs 36.4% for F³Loc mono (custom-trained), and 100% for UnLoc without uncertainty;
  • RMSE (succ.) reduced from 0.38 m (UnLoc w/o uncertainty) to 0.34 m (w/ DAFPM).

For short sequences (d^t\hat{d}_t8), DAFPM delivered SR@1m = 20.0%, a 16.7× improvement over F³Loc mono (Wüest et al., 14 Sep 2025). Similar robustness and accuracy gains were observed for stationary and sequential localization in PALMS+, with empirical validation on Structured3D and campus buildings indicating superior accuracy and error resilience to prior methods, without bespoke training (Cheng et al., 12 Nov 2025).

A plausible implication is that DAFPM's explicit uncertainty modeling and generic integration of monocular depth priors confer generalization to novel indoor environments—an advantage over systems reliant on scene-specific depth training.

DAFPM extends earlier floorplan localization paradigms by offering:

  • Principled probabilistic modeling of depth uncertainty per observation;
  • Integration of off-the-shelf depth networks without per-environment retraining, in contrast to methods requiring custom lidar or monocular refinement;
  • Efficient, scalable inference via histogram filtering or particle filtering, with adaptation to both stationary and sequential scenarios.

DAFPM is distinct from purely keypoint or appearance-based matching, explicitly leveraging building geometry via spatial reasoning and uncertainty-aware fusion. Typical DAFPM deployment assumes access to accurate floorplan geometry, camera intrinsics, and synchronized pose estimates (as from ARKit or visual-inertial odometry), although future extensions may further relax these assumptions.

Table: Summary of DAFPM Implementations in Leading Systems

System Depth Backbone Sequential Tracking Uncertainty Model Pose Representation
UnLoc Depth Anything V2 (pretrained) Histogram filter Laplace per-ray 3D grid over (x, y, d^t\hat{d}_t9)
PALMS+ Depth Pro (foundation) Particle filter Scale search 3D tensor over (x, y, b^t\hat{b}_t0)

DAFPM thus establishes a robust foundation for infrastructure-free, vision-based localization in floorplan-constrained environments, with immediate applicability to mixed-reality, assistive navigation, and emergency robotics domains (Wüest et al., 14 Sep 2025, Cheng et al., 12 Nov 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Depth-Aware Floorplan Probabilistic Map (DAFPM).