CN104185342B - A kind of automotive lighting method and apparatus - Google Patents
A kind of automotive lighting method and apparatus Download PDFInfo
- Publication number
- CN104185342B CN104185342B CN201410392025.0A CN201410392025A CN104185342B CN 104185342 B CN104185342 B CN 104185342B CN 201410392025 A CN201410392025 A CN 201410392025A CN 104185342 B CN104185342 B CN 104185342B
- Authority
- CN
- China
- Prior art keywords
- image
- value
- present image
- region
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000008859 change Effects 0.000 claims description 32
- 238000012545 processing Methods 0.000 claims description 26
- 238000009434 installation Methods 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 description 13
- 238000005286 illumination Methods 0.000 description 13
- 238000001514 detection method Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000001914 filtration Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 6
- 230000033228 biological regulation Effects 0.000 description 5
- 230000001105 regulatory effect Effects 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 239000002699 waste material Substances 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 230000001276 controlling effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Abstract
The invention discloses a kind of automotive lighting method and apparatus, belong to lighting field.Described method includes: obtain the gradation data of present image;According to the gradation data of present image, determine image information;According to image information, control long-and-short distant light.The present invention is by first obtaining the gradation data of present image;Then according to the gradation data of present image, image information is determined;Finally according to image information, control long-and-short distant light.This automotive lighting method uses the method for image procossing to obtain image information, simplify collection data mode, and then reduce the wiring complexity of car headlight device, alleviate car headlight device installation workload, more cost-effective, improve car headlight device work reliability.
Description
Technical field
The present invention relates to lighting field, particularly to a kind of automotive lighting method and apparatus.
Background technology
Along with expanding economy, the technology of energy-conserving and environment-protective is increasingly subject to people's attention, intelligent lighting conduct
One energy-conservation high-tech technology also begins to be paid close attention to by people.
Intelligent lighting is to utilize advanced electromagnetic voltage adjusting and electronic induction technology, power supply is monitored in real time with
Track, the voltage and current amplitude of automatic smoothing ground regulation circuit, improve uncompensated load in lighting circuit and carried
The extra power consumption come, improves power factor (PF), reduces light fixture and the operating temperature of circuit, reaches to optimize power supply mesh
Lighting Control Assembly.
Automobile intelligent illumination is a kind of application of intelligent lighting, and it had both achieved the saving energy, and can be again automobile
Different mode of operations is provided, brings the lighting experience of intelligent environment protection for driver.
During realizing the present invention, inventor finds that prior art at least there is problems in that
In actual applications, Intelligent lightening device, in order to be applicable to multiple operative scenario, needs to install multiple biography
Sensor is to obtain desired data, and these sensors are distributed in the diverse location of vehicle so that intelligent lighting fills
Putting wiring complexity, in engineering construction, workload is big, and installation cost is high, more makes Intelligent lightening device work
Reliability reduces.
Summary of the invention
The problem the highest in order to solve intelligent automobile Intelligent lightening device wiring reliability complicated, work, this
Inventive embodiments provides a kind of automotive lighting method and apparatus.Described technical scheme is as follows:
On the one hand, it is provided that a kind of automotive lighting method, described method includes:
Obtaining the gradation data of present image, described gradation data includes the gray value of each pixel in image;
According to the gradation data of described present image, determine that image information, described image information include described working as
The grey scale change absolute value sum specifying each pixel in region of front image and a upper image or described work as
The average gray value specifying region of front image;
According to described image information, control described long-and-short distant light;
Described image information includes the average gray value specifying region of described present image, described in described basis
Image information, controls described long-and-short distant light and includes:
Relatively the average gray value specifying region of described present image and the first numerical value and second value is big
Little, described first numerical value is more than described second value, and described first numerical value and described second value are both greater than 0;
If the average gray value specifying region of described present image is more than described first numerical value, then reduce dipped beam
The brightness of lamp;
If the average gray value specifying region of described present image less than or equal to described first numerical value and is more than
Or equal to described second value, then the brightness maintaining current dipped headlights is constant;
If the average gray value specifying region of described present image is less than described second value, then increase dipped beam
The brightness of lamp;
Described present image information includes described present image and each pixel in the appointment region of a upper image
Grey scale change absolute value sum, described according to described image information, control described long-and-short distant light and include:
Relatively described present image and the grey scale change absolute value of each pixel in the appointment region of a upper image
Sum and the size of third value, described third value is more than 0;
If described present image and a upper image specify in region the grey scale change absolute value of each pixel it
With more than described third value, then close high beam.
Specifically, the gradation data of described acquisition present image includes:
Charge Coupled Device (CCD) imageing sensor is used to obtain the gradation data of present image.
Specifically, the gradation data of described acquisition present image includes:
According to the default cycle, obtain the gradation data of image.
On the other hand, it is provided that a kind of car headlight device, described device includes:
Acquisition module, for obtaining the gradation data of present image, described gradation data includes in image each
The gray value of pixel;
Determine module, the gradation data of the described present image for getting according to described acquisition module, really
Determining image information, described image information includes described present image and each picture in the appointment region of a upper image
The grey scale change absolute value sum of vegetarian refreshments or the average gray value specifying region of described present image;
Processing module, for according to the described described image information determining that module determines, controls described distance-light
Lamp;
Described image information includes the average gray value specifying region of described present image, described processing module
Including:
First comparing unit, for the average gray value specifying region and first number of relatively described present image
Value and the size of second value, described first numerical value is more than described second value, and described first numerical value and institute
State second value and be both greater than 0;
First processing unit, for specifying the average gray value in region more than described the at described present image
During one numerical value, reduce the brightness of dipped headlights;
The average gray value specifying region at described present image less than or equal to described first numerical value and is more than
Or during equal to described second value, the brightness maintaining current dipped headlights is constant;
When the average gray value specifying region of described present image is less than described second value, increase dipped beam
The brightness of lamp;
Described present image information includes described present image and each pixel in the appointment region of a upper image
Grey scale change absolute value sum, described processing module includes:
Second comparing unit, each pixel in the relatively described present image appointment region with a upper image
The grey scale change absolute value sum of point and the size of third value, described third value is more than 0;
Second processing unit, for described present image with on an image appointment region in each pixel
Grey scale change absolute value sum more than described third value time, close high beam.
Specifically, described acquisition module includes:
Charge Coupled Device (CCD) imageing sensor, for obtaining the gradation data of present image.
Specifically, described acquisition module includes:
Acquiring unit, for according to the cycle preset, obtaining the gradation data of image.
The technical scheme that the embodiment of the present invention provides has the benefit that
By obtaining the gradation data of present image;Then according to the gradation data of present image, image is determined
Information;Finally according to image information, control long-and-short distant light.This automotive lighting method uses image procossing
Method, simplifies collection data mode, and then reduces the wiring complexity of car headlight device, alleviates
Car headlight device installation workload, more cost-effective, improve the reliability of car headlight device work.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
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.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Embodiment one
Embodiments provide a kind of automotive lighting method, it is adaptable to control the long-and-short distant light of automobile, ginseng
See that Fig. 1, the method flow process include:
Step S11, obtains the gradation data of present image, and this gradation data includes each pixel in image
Gray value.
In actual applications, (Charge Coupled Device is called for short can to use Charge Coupled Device (CCD)
" CCD ") imageing sensor obtains the gradation data of external environment image.
Step S12, according to the gradation data of present image, determines image information, and this image information includes currently
The grey scale change absolute value sum specifying each pixel in region of image and a upper image or present image
Specify region average gray value.
Specifically, region of formulating here can be whole image-region, it is also possible to be specific in image
Region.Here a upper image can be two images that CCD absorbs continuously with the relation of present image.
In actual applications, in order to improve the processing speed of view data, carrying out image real time transfer calculating
Before, some Image semantic classification measures can be used.
The most first the monoblock image comprising gray value data is divided into the image-region of fritter, then according to little
The view data of block image-region determines the image information in small images region, finally according to small images region
Image information determine the image information of monoblock image.
Further, it is also possible to use Digital Signal Processing (Digital Signal Processing is called for short " DSP ")
Technology carries out the filtering of digital picture to improve the signal to noise ratio of view data, and then obtains more accurate picture number
According to.
Additionally, due to have certain dependency between adjacent image point, it is also possible to utilize between image adjacent image point
Correlation coefficient extract bright territory in image and the border between dark territory, and then obtain more accurate view data.
Step S13, according to image information, controls long-and-short distant light.
Specifically, Intelligent automobile lighting system, according to image information, sends corresponding control signal, to control
The switch of long-and-short distant light and brightness flop.
In actual applications, detection present image and the gray scale of each pixel in the appointment region of a upper image
Change absolute value sum may determine that the illuminance amplitude of variation of external environment, due to only at road without other
Luminaire, and to sending a car to nothing in the case of, high beam could be used, external environment illuminance dash forward
During the most significantly change (such as carried out correct vehicle, or entered the place that illuminance is sufficient), by detection
Variation of image grayscale absolute value sum, Intelligent automobile lighting system sends corresponding control signal, closing automobile
High beam.
In actual applications, the average gray specifying region of detection present image may determine that external environment
The intensity of illuminance, and then may determine that in the illuminator of automobile whether the brightness of light fixture meets illumination and want
Asking, such as, during driving at night, do not have street lamp by some roads, the visual field of driver is affected, and passes through
Detection gradation of image meansigma methods, Intelligent automobile lighting system sends corresponding control signal, increases automobile headlamp
Brightness, to ensure that driver has a good visual field;Having street lamp by some roads, the headlight of automobile is bright
Can waste electric energy if spending height, by detection gradation of image meansigma methods, intelligent illuminating system can send phase
The control signal answered, reduces the brightness of automobile headlamp, the most both can ensure that driver had good regarding
Open country, reduces again unnecessary power consumption.
In actual applications, the switch of long-and-short distant light and brightness flop can be arranged to corresponding light illumination mode,
So that the work of Intelligent automobile lighting system.
Specifically, light illumination mode includes:
Energy saver mode, too high for the illuminance at current car headlight device (i.e. high beam or dipped headlights)
Time, reduce the brightness of light fixture in current car headlight device.
Maintenance pattern, for when the illuminance of current car headlight device is suitable for, maintains current automotive lighting
In device, the brightness of light fixture is constant.
Blast pattern, for when the illuminance of current car headlight device is too low, increases current automotive lighting
The brightness of light fixture in device.
Safe mode, for when need not high beam illumination, closing the distance light in current car headlight device
Lamp.
In actual applications, by the change of control signal regulation light illumination mode, it is achieved intelligent lighting operates,
This intelligent lighting had both saved the energy, provided again the lighting experience of hommization for driver.
The embodiment of the present invention is by obtaining the gradation data of present image;Then according to the grey of present image
According to, determine image information;Finally according to image information, control long-and-short distant light.This automotive lighting method is adopted
By the method for image procossing, simplify collection data mode, and then the wiring reducing car headlight device is multiple
Miscellaneous degree, alleviate car headlight device installation workload, more cost-effective, improve car headlight device
The reliability of work.
Embodiment two
Embodiments provide a kind of automotive lighting method, it is adaptable to control the long-and-short distant light of automobile, ginseng
Seeing that Fig. 2, image information include the average gray value specifying region of present image, the method flow process includes:
Step S21, obtains the gradation data of present image, and this gradation data includes each pixel in image
Gray value.
In actual applications, CCD can be used to obtain the gradation data of external environment image.
Specifically, it is assumed that gather the illuminance size in data area be distributed as a two-dimensional array g (i, j).
According to the corresponding relation p of the gray value of each pixel in image Yu the illuminance of correspondence position, obtain ash
Distribution f (i, the j)=p (g (i, j)) of angle value size.Corresponding concrete calculation processes is the most ripe technology, this
In do not repeating.
Specifically, this step 21 includes: according to the default cycle, obtain the gradation data of image.
In actual applications, by regulating the length of predetermined period, driver's seat can be adjusted more timely
Interior illuminance, the driving for driver provides a good photoenvironment.
Step S22, according to the gradation data of present image, determines image information, and this image information includes currently
The average gray value specifying region of image.
Specifically, region of specifying here can be whole image-region, it is also possible to be the part in image
Region.
In actual applications, in order to improve the processing speed of view data, carrying out image real time transfer calculating
Before, some Image semantic classification measures can be used.
The most first the monoblock image comprising gray value data is divided into the image-region of fritter, then according to little
The view data of block image-region determines the gradation of image meansigma methods in small images region, finally according to fritter figure
As the gradation of image meansigma methods in region determines the gradation of image meansigma methods of monoblock image.
Further, it is also possible to use DSP technology to carry out the filtering of digital picture with the letter improving view data
Make an uproar ratio, and then obtain more accurate view data.
Additionally, due to have certain dependency between adjacent image point, it is also possible to utilize between image adjacent image point
Correlation coefficient extract bright territory in image and the border between dark territory, and then obtain more accurate view data.
Specifically, being calculated as follows of average gray value specifying region of image:
Assuming that the distribution f of the gray value size specifying region of image (i j) is the square of m × n (i.e. m row n row)
Battle array, and the element of this array is: aij;Then
Then from the foregoing, it will be observed that image specify region average gray value:
Step S23, that compares present image specifies the average gray value in region and the first numerical value and second value
Size.If the average gray value specifying region of present image is more than the first numerical value, then perform step S24;If
The average gray value specifying region of present image less than or equal to the first numerical value and is more than or equal to the second number
Value, then perform step S25;If the average gray value specifying region of present image is less than second value, then hold
Row step S26.
This first numerical value and second value be both greater than 0 and second value more than big two numerical value, its concrete numerical value can
To arrange according to reality, the present invention is without limitation.
Step S24, reduces the brightness of dipped headlights.
Step S25, the brightness maintaining current dipped headlights is constant.
Step S26, increases the brightness of dipped headlights.
In actual applications, by than the average gray value specifying region of current relatively image and the first numerical value and
The size of second value, whether the intensity of illumination that can specify car headlight device exceeds suitable scope, so
Afterwards by the brightness of Intelligent automobile lighting system regulation light fixture so that the illuminance in driver's seat maintains
In one applicable scope, the most both saved the energy, and one can have been provided for driver again and be suitable to eye
Photoenvironment.
The circulation of abovementioned steps S21-26 performs.
The embodiment of the present invention is by obtaining the gradation data of present image;Then according to the grey of present image
According to, determine image information;Finally according to image information, control long-and-short distant light.This automotive lighting method is adopted
By the method for image procossing, simplify collection data mode, and then the wiring reducing car headlight device is multiple
Miscellaneous degree, alleviate car headlight device installation workload, more cost-effective, improve car headlight device
The reliability of work.
Embodiment three
Embodiments provide a kind of automotive lighting method, it is adaptable to control the long-and-short distant light of automobile, ginseng
See that Fig. 3, image information include present image and the grey scale change of each pixel in the appointment region of a upper image
Absolute value sum, the method flow process includes:
Step S31, obtains the gradation data of present image, and this gradation data includes each pixel in image
Gray value.
In actual applications, CCD can be used to obtain the gradation data of external environment image.
Specifically, the gradation data process of CCD acquisition external environment image is as follows: assuming that gather data area
In illuminance size be distributed as a two-dimensional array g (i, j).
According to the corresponding relation p of the gray value of each pixel in image Yu the illuminance of correspondence position, can obtain
Distribution f (i, j)=p (g (i, j)) to gray value size.Corresponding concrete calculation processes is the most ripe skill
Art, is not repeating.
Specifically, this step 31 includes: according to the default cycle, obtain the gradation data of image.
In actual applications, by regulating the length of predetermined period, driver's seat can be adjusted more timely
Interior illuminance, the driving for driver provides a good photoenvironment.
Step S32, according to the gradation data of present image, determines image information, and this image information includes currently
Image specifies the grey scale change absolute value sum of each pixel in region with a upper image.
Specifically, region of formulating here can be whole image-region, it is also possible to be specific in image
Region.Here a upper image can be two images that CCD absorbs continuously with the relation of present image.
In actual applications, in order to improve the processing speed of view data, carrying out image real time transfer calculating
Before, some Image semantic classification measures can be used.
The most first the monoblock image comprising gray value data is divided into the image-region of fritter, then according to little
The view data of block image-region determines the variation of image grayscale absolute value sum in small images region, last root
Determine that the variation of image grayscale of monoblock image is absolute according to the variation of image grayscale absolute value sum in small images region
Value sum.
Further, it is also possible to use DSP technology to carry out the filtering of digital picture with the letter improving view data
Make an uproar ratio, and then obtain more accurate view data.
Additionally, due to have certain dependency between adjacent image point, it is also possible to utilize between image adjacent image point
Correlation coefficient extract bright territory in image and the border between dark territory, and then obtain more accurate view data.
Specifically, the image of two adjacent moment is chosen, it is assumed that during t0 moment, the grey value profile of image represents
For ft0(i,j);
In time arriving t1 moment after a while, the grey value profile of image is expressed as ft1(i,j);
So variation of image grayscale absolute value be σ f (i, j)=| ft1(i,j)-ft0(i,j)|;
Assuming that the distribution σ f of gray-value variation order of magnitude (i, j) is the matrix of m × n (i.e. m row n row), and
The element of this array is: aij;Then
So, from t0 to t1, variation of image grayscale absolute value sum is:
Step S33, compares present image exhausted with the grey scale change of each pixel in the appointment region of a upper image
Size to value sum with third value, this third value is more than 0.
If present image specifies the grey scale change absolute value sum of each pixel in region big with a upper image
In third value, then perform step S34.
Step S34, closes high beam.
Under default situations, the use of dazzle light is by driver from main separation, and driver can be according to reality
Border demand is adjusted to automatically turn on, and, the vehicle accident typically caused by high beam is mainly driven
The person of sailing closes caused by high beam the most in good time.The closedown of high beam is controlled now by Intelligent automobile lighting system,
Both can save unnecessary waste of energy, the traffic thing caused by unreasonable use high beam can have been reduced again
Therefore generation.
The circulation of abovementioned steps S31-S34 performs.
The embodiment of the present invention is by obtaining the gradation data of present image;Then according to the grey of present image
According to, determine image information;Finally according to image information, control long-and-short distant light.This automotive lighting method is adopted
By the method for image procossing, simplify collection data mode, and then the wiring reducing car headlight device is multiple
Miscellaneous degree, alleviate car headlight device installation workload, more cost-effective, improve car headlight device
The reliability of work.
Embodiment four
Embodiments provide a kind of car headlight device, it is adaptable to the long-and-short distant light controlling automobile sees
Fig. 4, this device includes:
Acquisition module 101, for obtaining the gradation data of present image, this gradation data includes in image each
The gray value of pixel.
In actual applications, ccd image sensor can be used to obtain the gradation data of external environment image.
Determine module 102, the gradation data of the present image for getting according to acquisition module 101, determine
Image information, this image information includes present image and the ash of each pixel in the appointment region of a upper image
Degree change absolute value sum or the average gray value specifying region of present image.
Specifically, region of formulating here can be whole image-region, it is also possible to be specific in image
Region.Here a upper image can be two images that CCD absorbs continuously with the relation of present image.
In actual applications, in order to improve the processing speed of view data, carrying out image real time transfer calculating
Before, some Image semantic classification measures can be used.
The most first the monoblock image comprising gray value data is divided into the image-region of fritter, then according to little
The view data of block image-region determines the image information in small images region, finally according to small images region
Image information determine the image information of monoblock image.
Further, it is also possible to use DSP technology to carry out the filtering of digital picture with the letter improving view data
Make an uproar ratio, and then obtain more accurate view data.
Additionally, due to have certain dependency between adjacent image point, it is also possible to utilize between image adjacent image point
Correlation coefficient extract bright territory in image and the border between dark territory, and then obtain more accurate view data.
Processing module 103, for according to the image information determining that module 102 determines, controls long-and-short distant light.
Specifically, Intelligent automobile lighting system, according to image information, sends corresponding control signal, to control
The switch of long-and-short distant light and brightness flop.
In actual applications, detection present image and the gray scale of each pixel in the appointment region of a upper image
Change absolute value sum may determine that the illuminance amplitude of variation of external environment, due to only at road without other
Luminaire, and to sending a car to nothing in the case of, high beam could be used, external environment illuminance dash forward
During the most significantly change (such as carried out correct vehicle, or entered the place that illuminance is sufficient), by detection
Variation of image grayscale absolute value sum, Intelligent automobile lighting system sends corresponding control signal, closing automobile
High beam.
In actual applications, the average gray specifying region of detection present image may determine that external environment
The intensity of illuminance, and then may determine that in the illuminator of automobile whether the brightness of light fixture meets illumination and want
Asking, such as, during driving at night, do not have street lamp by some roads, the visual field of driver is affected, and passes through
Detection gradation of image meansigma methods, Intelligent automobile lighting system sends corresponding control signal, increases automobile headlamp
Brightness, to ensure that driver has a good visual field;Having street lamp by some roads, the headlight of automobile is bright
Can waste electric energy if spending height, by detection gradation of image meansigma methods, intelligent illuminating system can send phase
The control signal answered, reduces the brightness of automobile headlamp, the most both can ensure that driver had good regarding
Open country, reduces again unnecessary power consumption.
In actual applications, the switch of long-and-short distant light and brightness flop can be arranged to corresponding light illumination mode,
So that the work of Intelligent automobile lighting system.
Specifically, light illumination mode includes:
Energy saver mode, too high for the illuminance at current car headlight device (i.e. high beam or dipped headlights)
Time, reduce the brightness of light fixture in current car headlight device.
Maintenance pattern, for when the illuminance of current car headlight device is suitable for, maintains current automotive lighting
In device, the brightness of light fixture is constant.
Blast pattern, for when the illuminance of current car headlight device is too low, increases current automotive lighting
The brightness of light fixture in device.
Safe mode, for when need not high beam illumination, closing the distance light in current car headlight device
Lamp.
In actual applications, by the change of control signal regulation light illumination mode, it is achieved intelligent lighting operates,
This intelligent lighting had both saved the energy, provided again the lighting experience of hommization for driver.
The embodiment of the present invention is by obtaining the gradation data of present image;Then according to the grey of present image
According to, determine image information;Finally according to image information, control long-and-short distant light.This automotive lighting method is adopted
By the method for image procossing, simplify collection data mode, and then the wiring reducing car headlight device is multiple
Miscellaneous degree, alleviate car headlight device installation workload, more cost-effective, improve car headlight device
The reliability of work.
Embodiment five
Embodiments provide a kind of car headlight device, it is adaptable to the long-and-short distant light controlling automobile sees
Fig. 5, image information includes the average gray value specifying region of present image, and this device includes:
Acquisition module 201, for obtaining the gradation data of present image, this gradation data includes in image each
The gray value of pixel.
Specifically, acquisition module 201 includes:
Charge Coupled Device (CCD) imageing sensor (i.e. CCD), for obtaining the gradation data of present image.
Specifically, it is assumed that gather the illuminance size in data area be distributed as a two-dimensional array g (i, j);
According to the corresponding relation p of the gray value of each pixel in image Yu the illuminance of correspondence position, obtain ash
Distribution f (i, the j)=p (g (i, j)) of angle value size.Corresponding concrete calculation processes is the most ripe technology, this
In do not repeating.
Specifically, acquisition module 201 also includes:
Acquiring unit 211, for according to the cycle preset, reacquires view data.
In actual applications, by regulating the length of predetermined period, driver's seat can be adjusted more timely
Interior illuminance, the driving for driver provides a good photoenvironment.
Determine module 202, the gradation data of the present image for obtaining according to acquisition module 201, determine figure
As information, this image information includes the average gray value specifying region of present image.
Specifically, region of specifying here can be whole image-region, it is also possible to be the part in image
Region.
In actual applications, in order to improve the processing speed of view data, carrying out image real time transfer calculating
Before, some Image semantic classification measures can be used.
The most first the monoblock image comprising gray value data is divided into the image-region of fritter, then according to little
The view data of block image-region determines the gradation of image meansigma methods in small images region, finally according to fritter figure
As the gradation of image meansigma methods in region determines the gradation of image meansigma methods of monoblock image.
Further, it is also possible to use DSP technology to carry out the filtering of digital picture with the letter improving view data
Make an uproar ratio, and then obtain more accurate view data.
Additionally, due to have certain dependency between adjacent image point, it is also possible to utilize between image adjacent image point
Correlation coefficient extract bright territory in image and the border between dark territory, and then obtain more accurate view data.
Specifically, being calculated as follows of average gray value specifying region of image:
Assuming that the distribution f of the gray value size specifying region of image (i j) is the square of m × n (i.e. m row n row)
Battle array, and the element of this array is: aij;Then
Then from the foregoing, it will be observed that image specify region average gray value:
Processing module 203, for determine that module 202 determines according to image information, control long-and-short distant light.
Specifically, processing module 203 includes: the first comparing unit 213 and the first processing unit 223.
Wherein, the first comparing unit 213 is for comparing the average gray value specifying region and the of present image
One numerical value and the size of second value, this first numerical value and second value are both greater than 0.First processing unit 223
For when the average gray value specifying region of present image is more than the first numerical value, reducing the brightness of dipped headlights;
The average gray value specifying region at present image less than or equal to the first numerical value and is more than or equal to the second number
During value, the brightness maintaining current dipped headlights is constant;The average gray value specifying region at present image is less than
During second value, increase the brightness of dipped headlights.
In actual applications, by than the average gray value specifying region of current relatively image and the first numerical value and
The size of second value, whether the intensity of illumination that can specify car headlight device exceeds suitable scope, so
Afterwards by the brightness of Intelligent automobile lighting system regulation light fixture so that the illuminance in driver's seat maintains
In one applicable scope, the most both saved the energy, and one can have been provided for driver again and be suitable to eye
Photoenvironment.
The embodiment of the present invention is by obtaining the gradation data of present image;Then according to the grey of present image
According to, determine image information;Finally according to image information, control long-and-short distant light.This automotive lighting method is adopted
By the method for image procossing, simplify collection data mode, and then the wiring reducing car headlight device is multiple
Miscellaneous degree, alleviate car headlight device installation workload, more cost-effective, improve car headlight device
The reliability of work.
Embodiment six
Embodiments provide a kind of car headlight device, it is adaptable to the long-and-short distant light controlling automobile sees
Fig. 6, image information includes that present image is exhausted with the grey scale change of each pixel in the appointment region of a upper image
To value sum, this device includes:
Acquisition module 301, for obtaining the gradation data of present image, this gradation data includes in image each
The gray value of pixel.
Specifically, acquisition module 301 includes:
Charge Coupled Device (CCD) imageing sensor (i.e. CCD), for obtaining the gradation data of present image.
Specifically, it is assumed that gather the illuminance size in data area be distributed as a two-dimensional array g (i, j).
According to the corresponding relation p of the gray value of each pixel in image Yu the illuminance of correspondence position, obtain ash
Distribution f (i, the j)=p (g (i, j)) of angle value size.Corresponding concrete calculation processes is the most ripe technology, this
In do not repeating.
Specifically, acquisition module 301 also includes:
Acquiring unit 311, for according to the cycle preset, reacquires view data.
In actual applications, by regulating the length of predetermined period, driver's seat can be adjusted more timely
Interior illuminance, the driving for driver provides a good photoenvironment.
Determine module 302, the gradation data of the present image for obtaining according to acquisition module 301, determine figure
As information, this image information includes present image and the gray scale of each pixel in the appointment region of a upper image
Change absolute value sum.
Specifically, region of formulating here can be whole image-region, it is also possible to be specific in image
Region.Here a upper image can be two images that CCD absorbs continuously with the relation of present image.
In actual applications, in order to improve the processing speed of view data, carrying out image real time transfer calculating
Before, some Image semantic classification measures can be used.
The most first the monoblock image comprising gray value data is divided into the image-region of fritter, then according to little
The view data of block image-region determines the variation of image grayscale absolute value sum in small images region, last root
Determine that the variation of image grayscale of monoblock image is absolute according to the variation of image grayscale absolute value sum in small images region
Value sum.
Further, it is also possible to use DSP technology to carry out the filtering of digital picture with the letter improving view data
Make an uproar ratio, and then obtain more accurate view data.
Additionally, due to have certain dependency between adjacent image point, it is also possible to utilize between image adjacent image point
Correlation coefficient extract bright territory in image and the border between dark territory, and then obtain more accurate view data.
Specifically, the image of two adjacent moment is chosen, it is assumed that during t0 moment, the grey value profile of image represents
For ft0(i,j);
In time arriving t1 moment after a while, the grey value profile of image is expressed as ft1(i,j);
So variation of image grayscale absolute value be σ f (i, j)=| ft1(i,j)-ft0(i,j)|;
Assuming that the distribution σ f of gray-value variation order of magnitude (i, j) is the matrix of m × n (i.e. m row n row), and
The element of this array is: aij;Then
So, from t0 to t1, variation of image grayscale absolute value sum is:
Processing module 303, for determine that module 302 determines according to image information, control long-and-short distant light.
Specifically, processing module 303 includes the second comparing unit 313 and the second processing unit 323.
Wherein, the second comparing unit 313 is for comparing in the present image appointment region with a upper image each
The grey scale change absolute value sum of pixel and the size of third value, this third value is more than 0.Second processes
Unit 323 for present image with on an image appointment region in the grey scale change of each pixel absolute
When value sum is more than third value, close high beam.
Under default situations, the use of dazzle light is by driver from main separation, and driver can be according to reality
Border demand is adjusted to automatically turn on, and, the vehicle accident typically caused by high beam is mainly driven
The person of sailing closes caused by high beam the most in good time.The closedown of high beam is controlled now by Intelligent automobile lighting system,
Both can save unnecessary waste of energy, the traffic thing caused by unreasonable use high beam can have been reduced again
Therefore generation.
The embodiment of the present invention is by obtaining the gradation data of present image;Then according to the grey of present image
According to, determine image information;Finally according to image information, control long-and-short distant light.This automotive lighting method is adopted
By the method for image procossing, simplify collection data mode, and then the wiring reducing car headlight device is multiple
Miscellaneous degree, alleviate car headlight device installation workload, more cost-effective, improve car headlight device
The reliability of work.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
It should be understood that above-described embodiment provide car headlight device when carrying out automotive lighting, only with
The division of above-mentioned each functional module is illustrated, in actual application, and can be as desired by above-mentioned merit
Distribution can be completed by different functional modules, the internal structure of equipment will be divided into different functional modules,
To complete all or part of function described above.It addition, the car headlight device that above-described embodiment provides
Belonging to same design with automotive lighting embodiment of the method, it implements process and refers to embodiment of the method, here
Repeat no more.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.
Claims (6)
1. an automotive lighting method, it is adaptable to control the long-and-short distant light of automobile, it is characterised in that described side
Method includes:
Obtaining the gradation data of present image, described gradation data includes the gray value of each pixel in image;
According to the gradation data of described present image, determine that image information, described image information include described working as
The grey scale change absolute value sum specifying each pixel in region of front image and a upper image or described work as
The average gray value specifying region of front image;
According to described image information, control described long-and-short distant light;
Described image information includes the average gray value specifying region of described present image, described in described basis
Image information, controls described long-and-short distant light and includes:
Relatively the average gray value specifying region of described present image and the first numerical value and second value is big
Little, described first numerical value is more than described second value, and described first numerical value and described second value are both greater than 0;
If the average gray value specifying region of described present image is more than described first numerical value, then reduce dipped beam
The brightness of lamp;
If the average gray value specifying region of described present image less than or equal to described first numerical value and is more than
Or equal to described second value, then the brightness maintaining current dipped headlights is constant;
If the average gray value specifying region of described present image is less than described second value, then increase dipped beam
The brightness of lamp;
Described present image information includes described present image and each pixel in the appointment region of a upper image
Grey scale change absolute value sum, described according to described image information, control described long-and-short distant light and include:
Relatively described present image and the grey scale change absolute value of each pixel in the appointment region of a upper image
Sum and the size of third value, described third value is more than 0;
If described present image and a upper image specify in region the grey scale change absolute value of each pixel it
With more than described third value, then close high beam.
Method the most according to claim 1, it is characterised in that the grey of described acquisition present image
According to including:
Charge Coupled Device (CCD) imageing sensor is used to obtain the gradation data of present image.
Method the most according to claim 1, it is characterised in that the grey of described acquisition present image
According to including:
According to the default cycle, obtain the gradation data of image.
4. a car headlight device, it is adaptable to control the long-and-short distant light of automobile, it is characterised in that described dress
Put and include:
Acquisition module, for obtaining the gradation data of present image, described gradation data includes in image each
The gray value of pixel;
Determine module, the gradation data of the described present image for getting according to described acquisition module, really
Determining image information, described image information includes described present image and each picture in the appointment region of a upper image
The grey scale change absolute value sum of vegetarian refreshments or the average gray value specifying region of described present image;
Processing module, for according to the described described image information determining that module determines, controls described distance-light
Lamp;
Described image information includes the average gray value specifying region of described present image, described processing module
Including:
First comparing unit, for the average gray value specifying region and first number of relatively described present image
Value and the size of second value, described first numerical value is more than described second value, and described first numerical value and institute
State second value and be both greater than 0;
First processing unit, for specifying the average gray value in region more than described the at described present image
During one numerical value, reduce the brightness of dipped headlights;
The average gray value specifying region at described present image less than or equal to described first numerical value and is more than
Or during equal to described second value, the brightness maintaining current dipped headlights is constant;
When the average gray value specifying region of described present image is less than described second value, increase dipped beam
The brightness of lamp;
Described present image information includes described present image and each pixel in the appointment region of a upper image
Grey scale change absolute value sum, described processing module includes:
Second comparing unit, each pixel in the relatively described present image appointment region with a upper image
The grey scale change absolute value sum of point and the size of third value, described third value is more than 0;
Second processing unit, for described present image with on an image appointment region in each pixel
Grey scale change absolute value sum more than described third value time, close high beam.
Device the most according to claim 4, it is characterised in that described acquisition module includes:
Charge Coupled Device (CCD) imageing sensor, for obtaining the gradation data of present image.
Device the most according to claim 4, it is characterised in that described acquisition module includes:
Acquiring unit, for according to the cycle preset, obtaining 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 CN104185342A (en) | 2014-12-03 |
CN104185342B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106915295B (en) * | 2017-03-21 | 2019-09-17 | 青岛海信移动通信技术股份有限公司 | The control method and device of automobile front lamp state |
CN109958979B (en) * | 2018-11-01 | 2020-09-18 | 浙江勤奋建设有限公司 | Electronic switch control mechanism of lamp |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4258385B2 (en) * | 2004-01-14 | 2009-04-30 | 株式会社デンソー | Road surface reflection detector |
CN100538447C (en) * | 2005-04-26 | 2009-09-09 | 浙江汉宇安全技术有限公司 | Motor vehicle anti-glare method and device thereof |
CN101367350A (en) * | 2008-09-24 | 2009-02-18 | 上海大学 | Active anti-dazzle arrangement for automobile and method thereof |
JP5746116B2 (en) * | 2012-09-12 | 2015-07-08 | 本田技研工業株式会社 | Vehicle monitoring device |
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
Also Published As
Publication number | Publication date |
---|---|
CN104185342A (en) | 2014-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107529250B (en) | A kind of LED street lamp regulation device and regulation method | |
CN101267703B (en) | An energy-saving street lamp brightness on-demand dynamic adjusting system and its control method | |
CN109823258B (en) | Intelligent auxiliary control system and method for matrix type LED high beam | |
CN101398992B (en) | Energy-conserving intelligent all-weather road traffic signpost and control method | |
CN102946663A (en) | Image recognition intelligent illumination control system and control method thereof | |
CN103118900A (en) | Headlamp device and luminance control method therefor | |
CN105118433A (en) | Display screen display optimization method | |
CN103561511A (en) | Luminance-controllable roadway illumination control method and system | |
CN106994884A (en) | The anti-glare method and device of active based on OLED Display Techniques | |
CN108657062A (en) | A kind of adjustable intelligent vehicle head lamp system of brightness based on environment and method | |
CN108770152B (en) | Intelligent induction control system and control method for street lamp | |
CN108016348A (en) | A kind of automotive LED headlamp module and its control method | |
CN109915776A (en) | The detection system and detection method of a kind of pavement of road average brightness and average illumination | |
CN105407611A (en) | Remote intelligent control system for light-compensating lamps | |
CN104185342B (en) | A kind of automotive lighting method and apparatus | |
CN107135588A (en) | Energy-saving controlling device for street lamp, system and its control method | |
CN109005630A (en) | A kind of intelligence adjusts the control device and its method of street lamp brightness | |
CN104867457A (en) | Vehicle-mounted LED lamp and LCD screen environment self-adaption brightness adjusting method and device | |
CN110979156A (en) | Automobile headlamp brightness self-adaptive adjusting device and method based on ambient light detection | |
CN110139436A (en) | Based on crowd density information interconnection type campus lighting energy saving control method | |
CN116896804B (en) | LED brightness adjustment method and intelligent lighting system | |
CN201967205U (en) | Intelligent illumination control system based on thing internet framework | |
CN103607830A (en) | Self-adaptive control method and device of LED (Light Emitting Diode) tunnel lamp on road | |
CN204680203U (en) | Electronic police anti-dazzle arrangement | |
CN113260125B (en) | Smart city street lamp control method and device, intelligent terminal and storage medium |
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 |