CN104185342A - Automobile lighting method and automobile lighting device - Google Patents
Automobile lighting method and automobile lighting device Download PDFInfo
- Publication number
- CN104185342A CN104185342A CN201410392025.0A CN201410392025A CN104185342A CN 104185342 A CN104185342 A CN 104185342A CN 201410392025 A CN201410392025 A CN 201410392025A CN 104185342 A CN104185342 A CN 104185342A
- Authority
- CN
- China
- Prior art keywords
- image
- value
- present image
- appointed area
- gradation data
- 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
Landscapes
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
Abstract
The invention discloses an automobile lighting method and an automobile lighting device, and belongs to the field of lighting. The method comprises the steps of acquiring gray scale data of the current image; determining image information according to the gray scale data of the current image; and controlling high and low beam lights according to the image information. According to the method disclosed by the invention, the gray data of the current image is acquired at first; then the image information is determined according to the gray data of the current image; and finally, the high and low beam lights are controlled according to the image information. The automobile lighting method acquires the image information by adopting an image processing method, thereby simplifying a mode of data acquisition, further reducing the wiring complexity of the automobile lighting device, reducing the installation workload of the automobile lighting device, being more cost-saving, and improving the reliability of the automobile lighting device in operation.
Description
Technical field
The present invention relates to lighting field, particularly a kind of automotive lighting method and apparatus.
Background technology
Along with expanding economy, the technology of energy-conserving and environment-protective is more and more subject to people's attention, and intelligent lighting also starts to be subject to people's concern as an energy-conservation high-tech technology.
Intelligent lighting is to utilize advanced electromagnetic voltage adjusting and electronic induction technology, power supply is carried out monitoring in real time and followed the tracks of, the voltage and current amplitude of automatic smoothing ground regulating circuit, improve the extra power consumption that in lighting circuit, uncompensated load brings, improve power factor (PF), reduce the working temperature of light fixture and circuit, reach and optimize power supply object Lighting Control Assembly.
Automobile intelligent illumination is a kind of application of intelligent lighting, and it had both realized energy savings, again can be for automobile provides different mode of operations, and for driver brings the lighting experience of intelligent environment protection.
In realizing process of the present invention, inventor finds that prior art at least exists following problem:
In actual applications, Intelligent lightening device is in order to be applicable to multiple operative scenario, multiple sensors need to be installed to obtain desired data, and these sensor locations are at the diverse location of vehicle, make Intelligent lightening device wiring complicated, in engineering construction, workload is large, and installation cost is high, more makes the reliability of Intelligent lightening device work reduce.
Summary of the invention
In order to solve, the wiring of intelligent automobile Intelligent lightening device is complicated, the not high problem of reliability of work, and the embodiment of the present invention provides a kind of automotive lighting method and apparatus.Described technical scheme is as follows:
On the one hand, provide a kind of automotive lighting method, described method comprises:
Obtain the gradation data of present image, described gradation data comprises the gray value of each pixel in image;
According to the gradation data of described present image, determine image information, described image information comprises the average gray value of the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image or the appointed area of described present image;
According to described image information, control described long-and-short distant light.
Particularly, the gradation data that obtains present image described in comprises:
With CCD imageing sensor, obtain the gradation data of present image.
Further, described image information comprises the average gray value of the appointed area of described present image, described according to described image information, controls described long-and-short distant light and comprises:
The size of the average gray value of the appointed area of more described present image and the first numerical value and second value, described the first numerical value is greater than described second value, and described the first numerical value and described second value are all greater than 0;
If the average gray value of the appointed area of described present image is greater than described the first numerical value, reduce the brightness of dipped headlights;
If the average gray value of the appointed area of described present image is less than or equal to described the first numerical value and is more than or equal to described second value, the brightness that maintains current dipped headlights is constant;
If the average gray value of the appointed area of described present image is less than described second value, increase the brightness of dipped headlights.
Further, described present image information comprises the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image, described according to described image information, controls described long-and-short distant light and comprises:
The grey scale change absolute value sum of each pixel and the size of third value in the appointed area of more described present image and a upper image, described third value is greater than 0;
If the grey scale change absolute value sum of each pixel is greater than described third value in the appointed area of described present image and a upper image, close high beam.
Particularly, the gradation data that obtains present image described in comprises:
According to the default cycle, obtain the gradation data of image.
On the other hand, provide a kind of car headlight device, described device comprises:
Acquisition module, for obtaining the gradation data of present image, described gradation data comprises the gray value of each pixel in image;
Determination module, gradation data for the described present image that gets according to described acquisition module, determine image information, described image information comprises the average gray value of the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image or the appointed area of described present image;
Processing module, for the described image information of determining according to described determination module, controls described long-and-short distant light.
Particularly, described acquisition module comprises:
CCD imageing sensor, for obtaining the gradation data of present image.
Further, described image information comprises the average gray value of the appointed area of described present image, and described processing module comprises:
The first comparing unit, for the average gray value of appointed area and the size of the first numerical value and second value of more described present image, described the first numerical value is greater than described second value, and described the first numerical value and described second value are all greater than 0;
The first processing unit, while being greater than described the first numerical value for the average gray value of the appointed area at described present image, reduces the brightness of dipped headlights;
When the average gray value in the appointed area of described present image is less than or equal to described the first numerical value and is more than or equal to described second value, the brightness that maintains current dipped headlights is constant;
When the average gray value in the appointed area of described present image is less than described second value, increase the brightness of dipped headlights.
Further, described present image information comprises the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image, and described processing module comprises:
The second comparing unit, for the grey scale change absolute value sum of each pixel of appointed area of more described present image and a upper image and the size of third value, described third value is greater than 0;
The second processing unit, for described present image with on the grey scale change absolute value sum of each pixel of appointed area of an image while being greater than described third value, close high beam.
Particularly, described acquisition module comprises:
Acquiring unit, for according to the default cycle, obtains the gradation data of image.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
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 of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of automotive lighting method flow diagram that the embodiment of the present invention one provides;
Fig. 2 is a kind of automotive lighting method flow diagram that the embodiment of the present invention two provides;
Fig. 3 is a kind of automotive lighting method flow diagram that the embodiment of the present invention three provides;
Fig. 4 is a kind of car headlight device structural representation that the embodiment of the present invention four provides;
Fig. 5 is a kind of car headlight device structural representation that the embodiment of the present invention five provides;
Fig. 6 is a kind of car headlight device structural representation that the embodiment of the present invention six provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of automotive lighting method, is applicable to control the long-and-short distant light of automobile, and referring to Fig. 1, the method flow process comprises:
Step S11, obtains the gradation data of present image, and this gradation data comprises the gray value of each pixel in image.
In actual applications, can adopt CCD (Charge Coupled Device is called for short " CCD ") imageing sensor to obtain the gradation data of external environment image.
Step S12, according to the gradation data of present image, determines image information, and this image information comprises the average gray value of the grey scale change absolute value sum of each pixel in the appointed area of present image and a upper image or the appointed area of present image.
Particularly, the formulation region here can be whole image-region, can be also the specific region in image.Upper image here and the relation of present image can be CCD two images of picked-up continuously.
In actual applications, in order to improve the processing speed of view data, before carrying out view data processing calculating, can adopt some image preliminary treatment measures.
For example first the monoblock image that comprises gray value data is divided into the image-region of fritter, then according to the view data in small images region, determine the image information in small images region, finally according to the image information in small images region, determine the image information of monoblock image.
Further, can also adopt filtering that Digital Signal Processing (Digital Signal Processing, be called for short " DSP ") technology carries out digital picture to improve the signal to noise ratio of view data, and then obtain more accurate view data.
In addition,, owing to thering is certain correlation between adjacent image point, can also utilize the coefficient correlation between image adjacent image point to extract the border between He An territory, bright territory in image, and then obtain more accurate view data.
Step S13, according to image information, controls long-and-short distant light.
Particularly, Intelligent automobile lighting system, according to image information, sends corresponding control signal, to control switch and the brightness of long-and-short distant light, changes.
In actual applications, in the appointed area of detection present image and a upper image, the grey scale change absolute value sum of each pixel can judge the illuminance amplitude of variation of external environment, due to only at road without other lighting apparatus, and subtend is without in the situation of sending a car, could use high beam, illuminance in external environment significantly changes and (has for example carried out correct vehicle suddenly, or enter the place of illuminance abundance) time, by detected image grey scale change absolute value sum, Intelligent automobile lighting system sends corresponding control signal, closing automobile high beam.
In actual applications, the average gray that detects the appointed area of present image can judge the intensity of the illuminance of external environment, and then whether the brightness that can judge light fixture in the lighting device of automobile meet lighting requirement, for example, during driving at night, some roads side does not have street lamp, driver's the visual field is affected, and by detected image average gray, Intelligent automobile lighting system sends corresponding control signal, increase the brightness of automobile headlamp, to ensure that driver has a good visual field; There is street lamp on some roads side, the too high words of headlight brightness of automobile can be wasted electric energy, by detected image average gray, intelligent illuminating system can send corresponding control signal, reduce the brightness of automobile headlamp, so both can ensure that driver has a good visual field, reduced again unnecessary power consumption.
In actual applications, the switch of long-and-short distant light and brightness variation can be arranged to corresponding light illumination mode, so that the work of Intelligent automobile lighting system.
Particularly, light illumination mode comprises:
Energy saver mode, when too high for the illuminance at current car headlight device (being high beam or dipped headlights), reduces the brightness of light fixture in current car headlight device.
Maintain pattern, while being applicable to for the illuminance at current car headlight device, the brightness that maintains light fixture in current car headlight device is constant.
Blast pattern, when too low for the illuminance at current car headlight device, increases the brightness of light fixture in current car headlight device.
Safe mode, for when not needing high beam illumination, closes the high beam in current car headlight device.
In actual applications, regulate the variation of light illumination mode by control signal, realize intelligent lighting operation, this intelligent lighting had both been saved the energy, and the lighting experience of hommization is provided for driver again.
The embodiment of the present invention is by obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
Embodiment bis-
The embodiment of the present invention provides a kind of automotive lighting method, is applicable to control the long-and-short distant light of automobile, and referring to Fig. 2, image information comprises the average gray value of the appointed area of present image, and the method flow process comprises:
Step S21, obtains the gradation data of present image, and this gradation data comprises the gray value of each pixel in image.
In actual applications, can adopt CCD to obtain the gradation data of external environment image.
That particularly, supposes illuminance size in image data region is distributed as a two-dimensional array g (i, j).
According to the corresponding relation p of the illuminance of the gray value of each pixel in image and correspondence position, obtain distribution f (i, the j)=p (g (i, j)) of gray value size.Corresponding concrete calculation processes is very ripe technology, is not repeating here.
Particularly, this step 21 comprises: according to the default cycle, obtain the gradation data of image.
In actual applications, by regulating the length of predetermined period, can adjust more timely the illuminance in driver's seat, for driver's driving provides a good photoenvironment.
Step S22, according to the gradation data of present image, determines image information, and this image information comprises the average gray value of the appointed area of present image.
Particularly, the appointed area here can be whole image-region, can be also the subregion in image.
In actual applications, in order to improve the processing speed of view data, before carrying out view data processing calculating, can adopt some image preliminary treatment measures.
For example first the monoblock image that comprises gray value data is divided into the image-region of fritter, then according to the view data in small images region, determine the gradation of image mean value in small images region, finally according to the gradation of image mean value in small images region, determine the gradation of image mean value of monoblock image.
Further, can also adopt filtering that DSP technology carries out digital picture to improve the signal to noise ratio of view data, and then obtain more accurate view data.
In addition,, owing to thering is certain correlation between adjacent image point, can also utilize the coefficient correlation between image adjacent image point to extract the border between He An territory, bright territory in image, and then obtain more accurate view data.
Particularly, being calculated as follows of the average gray value of the appointed area of image:
The matrix that the distribution f (i, j) of gray value size that supposes the appointed area of image is m * n (be m capable n row), and the element of this array is: a
ij; ?
As from the foregoing, the average gray value of the appointed area of image:
Step S23, the relatively average gray value of appointed area and the size of the first numerical value and second value of present image.If the average gray value of the appointed area of present image is greater than the first numerical value, perform step S24; If the average gray value of the appointed area of present image is less than or equal to the first numerical value and is more than or equal to second value, perform step S25; If the average gray value of the appointed area of present image is less than second value, perform step S26.
This first numerical value and second value be all greater than 0 and second value be greater than large two numerical value, its concrete numerical value can be according to actual setting, the present invention does not limit this.
Step S24, reduces the brightness of dipped headlights.
Step S25, the brightness that maintains current dipped headlights is constant.
Step S26, increases the brightness of dipped headlights.
In actual applications, by than current compared with the size of the average gray value of the appointed area of image and the first numerical value and second value, whether illumination intensity that can clear and definite car headlight device exceeds suitable scope, then by Intelligent automobile lighting system, regulate the brightness of light fixture, illuminance in driver's seat is maintained in an applicable scope, so both save the energy, and can provide a photoenvironment that is suitable for eye for driver again.
The abovementioned steps S21-26 execution that circulates.
The embodiment of the present invention is by obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
Embodiment tri-
The embodiment of the present invention provides a kind of automotive lighting method, is applicable to control the long-and-short distant light of automobile, and referring to Fig. 3, image information comprises the grey scale change absolute value sum of each pixel in the appointed area of present image and a upper image, and the method flow process comprises:
Step S31, obtains the gradation data of present image, and this gradation data comprises the gray value of each pixel in image.
In actual applications, can adopt CCD to obtain the gradation data of external environment image.
Particularly, to obtain the gradation data process of external environment image as follows for CCD: the illuminance size in supposition image data region be distributed as a two-dimensional array g (i, j).
According to the corresponding relation p of the illuminance of the gray value of each pixel in image and correspondence position, can obtain distribution f (i, the j)=p (g (i, j)) of gray value size.Corresponding concrete calculation processes is very ripe technology, is not repeating here.
Particularly, this step 31 comprises: according to the default cycle, obtain the gradation data of image.
In actual applications, by regulating the length of predetermined period, can adjust more timely the illuminance in driver's seat, for driver's driving provides a good photoenvironment.
Step S32, according to the gradation data of present image, determines image information, and this image information comprises the grey scale change absolute value sum of each pixel in the appointed area of present image and a upper image.
Particularly, the formulation region here can be whole image-region, can be also the specific region in image.Upper image here and the relation of present image can be CCD two images of picked-up continuously.
In actual applications, in order to improve the processing speed of view data, before carrying out view data processing calculating, can adopt some image preliminary treatment measures.
For example first the monoblock image that comprises gray value data is divided into the image-region of fritter, then according to the view data in small images region, determine the variation of image grayscale absolute value sum in small images region, finally according to the variation of image grayscale absolute value sum in small images region, determine the variation of image grayscale absolute value sum of monoblock image.
Further, can also adopt filtering that DSP technology carries out digital picture to improve the signal to noise ratio of view data, and then obtain more accurate view data.
In addition,, owing to thering is certain correlation between adjacent image point, can also utilize the coefficient correlation between image adjacent image point to extract the border between He An territory, bright territory in image, and then obtain more accurate view data.
Particularly, choose the image of two adjacent moment, suppose that when t0 constantly, the grey value profile of image is expressed as f
t0(i, j);
Through arrive after a while t1 constantly time the grey value profile of image be expressed as f
t1(i, j);
So variation of image grayscale absolute value be σ f (i, j)=| f
t1(i, j)-f
t0(i, j) |;
Suppose the matrix that the distribution σ f (i, j) of gray-value variation order of magnitude is m * n (being the capable n row of m), and the element of this array is: a
ij; ?
So from t0 to t1, variation of image grayscale absolute value sum is:
Step S33, the grey scale change absolute value sum of each pixel and the size of third value in the appointed area of comparison present image and a upper image, this third value is greater than 0.
If the grey scale change absolute value sum of each pixel is greater than third value in the appointed area of present image and a upper image, perform step S34.
Step S34, closes high beam.
Under default situations, the use of dazzle light is selected by driver is autonomous, and driver can be adjusted into automatic unlatching according to the actual requirements, and the traffic accident generally being caused by high beam is mainly that driver does not close due to high beam in good time.By Intelligent automobile lighting system, control closing of high beam now, both can save unnecessary waste of energy, can reduce again the generation of the traffic accident being caused by unreasonable use high beam.
The abovementioned steps S31-S34 execution that circulates.
The embodiment of the present invention is by obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
Embodiment tetra-
The embodiment of the present invention provides a kind of car headlight device, and the long-and-short distant light that is applicable to control automobile is referring to Fig. 4, and this device comprises:
Acquisition module 101, for obtaining the gradation data of present image, this gradation data comprises the gray value of each pixel in image.
In actual applications, can adopt ccd image sensor to obtain the gradation data of external environment image.
Determination module 102, gradation data for the present image that gets according to acquisition module 101, determine image information, this image information comprises the average gray value of the grey scale change absolute value sum of each pixel in the appointed area of present image and a upper image or the appointed area of present image.
Particularly, the formulation region here can be whole image-region, can be also the specific region in image.Upper image here and the relation of present image can be CCD two images of picked-up continuously.
In actual applications, in order to improve the processing speed of view data, before carrying out view data processing calculating, can adopt some image preliminary treatment measures.
For example first the monoblock image that comprises gray value data is divided into the image-region of fritter, then according to the view data in small images region, determine the image information in small images region, finally according to the image information in small images region, determine the image information of monoblock image.
Further, can also adopt filtering that DSP technology carries out digital picture to improve the signal to noise ratio of view data, and then obtain more accurate view data.
In addition,, owing to thering is certain correlation between adjacent image point, can also utilize the coefficient correlation between image adjacent image point to extract the border between He An territory, bright territory in image, and then obtain more accurate view data.
Processing module 103, for the image information definite according to determination module 102, controls long-and-short distant light.
Particularly, Intelligent automobile lighting system, according to image information, sends corresponding control signal, to control switch and the brightness of long-and-short distant light, changes.
In actual applications, in the appointed area of detection present image and a upper image, the grey scale change absolute value sum of each pixel can judge the illuminance amplitude of variation of external environment, due to only at road without other lighting apparatus, and subtend is without in the situation of sending a car, could use high beam, illuminance in external environment significantly changes and (has for example carried out correct vehicle suddenly, or enter the place of illuminance abundance) time, by detected image grey scale change absolute value sum, Intelligent automobile lighting system sends corresponding control signal, closing automobile high beam.
In actual applications, the average gray that detects the appointed area of present image can judge the intensity of the illuminance of external environment, and then whether the brightness that can judge light fixture in the lighting device of automobile meet lighting requirement, for example, during driving at night, some roads side does not have street lamp, driver's the visual field is affected, and by detected image average gray, Intelligent automobile lighting system sends corresponding control signal, increase the brightness of automobile headlamp, to ensure that driver has a good visual field; There is street lamp on some roads side, the too high words of headlight brightness of automobile can be wasted electric energy, by detected image average gray, intelligent illuminating system can send corresponding control signal, reduce the brightness of automobile headlamp, so both can ensure that driver has a good visual field, reduced again unnecessary power consumption.
In actual applications, the switch of long-and-short distant light and brightness variation can be arranged to corresponding light illumination mode, so that the work of Intelligent automobile lighting system.
Particularly, light illumination mode comprises:
Energy saver mode, when too high for the illuminance at current car headlight device (being high beam or dipped headlights), reduces the brightness of light fixture in current car headlight device.
Maintain pattern, while being applicable to for the illuminance at current car headlight device, the brightness that maintains light fixture in current car headlight device is constant.
Blast pattern, when too low for the illuminance at current car headlight device, increases the brightness of light fixture in current car headlight device.
Safe mode, for when not needing high beam illumination, closes the high beam in current car headlight device.
In actual applications, regulate the variation of light illumination mode by control signal, realize intelligent lighting operation, this intelligent lighting had both been saved the energy, and the lighting experience of hommization is provided for driver again.
The embodiment of the present invention is by obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
Embodiment five
The embodiment of the present invention provides a kind of car headlight device, and the long-and-short distant light that is applicable to control automobile is referring to Fig. 5, and image information comprises the average gray value of the appointed area of present image, and this device comprises:
Acquisition module 201, for obtaining the gradation data of present image, this gradation data comprises the gray value of each pixel in image.
Particularly, acquisition module 201 comprises:
CCD imageing sensor (being CCD), for obtaining the gradation data of present image.
That particularly, supposes illuminance size in image data region is distributed as a two-dimensional array g (i, j);
According to the corresponding relation p of the illuminance of the gray value of each pixel in image and correspondence position, obtain distribution f (i, the j)=p (g (i, j)) of gray value size.Corresponding concrete calculation processes is very ripe technology, is not repeating here.
Particularly, acquisition module 201 also comprises:
Acquiring unit 211, for according to the default cycle, obtains view data again.
In actual applications, by regulating the length of predetermined period, can adjust more timely the illuminance in driver's seat, for driver's driving provides a good photoenvironment.
Determination module 202, for the gradation data of the present image that obtains according to acquisition module 201, determines image information, and this image information comprises the average gray value of the appointed area of present image.
Particularly, the appointed area here can be whole image-region, can be also the subregion in image.
In actual applications, in order to improve the processing speed of view data, before carrying out view data processing calculating, can adopt some image preliminary treatment measures.
For example first the monoblock image that comprises gray value data is divided into the image-region of fritter, then according to the view data in small images region, determine the gradation of image mean value in small images region, finally according to the gradation of image mean value in small images region, determine the gradation of image mean value of monoblock image.
Further, can also adopt filtering that DSP technology carries out digital picture to improve the signal to noise ratio of view data, and then obtain more accurate view data.
In addition,, owing to thering is certain correlation between adjacent image point, can also utilize the coefficient correlation between image adjacent image point to extract the border between He An territory, bright territory in image, and then obtain more accurate view data.
Particularly, being calculated as follows of the average gray value of the appointed area of image:
The matrix that the distribution f (i, j) of gray value size that supposes the appointed area of image is m * n (be m capable n row), and the element of this array is: a
ij; ?
As from the foregoing, the average gray value of the appointed area of image:
Processing module 203, for determination module 202, determine according to image information, control long-and-short distant light.
Specifically, processing module 203 comprises: the first comparing unit 213 and the first processing unit 223.
Wherein, the first comparing unit 213 is for comparing the average gray value of appointed area and the size of the first numerical value and second value of present image, and this first numerical value and second value are all greater than 0.When the first processing unit 223 is greater than the first numerical value for the average gray value of the appointed area at present image, reduce the brightness of dipped headlights; When the average gray value in the appointed area of present image is less than or equal to the first numerical value and is more than or equal to second value, the brightness that maintains current dipped headlights is constant; When the average gray value in the appointed area of present image is less than second value, increase the brightness of dipped headlights.
In actual applications, by than current compared with the size of the average gray value of the appointed area of image and the first numerical value and second value, whether illumination intensity that can clear and definite car headlight device exceeds suitable scope, then by Intelligent automobile lighting system, regulate the brightness of light fixture, illuminance in driver's seat is maintained in an applicable scope, so both save the energy, and can provide a photoenvironment that is suitable for eye for driver again.
The embodiment of the present invention is by obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
Embodiment six
The embodiment of the present invention provides a kind of car headlight device, and the long-and-short distant light that is applicable to control automobile is referring to Fig. 6, and image information comprises the grey scale change absolute value sum of each pixel in the appointed area of present image and a upper image, and this device comprises:
Acquisition module 301, for obtaining the gradation data of present image, this gradation data comprises the gray value of each pixel in image.
Particularly, acquisition module 301 comprises:
CCD imageing sensor (being CCD), for obtaining the gradation data of present image.
That particularly, supposes illuminance size in image data region is distributed as a two-dimensional array g (i, j).
According to the corresponding relation p of the illuminance of the gray value of each pixel in image and correspondence position, obtain distribution f (i, the j)=p (g (i, j)) of gray value size.Corresponding concrete calculation processes is very ripe technology, is not repeating here.
Particularly, acquisition module 301 also comprises:
Acquiring unit 311, for according to the default cycle, obtains view data again.
In actual applications, by regulating the length of predetermined period, can adjust more timely the illuminance in driver's seat, for driver's driving provides a good photoenvironment.
Determination module 302, for the gradation data of the present image that obtains according to acquisition module 301, determines image information, and this image information comprises the grey scale change absolute value sum of each pixel in the appointed area of present image and a upper image.
Particularly, the formulation region here can be whole image-region, can be also the specific region in image.Upper image here and the relation of present image can be CCD two images of picked-up continuously.
In actual applications, in order to improve the processing speed of view data, before carrying out view data processing calculating, can adopt some image preliminary treatment measures.
For example first the monoblock image that comprises gray value data is divided into the image-region of fritter, then according to the view data in small images region, determine the variation of image grayscale absolute value sum in small images region, finally according to the variation of image grayscale absolute value sum in small images region, determine the variation of image grayscale absolute value sum of monoblock image.
Further, can also adopt filtering that DSP technology carries out digital picture to improve the signal to noise ratio of view data, and then obtain more accurate view data.
In addition,, owing to thering is certain correlation between adjacent image point, can also utilize the coefficient correlation between image adjacent image point to extract the border between He An territory, bright territory in image, and then obtain more accurate view data.
Particularly, choose the image of two adjacent moment, suppose that when t0 constantly, the grey value profile of image is expressed as f
t0(i, j);
Through arrive after a while t1 constantly time the grey value profile of image be expressed as f
t1(i, j);
So variation of image grayscale absolute value be σ f (i, j)=| f
t1(i, j)-f
t0(i, j) |;
Suppose the matrix that the distribution σ f (i, j) of gray-value variation order of magnitude is m * n (being the capable n row of m), and the element of this array is: a
ij; ?
So from t0 to t1, variation of image grayscale absolute value sum is:
Processing module 303, for determination module 302, determine according to image information, control long-and-short distant light.
Specifically, processing module 303 comprises the second comparing unit 313 and the second processing unit 323.
Wherein, the second comparing unit 313 is for the grey scale change absolute value sum of each pixel of appointed area of comparison present image and a upper image and the size of third value, and this third value is greater than 0.The second processing unit 323 for present image with on the grey scale change absolute value sum of each pixel of appointed area of an image while being greater than third value, close high beam.
Under default situations, the use of dazzle light is selected by driver is autonomous, and driver can be adjusted into automatic unlatching according to the actual requirements, and the traffic accident generally being caused by high beam is mainly that driver does not close due to high beam in good time.By Intelligent automobile lighting system, control closing of high beam now, both can save unnecessary waste of energy, can reduce again the generation of the traffic accident being caused by unreasonable use high beam.
The embodiment of the present invention is by obtaining the gradation data of present image; Then according to the gradation data of present image, determine image information; Finally, according to image information, control long-and-short distant light.The method that this automotive lighting method adopts image to process, simplified image data mode, and then reduced car headlight device wiring complexity, alleviated car headlight device installation workload, more cost-saving, improved the reliability of car headlight device work.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
It should be noted that: the car headlight device that above-described embodiment provides is when carrying out automotive lighting, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure of the equipment of being about to is divided into different functional modules, to complete all or part of function described above.In addition, the car headlight device that above-described embodiment provides and automotive lighting embodiment of the method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. an automotive lighting method, is applicable to control the long-and-short distant light of automobile, it is characterized in that, described method comprises:
Obtain the gradation data of present image, described gradation data comprises the gray value of each pixel in image;
According to the gradation data of described present image, determine image information, described image information comprises the average gray value of the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image or the appointed area of described present image;
According to described image information, control described long-and-short distant light.
2. method according to claim 1, is characterized in that, described in obtain present image gradation data comprise:
With CCD imageing sensor, obtain the gradation data of present image.
3. method according to claim 2, is characterized in that, described image information comprises the average gray value of the appointed area of described present image, described according to described image information, controls described long-and-short distant light and comprises:
The size of the average gray value of the appointed area of more described present image and the first numerical value and second value, described the first numerical value is greater than described second value, and described the first numerical value and described second value are all greater than 0;
If the average gray value of the appointed area of described present image is greater than described the first numerical value, reduce the brightness of dipped headlights;
If the average gray value of the appointed area of described present image is less than or equal to described the first numerical value and is more than or equal to described second value, the brightness that maintains current dipped headlights is constant;
If the average gray value of the appointed area of described present image is less than described second value, increase the brightness of dipped headlights.
4. method according to claim 2, it is characterized in that, described present image information comprises the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image, described according to described image information, controls described long-and-short distant light and comprises:
The grey scale change absolute value sum of each pixel and the size of third value in the appointed area of more described present image and a upper image, described third value is greater than 0;
If the grey scale change absolute value sum of each pixel is greater than described third value in the appointed area of described present image and a upper image, close high beam.
5. method according to claim 1, is characterized in that, described in obtain present image gradation data comprise:
According to the default cycle, obtain the gradation data of image.
6. a car headlight device, is applicable to control the long-and-short distant light of automobile, it is characterized in that, described device comprises:
Acquisition module, for obtaining the gradation data of present image, described gradation data comprises the gray value of each pixel in image;
Determination module, gradation data for the described present image that gets according to described acquisition module, determine image information, described image information comprises the average gray value of the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image or the appointed area of described present image;
Processing module, for the described image information of determining according to described determination module, controls described long-and-short distant light.
7. device according to claim 6, is characterized in that, described acquisition module comprises:
CCD imageing sensor, for obtaining the gradation data of present image.
8. device according to claim 7, is characterized in that, described image information comprises the average gray value of the appointed area of described present image, and described processing module comprises:
The first comparing unit, for the average gray value of appointed area and the size of the first numerical value and second value of more described present image, described the first numerical value is greater than described second value, and described the first numerical value and described second value are all greater than 0;
The first processing unit, while being greater than described the first numerical value for the average gray value of the appointed area at described present image, reduces the brightness of dipped headlights;
When the average gray value in the appointed area of described present image is less than or equal to described the first numerical value and is more than or equal to described second value, the brightness that maintains current dipped headlights is constant;
When the average gray value in the appointed area of described present image is less than described second value, increase the brightness of dipped headlights.
9. device according to claim 7, is characterized in that, described present image information comprises the grey scale change absolute value sum of each pixel in the appointed area of described present image and a upper image, and described processing module comprises:
The second comparing unit, for the grey scale change absolute value sum of each pixel of appointed area of more described present image and a upper image and the size of third value, described third value is greater than 0;
The second processing unit, for described present image with on the grey scale change absolute value sum of each pixel of appointed area of an image while being greater than described third value, close high beam.
10. device according to claim 6, is characterized in that, described acquisition module comprises:
Acquiring unit, for according to the default cycle, obtains the gradation data of image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410392025.0A CN104185342B (en) | 2014-08-11 | 2014-08-11 | A kind of automotive lighting method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410392025.0A CN104185342B (en) | 2014-08-11 | 2014-08-11 | A kind of automotive lighting method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104185342A true CN104185342A (en) | 2014-12-03 |
CN104185342B CN104185342B (en) | 2016-08-17 |
Family
ID=51965985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410392025.0A Active CN104185342B (en) | 2014-08-11 | 2014-08-11 | A kind of automotive lighting method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104185342B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106915295A (en) * | 2017-03-21 | 2017-07-04 | 青岛海信移动通信技术股份有限公司 | The control method and device of automobile front lamp state |
CN109958979A (en) * | 2018-11-01 | 2019-07-02 | 永康市道可道科技有限公司 | Lamps and lanterns electronic switch control mechanism |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050152581A1 (en) * | 2004-01-14 | 2005-07-14 | Kenta Hoki | Road surface reflection detecting apparatus |
CN1854816A (en) * | 2005-04-26 | 2006-11-01 | 浙江汉宇安全技术有限公司 | Dazzle-resisting method and device for automotive vehicle |
CN101367350A (en) * | 2008-09-24 | 2009-02-18 | 上海大学 | Active anti-dazzle arrangement for automobile and method thereof |
JP2014057225A (en) * | 2012-09-12 | 2014-03-27 | Honda Motor Co Ltd | Vehicle monitoring apparatus |
CN203580753U (en) * | 2013-10-25 | 2014-05-07 | 北京汽车股份有限公司 | Regulating device for LED headlight and automobile |
-
2014
- 2014-08-11 CN CN201410392025.0A patent/CN104185342B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050152581A1 (en) * | 2004-01-14 | 2005-07-14 | Kenta Hoki | Road surface reflection detecting apparatus |
CN1854816A (en) * | 2005-04-26 | 2006-11-01 | 浙江汉宇安全技术有限公司 | Dazzle-resisting method and device for automotive vehicle |
CN101367350A (en) * | 2008-09-24 | 2009-02-18 | 上海大学 | Active anti-dazzle arrangement for automobile and method thereof |
JP2014057225A (en) * | 2012-09-12 | 2014-03-27 | Honda Motor Co Ltd | Vehicle monitoring apparatus |
CN203580753U (en) * | 2013-10-25 | 2014-05-07 | 北京汽车股份有限公司 | Regulating device for LED headlight and automobile |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106915295A (en) * | 2017-03-21 | 2017-07-04 | 青岛海信移动通信技术股份有限公司 | The control method and device of automobile front lamp state |
CN106915295B (en) * | 2017-03-21 | 2019-09-17 | 青岛海信移动通信技术股份有限公司 | The control method and device of automobile front lamp state |
CN109958979A (en) * | 2018-11-01 | 2019-07-02 | 永康市道可道科技有限公司 | Lamps and lanterns electronic switch control mechanism |
Also Published As
Publication number | Publication date |
---|---|
CN104185342B (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103716955A (en) | Classroom zoned intelligent illumination system specific to night classes in universities | |
CN109823258B (en) | Intelligent auxiliary control system and method for matrix type LED high beam | |
CN107135588B (en) | Control method of street lamp energy-saving control system | |
CN102573196A (en) | Streetlamp system containing streetlamp control terminal and automatic regulating method thereof | |
CN102143213A (en) | Intelligent illumination control system based on Internet of things (IOT) architecture | |
CN104302046A (en) | Intelligent street lamp monitoring system | |
CN105472844A (en) | Streetlamp control method and apparatus | |
CN105407611A (en) | Remote intelligent control system for light-compensating lamps | |
CN104918366A (en) | Tunnel illumination intelligent control system and control method | |
CN106218492A (en) | One running light automatic switching control equipment at night and changing method | |
CN104869701A (en) | Street lamp illumination control system | |
CN108243539A (en) | Automation is super away from road lamp system | |
CN113438779A (en) | Method for triggering street lamp illumination intensity adjustment based on image | |
CN105744691A (en) | Street lamp management method | |
CN111369584A (en) | Moving object detection method applied to urban intelligent street lamp | |
CN109005630A (en) | A kind of intelligence adjusts the control device and its method of street lamp brightness | |
CN104185342A (en) | Automobile lighting method and automobile lighting device | |
CN113260123B (en) | Vehicle-road cooperative tunnel interior illumination control method, system and equipment | |
CN104867457A (en) | Vehicle-mounted LED lamp and LCD screen environment self-adaption brightness adjusting method and device | |
CN103648210A (en) | Driver visual brightness adaptation mechanism-based vehicle lamp control method | |
CN104869708A (en) | Road tunnel LED self-adaptive illumination control system based on fuzzy control technology | |
CN110708841B (en) | Intelligent street lamp self-adaptive energy-saving control method | |
CN113260125A (en) | Smart city street lamp control method and device, intelligent terminal and storage medium | |
CN103607830A (en) | Self-adaptive control method and device of LED (Light Emitting Diode) tunnel lamp on road | |
CN201967205U (en) | Intelligent illumination control system based on thing internet framework |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |