Summary of the invention
Therefore, at the deficiency that prior art exists, the inventor is desirable to provide a kind of safety device of vehicle and method that has image processing apparatus.
In a first aspect of the present invention, a kind of safety device of vehicle is provided, described safety device of vehicle comprises vehicle-mounted image collecting device, image processing apparatus and image display device, the image collecting device connection of communicating by letter with image processing apparatus, the image processing apparatus connection of communicating by letter with image display device, wherein said image processing apparatus comprises bright area reduction processing unit, is used for the processing that weakens of high-brightness region to the collection image that receives from image collecting device; And the image of described image processing apparatus after will handling sends device used for image display in showing to chaufeur.
Preferably, bright area reduction processing unit is configured to, the high-brightness region in the image of determining to receive, and the brightness value of described high-brightness region reduced.
The present invention further aspect, bright area reduction processing unit is configured to, and judges whether the gray values of pixel points in the image that receives surpasses the first predetermined gray value; Surpass the first predetermined gray value if judge the gray values of pixel points in the described image, described gray values of pixel points is changed into the second predetermined gray value, wherein the second predetermined gray value is less than the first predetermined gray value.
The present invention further aspect, bright area reduction processing unit is configured to, and judges whether the average gray value in a zone in the image that receives surpasses the first predetermined gray value; Surpass the first predetermined gray value if judge the average gray value in the described zone in the described image, the average gray value in described zone is changed into the second predetermined gray value, wherein the second predetermined gray value is less than the first predetermined gray value.
Preferably, image collector is set to pick up camera, and is installed in the top of the preceding vehicle window of vehicle.
Preferably, described image processing apparatus also comprises at least one in denoising unit, smoothing processing unit, the Nogata processing unit.
In a second aspect of the present invention, a kind of vehicle safety control method is provided, this method comprises the steps: to obtain the image of vehicle front road conditions; Determine the high-brightness region in the described image; Described image weakened handle in order to the brightness value of the high-brightness region in the described image is reduced; And the image after will handling is shown to chaufeur.
Preferably, the step of determining the high-brightness region in the described image comprises: whether the average gray value of judging the zone in the described image surpasses the first predetermined gray value, if and the average gray value of judging the zone in the described image surpasses the first predetermined gray value, then this zone is confirmed as high-brightness region.
Preferably, the described image step of handling that weakens is comprised: the gray value of described high-brightness region is reduced to expectation value.
The more areas that the present invention uses will become more apparent by hereinafter given detailed description.Should be appreciated that specific descriptions and specific examples only with laying down a definition and understanding purpose, still should not be used to limit the scope of the invention.
The specific embodiment
Understand for technical characterictic of the present invention, purpose and effect being had more clearly, describe embodiments of the invention with reference to the accompanying drawings.Wherein, identical parts adopt identical label.
Referring now to Fig. 1 and 2, vehicle 1 comprises vehicle-mounted safety device of vehicle 10.Safety device of vehicle 10 can comprise image collecting device 100, image processing apparatus 200 and image display device 300.In the present invention, at night during driving vehicle, by chaufeur unlocking vehicle safety device 10.Safety device of vehicle 10 of the present invention mainly provides safe driving to guarantee by following means: graphicinformation or the data in the image collecting device 100 collection vehicle the place aheads by being installed in vehicle front; Send the graphicinformation of gathering to image processing apparatus 200, image processing apparatus 200 utilizes colourity, brightness or other parameter analysis image information or data, and on the correction image because the bright area that causes of the other side's automobile front lamp; Give image display device 300 with revised image transfer then, image display device 300 shows revised image to chaufeur, so that chaufeur has been got rid of the strong illumination influence of the other side's automobile front lamp, can know the road surface of understanding vehicle front in time and/or the situation of things, thereby in order to guarantee safe driving, provide useful help to chaufeur.
In safety device of vehicle 10, image collecting device 100 and image processing apparatus 200 interconnect via communication line, image processing apparatus 200 and image display device 300 also via the communication line interconnection, are used for view data or the transmission of information between them, as shown in Figure 2.
Image collecting device 100 generally is installed in the vehicle cab front portion, for example on the preceding vehicle window 2 of operator's compartment, is used for obtaining the original image of vehicle front road surface or surrounding environment.In example shown in Figure 1, image collecting device 100 is arranged on the front upper place of the preceding vehicle window 2 of vehicle.However, it is also contemplated that image collecting device 100 is arranged on before the vehicle on the vehicle window near on the position of chaufeur, for example, as the upper right side of the preceding vehicle window 2 among Fig. 1.In one embodiment, image collecting device 100 can be the pick up camera of any adequate types.
Image processing apparatus 200 receives original image information or the view data that collects from image collecting device 100.In original image, because the strong excessively brightness of the other side's vehicle front car light has caused the high-brightness region in the original image, especially in night running, this makes this vehicle front road surface or surrounding environment become more unintelligible in original image.Therefore, image processing apparatus 200 of the present invention comprises bright area reduction processing unit 210, and the part that is used for gathering the high brightness of the image processing that weakens is so that the brightness of reduction opposite car light in the image after processing.Owing to reduced the brightness of the mistakes bright area that the other side's vehicle car light causes through image after reduction processing unit 210 correcting process, can strengthen other regional brightness, so can make road surface, the place ahead or surrounding environment in the original image become clear to a great extent.
Image display device 300 is communicated with image processing apparatus 200 via communication line, receives the image of above-mentioned processing and displays it to chaufeur.In one embodiment, image display device 300 can be arranged near the instrument carrier panel of operator's compartment, is positioned at the place ahead of chaufeur, is convenient to checking of chaufeur.
As mentioned above, image after handling is offered chaufeur, as driving auxiliary the demonstration owing to eliminated the influence of the high light of the other side's vehicle car light, allow chaufeur can by the image after handling more accurately, the real information on surrounding and road surface when being well understood to nighttime meeting.Chaufeur can be selected suitable driving path according to the image after handling like this, has improved the vehicular drive safety.
Fig. 3 shows the schematic block diagram according to the safety device of vehicle 10 of second specific embodiment of the present invention.As shown in Figure 3, safety device of vehicle 10 can also comprise video memory 400, be used for storage of collected or handle after graphicinformation or data.Video memory 400 can be connected communicatedly with image collecting device 100, image processing apparatus 200 and image display device 300 respectively.Be that two way communication is connected between video memory 400 and the image processing apparatus 200 wherein.Communicating to connect between the said apparatus can be wired or wireless.
To describe in detail below according to the reduction of the bright area in the image processing apparatus 200 of the present invention processing unit 210.From image collecting device 100 for example pick up camera obtain original image signal, RGB888 signal for example.When the gray value of RGB888 signal (brightness degree) was (0,0,0), the pixel in the representative image was black; When the gray value of RGB888 signal (brightness degree) was (255,255,255), the pixel in the representative image was white.Suppose that if a certain gray values of pixel points in the image surpasses one first predetermined gray value for example (240,240,240) then think the mistake bright spot that this pixel causes for the other side's automotive headlamp.Therefore, the average gray value in the image surpasses the continuum of the first predetermined gray value, can think the mistake bright area that the other side's automotive headlamp causes.According to above-mentioned determination methods, bright area reduction processing unit 210 receives the RGB888 signal from image collecting device 100, based on the mistake bright area in the gray value identification original image, the gray value that reduces the continuous mistake bright area identify then is average gray value for example, thereby the hi-lite in the reduction original image weakens the brightness influence of opposite car light.The gray value of the mistake bright area that surpasses the first predetermined gray value in the image can be reset to the second predetermined gray value, wherein the second predetermined gray value is less than the first predetermined gray value.For example, the gray value of the mistake bright area that surpasses the first predetermined gray value in the image can be reduced to original part.Select as another kind, also can in the gray value that reduces this sheet continuum, improve the continuum gray value in addition in the image.In the image after 210 processing of bright area reduction processing unit, because the mistake bright area that the other side's automotive headlamp causes is weakened, can during night driving, provide the actv. traffic information for chaufeur.
In yet another embodiment of the present invention, except spot zone reduction processing unit 210, image processing apparatus 200 can also comprise at least one in denoising unit 220, smoothing processing unit 230, the Nogata processing unit 240.Fig. 4 shows the block scheme according to each unit of the image processing apparatus 200 of a specific embodiment.In this embodiment, original image information is handled through denoising unit 220, smoothing processing unit 230, spot zone reduction processing unit 210 and Nogata processing unit 240 successively, with the vehicle front image that obtains handling well.
Fig. 5 shows the diagram of circuit corresponding to vehicle safety control method embodiment illustrated in fig. 4.Method starts from step S10.In step S20, utilize image collecting device 100, obtain the graphicinformation of vehicle front in real time from pick up camera.Method order execution in step S30-S60 then, these steps are all finished in image processing apparatus shown in Figure 4 200.Wherein in step S30, the image that obtains is carried out denoising, for example can use wavelet threshold denoising; At step S40, image is carried out smoothing processing, for example with Gauss or aviation value smoothing processing; At step S50, for processings that weaken of the higher part of brightness in the image after level and smooth, thus the brightness of reduction opposite car light; In step S60, the image after the reduction is carried out Nogata figure equalization handle.Afterwards, method proceeds to step S70, and image processing apparatus 200 is sent to display device for mounting on vehicle 300 with the graphicinformation of handling well, provides useful information to chaufeur.
In addition, in the present invention, image processing apparatus 200 can be configured to independent modular unit, also can integrate with the control setup (for example electronic control package) of vehicle.Image display device 300 also can be configured to independent modular unit, or shares existing vehicle display.
For cost-cutting, can utilize the existing hardware system of automobile, realize vehicle-mounted safety device of vehicle of the present invention.For example, for existing automobile, above the general automobile car entertainment sound system is housed all.This vehicle entertainment system comprises navigation module (or video processing module) and telltale, and wherein the CPU of navigation module can handle multi-path video stream (being graphicinformation).It is contemplated that safety device of vehicle of the present invention and existing car entertainment sound system are shared a part of hardware.That is to say that above-mentioned image processing apparatus can be integrated in the navigation module of existing car entertainment sound system, that is, carry out image processing program of the present invention by the CPU of this navigation module; Above-mentioned image display device 300 can omit, and directly adopts the telltale of existing car entertainment sound system.Like this, by utilizing existing car entertainment sound system, safety device of vehicle of the present invention is very easy to realize, and can realizes with low cost.Only need at vehicle front a preposition camera to be installed, by preposition camera collection to image be transported to the car entertainment sound system, deliver to navigation module CPU then and carry out aforesaid image processing, be sent to the telltale of car entertainment sound system at last, realize the final demonstration to chaufeur.
Safety device of vehicle of the present invention has following advantage at least:
-can provide an actv. to drive guiding to chaufeur during the car Facing Movement at nights two, guarantee the safety of chaufeur;
-in addition, because the image of gathering or handling can be stored in the memory cell, the graphicinformation of these storages can be for uses such as scene reproduction and accident analyses.
Although for the ease of understanding the present invention better, invention has been described according to preferred embodiment, be to be understood that under the situation that does not deviate from principle of the present invention, the present invention can implement with multitude of different ways.Therefore, the present invention is appreciated that and comprises all possible embodiment and the distortion of implementing under the situation that does not deviate from the scope of the present invention that limits as claims.