CN104299221A - Determination method and apparatus for traffic sign image - Google Patents
Determination method and apparatus for traffic sign image Download PDFInfo
- Publication number
- CN104299221A CN104299221A CN201410332030.2A CN201410332030A CN104299221A CN 104299221 A CN104299221 A CN 104299221A CN 201410332030 A CN201410332030 A CN 201410332030A CN 104299221 A CN104299221 A CN 104299221A
- Authority
- CN
- China
- Prior art keywords
- traffic sign
- sign images
- connected region
- candidate
- edge
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000011218 segmentation Effects 0.000 claims abstract description 52
- 238000000605 extraction Methods 0.000 claims abstract description 25
- 235000013350 formula milk Nutrition 0.000 claims description 37
- 230000001143 conditioned effect Effects 0.000 claims description 29
- 239000000284 extract Substances 0.000 claims description 28
- 230000009466 transformation Effects 0.000 claims description 24
- 238000006243 chemical reaction Methods 0.000 claims description 18
- 230000000694 effects Effects 0.000 abstract description 6
- 238000004364 calculation method Methods 0.000 abstract description 2
- 239000003086 colorant Substances 0.000 abstract 2
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 239000000203 mixture Substances 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000009472 formulation Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000009415 formwork Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention, which belongs to the automobile field, discloses a determination method and apparatus for a traffic sign image. The method comprises: connection zones of all predetermined colors in an RGB image needing to determine a traffic sign image are determined, wherein the predetermined colors consists of a red color, a blue color and a yellow color; according to the determined connection zones, candidate traffic sign images are extracted from the RGB image; edges of all candidate traffic sign images are extracted; the edge of each candidate traffic sign image is segmented into a plurality of line segments; a steering angel between two connected line segments and a steering angle between two disconnected adjacent line segments in an intersecting trend in each edge are calculated; and on the basis of the steering angle values of each edge, a traffic sign image is determined from the candidate traffic sign images. In addition, the apparatus is composed of a first determination module, a first extraction module, a second extraction module, a segmentation module, a calculation module and a second determination module. According to the invention, the color and the shape characteristics of the traffic sign are combined and utilized; and the effect of traffic sign image determination is good.
Description
Technical field
The present invention relates to automotive field, particularly a kind of defining method of Traffic Sign Images and device.
Background technology
At present in the research boom of advanced DAS (Driver Assistant System) and automatic driving car, how research identifies that the multiple external environmental information in vehicle running environment belongs to indispensable research contents.These external environmental informations comprise lane line, barrier, structuring or destructuring road surface and traffic sign etc.Wherein, the identification of traffic sign generally for be the traffic sign of speed limit, warning and instruction class.The method of existing identification traffic sign mainly first utilizes the information such as the shape of traffic sign itself to analyze, and is determined by Traffic Sign Images, and then specifically identifies Traffic Sign Images.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: traffic sign exists disturbed conditions such as being blocked, reflective and fuzzy, the defining method of existing traffic sign is under these disturbed conditions, loss is very many, Detection results is very poor, thus have impact on the identification to traffic sign.
Summary of the invention
The loss height existed in order to the defining method solving existing traffic sign and the problem of Detection results difference, embodiments provide a kind of defining method and device of Traffic Sign Images.Described technical scheme is as follows:
On the one hand, provide a kind of defining method of Traffic Sign Images, described method comprises:
Determine to determine the connected region of each predetermined color in the RGB image of Traffic Sign Images, described predetermined color comprises redness, blueness and yellow;
According to the connected region determined, from described RGB image, extract candidate's Traffic Sign Images;
Extract the edge of each described candidate's Traffic Sign Images;
Be some line segments by the edge segmentation of each described candidate's Traffic Sign Images;
Calculate between two line segments that are connected in edge described in each and do not connect but steering angle between the adjacent segments with crossing trend;
According to the size of steering angle described in edge described in each, from described candidate's Traffic Sign Images, determine Traffic Sign Images.
In the first embodiment, the described connected region determining to determine each predetermined color in the RGB image of Traffic Sign Images, comprising:
According to the transformation for mula of each predetermined color, described need are determined that the RGB image of Traffic Sign Images carries out colour switching respectively, obtains the image highlighting predetermined color; Wherein, the transformation for mula of described redness is C
red=max (0, min ((v
r-v
g)/A, (v
r-v
b)/A)), the transformation for mula of described blueness is C
blue=max (0, min ((v
b-v
r)/A, (v
b-v
g)/A)), the transformation for mula of described yellow is C
yellow=max (0, min ((v
g-v
b)/A, (v
r-v
b)/A)), C
redthe red image obtained after representing conversion, C
bluethe blue image obtained after representing conversion, C
yellowthe yellow image obtained after representing conversion, v
rrepresent R passage pixel value, v
grepresent G passage pixel value, v
brepresent channel B pixel value, A=v
r+ v
g+ v
b;
The image bianry image separately of predetermined color is highlighted described in acquisition;
Determine the connected region in each described bianry image.
In this second embodiment, the connected region that described basis is determined, from described RGB image, extract candidate's Traffic Sign Images, comprising:
The connected region determined described in acquisition area separately, width and height;
From the described connected region determined, determine to meet pre-conditioned connected region; Wherein, be describedly pre-conditionedly that the area of described connected region is in setting areal extent and the ratio of width to height of described connected region is in setting aspect ratio range and the dutycycle of described connected region is greater than setting dutycycle; The height of the width/described connected region of the ratio of width to height=described connected region of described connected region, area/(height of connected region described in the width * of described connected region) of the dutycycle=described connected region of described connected region;
The position of pre-conditioned connected region in described RGB image is met described in acquisition;
In described RGB image, described in extraction, meet the image of pre-conditioned connected region position.
In the third embodiment, the described size according to steering angle described in edge described in each, from described candidate's Traffic Sign Images, determine Traffic Sign Images, comprising:
When steering angles all in the edge at described candidate's Traffic Sign Images all following angular range wherein a kind of described angular range time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images, described angular range comprises [110 °, 130 °], [80 °, 100 °] and [0 °, 60 °].
In the 4th embodiment, the described size according to steering angle described in edge described in each, from described candidate's Traffic Sign Images, determine Traffic Sign Images, comprising:
As steering angle θ ∈ [110 ° all in the edge at described candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of described candidate's Traffic Sign Images is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is equilateral triangle;
As steering angle θ ∈ [80 ° all in the edge at described candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of described candidate's Traffic Sign Images goes out is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is rectangle;
As steering angle θ ∈ [0 ° all in the edge at described candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from described candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is circle.
On the other hand, provide a kind of determining device of Traffic Sign Images, described device comprises:
First determination module, for determine to determine Traffic Sign Images RGB image in the connected region of each predetermined color, described predetermined color comprises redness, blueness and yellow;
First extraction module, for according to the connected region determined, from described RGB image, extracts candidate's Traffic Sign Images;
Second extraction module, for extracting the edge of each described candidate's Traffic Sign Images;
Segmentation module, for being some line segments by the edge segmentation of each described candidate's Traffic Sign Images;
Computing module, for calculating between two line segments that are connected in edge described in each and not connecting but steering angle between the adjacent segments with crossing trend;
Second determination module, for the size according to steering angle described in edge described in each, determines Traffic Sign Images from described candidate's Traffic Sign Images.
In the first embodiment, described first determination module comprises:
To described need, converter unit, for the transformation for mula according to each predetermined color, determines that the RGB image of Traffic Sign Images carries out colour switching respectively, obtains the image highlighting predetermined color; Wherein, the transformation for mula of described redness is C
red=max (0, min ((v
r-v
g)/A, (v
r-v
b)/A)), the transformation for mula of described blueness is C
blue=max (0, min ((v
b-v
r)/A, (v
b-v
g)/A)), the transformation for mula of described yellow is C
yellow=max (0, min ((v
g-v
b)/A, (v
r-v
b)/A)), C
redthe red image obtained after representing conversion, C
bluethe blue image obtained after representing conversion, C
yellowthe yellow image obtained after representing conversion, v
rrepresent R passage pixel value, v
grepresent G passage pixel value, v
brepresent channel B pixel value, A=v
r+ v
g+ v
b;
First acquiring unit, for highlighting the image bianry image separately of predetermined color described in obtaining;
First determining unit, for determining the connected region in each described bianry image.
In this second embodiment, described first extraction module comprises:
Second acquisition unit, for connected region area separately, width and the height determined described in obtaining;
Second determining unit, for from the described connected region determined, determines to meet pre-conditioned connected region; Wherein, be describedly pre-conditionedly that the area of described connected region is in setting areal extent and the ratio of width to height of described connected region is in setting aspect ratio range and the dutycycle of described connected region is greater than setting dutycycle; The height of the width/described connected region of the ratio of width to height=described connected region of described connected region, area/(height of connected region described in the width * of described connected region) of the dutycycle=described connected region of described connected region;
3rd acquiring unit, meets the position of pre-conditioned connected region in described RGB image described in obtaining;
Extraction unit, in described RGB image, meets the image of pre-conditioned connected region position described in extraction.
In the third embodiment, described second determination module is used for,
When steering angles all in the edge at described candidate's Traffic Sign Images all following angular range wherein a kind of described angular range time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images, described angular range comprises [110 °, 130 °], [80 °, 100 °] and [0 °, 60 °].
In the 4th embodiment, described second determination module is used for,
As steering angle θ ∈ [110 ° all in the edge at described candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of described candidate's Traffic Sign Images is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is equilateral triangle;
As steering angle θ ∈ [80 ° all in the edge at described candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of described candidate's Traffic Sign Images goes out is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is rectangle;
As steering angle θ ∈ [0 ° all in the edge at described candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from described candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is circle.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By the connected region of each predetermined color in the RGB image of determining to determine Traffic Sign Images, this predetermined color comprises redness, blueness and yellow, and according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images; Because this predetermined color contains the classification color of traffic sign, therefore make use of the color characteristics of traffic sign, make the candidate's Traffic Sign Images extracted compare closing to reality Traffic Sign Images; Extract the edge of each candidate's Traffic Sign Images; Be some line segments by the edge segmentation of each candidate's Traffic Sign Images; To calculate in some line segments that each edge segmentation becomes between two line segments that are connected and do not connect but steering angle between the adjacent segments with crossing trend; According to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images; Because steering angle can assess the shape at edge, therefore make use of the style characteristic of traffic sign, the Traffic Sign Images determined is more accurate; This method combines the CF characteristic that make use of traffic sign, and when determining Traffic Sign Images, effect is better, and loss is very low.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the defining method of a kind of Traffic Sign Images that the embodiment of the present invention provides;
Fig. 2 is the process flow diagram of the defining method of another Traffic Sign Images that the embodiment of the present invention provides;
Fig. 3 is the schematic diagram of the steering angle that the embodiment of the present invention provides;
Fig. 4 is the successional schematic diagram of the differential of the continuity point that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the determining device of a kind of Traffic Sign Images that the embodiment of the present invention provides;
Fig. 6 is the structural representation of the determining device of another Traffic Sign Images that the embodiment of the present invention provides.
embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of defining method of Traffic Sign Images, see Fig. 1, method flow comprises:
In a step 101, the connected region of each predetermined color in RGB (red, green, blue three Color Channels) image of Traffic Sign Images is determined to determine.
Wherein, this predetermined color comprises redness, blueness and yellow.
In a step 102, according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images.
In step 103, the edge of each candidate's Traffic Sign Images is extracted.
At step 104, be some line segments by the edge segmentation of each candidate's Traffic Sign Images.
In step 105, calculate between two line segments that are connected in each edge and do not connect but steering angle between the adjacent segments with crossing trend.
Wherein, the computing formula of steering angle is, θ=tan
-1((V
1× V
2)/(|| V
1|| × || V
2||)).θ is steering angle, V
1=P
c-P
p, V
2=P
n-P
c.P
cbe the coordinate of the tie point of two line segments, P
pfor wherein a line segment removes P
cthe coordinate of another outer end points, P
nfor another line segment is except P
cthe coordinate of another outer end points.
In step 106, according to the size of steering angle in each edge, from candidate's Traffic Sign Images, Traffic Sign Images is determined.
In the first embodiment, when steering angles all in the edge at candidate's Traffic Sign Images all following angular range wherein a kind of angular range time, determine that this candidate's Traffic Sign Images is Traffic Sign Images, angular range comprises [110 °, 130 °], [80 °, 100 °] and [0 °, 60 °].
In this second embodiment, as steering angle θ ∈ [110 ° all in the edge at candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of candidate's Traffic Sign Images is equal time, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is equilateral triangle.As steering angle θ ∈ [80 ° all in the edge at candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of candidate's Traffic Sign Images goes out is equal time, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is rectangle.As steering angle θ ∈ [0 ° all in the edge at candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is circle.
The embodiment of the present invention is by the connected region of each predetermined color in the RGB image of determining to determine Traffic Sign Images, this predetermined color comprises redness, blueness and yellow, and according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images; Because this predetermined color contains the classification color of traffic sign, therefore make use of the color characteristics of traffic sign, make the candidate's Traffic Sign Images extracted compare closing to reality Traffic Sign Images; Extract the edge of each candidate's Traffic Sign Images; Be some line segments by the edge segmentation of each candidate's Traffic Sign Images; To calculate in some line segments that each edge segmentation becomes between two line segments that are connected and do not connect but steering angle between the adjacent segments with crossing trend; According to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images; Because steering angle can assess the shape at edge, therefore make use of the style characteristic of traffic sign, the Traffic Sign Images determined is more accurate; This method combines the CF characteristic that make use of traffic sign, and when determining Traffic Sign Images, effect is better, and loss is very low.
Embodiment two
Embodiments provide a kind of defining method of Traffic Sign Images, see Fig. 2, method flow comprises:
In step 201, according to the transformation for mula of each predetermined color, to determining that the RGB image of Traffic Sign Images carries out colour switching respectively, obtain the image highlighting predetermined color.
Wherein, this predetermined color comprises redness, blueness and yellow.Red transformation for mula is C
red=max (0, min ((v
r-v
g)/A, (v
r-v
b)/A)), blue transformation for mula is C
blue=max (0, min ((v
b-v
r)/A, (v
b-v
g)/A)), yellow transformation for mula is C
yellow=max (0, min ((v
g-v
b)/A, (v
r-v
b)/A)).C
redthe red image obtained after representing conversion, C
bluethe blue image obtained after representing conversion, C
yellowthe yellow image obtained after representing conversion.V
rrepresent R passage pixel value, v
grepresent G passage pixel value, v
brepresent channel B pixel value, A=v
r+ v
g+ v
b.
By colour switching, will obtain three width and highlight the image of predetermined color, be highlighted red, blue and yellow image successively.Consider in practical application, if classified by traffic sign according to color, then traffic sign is divided into redness, blueness and yellow traffic sign.Therefore, highlight redness, blueness and yellow, will be conducive to obtaining Traffic Sign Images region.
Wherein, need determine that the RGB image of Traffic Sign Images can be, the outside road ambient image of vehicle front in vehicle travel process.This outside road ambient image can be taken by in-vehicle camera.This in-vehicle camera can be arranged on the rear side of rear-viewing mirror in vehicle.
In step 202., the image bianry image separately highlighting predetermined color is obtained.
Wherein, can be split by predetermined threshold value, obtain bianry image.Highlight in the bianry image of red image, red area will present white, and other color regions will present black.Similarly, highlighted in the bianry image of blueness or yellow image, blue region or yellow area will present white, and other color regions will present black.
In step 203, the connected region in each bianry image is determined.
Connected region refers to, there is in image same pixel value and position adjacent foreground pixel point composition image-region.In bianry image, foreground pixel point refers to that pixel value is the pixel of white.Two-Pass method or Seed-Filling se ed filling algorithm can be adopted to search connected region.
Achieved by step 201-step 203, determine to determine the connected region of each predetermined color in the RGB image of Traffic Sign Images.
In step 204, connected region area separately, width and the height determined is obtained.
Wherein, the area of connected region refers to that the number of pixels in this region, width refer to the number of pixels of this region in image coordinate shared by Y-direction, highly refers to the number of pixels of this region in image coordinate shared by X-direction.
In step 205, from the connected region determined, determine to meet pre-conditioned connected region.
Wherein, this is pre-conditioned can be, TA
l<CA
j<TA
hand TAR
l<CRAR
j<TAR
hand CRS
j>TCRS.CA
jfor the area of connected region, CRAR
jrepresent the ratio of width to height of connected region, CRAR
j=CW
j/ CH
j, CW
jfor the width of connected region, CH
jfor the height of connected region.CRS
jrepresent the dutycycle of connected region, CRS
j=CA
j/ (CW
j× CH
j).TA
hand TA
lbe respectively two end points of setting areal extent, TAR
land TAR
hbe respectively two end points of setting aspect ratio range, TCRS is setting dutycycle.
Wherein, determine meeting pre-conditioned connected region, the connected region that some can be belonged to chaff interference is got rid of, and adds the follow-up accuracy determining Traffic Sign Images.
In step 206, acquisition meets the position of pre-conditioned connected region in the RGB image need determining Traffic Sign Images.
Wherein, the coordinate of pre-conditioned connected region in bianry image is met identical with meeting the position of pre-conditioned connected region in the RGB image need determining Traffic Sign Images.For ease of extracting, the position that can will meet the boundary rectangle of pre-conditioned connected region in bianry image and cover, as meeting the position of pre-conditioned connected region in the RGB image need determining Traffic Sign Images.Suppose that i-th height meeting the boundary rectangle of pre-conditioned connected region and width are respectively H
iand W
i, the top left co-ordinate of this boundary rectangle is (X
i, Y
i).
In step 207, in the RGB image need determining Traffic Sign Images, extract the image meeting pre-conditioned connected region position.
Wherein, the image meeting pre-conditioned connected region position incites somebody to action alternatively Traffic Sign Images.Can extracting directly, be arranged in and meet pre-conditioned connected region and need determine the image of position of RGB image of Traffic Sign Images.
Can intactly occur in image after treatment in order to ensure candidate's Traffic Sign Images, when extracting, can extract in the lump together with the ambient image regions of candidate's Traffic Sign Images, such as the boundary rectangle meeting pre-conditioned connected region is expanded the length of 1/4th respectively at four direction up and down, and then extract.Suppose that the top left co-ordinate of the candidate's Traffic Sign Images extracted after expanding is respectively (EX
i, EY
i), height and width are respectively EH
iand EW
i, need determine that the height of the RGB image of Traffic Sign Images and width are respectively H and W.Then have,
Achieved by step 204-step 207, according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images.
In a step 208, the edge of each candidate's Traffic Sign Images is extracted.
Wherein, this edge refers to the outline edge of each candidate's Traffic Sign Images.Canny algorithm can be adopted to extract the marginal information of each candidate's Traffic Sign Images.
In step 209, be some line segments by the edge segmentation of each candidate's Traffic Sign Images.
Wherein, edge is that some line segments are formed, and in these line segments, some line segments can be tandem arrays, and some line segments can be discrete.According to the Gradient Features at edge, can be some line segments by edge segmentation, comprise, calculate the differential being positioned at each pixel on edge, if the differential value phase difference of continuous image vegetarian refreshments within the specific limits, then regard as these pixels on an approximate line segment.Also can adopt the method that other lines are split, be some line segments by edge segmentation.
It should be noted that, when splitting, the coordinate that can record each line segment two-end-point and the tie point coordinate of two line segments be connected.According to the trend at edge, can also be numbered for the line segment be partitioned into and sort.
In step 210, to calculate in some line segments that each edge segmentation becomes between two line segments that are connected and do not connect but steering angle between the adjacent segments with crossing trend.
Wherein, the computing formula of steering angle is, θ=tan
-1((V
1× V
2)/(|| V
1|| × || V
2||)).Be steering angle see Fig. 3, θ, V
1=P
c-P
p, V
2=P
n-P
c.P
cbe the coordinate of the tie point of two line segments, P
pfor wherein a line segment removes P
cthe coordinate of another outer end points, P
nfor another line segment is except P
cthe coordinate of another outer end points.It should be noted that, for there is no the adjacent segments of tie point (being numbered serial number of adjacent segments), can according to the end points of line segment, obtain the straight-line equation of line segment place straight line, according to the straight-line equation of line segment place straight line, adjacent segments can be known by inference and whether intersect (whether there is crossing trend) at the bearing of trend of adjacent end points, and obtain the intersecting point coordinate intersected.This intersecting point coordinate is the coordinate of the tie point of adjacent segments.Calculate and do not connect but steering angle between the adjacent segments with crossing trend, can avoid because block the interference of factor, and neglect the steering angle between two line segments that should be connected.
Simply introduce the principle of the computing formula of this steering angle below.
First, on known curve, the curvature formulations of t point is,
κ(t)=(x′(t)y″(t)-x″(t)y′(t))/[x
′2(t)+y
′2(t)]
3/2
Wherein, k (t) is the curvature of t point on curve, x (t) is t point function in the x direction, y (t) is t point function in y-direction, " (t) is first order derivative and the second derivative of x (t) to x ' (t) respectively, and " (t) is first order derivative and the second derivative of y (t) to y ' (t) respectively with y with x.
Definition α ' (t)=(x ' (t), y ' (t)), α " (t)=(x " (t), y " (t)); according to curvature formulations, the signed curvature value K of t point can be defined
dthe symbol K of (t) and signed curvature
α(t), K
d(t) and K
αt () is respectively,
κ
d(t)=(α′(t)
xα″(t)
y-α″(t)
xα′(t)
y)/||α′(t)||
3
Secondly, see Fig. 4, according to the continuity of the differential between continuity point, (t) is respectively for acquisition α ' (t) and α " (t), α ' (t) and α ",
α′(t)=α(t)-α(t-ε)
α″(t)=α′(t)-α′(t-ε)=α(t)-2α(t-ε)+α(t-2ε)
Wherein, α (t) is the coordinate of t point, the coordinate of the previous continuity point t-ε that α (t-ε) is t point, the coordinate of the previous continuity point t-2 ε that α (t-2 ε) is t-ε point.
Then, according to the continuity of the differential between continuity point, determine the two line segments vector be separately connected.
V
1=P
c-P
p,V
2=P
n-P
c
That is, V
1and V
2be respectively P
c(P
cprevious point be P
p) and P
n(P
nprevious point be P
c) differential.In the present embodiment, be regarded the end points of two line segments be connected as continuity point, then according to the continuity of the differential between continuity point, obtain V
1and V
2.
Finally, be combined with to curvature value K
dformula and the two line segments vector be separately connected determined of (t), the steering angle between two line segments that acquisition is connected.
This step 210 also comprises: to not connect in each edge but the adjacent segments with crossing trend is revised, and makes not connect in each edge but the adjacent segments with crossing trend extends to intersection point respectively.
For there is no the adjacent segments of tie point (being numbered serial number of adjacent segments), if having crossing trend, after acquisition intersecting point coordinate, adjacent segments is extended to this intersection point respectively.To not connect in each edge but the adjacent segments with crossing trend is revised, be that under the interference considering the factor of blocking, the length in the sideline in the outline edge of Traffic Sign Images can change.
In step 211, according to the size of steering angle in each edge, from candidate's Traffic Sign Images, Traffic Sign Images is determined.
As steering angle θ ∈ [110 ° all in the edge at candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of candidate's Traffic Sign Images is equal time, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is equilateral triangle.
As steering angle θ ∈ [80 ° all in the edge at candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of candidate's Traffic Sign Images goes out is equal time, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is rectangle.
As steering angle θ ∈ [0 ° all in the edge at candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is circle.
Wherein, traffic sign, according to Shape Classification, can be divided into the traffic sign of equilateral triangle, rectangle and circle shape.For the Traffic Sign Images of equilateral triangle and rectangle, its steering angle calculated should be 120 ° and 90 °.But consider the precision of the steering angle calculated in actual computation process, think that the steering angle being positioned at [110 °, 130 °] is triangular apex, think that the steering angle being positioned at [80 °, 100 °] is rectangle summit.
Wherein, equilateral triangle is divided into again positive equilateral triangle and falls equilateral triangle.When realizing, can determine to continue after the shape of Traffic Sign Images is equilateral triangle to determine that this equilateral triangle is just equilateral or falls equilateral triangle.If positive equilateral triangle, then a summit is upper, and two summits are lower and horizontal coordinate difference is less; If fall equilateral triangle, then summit under, two summits are upper and horizontal coordinate difference is less; And just and fall the ordinate on a summit of equilateral triangle between the ordinate on two other summit.
Wherein, a square smallest circle approximating method can be adopted, the line-fitting Cheng Yuan gone out by the edge segmentation from candidate's Traffic Sign Images.Square smallest circle approximating method comprises:
First, the coordinate in the center of circle needing fitting circle is determined.
Defining method is as follows: suppose real space R
2in finite point set { (x
i, y
i), 0≤i<N}, definition,
Order
aforementioned finite point set is transformed in (u, v) coordinate system.
The coordinate of the center of circle in (u, v) coordinate system is made to be (u
c, v
c), need matching radius of a circle to be r, by equation of a circle g (u, v)=(u-u
c)
2+ (v-v
c)
2the squared minimization of-β, obtains S=∑
i(g (u
i, v
i))
2.Wherein, β=R
2.
To S (β, u
c, v
c) in three parameters, ask for respectively β, u
cpartial differential, that is:
If made
and if only if ∑
ig (u
i, v
i)=0 (1).
If made
and if only if ∑
iu
ig (u
i, v
i)=0 1..
1. formula is expanded, and hypothesis
And define S 2.,
u=∑
iu
i,
then 2. formula can be expressed as:
Because S
u=0, then 3. formula can be reduced to:
Again to v
cask local derviation, that is:
To make
and if only if ∑
iv
ig (u
i, v
i)=0 5..
Equally, 5. expanded type, defines S
v=0, then have
Solution formula above 4. with formula 6., simultaneously given (u
c, v
c), be mapped in original coordinate system by these points, then, in original coordinate system, the coordinate in the center of circle is
Secondly, the radius in the center of circle needing fitting circle is determined.
Defining method is as follows, first expands above-mentioned formula (1), obtains:
Make S
u=S
v=0, then (2) formula can be reduced to:
(3) solution formula, obtains
Have simultaneously
Then, according to the coordinate in the center of circle and the radius that need fitting circle, the circumference position needing fitting circle is obtained.
Finally, from the line segment that the edge segmentation of candidate's Traffic Sign Images goes out, determine to be positioned at the line segment of the circumference position needing fitting circle.
Be not positioned at the line segment of the circumference position needing fitting circle, not think the edge belonging to circular traffic sign.Consider in actual process, there are some disturbing factors causes the actual line segment belonging to the edge of circular traffic sign not fit on circle, therefore, Helmholtz principle can be adopted judge the edge not being positioned at and needing the line segment of the circumference position of fitting circle whether to belong to same circular traffic sign.The principle of Helmholtz principle is as follows.
For the line segment that a length is n (the pixel sum on this line segment), calculate the horizontal line angle θ ' of each pixel on circular direction on this line segment, if the horizontal line angle θ ' between pixel within the specific limits, then think pixel marshalling.And the pixel number k of statistics marshalling on this line segment.If n and k meets preset formula, then think that this line segment belongs to the edge of same circular traffic sign.
Formwork calculation below the gradient magnitude g (x, y) at pixel (x, y) place and horizontal line orientation angle θ ' is available:
θ=∠g
xg
y=arctan(-g
x(x,y)/g
y(x,y))
Wherein, I (x, y) is the brightness value of pixel (x, y).
Preset formula is as follows.
Wherein, N, p and
be given value, i={k, k+1 ..., n}.
In the present embodiment, can also determine the shape of Traffic Sign Images after determining Traffic Sign Images, the identification for follow-up Traffic Sign Images provides and identifies basis accurately.
The embodiment of the present invention is by the connected region of each predetermined color in the RGB image of determining to determine Traffic Sign Images, this predetermined color comprises redness, blueness and yellow, and according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images; Because this predetermined color contains the classification color of traffic sign, therefore make use of the color characteristics of traffic sign, make the candidate's Traffic Sign Images extracted compare closing to reality Traffic Sign Images; Extract the edge of each candidate's Traffic Sign Images; Be some line segments by the edge segmentation of each candidate's Traffic Sign Images; To calculate in some line segments that each edge segmentation becomes between two line segments that are connected and do not connect but steering angle between the adjacent segments with crossing trend; According to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images; Because steering angle can assess the shape at edge, therefore make use of the style characteristic of traffic sign, the Traffic Sign Images determined is more accurate; This method combines the CF characteristic that make use of traffic sign, and when determining Traffic Sign Images, effect is better, and loss is very low.
Embodiment three
See Fig. 5, embodiments provide a kind of determining device of Traffic Sign Images, this device comprises the first determination module 301, first extraction module 302, second extraction module 303, segmentation module 304, computing module 305 and the second determination module 306.
First determination module 301 for, determine to determine the connected region of each predetermined color in the RGB image of Traffic Sign Images, this predetermined color comprises redness, blueness and yellow.
First extraction module 302 for, according to the connected region determined, from RGB image, extract candidate Traffic Sign Images.
Second extraction module 303 for, extract the edge of each candidate's Traffic Sign Images.
Segmentation module 304 for, be some line segments by the edge segmentation of each candidate's Traffic Sign Images.
Computing module 305 for, calculate between two line segments that are connected in each edge and do not connect but steering angle between the adjacent segments with crossing trend.
Second determination module 306 for, according to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images.
The embodiment of the present invention is by the connected region of each predetermined color in the RGB image of determining to determine Traffic Sign Images, this predetermined color comprises redness, blueness and yellow, and according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images; Because this predetermined color contains the classification color of traffic sign, therefore make use of the color characteristics of traffic sign, make the candidate's Traffic Sign Images extracted compare closing to reality Traffic Sign Images; Extract the edge of each candidate's Traffic Sign Images; Be some line segments by the edge segmentation of each candidate's Traffic Sign Images; To calculate in some line segments that each edge segmentation becomes between two line segments that are connected and do not connect but steering angle between the adjacent segments with crossing trend; According to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images; Because steering angle can assess the shape at edge, therefore make use of the style characteristic of traffic sign, the Traffic Sign Images determined is more accurate; This method combines the CF characteristic that make use of traffic sign, and when determining Traffic Sign Images, effect is better, and loss is very low.
Embodiment four
See Fig. 6, embodiments provide a kind of determining device of Traffic Sign Images, this device comprises the first determination module 401, first extraction module 402, second extraction module 403, segmentation module 404, computing module 405 and the second determination module 406.
First determination module 401 for, determine to determine the connected region of each predetermined color in the RGB image of Traffic Sign Images, this predetermined color comprises redness, blueness and yellow.
In the first embodiment, the first determination module 401 comprises converter unit 4011, first acquiring unit 4012 and the first determining unit 4013.
Converter unit 4011 for, according to the transformation for mula of each predetermined color, to determining that the RGB image of Traffic Sign Images carries out colour switching respectively, obtain the image highlighting predetermined color; Wherein, red transformation for mula is C
red=max (0, min ((v
r-v
g)/A, (v
r-v
b)/A)), blue transformation for mula is C
blue=max (0, min ((v
b-v
r)/A, (v
b-v
g)/A)), yellow transformation for mula is C
yellow=max (0, min ((v
g-v
b)/A, (v
r-v
b)/A)), C
redthe red image obtained after representing conversion, C
bluethe blue image obtained after representing conversion, C
yellowthe yellow image obtained after representing conversion, v
rrepresent R passage pixel value, v
grepresent G passage pixel value, v
brepresent channel B pixel value, A=v
r+ v
g+ v
b.
First acquiring unit 4012 for, obtain and highlight the image bianry image separately of predetermined color.
First determining unit 4013 for, determine the connected region in each bianry image.
First extraction module 402 for, according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate Traffic Sign Images.
In this second embodiment, the first extraction module 402 comprises second acquisition unit 4021, second determining unit 4022, the 3rd acquiring unit 4023 and extraction unit 4024.
Second acquisition unit 4021 for, obtain determine connected region area separately, width and height.
Second determining unit 4022 for, from the connected region determined, determine to meet pre-conditioned connected region; Wherein, this is pre-conditioned is, the area of described connected region is in setting areal extent and the ratio of width to height of described connected region is in setting aspect ratio range and the dutycycle of described connected region is greater than setting dutycycle; The height of the width/described connected region of the ratio of width to height=described connected region of described connected region, area/(height of connected region described in the width * of described connected region) of the dutycycle=described connected region of described connected region.
3rd acquiring unit 4023 for, obtain meet the position of pre-conditioned connected region in the RGB image need determining Traffic Sign Images.
Extraction unit 4024 for, in the RGB image need determining Traffic Sign Images, extract and meet the image of pre-conditioned connected region position.
Second extraction module 403 for, extract the edge of each candidate's Traffic Sign Images.
Segmentation module 404 for, be some line segments by the edge segmentation of each candidate's Traffic Sign Images.
Computing module 405 for, calculate the steering angle between two line segments that are connected in some line segments that each edge segmentation becomes.
Second determination module 406 for, according to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images.
In the third embodiment, second determination module 406 for, when steering angles all in the edge at candidate's Traffic Sign Images all following angular range wherein a kind of angular range time, determine that this candidate's Traffic Sign Images is Traffic Sign Images, angular range comprises [110 °, 130 °], [80 °, 100 °] and [0 °, 60 °].
In the 4th embodiment, second determination module 406 for, as steering angle θ ∈ [110 ° all in the edge at candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of candidate's Traffic Sign Images is equal time, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is equilateral triangle; As steering angle θ ∈ [80 ° all in the edge at candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of candidate's Traffic Sign Images goes out is equal time, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is rectangle; As steering angle θ ∈ [0 ° all in the edge at candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that this candidate's Traffic Sign Images is Traffic Sign Images and the shape of this Traffic Sign Images is circle.
The embodiment of the present invention is by the connected region of each predetermined color in the RGB image of determining to determine Traffic Sign Images, this predetermined color comprises redness, blueness and yellow, and according to the connected region determined, from the RGB image need determining Traffic Sign Images, extract candidate's Traffic Sign Images; Because this predetermined color contains the classification color of traffic sign, therefore make use of the color characteristics of traffic sign, make the candidate's Traffic Sign Images extracted compare closing to reality Traffic Sign Images; Extract the edge of each candidate's Traffic Sign Images; Be some line segments by the edge segmentation of each candidate's Traffic Sign Images; To calculate in some line segments that each edge segmentation becomes between two line segments that are connected and do not connect but steering angle between the adjacent segments with crossing trend; According to the size of steering angle in each edge, from candidate's Traffic Sign Images, determine Traffic Sign Images; Because steering angle can assess the shape at edge, therefore make use of the style characteristic of traffic sign, the Traffic Sign Images determined is more accurate; This method combines the CF characteristic that make use of traffic sign, and when determining Traffic Sign Images, effect is better, and loss is very low.
It should be noted that: the determining device of the Traffic Sign Images that above-described embodiment provides is when determining Traffic Sign Images, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the determining device of the Traffic Sign Images that above-described embodiment provides and the determination embodiment of the method for Traffic Sign Images belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a defining method for Traffic Sign Images, is characterized in that, described method comprises:
Determine to determine the connected region of each predetermined color in the RGB image of Traffic Sign Images, described predetermined color comprises redness, blueness and yellow;
According to the connected region determined, from described RGB image, extract candidate's Traffic Sign Images;
Extract the edge of each described candidate's Traffic Sign Images;
Be some line segments by the edge segmentation of each described candidate's Traffic Sign Images;
Calculate between two line segments that are connected in edge described in each and do not connect but steering angle between the adjacent segments with crossing trend;
According to the size of steering angle described in edge described in each, from described candidate's Traffic Sign Images, determine Traffic Sign Images.
2. method according to claim 1, is characterized in that, the described connected region determining to determine each predetermined color in the RGB image of Traffic Sign Images, comprising:
According to the transformation for mula of each predetermined color, described need are determined that the RGB image of Traffic Sign Images carries out colour switching respectively, obtains the image highlighting predetermined color; Wherein, the transformation for mula of described redness is C
red=max (0, min ((v
r-v
g)/A, (v
r-v
b)/A)), the transformation for mula of described blueness is C
blue=max (0, min ((v
b-v
r)/A, (v
b-v
g)/A)), the transformation for mula of described yellow is C
yellow=max (0, min ((v
g-v
b)/A, (v
r-v
b)/A)), C
redthe red image obtained after representing conversion, C
bluethe blue image obtained after representing conversion, C
yellowthe yellow image obtained after representing conversion, v
rrepresent R passage pixel value, v
grepresent G passage pixel value, v
brepresent channel B pixel value, A=v
r+ v
g+ v
b;
The image bianry image separately of predetermined color is highlighted described in acquisition;
Determine the connected region in each described bianry image.
3. method according to claim 1, is characterized in that, the connected region that described basis is determined, from described RGB image, extracts candidate's Traffic Sign Images, comprising:
The connected region determined described in acquisition area separately, width and height;
From the described connected region determined, determine to meet pre-conditioned connected region; Wherein, be describedly pre-conditionedly that the area of described connected region is in setting areal extent and the ratio of width to height of described connected region is in setting aspect ratio range and the dutycycle of described connected region is greater than setting dutycycle; The height of the width/described connected region of the ratio of width to height=described connected region of described connected region, area/(height of connected region described in the width * of described connected region) of the dutycycle=described connected region of described connected region;
The position of pre-conditioned connected region in described RGB image is met described in acquisition;
In described RGB image, described in extraction, meet the image of pre-conditioned connected region position.
4. method according to claim 1, is characterized in that, the described size according to steering angle described in edge described in each, determines Traffic Sign Images, comprising from described candidate's Traffic Sign Images:
When steering angles all in the edge at described candidate's Traffic Sign Images all following angular range wherein a kind of described angular range time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images, described angular range comprises [110 °, 130 °], [80 °, 100 °] and [0 °, 60 °].
5. method according to claim 1, is characterized in that, the described size according to steering angle described in edge described in each, determines Traffic Sign Images, comprising from described candidate's Traffic Sign Images:
As steering angle θ ∈ [110 ° all in the edge at described candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of described candidate's Traffic Sign Images is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is equilateral triangle;
As steering angle θ ∈ [80 ° all in the edge at described candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of described candidate's Traffic Sign Images goes out is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is rectangle;
As steering angle θ ∈ [0 ° all in the edge at described candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from described candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is circle.
6. a determining device for Traffic Sign Images, is characterized in that, described device comprises:
First determination module, for determine to determine Traffic Sign Images RGB image in the connected region of each predetermined color, described predetermined color comprises redness, blueness and yellow;
First extraction module, for according to the connected region determined, from described RGB image, extracts candidate's Traffic Sign Images;
Second extraction module, for extracting the edge of each described candidate's Traffic Sign Images;
Segmentation module, for being some line segments by the edge segmentation of each described candidate's Traffic Sign Images;
Computing module, for calculating between two line segments that are connected in edge described in each and not connecting but steering angle between the adjacent segments with crossing trend;
Second determination module, for the size according to steering angle described in edge described in each, determines Traffic Sign Images from described candidate's Traffic Sign Images.
7. device according to claim 6, is characterized in that, described first determination module comprises:
To described need, converter unit, for the transformation for mula according to each predetermined color, determines that the RGB image of Traffic Sign Images carries out colour switching respectively, obtains the image highlighting predetermined color; Wherein, the transformation for mula of described redness is C
red=max (0, min ((v
r-v
g)/A, (v
r-v
b)/A)), the transformation for mula of described blueness is C
blue=max (0, min ((v
b-v
r)/A, (v
b-v
g)/A)), the transformation for mula of described yellow is C
yellow=max (0, min ((v
g-v
b)/A, (v
r-v
b)/A)), C
redthe red image obtained after representing conversion, C
bluethe blue image obtained after representing conversion, C
yellowthe yellow image obtained after representing conversion, v
rrepresent R passage pixel value, v
grepresent G passage pixel value, v
brepresent channel B pixel value, A=v
r+ v
g+ v
b;
First acquiring unit, for highlighting the image bianry image separately of predetermined color described in obtaining;
First determining unit, for determining the connected region in each described bianry image.
8. device according to claim 6, is characterized in that, described first extraction module comprises:
Second acquisition unit, for connected region area separately, width and the height determined described in obtaining;
Second determining unit, for from the described connected region determined, determines to meet pre-conditioned connected region; Wherein, be describedly pre-conditionedly that the area of described connected region is in setting areal extent and the ratio of width to height of described connected region is in setting aspect ratio range and the dutycycle of described connected region is greater than setting dutycycle; The height of the width/described connected region of the ratio of width to height=described connected region of described connected region, area/(height of connected region described in the width * of described connected region) of the dutycycle=described connected region of described connected region;
3rd acquiring unit, meets the position of pre-conditioned connected region in described RGB image described in obtaining;
Extraction unit, in described RGB image, meets the image of pre-conditioned connected region position described in extraction.
9. device according to claim 6, is characterized in that, described second determination module is used for,
When steering angles all in the edge at described candidate's Traffic Sign Images all following angular range wherein a kind of described angular range time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images, described angular range comprises [110 °, 130 °], [80 °, 100 °] and [0 °, 60 °].
10. device according to claim 6, is characterized in that, described second determination module is used for,
As steering angle θ ∈ [110 ° all in the edge at described candidate's Traffic Sign Images, 130 °] and the length of three line segments gone out from the edge segmentation of described candidate's Traffic Sign Images is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is equilateral triangle;
As steering angle θ ∈ [80 ° all in the edge at described candidate's Traffic Sign Images, 100 °] and the length of two line segments relative from four line segments that the edge segmentation of described candidate's Traffic Sign Images goes out is equal time, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is rectangle;
As steering angle θ ∈ [0 ° all in the edge at described candidate's Traffic Sign Images, 60 °] and when the arc length that the line-fitting that the edge segmentation from described candidate's Traffic Sign Images goes out becomes bowlder to be formed is greater than 2/3rds of circumference, determine that described candidate's Traffic Sign Images is described Traffic Sign Images and the shape of described Traffic Sign Images is circle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410332030.2A CN104299221B (en) | 2014-07-11 | 2014-07-11 | A kind of determination method and device of Traffic Sign Images |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410332030.2A CN104299221B (en) | 2014-07-11 | 2014-07-11 | A kind of determination method and device of Traffic Sign Images |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104299221A true CN104299221A (en) | 2015-01-21 |
CN104299221B CN104299221B (en) | 2017-07-11 |
Family
ID=52318943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410332030.2A Active CN104299221B (en) | 2014-07-11 | 2014-07-11 | A kind of determination method and device of Traffic Sign Images |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104299221B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503607A (en) * | 2015-09-07 | 2017-03-15 | 北京易车互联信息技术有限公司 | Traffic sign recognition method and device |
CN107767371A (en) * | 2017-09-30 | 2018-03-06 | 电子科技大学 | A kind of high-precision rectangle magnetic material size detecting method based on sub-pix |
CN108090459A (en) * | 2017-12-29 | 2018-05-29 | 北京华航无线电测量研究所 | A kind of road traffic sign detection recognition methods suitable for vehicle-mounted vision system |
CN109858307A (en) * | 2017-11-30 | 2019-06-07 | 高德软件有限公司 | A kind of Lane detection method and apparatus |
CN111178360A (en) * | 2019-12-09 | 2020-05-19 | 武汉光庭信息技术股份有限公司 | Traffic sign detection positioning method and system |
CN111223294A (en) * | 2019-11-12 | 2020-06-02 | 维特瑞交通科技有限公司 | Intelligent vehicle guiding control method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702197A (en) * | 2009-10-26 | 2010-05-05 | 宁波大学 | Method for detecting road traffic signs |
DE102012203674A1 (en) * | 2012-03-08 | 2013-09-12 | Robert Bosch Gmbh | Optical device e.g. active optical sensor device, for use in motor car for acquisition of environment for e.g. parking assistance system, has optical component deflecting light beam from detection area such that beam emerges at edge of disk |
-
2014
- 2014-07-11 CN CN201410332030.2A patent/CN104299221B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702197A (en) * | 2009-10-26 | 2010-05-05 | 宁波大学 | Method for detecting road traffic signs |
DE102012203674A1 (en) * | 2012-03-08 | 2013-09-12 | Robert Bosch Gmbh | Optical device e.g. active optical sensor device, for use in motor car for acquisition of environment for e.g. parking assistance system, has optical component deflecting light beam from detection area such that beam emerges at edge of disk |
Non-Patent Citations (3)
Title |
---|
TOPAL C ET AL: ""Edge Drawing: A combined real-time edge and segment detector"", 《JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION》 * |
谷明琴: ""复杂环境中交通标识识别与状态跟踪估计算法研究"", 《中国博士学位论文全文数据库 信息科技辑》 * |
谷明琴等: ""基于无参数形状检测子和DT-CWT的交通标志识别"", 《计算机研究与发展》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503607A (en) * | 2015-09-07 | 2017-03-15 | 北京易车互联信息技术有限公司 | Traffic sign recognition method and device |
CN106503607B (en) * | 2015-09-07 | 2020-02-07 | 北京易车互联信息技术有限公司 | Road traffic sign identification method and device |
CN107767371A (en) * | 2017-09-30 | 2018-03-06 | 电子科技大学 | A kind of high-precision rectangle magnetic material size detecting method based on sub-pix |
CN107767371B (en) * | 2017-09-30 | 2021-02-05 | 电子科技大学 | High-precision rectangular magnetic material size detection method based on sub-pixels |
CN109858307A (en) * | 2017-11-30 | 2019-06-07 | 高德软件有限公司 | A kind of Lane detection method and apparatus |
CN108090459A (en) * | 2017-12-29 | 2018-05-29 | 北京华航无线电测量研究所 | A kind of road traffic sign detection recognition methods suitable for vehicle-mounted vision system |
CN111223294A (en) * | 2019-11-12 | 2020-06-02 | 维特瑞交通科技有限公司 | Intelligent vehicle guiding control method and device |
CN111178360A (en) * | 2019-12-09 | 2020-05-19 | 武汉光庭信息技术股份有限公司 | Traffic sign detection positioning method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104299221B (en) | 2017-07-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104299221A (en) | Determination method and apparatus for traffic sign image | |
Wang et al. | Lane detection of curving road for structural highway with straight-curve model on vision | |
CN108470159B (en) | Lane line data processing method and device, computer device and storage medium | |
Daigavane et al. | Road lane detection with improved canny edges using ant colony optimization | |
Farag et al. | Road lane-lines detection in real-time for advanced driving assistance systems | |
CN103971128A (en) | Traffic sign recognition method for driverless car | |
Guo et al. | Lane detection method based on improved RANSAC algorithm | |
CN103927526A (en) | Vehicle detecting method based on Gauss difference multi-scale edge fusion | |
CN105005771A (en) | Method for detecting full line of lane based on optical flow point locus statistics | |
CN104700071A (en) | Method for extracting panorama road profile | |
CN104700072A (en) | Lane line historical frame recognition method | |
CN105046206A (en) | Pedestrian detection method and apparatus based on moving associated prior information in videos | |
CN104036246A (en) | Lane line positioning method based on multi-feature fusion and polymorphism mean value | |
CN105426863A (en) | Method and device for detecting lane line | |
CN105069451A (en) | License plate identifying and positioning method based on binocular camera | |
CN104966047A (en) | Method and device for identifying vehicle license | |
CN104851089A (en) | Static scene foreground segmentation method and device based on three-dimensional light field | |
CN115327524B (en) | Road side end target detection method and device based on millimeter wave radar and vision fusion | |
Liu et al. | Effective road lane detection and tracking method using line segment detector | |
CN110733416B (en) | Lane departure early warning method based on inverse perspective transformation | |
Muthalagu et al. | Object and Lane Detection Technique for Autonomous Car Using Machine Learning Approach | |
Seo et al. | Inverse perspective mapping based road curvature estimation | |
CN114764853A (en) | Method and device for determining occupation information | |
CN104063869A (en) | Lane line detection method based on Beamlet transform | |
CN103473566A (en) | Multi-scale-model-based vehicle detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220218 Address after: 241006 Anshan South Road, Wuhu Economic and Technological Development Zone, Anhui Province Patentee after: Wuhu Sambalion auto technology Co.,Ltd. Address before: 241006 Changchun Road, Wuhu economic and Technological Development Zone, Wuhu, Anhui, 8 Patentee before: CHERY AUTOMOBILE Co.,Ltd. |
|
TR01 | Transfer of patent right |