arXiv:2609.08385cs.CVSep 2026

Manuscript Offprint

arXiv:2609.08385

GALoc: Gravity Aligned Wireframes for Depth-Free Monocular Floorplan Localization

Jeahn Han, Minji Kim, Jeongbin Sohn, Jonghyeok Park, Matthias Wuest, Pyojin Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jeahn Han¹, Minji Kim¹, Jeongbin Sohn¹, Jonghyeok Park², Matthias Wüest³, and Pyojin Kim¹

¹GIST ²KAIST ³Zurich University of Applied Sciences

Figure

Fig. 1: Overview of GALoc, multi-view floorplan matching for localizing SE(2) camera poses with gravity-aligned wireframes. GALoc uses gravity-aligned wireframes and wall junctions from RGB images to get bird's-eye-view (BEV) rays. GALoc matches them against a floorplan with SE(2) search and sequential fusion to achieve precise floorplan localization.

Abstract—Floorplans are compact, appearance-invariant maps ideal for indoor localization, yet existing methods rely on depth networks that are brittle in cluttered scenes. We propose GALoc, a geometry-first framework that replaces depth prediction with gravity-aligned wireframes that satisfy verticality and coplanarity by construction. Given monocular RGB, camera intrinsics, relative poses, and IMU orientation, GALoc constructs a linear constraint matrix encoding verticality and coplanarity, and finds the camera gauge minimizing its smallest singular value via global search. The rectified wireframes are projected into bird's-eye-view layouts through a closed-form, FOV-consistent transformation and matched against the floorplan via metric-free SE(2) search. We evaluate end-to-end on Structured3D, with calibrated noise on Gibson, and on real-world author-collected sequences. When sufficient wall geometry is visible, GALoc matches or outperforms depth-based baselines — achieving 88% sequential localization success at 0.1m over 100-step sequences on Gibson vs the baseline's 68% — while abstaining in structure-blind scenes.

I. INTRODUCTION

Visual localization underpins 3D reconstruction [1], augmented reality [2], and autonomous navigation [3], yet classical approaches based on feature matching [4] or depth-derived point clouds [5] require dense reconstructions or pre-built maps that degrade under appearance changes. Floorplan-based localization [6], [7], [8], [9] sidesteps these costs: floorplans are compact, appearance-invariant, and encode structural geometry without per-scene retraining.

However, existing floorplan methods still route through depth—whether from RGB-D sensors [10] or learned networks [11]—matching predicted depth to floorplan structure. This coupling is fragile: in cluttered environments furniture is mistaken for walls, and in unseen or low-texture scenes depth regressors extrapolate poorly. The core issue is that depth is an intermediate representation the task does not require; what we need is the geometric structure of walls.

We present GALoc, a depth-free monocular framework that replaces depth prediction with gravity-aligned wireframes (Figure 1). Our key insight (Section III-C) is that gravity alignment can be cast as an analytical null-space search: we build a linear constraint matrix from 2D wireframe junctions encoding verticality and coplanarity, then recover the unknown camera gauge as the angle minimizing its smallest singular value. The recovered 3D wireframe satisfies both constraints exactly by construction, without depth supervision, and is projected into a bird's-eye-view (BEV) layout matched against the floorplan via metric-free SE(2) search. Our contributions are:

  • Null Space Gravity-Aligned Rectification: a 1D gauge search over yaw selecting the angle minimizing the smallest singular value of the architectural constraint matrix, without depth regression.
  • Field-of-View Consistent BEV Transformation: From rectified wireframes and FOV, we derive a closed-form, scale-free BEV translation using an inscribed-angle constraint that guarantees FOV consistency.

Notably, GALoc requires no learned depth, no semantic annotations, and no panoramic input at the cost of a wireframe extractor (Table II).

References (36)