encyclopegia.org

Line detection

In image processing, line detection is an algorithm that takes a collection of n edge points and finds all the lines on which these edge points lie.[src] The most popular line detectors are the Hough transform and convolution-based techniques.[src]

In image processing, line detection is an algorithm that takes a collection of n edge points and finds all the lines on which these edge points lie.[src] The most popular line detectors are the Hough transform and convolution-based techniques.[src] The Hough transform can be used to detect lines and the output is a parametric description of the lines in an image, for example ρ = r cos(θ) + c sin(θ).[src] If there is a line in a row and column based image space, it can be defined ρ, the distance from the origin to the line along a perpendicular to the line, and θ, the angle of the perpendicular projection from the origin to the line measured in degrees clockwise from the positive row axis.[src] Therefore, a line in the image corresponds to a point in the Hough space.[src] The Hough space for lines has therefore these two dimensions θ and ρ, and a line is represented by a single point corresponding to a unique set of these parameters.[src] The Hough transform can then be implemented by choosing a set of values of ρ and θ to use.[src] For each pixel ( , ) in the image, compute r cos(θ) + c sin(θ) for each values of θ, and place the result in the appropriate position in the (ρ, θ) array.[src] At the end, the values of (ρ, θ) with the highest values in the array will correspond to strongest lines in the image R(x, y) = max(|R1 (x, y)|, |R2 (x, y)|, |R3 (x, y)|, |R4 (x, y)|) If R(x, y) > T, then discontinuity As can be seen below, if mask is overlay on the image (horizontal line), multiply the coincident values, and sum all these results, the output will be the (convolved image).[src] For example, (−1)(0)+(−1)(0)+(−1)(0) + (2)(1) +(2)(1)+(2)(1) + (−1)(0)+(−1)(0)+(−1)(0) = 6 pixels on the second row, second column in the (convolved image) starting from the upper left corner of the horizontal lines.[src] page 82 clear all clc % this MATLAB program will only detect vertical lines in an image building = imread('building.jpg'); % This will upload the image building tol = 5; % define a tolerance in the angle to account for noise or edge % that may look vertical but when the angle is computed % it may not appear to be [~, angle] = imgradient(building); out = (angle >= 180 - tol | angle ==See also== Digital image processing Canny edge detector Sobel operator ==References== __FORCETOC__[src]

13 sentences · 13 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Line detection." encyclopegia.org, 2026, https://encyclopegia.org/wiki/line-detection. Accessed 30 November 2026.

Chicago

"Line detection." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/line-detection.

APA

encyclopegia.org. (2026). Line detection. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/line-detection

Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Contradiction Detection

article · references available

Tram line 1 (Lyon)

stub · references available

Bundang Line

stub · references available

goal line

stub · references available

Maskowskaya line

stub · references available

Paris Métro Line 6

stub · references available

Paris Métro Line 9

stub · references available

Paris Métro Line 11

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1349176456 · 0.5 · snapshot enwiki-001349176456

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.