CN102136150B - Method for detecting speed limit sign based on image processing technology - Google Patents

Method for detecting speed limit sign based on image processing technology Download PDF

Info

Publication number
CN102136150B
CN102136150B CN201110069245A CN201110069245A CN102136150B CN 102136150 B CN102136150 B CN 102136150B CN 201110069245 A CN201110069245 A CN 201110069245A CN 201110069245 A CN201110069245 A CN 201110069245A CN 102136150 B CN102136150 B CN 102136150B
Authority
CN
China
Prior art keywords
speed
limit sign
radius
max
sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201110069245A
Other languages
Chinese (zh)
Other versions
CN102136150A (en
Inventor
朱双东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo University
Original Assignee
Ningbo University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo University filed Critical Ningbo University
Priority to CN201110069245A priority Critical patent/CN102136150B/en
Publication of CN102136150A publication Critical patent/CN102136150A/en
Application granted granted Critical
Publication of CN102136150B publication Critical patent/CN102136150B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a method for detecting a speed limit sign based on an image processing technology. A circle scanning method for scanning from the inside to the outside is provided according to the unique corresponding relation between the color and shape pair of the speed limit sign and an inner core pattern, so that a circle can be successfully detected, the presence of a red pixel in an inner core can be judged, and the speed limit sign can be quickly distinguished from most prohibition signs (with a red pixel or a non-circular frame in the inner core). In combination with judgment on the high consistency of each black region in the inner core, a non-speed-limit sign can be quickly eliminated, and successful detection of the speed limit sign is realized.

Description

A kind of speed(-)limit sign detection method based on image processing techniques
Technical field
The present invention relates to a kind of recognition methods of road signs, especially relate to a kind of speed(-)limit sign detection method based on image processing techniques.
Background technology
Road signs identification (Traffic Sign Recognition; TSR) system is as intelligent transportation system (Intelligent Transportation System; ITS) important component part of research field can be used for DAS (Driver Assistant System) and automated driving system.As the important means of transportation information service systems, the main task of TSR system is an analyzing and processing traffic scene image, from the traffic scene figure of complicacy, detects traffic sign, and it is carried out correct differentiation [1]At present, " hypervelocity " is the one of the main reasons that causes Urban Road Traffic Accidents.For guaranteeing the unimpeded and traffic safety of road traffic, in conjunction with situation such as road alignment, traffic, facilities along the line, various countries are provided with corresponding speed(-)limit sign one after another with the control speed of a motor vehicle, have reduced accident rate to a certain extent.Speed(-)limit sign is as the important means of control vehicle running speed, and effect is outstanding in traffic control.Therefore, in the TSR systematic study, realize that the correct identification of speed(-)limit sign just seems particularly important.
China directly traffic sign relevant with traffic safety is divided into prohibitory sign, Warning Mark, warning notice 3 big classes, has 118 kinds (not comprising the sign that can derive from).Wherein, the quantity that prohibitory sign is set on urban road and the highway has 44 kinds at most, and speed(-)limit sign then belongs to a kind of of prohibitory sign.
Summary of the invention
Technical matters to be solved by this invention provides a kind of speed(-)limit sign detection method based on image processing techniques that can fast and effeciently speed(-)limit sign be distinguished from 118 kinds of road signs.
The present invention solves the problems of the technologies described above the technical scheme that is adopted: a kind of speed(-)limit sign detection method based on image processing techniques, and this detection method may further comprise the steps:
1. to a traffic sign, outwards make the scanning circle from centre of figure, record is through the least radius r of red pixel point MinWith maximum radius r Max, the ratio that defines both is m, i.e. m=r Max/ r Min, when m ∈ (1,1.3] time, judge that this sign is made up of the circular frame of redness, get into next step, otherwise be non-speed(-)limit sign;
2. judge and remove least radius r MinWith maximum radius r MaxBetween red pixel outside, less than least radius r MinThe zone in have or not red pixel, have then to be non-speed(-)limit sign, otherwise get into next step;
3. judge less than least radius r MinThe zone in have or not black picture element, have then to get into next step, otherwise be non-speed(-)limit sign;
4. less than least radius r MinEach black region of regional interscan, the record black pixel point maximum height h MaxWith minimum constructive height h MinThe ratio that defines both is n, i.e. n=h Max/ h Min, when n ∈ [1,1.2], judge that this is masked as speed(-)limit sign, otherwise be non-speed(-)limit sign;
5. judging whether to accomplish the scanning of all traffic signs, is detection of end then, otherwise to next traffic sign, repeating step 1.~step 4..
Step concrete steps 1. are:
(1) obtaining the circumscribed rectangular shaped rim of red area-of-interest and setting area, serves as the round heart O of scanning with the frame center, and r ∈ (0, L) be sweep radius, 1 pixel of step-length is done scanning from inside to outside and is justified, and wherein, r is a sweep radius, and L is the distance that the frame summit is arrived at the center;
(2) scanning area-of-interest, detect circular:
A. when scanning circle on through the zone during the most inboard point, it is r that record scans radius of circle this moment Min
B. when scanning circle through regional outermost, it is r that record scans radius of circle at this moment Max
C. computational discrimination formula m=r Max/ r Min, if satisfy m ∈ (1,1.3], judge that then this area-of-interest is for circular; Then removing should the zone if do not satisfy.
Step concrete steps 4. are:
1) extracts the interior black kernel of annulus, and be partitioned into kernel area;
2) the region height consistance is judged, detects the pure digi-tal kernel:
A. scan each black kernel area, the maximum height of posting field black pixel point is h Max, the minimum constructive height of regional black pixel point is h Min
B. calculate n=h Max/ h Min, if satisfy n ∈ [1,1.2], be the pure digi-tal kernel then, confirm that this is masked as speed(-)limit sign, then do not remove this kernel and circle ring area if do not satisfy.
Compared with prior art; Advantage of the present invention is following: according to the speed(-)limit sign color shape pair unique corresponding relation with the kernel pattern, propose a kind of circular scanning from inside to outside, can successfully detect circle; Can also whether there be red pixel by the judgement symbol kernel; Can be fast speed(-)limit sign be distinguished from most of prohibitory sign (red pixel is arranged the kernel, or non-circular frame), in conjunction with to the conforming judgement of each black region height in the kernel; Can remove non-speed(-)limit sign fast, realize the successful detection of speed(-)limit sign.The present invention with compare based on the circular detection method of Hough conversion usually, overcome it and on three dimensions, carried out evidence and add up and need to consume very large time and space, be unfavorable for the shortcoming of the real-time detection of traffic sign.
Description of drawings
Fig. 1 is the prohibitory sign in China's traffic sign;
Fig. 2 a is a speed(-)limit sign common in the prohibitory sign;
Fig. 2 b is the structural representation of cylindrical in the speed(-)limit sign;
Fig. 3 is the basic framework synoptic diagram of detection method of the present invention.
Embodiment
Embodiment describes in further detail the present invention below in conjunction with accompanying drawing.
As shown in the figure, the speed(-)limit sign in China's traffic sign is its basic border color with redness, and white is its background color, and the kernel pattern is highly consistent ater numeral, and frame all is circular.According to national national standard, there is certain relation in the road speed in the size of speed(-)limit sign setting and this highway section speed limit scope, and is as shown in table 1.
The relation of table 1 speed(-)limit sign size and road speed
Figure BDA0000051417820000031
Analysis to the color geometric attribute and the kernel pattern of speed(-)limit sign; Can obtain an important conclusion: exist unique corresponding relationship between the color-geometric attribute of speed(-)limit sign and the kernel pattern; Promptly satisfy frame on the red circular basis, each black region height is consistent in its kernel redfree pixel and the kernel.
If C in arbitrary road signs RThe color attribute of indicator sign is red, S CThe expression shape attribute is circular, and the color shape that then satisfies red circle marker to subclass does
VCSP={(C R,S C)} (1)
If satisfying the kernel attribute of red circle marker is K L| L=1,2 ..., 4, wherein, K 1, K 2, K 3And K 4Implication respectively as follows:
1. K 1The sign of pixel redly in the expression kernel is like the mark P closed to motor vehicles 38 among Fig. 1;
2. K 2Indicator sign kernel redfree pixel and do not have black region is like the traffic prohibited sign P41 among Fig. 1;
3. K 3Indicator sign kernel redfree pixel and each black region height are inconsistent, like the weight limit sign P7 among Fig. 1;
4. K 4Indicator sign kernel redfree pixel and each black region height are consistent, like the speed(-)limit sign P5 among Fig. 1.
So speed(-)limit sign color shape pair with the corresponding relation of kernel pattern does
SLS=(C R,S C,K 4) (2)
Speed(-)limit sign logical relation (2) is the speed(-)limit sign detection model.It shows, in 3 big types of 118 kinds of traffic signs of China, as long as what satisfy the SLS relation condition is exactly speed(-)limit sign, ungratifiedly can be used as the redundant area filtering.
Based on above consideration, a kind of speed(-)limit sign detection method based on image processing techniques of the present invention may further comprise the steps:
1. obtaining the circumscribed rectangular shaped rim of red area-of-interest and setting area, serves as the round heart O of scanning with the frame center, and r ∈ (0, L) be sweep radius, 1 pixel of step-length is made the scanning circle from inside to outside, and wherein, r is a sweep radius, and L is the distance that the frame summit is arrived at the center;
(2) scanning area-of-interest, detect circular:
A. when scanning circle on through the zone during the most inboard point, it is r that record this moment is scanned radius of circle through the minimum of red pixel point Min
B. when scanning circle through regional outermost, record is r through the maximum scan radius of circle of red pixel point at this moment Max
C. the ratio that defines both is m, i.e. m=r Max/ r Min, computational discrimination formula m=r Max/ r Min, if satisfy m ∈ (1,1.3], judge that then this area-of-interest gets into next step for circular, then be non-speed(-)limit sign if do not satisfy, removing should the zone;
2. judge and remove least radius r MinWith maximum radius r MaxBetween red pixel outside, less than least radius r MinThe zone in have or not red pixel, have then to be non-speed(-)limit sign, otherwise get into next step;
3. judge less than least radius r MinThe zone in have or not black picture element, the black kernel that then extracts in the annulus is arranged, and is partitioned into kernel area, get into next step, otherwise be non-speed(-)limit sign;
4. less than least radius r MinEach black region of regional interscan, carry out the region height consistance and judge, detect the pure digi-tal kernel:
A. scan each black kernel area, the maximum height of posting field black pixel point is h MaxWith minimum constructive height be h Min
B. the ratio that defines both is n, i.e. n=h Max/ h Min, calculate n=h Max/ h Min, if satisfy n ∈ [1,1.2], be the pure digi-tal kernel then, confirm that this is masked as speed(-)limit sign, be non-speed(-)limit sign then if do not satisfy, remove this kernel and circle ring area;
5. judging whether to accomplish the scanning of all traffic signs, is detection of end then, otherwise to next traffic sign, repeating step 1.~step 4..

Claims (2)

1. speed(-)limit sign detection method based on image processing techniques is characterized in that this detection method may further comprise the steps:
1. to a traffic sign, outwards make the scanning circle from centre of figure, record is through the least radius r of red pixel point MinWith maximum radius r Max, the ratio that defines both is m, i.e. m=r Max/ r Min, when m ∈ (1,1.3] time, judge that this sign is made up of the circular frame of redness, get into next step, otherwise be non-speed(-)limit sign, concrete steps are:
(1) obtaining the circumscribed rectangular shaped rim of red area-of-interest and setting area, serves as the round heart O of scanning with the frame center, and r ∈ (0, L) be sweep radius, 1 pixel of step-length is done scanning from inside to outside and is justified, and wherein, r is a sweep radius, and L is the distance that the frame summit is arrived at the center;
(2) scanning area-of-interest, detect circular:
A. when scanning circle on through the zone during the most inboard point, it is r that record scans radius of circle this moment Min
B. when scanning circle through regional outermost, it is r that record scans radius of circle at this moment Max
C. computational discrimination formula m=r Max/ r Min, if satisfy m ∈ (1,1.3], judge that then this area-of-interest is for circular; Then remove should the zone if do not satisfy;
2. judge and remove least radius r MinWith maximum radius r MaxBetween red pixel outside, less than least radius r MinThe zone in have or not red pixel, have then to be non-speed(-)limit sign, otherwise get into next step;
3. judge less than least radius r MinThe zone in have or not black picture element, have then to get into next step, otherwise be non-speed(-)limit sign;
4. less than least radius r MinEach black region of regional interscan, the record black pixel point maximum height h MaxWith minimum constructive height h MinThe ratio that defines both is n, i.e. n=h Max/ h Min, when n ∈ [1,1.2], judge that this is masked as speed(-)limit sign, otherwise be non-speed(-)limit sign;
5. judging whether to accomplish the scanning of all traffic signs, is detection of end then, otherwise to next traffic sign, repeating step 1. ~ step 4..
2. a kind of speed(-)limit sign detection method based on image processing techniques as claimed in claim 1 is characterized in that step concrete steps 4. are:
1) extracts the interior black kernel of annulus, and be partitioned into kernel area;
2) the region height consistance is judged, detects the pure digi-tal kernel:
A. scan each black kernel area, the maximum height of posting field black pixel point is h Max, the minimum constructive height of regional black pixel point is h Min
B. calculate n=h Max/ h Min, if satisfy n ∈ [1,1.2], be the pure digi-tal kernel then, confirm that this is masked as speed(-)limit sign, then do not remove this kernel and circle ring area if do not satisfy.
CN201110069245A 2011-03-22 2011-03-22 Method for detecting speed limit sign based on image processing technology Expired - Fee Related CN102136150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110069245A CN102136150B (en) 2011-03-22 2011-03-22 Method for detecting speed limit sign based on image processing technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110069245A CN102136150B (en) 2011-03-22 2011-03-22 Method for detecting speed limit sign based on image processing technology

