Source-linked AI summary

Detecting Vanishing Points using Global Image Context in a Non-Manhattan World

Menghua Zhai, Scott Workman, Nathan Jacobs

arXiv:1608.05684v1cs.CV

TL;DR

Detecting vanishing points is challenging when line-segment intersections include false candidates. This method uses global image context to propose horizon lines and scores them by the vanishing points they contain; it reports state-of-the-art results across three benchmarks, with greater accuracy and efficiency than the previous state-of-the-art method.

  • Problem

    Vanishing-point-first approaches face a difficult detection step because line-segment intersections may not be true vanishing points.

    Source: §1 · p. 1, §5.3 · p. 8
  • Method

    Global image context guides horizon-line candidates, and a discrete-continuous procedure selects vanishing points and scores each candidate.

    Source: §1 · p. 1, §6 · p. 8
  • Results

    The method reports state-of-the-art performance on three benchmark datasets and greater accuracy and efficiency than the previous state-of-the-art algorithm.

    Source: §1 · p. 1, §6 · p. 8
  • Takeaways & Limitations

    The method requires no parameter tuning for a new testing dataset, unlike what is common in other methods.

    Source: §6 · p. 8

    Short line segments can propagate measurement errors, while curved structures can make vanishing points indistinct.

    Source: §5.3 · p. 8

Abstract

from arXiv · show

We propose a novel method for detecting horizontal vanishing points and the zenith vanishing point in man-made environments. The dominant trend in existing methods is to first find candidate vanishing points, then remove outliers by enforcing mutual orthogonality. Our method reverses this process: we propose a set of horizon line candidates and score each based on the vanishing points it contains. A key element of our approach is the use of global image context, extracted with a deep convolutional network, to constrain the set of candidates under consideration. Our method does not make a Manhattan-world assumption and can operate effectively on scenes with only a single horizontal vanishing point. We evaluate our approach on three benchmark datasets and achieve state-of-the-art performance on each. In addition, our approach is significantly faster than the previous best method.

1. Introduction

The paper reverses the usual vanishing-point-first strategy by proposing horizon-line candidates guided by global image context and scoring them by their vanishing points. It reports state-of-the-art benchmark performance and improved accuracy and speed over the previous best method.

1. Introduction

  • Traditional approaches first detect vanishing points, a difficult step because line-segment intersections may not be true vanishing points.Vanishing points arise from projections of parallel world lines; in man-made scenes, such lines often come from buildings, roads, and signs.Source: §1 · p. 1
  • The method proposes horizon-line candidates using global image context, then identifies vanishing points for each and scores candidates by line consistency.A deep convolutional network guides candidate generation, while a discrete-continuous optimization identifies vanishing points.Source: §1 · p. 1
  • The method reports state-of-the-art performance on the Eurasian Cities and York Urban datasets and greater accuracy and speed than Lezama et al. on a third dataset.The introduction does not provide quantitative results for these comparisons.Source: §1 · p. 1

1.1. Related Work

  • Prior line-segment methods cluster lines with approaches such as RANSAC, J-linkage, or the Hough transform, then refine vanishing-point estimates.Other approaches include facility-location formulations and a unified graphical model for edges, lines, and vanishing points.Source: §1.1 · p. 2
  • Unlike methods that cluster detected lines to initialize vanishing points, this approach first proposes horizon lines using global image context.Scene properties, including objects, can provide cues for horizon-line and vanishing-point placement beyond line segments alone.Source: §1.1 · p. 2

1.2. Approach Overview

  • Global context estimates priors over horizon lines and the zenith vanishing point, enabling prior-guided horizon sampling and a fast one-dimensional search for vanishing points.The prior helps initialize horizon-first detection so it can produce precise estimates needed for scene-understanding tasks.Source: §1.2 · pp. 2–3

2. Problem Formulation

The section sets the goal of detecting the horizon line, zenith vanishing point, and horizontal vanishing points from one image, and establishes notation and geometric operations used in the method.

2. Problem Formulation

  • The task is to detect the horizon line, zenith vanishing point, and any horizontal vanishing points from a single image.Image points are represented in homogeneous coordinates; the principal point is assumed to be the image center, and the coordinate vector is normalized to unit length.Source: §2 · p. 3
  • In homogeneous coordinates, the normalized cross product of two points gives their line, while that of two lines gives their intersection point.The line and point operations are defined using the two input vectors in each case.Source: §2 · p. 3
  • Line-point consistency is the nonnegative difference between the consistency threshold and their angle, capped at zero.The consistency reaches its maximum threshold when the line segment can be extended to contain the vanishing point.Source: §2 · p. 3

3. Horizon Priors from Global Image Context

A CNN extracts global image context to estimate priors over horizon-line parameters. The resulting continuous distributions guide later geometric detection.

3. Horizon Priors from Global Image Context

  • The horizon line is parameterized by slope and offset, with the offset transformed to control sampling density near the image center.The transformed offset spans [0, π/2), while the original offset is the shortest distance from the line to the principal point.Source: §3 · p. 3

