Embodiment
Below in conjunction with accompanying drawing, the method for recognizing road surface types of embodiment of the present invention Multi-sensor Fusion and device are described in detail.
The know-why of the method for recognizing road surface types of Multi-sensor Fusion of the present invention is the road surface types recognition result by obtaining multiple sensor, and merging treatment is carried out to the road surface types recognition result of each sensor, utilize MRF model energy equation to be optimized process to the road surface types recognition result after the merging of multiple sensor, and then obtain final road surface types recognition result.
Embodiment one
As shown in Figure 1, it is the schematic flow sheet of the method for recognizing road surface types of the Multi-sensor Fusion of embodiment one, and it comprises:
Obtain road surface types recognition result step 101: the road surface types recognition result obtaining the multiple sensors be fixed on vehicle.
Road surface types recognition result combining step 102: the road surface types recognition result of each sensor is carried out merging treatment according to ballot method, obtains the road surface types recognition result after the merging of each sensor.Particularly, within a predetermined period of time, merging treatment is carried out to the road surface types recognition result of each sensor, generate the road surface types recognition result after merging, if in this predetermined amount of time, certain sensor only exports a road surface types recognition result, then direct using this road surface types recognition result as merge after road surface types recognition result, and for exporting the sensor of multiple road surface types recognition result within a predetermined period of time, with regard to needing, the multiple road surfaces recognition result exported is carried out merging treatment, thus obtain an Output rusults, for subsequent step provides data basis.
Such as, laser radar scans tens times (i.e. tens sweep traces) p.s., and all corresponding recognition result of every bar sweep trace, that is tens recognition results can be exported p.s., equally, imageing sensor imaging p.s. tens times, also tens recognition results can be exported, and acceleration transducer only exports a recognition result in same time, therefore multiple recognition results of laser radar and imageing sensor are needed to carry out merging treatment, so that and the number of the recognition result of acceleration transducer output matches, in order to subsequent treatment.
Final road surface types recognition result generation step 103: the road surface types recognition result after the merging of multiple sensor is optimized process according to Markov random field model, generates final road surface types recognition result.
The method for recognizing road surface types of Multi-sensor Fusion of the present invention, by obtaining the road surface types recognition result of multiple sensor, and merging treatment is carried out to the road surface types recognition result of each sensor, MRF model energy equation is utilized to be optimized process to the road surface types recognition result after the merging of multiple sensor, just can obtain final recognition result, compared with prior art, the accuracy rate of the road surface identification of pavement identification method of the present invention is higher.
Further, road surface types recognition result combining step 102 can specifically comprise: for often kind of road surface types gives numerical value respectively, the corresponding numerical value of each road surface types; Search the numerical value that often kind of road surface types is corresponding, the road surface types recognition result being divided into road surface types is treated to the road surface types recognition result be made up of numerical value; Add up the number of each numerical value in the road surface types recognition result be made up of numerical value, obtain the numerical value that number is maximum; Based on the road surface types recognition result after the merging of each sensor of numerical generation.
Particularly, suppose there are four kinds of road surface types, numerical value " 1 ", " 2 ", " 3 ", " 4 " can be given respectively for these four kinds of road surface types, the road surface types recognition result now represented by concrete road surface types has just been processed into the road surface types recognition result by numeric representation, and then add up the number of each numerical value, find out that numerical value that number is maximum, so this numerical value just can as the road surface types recognition result after the merging of sensor.By said method, more intuitively the Output rusults of the sensor exporting multiple road surface types recognition result is within a predetermined period of time carried out merging treatment.
Further, in order to improve the accuracy of road surface types identification, can choose a sensor as master reference from multiple sensor, other sensors are as from sensor, and final road surface types recognition result generation step 103 can specifically comprise:
The energy equation creating described Markov random field model is:
Wherein, i is the sequence number being identified section, and i is integer and i>=2, x
ibe the road surface types recognition result of i-th section master reference to be optimized, x
i-1be the final road surface types recognition result in the i-th-1 section, y
ibe the road surface types recognition result after the merging of i-th section master reference,
be the i-th-1 section first from the road surface types recognition result after the merging of sensor,
be the i-th-1 section second from the road surface types recognition result after the merging of sensor,
be the i-th-1 section the 3rd from the road surface types recognition result after the merging of sensor,
be the i-th-1 section n-th from the road surface types recognition result after the merging of sensor, n is the sequence number from sensor, and ρ is x
iwith x
i-1between link potential energy, r
ifor x
iwith y
ibetween link potential energy, k1
i-1for x
iwith
between link potential energy, k2
i-1for x
iwith
between link potential energy, k3
i-1for x
iwith
between link potential energy, kn
i-1for x
iwith
between link potential energy;
By the road surface types recognition result x of master reference to be optimized for i-th section
icorresponding numerical value is brought energy equation respectively into and is calculated, and can make the x that the value of energy equation E (x, y, u, w, v) is minimum
icorresponding road surface types is as final road surface types recognition result.
Further, road surface types recognition result can comprise the combination of one or more road surface types in asphalt surface, cement pavement, road surface, meadow, stone road surface.
Further, in order to identify the road surface types of vehicle front accurately, thus improve the security of vehicle traveling, master reference can be forward laser light radar, can be imageing sensor, acceleration transducer and rearmounted laser radar from sensor.
Below in conjunction with concrete application scenarios, further illustrate the embody rule of the embodiment of the present invention.
Four sensors installed by vehicle, i.e. forward laser light radar, imageing sensor, acceleration transducer and rearmounted laser radar, wherein forward laser light radar is installed on vehicle front, the road surface of vehicle front is scanned, rearmounted laser radar is installed on rear view of vehicle, the road surface of rear view of vehicle is scanned, acceleration transducer can be installed on any position of vehicle, imageing sensor is installed on rear view of vehicle, shooting rear view of vehicle pavement image, above-mentioned mounting means is not limited thereto, such as imageing sensor also can be installed on the positions such as vehicle front, as long as can road pavement imaging, certainly different installation site possibility imaging effects is different.The target of this embody rule is optimized the road surface types recognition result of forward laser light radar, and reached the object identifying vehicle front road surface types, concrete identifying is as follows:
First, the road surface types recognition result of these four sensors is obtained, secondly, different numerical value is set respectively to be identified four kinds of road surface types, be " 1 " by asphalt surface assignment, cement pavement assignment is " 2 ", road surface, meadow assignment is " 3 ", stone road surface assignment is " 4 ", the road surface types recognition result represented by road surface types is processed into by the road surface types recognition result of numeric representation, be exactly add up in all road surface types recognition results exported in the given time " 1 " respectively to each sensor according to ballot method, " 2 ", " 3 ", these four numerical value number separately of " 4 " is how many respectively, find that numerical value that number is maximum, using this numerical value as the recognition result after the merging of this road section surface.For the sensor exporting multiple road surface types recognition result within this time period, just need to carry out above-mentioned merging treatment process, and for only exporting the sensor of a road surface types recognition result, then direct using this road surface types recognition result as the road surface types recognition result after merging, thus obtain the road surface types recognition result after the merging of forward laser light radar, imageing sensor, acceleration transducer and rearmounted laser radar respectively.
Then MRF model energy equation is created, Fig. 2 is the MRF modular concept schematic diagram that vehicle of the present invention travels road surface ahead type identification, with reference to Fig. 2, each MRF model is made up of 5 nodes, forward laser light radar y, imageing sensor u, acceleration transducer w respectively, road surface types recognition result after rearmounted laser radar v merges separately, middle node x is the road surface types recognition result of forward laser light radar to be optimized.The energy equation created is as follows:
Wherein, i is the sequence number being identified section, and i is integer and i>=2, x
ibe the road surface types recognition result of i-th section forward laser light radar to be optimized, x
i-1be the final road surface types recognition result in the i-th-1 section, y
ibe the road surface types recognition result after the merging of i-th section forward laser light radar, u
i-1be the road surface types recognition result after the merging of the i-th-1 section imageing sensor, w
i-1be the road surface types recognition result after the merging of the i-th-1 section acceleration transducer, v
i-1be the road surface types recognition result after the merging of the i-th-1 rearmounted laser radar in section, ρ is x
iwith x
i-1between link potential energy, r
ifor x
iwith y
ibetween link potential energy, k1
i-1for x
iwith u
i-1between link potential energy, k2
i-1for x
iwith w
i-1between link potential energy, k3
i-1for x
iwith v
i-1between link potential energy.
By x
i=1, x
i=2, x
i=3, x
i=4 bring energy equation E (x, y, u, w, v) respectively into, can make that x that the value of energy equation E (x, y, u, w, v) is minimum
icorresponding road surface types is exactly final road surface types recognition result.By obtaining the road surface types recognition result of forward laser light radar, imageing sensor, acceleration transducer and rearmounted laser radar four sensors, and merging treatment is carried out to the road surface types recognition result of each sensor, utilize MRF model energy equation to be optimized process to the road surface types recognition result after the merging of four sensors and obtain final recognition result, thus vehicle front road surface types can be identified exactly, improve the security that vehicle travels.
In actual applications, multiple specific implementation can also be had, be not limited in the process of foregoing description, such as, more sensor can also be had to be installed on vehicle, or the road surface types recognition result of rearmounted laser radar is optimized, reach the object identifying rear view of vehicle road surface types.
Embodiment two
As shown in Figure 3, it is the structural representation of the road surface types recognition device of the Multi-sensor Fusion of the embodiment of the present invention two, it comprises: obtain road surface types recognition result module 201, for obtaining the road surface types recognition result of the multiple sensors be fixed on vehicle; Road surface types recognition result merges module 202, for the road surface types recognition result of each sensor being carried out merging treatment according to ballot method, obtains the road surface types recognition result after the merging of each sensor; Final road surface types recognition result generation module 203, for the road surface types recognition result after the merging of multiple sensor being optimized process according to Markov random field model, generates final road surface types recognition result.
The road surface types recognition device of Multi-sensor Fusion of the present invention, by obtaining the road surface types recognition result of multiple sensor, and merging treatment is carried out to the road surface types recognition result of each sensor, MRF model energy equation is utilized to be optimized process to the road surface types recognition result after the merging of multiple sensor, just can obtain final recognition result, compared with prior art, the accuracy rate of the road surface identification of road surface of the present invention recognition device is higher.
Further, because the type of sensor is different, within a predetermined period of time, some sensors only export a road surface types recognition result, and some sensors have exported multiple road surface types recognition result, in order to the Output rusults of the sensor exporting multiple road surface types recognition result is adjusted to one, road surface types recognition result merges module 202 and can comprise:
Road surface types assignment unit, for giving numerical value respectively for often kind of road surface types, the corresponding numerical value of each road surface types;
Road surface types recognition result processing unit, for searching numerical value corresponding to often kind of road surface types, is treated to the road surface types recognition result be made up of numerical value by the road surface types recognition result being divided into road surface types;
Road surface types recognition result statistic unit, for adding up the number of each numerical value in the road surface types recognition result that is made up of numerical value, obtains the numerical value that number is maximum;
The road surface types recognition result generation unit merged, for the road surface types recognition result after the merging based on each sensor of numerical generation.
Further, in order to improve the accuracy of road surface types identification, can choose a sensor as master reference from multiple sensor, other sensors are as from sensor, and final road surface types recognition result generation module 203 can comprise:
Energy equation creating unit, for creating the energy equation of Markov random field model is:
Wherein, i is the sequence number being identified section, and i is integer and i>=2, x
ibe the road surface types recognition result of i-th section master reference to be optimized, x
i-1be the final road surface types recognition result in the i-th-1 section, y
ibe the road surface types recognition result after the merging of i-th section master reference,
be the i-th-1 section first from the road surface types recognition result after the merging of sensor,
be the i-th-1 section second from the road surface types recognition result after the merging of sensor,
be the i-th-1 section the 3rd from the road surface types recognition result after the merging of sensor,
be the i-th-1 section n-th from the road surface types recognition result after the merging of sensor, n is the sequence number from sensor, and ρ is x
iwith x
i-1between link potential energy, r
ifor x
iwith y
ibetween link potential energy, k1
i-1for x
iwith
between link potential energy, k2
i-1for x
iwith
between link potential energy, k3
i-1for x
iwith
between link potential energy, kn
i-1for x
iwith
between link potential energy;
Final road surface types recognition result generation unit, for the road surface types recognition result x by master reference to be optimized for i-th section
icorresponding numerical value is brought energy equation respectively into and is calculated, and can make the x that the value of energy equation E (x, y, u, w, v) is minimum
icorresponding road surface types is as final road surface types recognition result.
Further, master reference can be forward laser light radar, can be imageing sensor, acceleration transducer and rearmounted laser radar from sensor, like this laser radar being arranged on vehicle front is chosen for the mode of master reference, the road surface types of vehicle front can be identified accurately, thus improve the security of vehicle traveling.
Further, road surface types recognition result can comprise the combination of one or more road surface types in asphalt surface, cement pavement, road surface, meadow, stone road surface.
In several embodiment provided by the present invention, should be understood that, disclosed method and apparatus, can realize by another way.Such as, device embodiment described above is only schematic, and such as, the division of described module, is only a kind of logic function and divides, and actual can have other dividing mode when realizing.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add software function module realizes.
The above-mentioned integrated module realized with the form of software function module, can be stored in a computer read/write memory medium.Above-mentioned software function module is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.