Publications (2)

Publication Number Publication Date
CN102136150A CN102136150A (en) 2011-07-27
CN102136150B true CN102136150B (en) 2012-10-24

Family

ID=44295923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110069245A Expired - Fee Related CN102136150B (en) 2011-03-22 2011-03-22 Method for detecting speed limit sign based on image processing technology

Country Status (1)

Country Link
CN (1) CN102136150B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268072A (en) * 2013-05-27 2013-08-28 重庆市科学技术研究院 Miniature vehicle, miniature vehicle control system and control method based on machine vision
CN107545244A (en) * 2017-08-09 2018-01-05 上海炬宏信息技术有限公司 Speed(-)limit sign detection method based on image processing techniques

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6213401B1 (en) * 1998-11-19 2001-04-10 Michael Louis Brown Speed limit detecting system
US8370755B2 (en) * 2007-12-27 2013-02-05 Core Wireless Licensing S.A.R.L. User interface controlled by environmental cues
CN101508299B (en) * 2009-03-12 2011-04-06 上海交通大学 Vehicle intelligent device capable of automatically recognizing road speed-limit sign
CN101508300B (en) * 2009-03-12 2011-04-06 上海交通大学 Vehicle intelligent method capable of automatically recognizing road speed-limit sign
CN101761038B (en) * 2009-12-31 2011-09-14 华南理工大学 System and method for recognizing railway temporary speed-limiting sign