3.1. Network Architecture

  • An adapted AlexNet uses separate fully connected layers to predict categorical distributions over 500 bins for horizon-line slope and squashed offset.Its convolutional layers are initialized from a network trained for object detection and scene classification.Source: §3.1 · p. 3

3.2. Training Database

  • The training database uses Google Street View panoramas randomly sampled within 5 km × 5 km regions around city centers; it contains 11,001 panoramas from 93 cities and 110,010 images with known horizon lines.Source: §3.2 · p. 4

3.3. Making the Output Continuous

  • The network’s categorical outputs are approximated by Gaussian distributions, yielding continuous priors over slope and offset for later detection.Means and variances are estimated from 5,000 samples; a horizon line can be visualized by its closest point to the principal point.Source: §3.3 · p. 4

4. Horizon-First Vanishing Point Detection

The method detects the zenith vanishing point, evaluates horizontal vanishing points on horizon-line candidates, and selects the candidate with the strongest line consistency. Global image context guides candidate sampling, while discrete selection and constrained refinement estimate the vanishing points.

4.1. Detecting the Zenith Vanishing Point

  • The zenith direction is estimated from global image context, then RANSAC refines the zenith vanishing point using candidate vertical line segments.If the largest inlier set exceeds 2% of candidate segments, the point is estimated by minimizing algebraic distance; otherwise, the context estimate is retained.Source: §4.1 · pp. 4–5

4.2. Detecting Horizontal Vanishing Points

  • Horizon-line candidates perpendicular to the zenith direction are sampled from the context-derived offset distribution, and each is evaluated by the consistency of its selected vanishing points with image lines.Nearly vertical and nearly horizontal segments are filtered because they can produce spurious or uninformative vanishing points.Source: §4.2 · p. 5, §4.3 · p. 6

4.2.1 Initialization by Random Sampling and Discrete Optimization

  • Randomly sampled line intersections form a weighted graph, whose maximum-weight independent set initializes the horizontal vanishing points while preventing nearby points from both being selected.Its ring-like structure permits partitioning into nearly linear subgraphs solved by dynamic programming; usually 2–4 points are found near the ground-truth horizon.Source: §4.2.1 · p. 5

4.2.2 Vanishing Points Refinement

  • An EM-like refinement alternates assigning consistent line segments and updating each vanishing point by constrained least squares on the candidate horizon line.The update is solved using SVD, and experiments use at most three iterations.Source: §4.2.2 · p. 6

4.3. Optimal Horizon Line Selection

  • Each horizon candidate is scored by line consistency with the two highest-weight selected vanishing points, or one when only one is available.This limits the effect of false-positive vanishing points on horizon selection.Source: §4.3 · p. 6

5. Evaluation

Across three benchmarks, the method achieves state-of-the-art horizon-line detection performance under an evaluation based on normalized horizon error and AUC. Component tests find benefits from both CNN global context and vanishing-point detection, while reported failures involve short line segments and curved structures.

5. Evaluation

  • Evaluation uses maximum horizon-line distance from ground truth normalized by image height, reports cumulative error histograms and AUC, and keeps parameters fixed across datasets.The authors note that other methods usually use different parameters for different datasets.Source: §5 · p. 6

5.1. Quantitative Evaluation

  • YUD processing averages 1 second per image versus approximately 30 seconds for Lezama et al.; ECD averages 3 seconds versus approximately 60 seconds.Source: §5.1 · pp. 6–7
  • YUD improves prior-best AUC by 0.28% (5% relative), ECD reaches 90.8% AUC (+14.8% relative), and HLW scores 58.24% versus 52.59% AUC.Figure 8 plots the fraction of images below each horizon-error threshold, with AUC shown for each curve.Source: §5.1 · pp. 6–7, Figure 8 · p. 7

5.2. Component Error Analysis

  • Both global-context extraction and vanishing-point detection matter; CNN context outperforms GISTRF and improves the FULL detector, while context-free estimates can be implausible or off-image.The component comparison includes CNN, GISTRF, and NONE context, and FULL and EMPTY vanishing-point detection alternatives.Source: Table 2 · p. 7, §5.2 · p. 7, Figure 9 · p. 8

5.3. Failure Cases

  • Short line segments propagate measurement errors, while curved structures produce indistinct vanishing points; global context can still yield plausible results where fails dramatically.Source: Figure 10 · p. 8, §5.3 · p. 8

6. Conclusion

The method samples possible horizon lines using global image context, then scores each by selecting optimal vanishing points. It achieves state-of-the-art performance on three benchmark datasets and is more accurate and efficient than the previous state-of-the-art algorithm.

  • The method achieves state-of-the-art performance on three benchmark datasets.Source: §6 · p. 8
  • Global image context samples possible horizon lines, which a discrete-continuous procedure scores by selecting optimal vanishing points.Source: §6 · p. 8
  • The method is more accurate and efficient than the previous state-of-the-art algorithm and requires no parameter tuning for a new testing dataset.The passage notes that parameter tuning for a new testing dataset is common in other methods.Source: §6 · p. 8
Loading 1608.05684v1…