IP Library › Granted Patent US 12,412,276
Granted Patent B2
US 12,412,276 · App. 17/619,050 · Granted Sep 9, 2025

Line detection method

Inventor: Keonwon Seo (Daegu, KR)
Assignee: KYUNGPOOK NATIONAL UNIVERSITY INDUSTRY-ACADEMIC COOPERATION FOUNDATION
G06T7/13G06T5/70G06T7/60
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,412,276
App. No.
17/619,050
Granted
Sep 9, 2025
Kind
B2
Abstract

Disclosed is a method for detecting a line in an image or a video. The method includes smoothing the image, selecting an area in which a line is to be detected, determining a center pixel in the selected area, applying a window centered on the center pixel, detecting a sum of gradient angle differences of pixels surrounding the center pixel, classifying the center pixel determined as the line candidate into a ridge or a valley, and eliminating a non-maximum pixel.

Claims (39)

1. A method for detecting a line from an image or a video, comprising:

smoothing an image;

selecting an area in which a line is to be detected;

determining a center pixel in the selected area;

applying a window centered on the center pixel;

detecting a sum of gradient angle differences of pixels surrounding the center pixel;

detecting a sum of gradient angle differences of pixels facing each other with respect to the center pixel; and

determining a portion included in the area as a line candidate when a result value of the detected sum is greater than or equal to a specific value, wherein the specific value is π to 3π.

2. The method of claim 1 , wherein the window is a 3×3 window.

3. The method of claim 1 , wherein the method further includes

classifying the center pixel determined as the line candidate into a ridge or a valley; and

eliminating a non-maximum pixel.

4. The method of claim 3 , further comprising:

selecting a line for pixels corresponding to same line class.

5. The method of claim 4 , wherein the eliminating of the non-maximum pixel includes

calculating a sum of gradient angle differences for neighborhood pixels whose classification of the center pixel correspond to the same line class.

6. The method of claim 5 , wherein the eliminating of the non-maximum pixel includes

comparing the sum of the gradient angle differences of the neighborhood pixels with the sum of the gradient angle differences of the center pixel.

7. The method of claim 6 , further comprising:

selecting the center pixel as a line when the sum of the gradient angle differences of the center pixel is greater than the sum of the gradient angle differences of the neighborhood pixels.

8. A non-transitory computer-readable storing medium for storing a program for causing a computer to execute a method line detection, the method comprising:

smoothing an image;

selecting an area in which a line is to be detected;

determining a center pixel in the selected area;

applying a window centered on the center pixel;

detecting a sum of gradient angle differences of pixels surrounding the center pixel;

detecting a sum of gradient angle differences of pixels facing each other with respect to the center pixel; and

determining a portion included in the area as a line candidate when a result value of the detected sum is greater than or equal to a specific value, wherein the specific value is π to 3π.

9. The non-transitory computer-readable storing medium of claim 8 , wherein the method further includes:

classifying the center pixel determined as a line candidate into a ridge or a valley; and

eliminating a non-maximum pixel.

10. The non-transitory computer-readable storing medium of claim 9 , further comprising:

selecting a line for pixels corresponding to same line class.

11. The non-transitory computer-readable storing medium of claim 10 , wherein the eliminating of the non-maximum pixel includes

calculating a sum of gradient angle differences for neighborhood pixels whose classification of the center pixel correspond to the same line class.

12. The non-transitory computer-readable storing medium of claim 11 , wherein the eliminating of the non-maximum pixel includes

comparing the sum of the gradient angle differences of the neighborhood pixels with the sum of the gradient angle differences of the center pixel.

13. The non-transitory computer-readable storing medium of claim 12 , further comprising:

selecting the center pixel as a line when the sum of the gradient angle differences of the center pixel is greater than the sum of the gradient angle differences of the neighborhood pixels.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE THE CONVEYING PARTY DATA PREVIOUSLY RECORDED AT REEL: 58385 FRAME: 368. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jul 17, 2024
From: SEO, KEONWON
To: KYUNGPOOK NATIONAL UNIVERSITY INDUSTRY-ACADEMIC COOPERATION FOUNDATION
Reel/Frame 068404/0835 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 14, 2021
From: SEO, SU YOUNG
To: KYUNGPOOK NATIONAL UNIVERSITY INDUSTRY-ACADEMIC COOPERATION FOUNDATION
Reel/Frame 058385/0368 →
Priority Claims (1)
KR 10-2019-0070671 · Jun 14, 2019 · national
Continuity (1)
Related Publication 20220383506A1 · Dec 1, 2022
References Cited (17)
US 6229578B1 · Acharya · 2001 [cited by examiner]
US 7999867B2 · Noh · 2011 [cited by applicant]
US 8331686B2 · Lee et al. · 2012 [cited by applicant]
US 8363932B2 · Lee et al. · 2013 [cited by applicant]
US 9449245B2 · Wang et al. · 2016 [cited by applicant]
US 10152780B2 · Hsu et al. · 2018 [cited by applicant]
US 10380743B2 · Miyazato et al. · 2019 [cited by applicant]
US 20170236258A1 · Hsu · 2017 [cited by examiner]
JP 2017224110A · 2017 [cited by applicant]
KR 1020010032809A · 2001 [cited by applicant]
KR 100736356B1 · 2007 [cited by applicant]
KR 100886611B1 · 2009 [cited by applicant]
KR 1020110042781A · 2011 [cited by applicant]
KR 1020150108303A · 2015 [cited by applicant]
KR 1020170051369A · 2017 [cited by applicant]
International Search Report issued in corresponding International Application No. PCT/KR2020/007639 dated Aug. 28, 2020, pp. 1-2, English Translation. [cited by applicant]
International Report on Patentability issued in corresponding International Application No. PCT/KR2020/007639 dated Dec. 14, 2021, pp. 1-6, English Translation. [cited by applicant]