Also Published As

Publication number Publication date
CN102136150A (en) 2011-07-27

Similar Documents

Publication Publication Date Title
CN105005771B (en) A kind of detection method of the lane line solid line based on light stream locus of points statistics
CN102117546B (en) On-vehicle traffic light assisting device
WO2020000251A1 (en) Method for identifying video involving violation at intersection based on coordinated relay of video cameras
CN103824452A (en) Lightweight peccancy parking detection device based on full view vision
CN101937508B (en) License plate localization and identification method based on high-definition image
CN100452110C (en) Automobile video frequency discrimination speed-testing method
WO2015098915A1 (en) Wrong-way-driving-determining device
CN102298693B (en) Expressway bend detection method based on computer vision
CN103236178A (en) Signal lamp mode recognition reminding system and method
CN104298976A (en) License plate detection method based on convolutional neural network
CN106004438A (en) Linking method and system for vehicle-mounted intelligent traffic light
WO2022213542A1 (en) Method and system for clearing information-controlled intersection on basis of lidar and trajectory prediction
CN110930723B (en) Illegal parking detection implementation method
CN113356101B (en) Urban road warning marking design method for large vehicle right turning blind area
CN202472943U (en) Vehicle violation detecting system based on high definition video technology
CN110718058A (en) Active safety terminal-based expressway emergency lane occupation detection and disposal method
CN105654073A (en) Automatic speed control method based on visual detection
CN105184227A (en) Traffic signal control system with automobile high beam light detection function
CN110164145A (en) A kind of high-speed road conditions intelligence warning system and its working method
CN103854029A (en) Detection method for front automobile window top right corner point
CN112466159B (en) Right-turning safety early warning system for large vehicle
CN114387785A (en) Safety management and control method and system based on intelligent highway and storable medium
CN103020603A (en) Night signal light detection and identification method based on color space and selective voting mechanism
CN102136150B (en) Method for detecting speed limit sign based on image processing technology
CN104680774A (en) System for warning illegal parking for car on expressway, and method of system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121024

Termination date: 20150322

EXPY Termination of patent right or utility model