CN106851126B - A kind of intelligent dimming method - Google Patents

A kind of intelligent dimming method Download PDF

Info

Publication number
CN106851126B
CN106851126B CN201710232262.4A CN201710232262A CN106851126B CN 106851126 B CN106851126 B CN 106851126B CN 201710232262 A CN201710232262 A CN 201710232262A CN 106851126 B CN106851126 B CN 106851126B
Authority
CN
China
Prior art keywords
brightness value
value
frequency
led light
supplement lamp
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
Application number
CN201710232262.4A
Other languages
Chinese (zh)
Other versions
CN106851126A (en
Inventor
陈大添
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUJIAN JIEYU COMPUTER TECHNOLOGY Co Ltd
Original Assignee
FUJIAN JIEYU COMPUTER TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by FUJIAN JIEYU COMPUTER TECHNOLOGY Co Ltd filed Critical FUJIAN JIEYU COMPUTER TECHNOLOGY Co Ltd
Priority to CN201710232262.4A priority Critical patent/CN106851126B/en
Priority to CN201910789890.1A priority patent/CN110677593B/en
Publication of CN106851126A publication Critical patent/CN106851126A/en
Application granted granted Critical
Publication of CN106851126B publication Critical patent/CN106851126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention relates to field of image processing more particularly to a kind of intelligent dimming methods.The present invention passes through the frequency for configuring and generating pulse-width signal, so that fast after the brightness change of LED light supplement lamp is first slow, it is close with the change procedure that cmos sensor automatic exposure is adjusted, in the case where solving and adjusting image frame brightness using the automatic exposure function of LED light supplement lamp and cmos sensor at the same time, the problem of picture brightness light and shade as caused by interacting LED light supplement lamp and cmos sensor flashes.

Description

A kind of intelligent dimming method
Technical field
The present invention relates to field of image processing more particularly to a kind of intelligent dimming methods.
Background technique
Cmos sensor automatically adjusts the brightness of image frame by automatic exposure algorithm.In the darker situation of background environment Under, cmos sensor meets the brightness demand of entire scene by longer exposure times and increase exposure gain, causes image Noise increases, frame per second decline, or even needs stabilized image acquisition equipment to prevent from shaking, and otherwise picture can fog.To understand The certainly above problem, most application product improves the brightness of subject environment by LED light supplement lamp, to reach diminution The cmos sensor time for exposure, the purpose for reducing noise, improving frame per second, and then realize video smoothness and high image quality.
But the variation of LED light supplement lamp brightness value will affect cmos sensor and carry out automatic exposure adjusting, while CMOS is passed Sensor carries out automatic exposure and adjusts and can act on the variation of LED light supplement lamp brightness value, so that the continuous light and shade of image frame be caused to dodge It is bright.
Summary of the invention
The technical problems to be solved by the present invention are: using the automatic exposure of LED light supplement lamp and cmos sensor at the same time In the case where function point analysis image frame brightness, the picture as caused by LED light supplement lamp and cmos sensor interaction is eliminated The problem of brightness light and shade flashes.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention are as follows:
The present invention provides a kind of intelligent dimming method, comprising:
S1, the configuration frequency for generating pulse-width signal corresponding with preset quantity, form frequency unordered set;
Element in S2, the frequency unordered set that sorted from small to large according to the value of the frequency, it is orderly to obtain frequency Set;Wherein, the frequency difference of serial number is less than default serial number in the frequency ordered set element and previous element is less than pre- If difference on the frequency threshold value, the frequency difference of remaining element and previous element is greater than the predeterminated frequency difference threshold value;
S3, current ambient brightness mean value is obtained, obtains first environment brightness value;
If the difference of S4, the first environment brightness value and preset target brightness value is less than predetermined luminance difference threshold value, root The brightness value of LED light supplement lamp is adjusted step by step according to the frequency ordered set, until the ambient brightness mean value got in real time is pre- If in first object range of luminance values;
If the difference of S5, the first environment brightness value and preset target brightness value is greater than predetermined luminance difference threshold value:
S51, the brightness value that LED light supplement lamp is adjusted according to the frequency ordered set;
S52, current ambient brightness mean value is obtained, obtains second environment brightness value;
If S53, the second environment brightness value be not within the scope of default second target brightness value, according to default automatic exposure Light algorithm adjusts time for exposure and exposure gain, until the ambient brightness mean value got in real time is in default third target brightness value In range.
The beneficial effects of the present invention are: if in the range of the luminance mean value of current environment belongs to normal environment brightness, In the range of the luminance mean value of current environment is intelligently adjusted to target brightness value step by step by starting LED light supplement lamp, without opening The automatic exposure function of dynamic cmos sensor, without interaction between LED light supplement lamp and cmos sensor;If current environment it is too bright or It is too dark, then the brightness value of LED light supplement lamp is first adjusted according to frequency ordered set, so that after the brightness change of LED light supplement lamp is first slow Fastly, close with the change procedure that cmos sensor automatic exposure is adjusted, restart the automatic exposure function of cmos sensor, according to Preset automatic exposure algorithm automatic adjustment time for exposure and exposure gain, so that the brightness of current environment is in target brightness value model In enclosing, the quality of image frame is improved, during adjusting ambient brightness mean value, between LED light supplement lamp and cmos sensor The phenomenon that influencing each other very small, effectively eliminating the flashing of picture brightness light and shade.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the specific embodiment of intelligent dimming method provided by the invention.
Specific embodiment
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and cooperate attached Figure is explained.
The most critical design of the present invention is: the frequency of pulse-width signal is generated by configuring, so that LED light supplement lamp It is fast after brightness change is first slow, it is close with the change procedure that cmos sensor automatic exposure is adjusted, to effectively eliminate picture brightness The phenomenon that light and shade flashes.
Explanation of nouns:
Ambient brightness mean value The average brightness of subject peripheral region
As shown in Figure 1, the present invention provides a kind of intelligent dimming method, comprising:
S1, the configuration frequency for generating pulse-width signal corresponding with preset quantity, form frequency unordered set;
Element in S2, the frequency unordered set that sorted from small to large according to the value of the frequency, it is orderly to obtain frequency Set;Wherein, the frequency difference of serial number is less than default serial number in the frequency ordered set element and previous element is less than pre- If difference on the frequency threshold value, the frequency difference of remaining element and previous element is greater than the predeterminated frequency difference threshold value;
S3, current ambient brightness mean value is obtained, obtains first environment brightness value;
If the difference of S4, the first environment brightness value and preset target brightness value is less than predetermined luminance difference threshold value, root The brightness value of LED light supplement lamp is adjusted step by step according to the frequency ordered set, until the ambient brightness mean value got in real time is pre- If in first object range of luminance values;
If the difference of S5, the first environment brightness value and preset target brightness value is greater than predetermined luminance difference threshold value:
S51, the brightness value that LED light supplement lamp is adjusted according to the frequency ordered set;
S52, current ambient brightness mean value is obtained, obtains second environment brightness value;
If S53, the second environment brightness value be not within the scope of default second target brightness value, according to default automatic exposure Light algorithm adjusts time for exposure and exposure gain, until the ambient brightness mean value got in real time is in default third target brightness value In range.
Further, further includes:
It is 11 that the preset quantity, which is arranged,;
The default serial number 5 is set;
The predeterminated frequency difference threshold value is set are as follows: 13.
Seen from the above description, LED light supplement lamp brightness value changes the influence to ambient brightness mean value, in cmos sensor The process that automatic exposure algorithm adjusts ambient brightness mean value is close, slows down LED light supplement lamp and automatic exposure algorithm interacts The phenomenon that bring film flicker.
Further, further includes:
It is that the preset target brightness value and default LED are mended that the corresponding maximum value of the second target brightness value range, which is arranged, The sum of light lamp fault tolerance;The corresponding minimum value of the second target brightness value range is set for the preset target brightness value and institute State the difference of default LED light supplement lamp fault tolerance;The value range of the default LED light supplement lamp fault tolerance is 16 to 32;
The corresponding maximum value of the third target brightness value range is arranged to be the preset target brightness value and preset automatic The sum of exposure algorithm fault tolerance;It is the preset target brightness value that the corresponding minimum value of the third target brightness value range, which is arranged, With the difference of the default automatic exposure algorithm fault tolerance;The value range of the default automatic exposure algorithm fault tolerance is 2 to 8.
Seen from the above description, if LED light supplement lamp fault tolerance or automatic exposure algorithm fault tolerance are too big, it is difficult to accurately by ring Border luminance mean value is adjusted within the scope of normal brightness, such as under dark-state environment, since fault tolerance is too big, so that current environment brightness is also Just stop having adjusted in partially dark state;If fault tolerance is too small, easily there is the bright phenomenon of bright back light, influence image quality;It uses It is bright both can accurately to have adjusted environment for the value range of LED light supplement lamp fault tolerance provided by the invention and automatic exposure algorithm fault tolerance It spends within the scope of mean value to normal brightness, and can effectively avoid and the bright phenomenon of bright back light occur.
Further, the S51 specifically:
Configure pulsewidth ordered set corresponding with the frequency ordered set;The pulsewidth ordered set includes pulsewidth ascending order Set and pulsewidth descending set;
If the first environment brightness value is less than the preset target brightness value, successively according to the frequency ordered set The brightness value of the LED light supplement lamp is adjusted with the element in the pulsewidth ascending order set, until the brightness value of the LED light supplement lamp Have reached maximum value;
If the first environment brightness value is greater than the preset target brightness value, successively according to the frequency ordered set The brightness value of the LED light supplement lamp is adjusted with the element in the pulsewidth descending set, until the brightness value of the LED light supplement lamp Have reached minimum value.
Seen from the above description, when the brightness value of LED light supplement lamp reaches extreme value, automatic exposure algorithm can be just enabled, most Big degree reduces the amplitude of variation of time for exposure and exposure gain, advantageously reduces image noise, improves frame per second, prevents from shaking.
Further, current ambient brightness mean value is obtained, specifically:
A frame image is obtained in real time;
Division described image is detection zone corresponding with predeterminable area number;
Calculate the brightness value of each detection zone;
According to the brightness value of each detection zone, the average brightness value of described image is obtained;
Calculate the absolute difference of the brightness value of each detection zone and the average brightness value of described image;
It is object region that label, which has the corresponding detection zone of the maximum absolute difference,;
Statistics is in addition to the object region, and the average brightness in remaining region, obtains ambient brightness in described image Mean value.
Seen from the above description, it may recognize that object region, the ambient brightness being accurately obtained around subject Mean value.
Further, further includes:
It is 25 that the predeterminable area number, which is arranged,.
Further, time for exposure and exposure gain are adjusted according to default automatic exposure algorithm, specifically:
If the second environment brightness value be less than the corresponding minimum value of the third target brightness value range, increase described in Time for exposure and the exposure gain;
If the second environment brightness value be greater than the corresponding maximum value of the third target brightness value range, reduce described in Time for exposure and the exposure gain.
Further, the brightness value of LED light supplement lamp is adjusted step by step, specifically:
Configure pulsewidth corresponding from the brightness value of different series;
Pulsewidth corresponding with the series is exported by the ascending or descending order drive control device of the series.
Further, successively according to the element adjusting in the frequency ordered set and the pulsewidth ascending order set The brightness value of LED light supplement lamp, specifically:
The arteries and veins is successively exported according to the frequency drive control for generating pulse-width signal in the frequency ordered set Corresponding pulsewidth in wide ascending order set.
Further, successively according to the element adjusting in the frequency ordered set and the pulsewidth descending set The brightness value of LED light supplement lamp, specifically:
The arteries and veins is successively exported according to the frequency drive control for generating pulse-width signal in the frequency ordered set Corresponding pulsewidth in wide descending set.
Seen from the above description, the brightness value of LED light supplement lamp is changed stepwise.
The embodiment of the present invention are as follows:
S1, the configuration frequency for generating pulse-width signal corresponding with preset quantity, form frequency unordered set;
Wherein, the preset quantity is 11.
Element in S2, the frequency unordered set that sorted from small to large according to the value of the frequency, it is orderly to obtain frequency Set;Wherein, the frequency difference of serial number is less than default serial number in the frequency ordered set element and previous element is less than pre- If difference on the frequency threshold value, the frequency difference of remaining element and previous element is greater than the predeterminated frequency difference threshold value;
It wherein, include 11 frequency values in frequency unordered set, the frequency difference two-by-two between preceding 5 elements is smaller, generally It is 13, the frequency difference between being gradually increased two-by-two since the 6th element, so that LED light supplement lamp initial stage brightness change is small, Gradually brightness change is obvious.S3, current ambient brightness mean value is obtained, obtains first environment brightness value;
Wherein, the method for current ambient brightness mean value is obtained specifically:
S31, a frame image is obtained in real time;
S32, division described image are 25 detection zones;
S33, the brightness value for calculating each detection zone;
S34, according to the brightness value of each detection zone, obtain the average brightness value of described image;
The absolute difference of the average brightness value of S35, the brightness value for calculating each detection zone and described image;
It is object region that S36, label, which have the corresponding detection zone of the maximum absolute difference,;
S37, statistics are in addition to the object region, and the average brightness in remaining region, obtains environment in described image Luminance mean value;
If the difference of S4, the first environment brightness value and preset target brightness value is less than predetermined luminance difference threshold value, root The brightness value of LED light supplement lamp is adjusted step by step according to the frequency ordered set, until the ambient brightness mean value got in real time is pre- If in first object range of luminance values;
Wherein, the brightness value of LED light supplement lamp is adjusted step by step, specifically:
Configure pulsewidth corresponding from the brightness value of different series;
Pulsewidth corresponding with the series is exported by the ascending or descending order drive control device of the series.
Wherein, ambient brightness value can be changed by adjusting the brightness value of LED light supplement lamp, still, if the brightness of LED light supplement lamp The excessive amplitude of variation that will lead to ambient brightness value of value amplitude of variation is big, when ambient brightness value varies widely, and can touch It sends out LED light supplement lamp and carries out brightness regulation, so that LED light supplement lamp be caused to flash repeatedly, ambient brightness value adjusts failure.And it uses LED light supplement lamp initial stage brightness change is small, and the mode of brightness change amplitude is gradually increased in the middle and later periods again, and smooth change environment is bright The interaction of the brightness value of ambient brightness value and LED light supplement lamp is reduced to minimum, so that human eye is subtle, eliminated by angle value Scintillation.
If the difference of S5, the first environment brightness value and preset target brightness value is greater than predetermined luminance difference threshold value:
S51, the brightness value that LED light supplement lamp is adjusted according to the frequency ordered set;Specifically:
Configure pulsewidth ordered set corresponding with the frequency ordered set;The pulsewidth ordered set includes pulsewidth ascending order Set and pulsewidth descending set;
If the first environment brightness value is less than the preset target brightness value, successively according to the frequency ordered set The middle frequency drive control for generating pulse-width signal exports corresponding pulsewidth in the pulsewidth ascending order set, until described The brightness value of LED light supplement lamp has reached maximum value;
If the first environment brightness value is greater than the preset target brightness value, successively according to the frequency ordered set The middle frequency drive control for generating pulse-width signal exports corresponding pulsewidth in the pulsewidth descending set, until described The brightness value of LED light supplement lamp has reached minimum value;
S52, current ambient brightness mean value is obtained, obtains second environment brightness value;
If S53, the second environment brightness value be not within the scope of default second target brightness value, according to default automatic exposure Light algorithm adjusts time for exposure and exposure gain, until the ambient brightness mean value got in real time is in default third target brightness value In range.
Wherein, time for exposure and exposure gain are adjusted according to default automatic exposure algorithm, specifically:
If the second environment brightness value be less than the corresponding minimum value of the third target brightness value range, increase described in Time for exposure and the exposure gain;
If the second environment brightness value be greater than the corresponding maximum value of the third target brightness value range, reduce described in Time for exposure and the exposure gain;
Wherein, the corresponding maximum value of the second target brightness value range is the preset target brightness value and default LED The sum of light compensating lamp fault tolerance;The corresponding minimum value of the second target brightness value range be the preset target brightness value with it is described The difference of default LED light supplement lamp fault tolerance;The value range of the default LED light supplement lamp fault tolerance is 16 to 32;The third mesh Mark the corresponding maximum value of range of luminance values be the preset target brightness value and default automatic exposure algorithm fault tolerance and;It is described The corresponding minimum value of third target brightness value range is that the preset target brightness value and the default automatic exposure algorithm are fault-tolerant The difference of value;The value range of the default automatic exposure algorithm fault tolerance is 2 to 8.
Wherein, so-called fault tolerance represents the difference of current environment brightness value and target brightness value within the scope of what, just recognizes For the preferable picture of effect can be captured according to current ambient brightness value, passed whether through LED light supplement lamp or CMOS Sensor carries out brightness regulation, adds deduct corresponding appearance when the current environment brightness value read in real time enters preset target brightness In the range of mistake value, program is considered as brightness or exposure is adjusted and completed.
Since the fault tolerance of LED light supplement lamp is greater than the fault tolerance of automatic exposure algorithm, it ensure that LED light supplement lamp is adjusted excellent First grade is higher than automatic exposure algorithm;Specifically, during program actual operation, since LED light supplement lamp has biggish error tolerance, LED light supplement lamp can be adjusted at first makes ambient brightness value tentatively close to target value, i.e. coarse adjustment ambient brightness value;And then CMOS is sensed Device starts automatic exposure by program, continues to be adjusted in itself error tolerance, i.e. fine tuning ambient brightness value.
For example, the fault tolerance of program setting LED light supplement lamp is 16, automatic exposure algorithm fault tolerance is 4, preset target brightness Value is 80, the process adjusted according to LED light supplement lamp fault tolerance defined above and automatic exposure algorithm fault tolerance, LED light supplement lamp In, the ambient brightness value got in real time is fallen between 64 to 96, is considered as adjusting in place.Subsequent cmos sensor continues to start Automatic exposure is adjusted, and when the ambient brightness value got in real time is fallen between 76 to 84, completes exposure.
If LED light supplement lamp fault tolerance or automatic exposure algorithm fault tolerance are too big, LED light supplement lamp and cmos sensor will cause It is insensitive to ambient brightness, it is adjusted without brightness and exposure.If LED light supplement lamp fault tolerance or automatic exposure algorithm fault tolerance are too It is small, generally LED light supplement lamp cannot will occur and cmos sensor is difficult accurately to adjust ambient brightness value to mesh less than 2 It marks near brightness, the left and right in object brightness of meeting repeatedly jumps, and leads to LED light supplement lamp flashing constantly, cmos sensor exposure Bright dark variation repeatedly.
Seen from the above description, the present embodiment provides a kind of intelligent dimming method, under normal brightness environment, program passes through The brightness value for adjusting LED light supplement lamp achievees the purpose that make in current environment brightness to subject brightness range, does not need to restart The automatic exposure algorithm of cmos sensor is exposed compensation;Under dark-state environment, program can be according to the frequency ordered set of configuration It closes adjusting LED luminance value and continues to start cmos sensor if ambient brightness is not increased to subject brightness range yet to maximum value Automatic exposure algorithm be exposed compensation.Under illuminated state environment, it is bright that program can adjust LED according to the frequency ordered set of configuration Angle value continues the automatic exposure for starting cmos sensor if ambient brightness is not reduced in subject brightness range yet to minimum value Light algorithm is to reduce ambient brightness.During adjusting ambient brightness, preferentially adjusted using LED light supplement lamp, effectively reduce by In longer exposure times and increase the phenomenon that exposure gain bring image noise increases, while LED light supplement lamp and CMOS sensing Influencing each other between device is little, effectively eliminates the bright phenomenon of the bright back light of picture.
In conclusion a kind of intelligent dimming method provided by the invention, if the luminance mean value of current environment belongs to normal ring In the range of the brightness of border, then starts LED light supplement lamp and the luminance mean value of current environment is intelligently adjusted to target brightness value step by step In range, without starting the automatic exposure function of cmos sensor, without phase interaction between LED light supplement lamp and cmos sensor With;If current environment is too light or too dark, the brightness value of LED light supplement lamp is first adjusted according to frequency ordered set, so that LED light filling It is fast after the brightness change of lamp is first slow, it is close with the change procedure that cmos sensor automatic exposure is adjusted, restart cmos sensor Automatic exposure function, time for exposure and exposure gain are automatically adjusted according to preset automatic exposure algorithm, so that current environment Brightness within the scope of target brightness value, improve the quality of image frame, during adjusting ambient brightness mean value, LED mend The phenomenon that influencing each other between light lamp and cmos sensor is very small, effectively eliminates the flashing of picture brightness light and shade.Further, by upper Description is stated it is found that LED light supplement lamp brightness value changes the influence to ambient brightness mean value, with automatic exposure algorithm in cmos sensor The process for adjusting ambient brightness mean value is close, slows down LED light supplement lamp and automatic exposure algorithm interaction bring picture dodges Bright phenomenon.Further, so that being higher than automatic exposure algorithm using the priority that LED light supplement lamp dims.Cmos sensor Exposure gain can introduce image noise while increase, picture miscellaneous point occurs, influences image quality.First adjust the brightness of LED light supplement lamp It is worth calculating position, then enables exposure gain adjusting, since LED light supplement lamp has done more luminance compensations, exposure gain is not required to It draws high too much, corresponding picture noise is effectively controlled, and improves image quality.Further, when the brightness value of LED light supplement lamp reaches When to extreme value, automatic exposure algorithm can be just enabled, utmostly reduces the amplitude of variation of time for exposure and exposure gain, is conducive to Image noise is reduced, frame per second is improved, prevents from shaking.Further, it may recognize that object region, be accurately obtained subject Ambient brightness mean value around body.Further, the brightness value of LED light supplement lamp is changed stepwise.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, similarly include In scope of patent protection of the invention.

Claims (8)

1. a kind of intelligent dimming method characterized by comprising
S1, the configuration frequency for generating pulse-width signal corresponding with preset quantity, form frequency unordered set;
Element in S2, the frequency unordered set that sorted from small to large according to the value of the frequency, obtains frequency ordered set; Wherein, the frequency difference of serial number is less than default serial number in the frequency ordered set element and previous element is less than predeterminated frequency The frequency difference of poor threshold value, remaining element and previous element is greater than the predeterminated frequency difference threshold value;
S3, current ambient brightness mean value is obtained, obtains first environment brightness value;
If the difference of S4, the first environment brightness value and preset target brightness value is less than predetermined luminance difference threshold value, according to institute The brightness value that frequency ordered set adjusts LED light supplement lamp step by step is stated, until the ambient brightness mean value that gets in real time is default the Within the scope of one target brightness value;
If the difference of S5, the first environment brightness value and preset target brightness value is greater than predetermined luminance difference threshold value:
S51, the brightness value that LED light supplement lamp is adjusted according to the frequency ordered set;
S52, current ambient brightness mean value is obtained, obtains second environment brightness value;
If S53, the second environment brightness value are calculated not within the scope of default second target brightness value according to automatic exposure is preset Method adjusts time for exposure and exposure gain, until the ambient brightness mean value got in real time is in default third target brightness value range It is interior;
Wherein, further includes:
It is 11 that the preset quantity, which is arranged,;
The default serial number 5 is set;
The predeterminated frequency difference threshold value is set are as follows: 13;
Wherein, further includes:
It is the preset target brightness value and default LED light supplement lamp that the corresponding maximum value of the second target brightness value range, which is arranged, The sum of fault tolerance;Be arranged the corresponding minimum value of the second target brightness value range be the preset target brightness value with it is described pre- If the difference of LED light supplement lamp fault tolerance;The value range of the default LED light supplement lamp fault tolerance is 16 to 32;
It is the preset target brightness value and default automatic exposure that the corresponding maximum value of the third target brightness value range, which is arranged, The sum of algorithm fault tolerance;The corresponding minimum value of the third target brightness value range is set for the preset target brightness value and institute State the difference of default automatic exposure algorithm fault tolerance;The value range of the default automatic exposure algorithm fault tolerance is 2 to 8.
2. intelligent dimming method according to claim 1, which is characterized in that the S51 specifically:
Configure pulsewidth ordered set corresponding with the frequency ordered set;The pulsewidth ordered set includes pulsewidth ascending order set With pulsewidth descending set;
If the first environment brightness value is less than the preset target brightness value, successively according to the frequency ordered set and institute The brightness value that the element in pulsewidth ascending order set adjusts the LED light supplement lamp is stated, until the brightness value of the LED light supplement lamp has reached To maximum value;
If the first environment brightness value is greater than the preset target brightness value, successively according to the frequency ordered set and institute The brightness value that the element in pulsewidth descending set adjusts the LED light supplement lamp is stated, until the brightness value of the LED light supplement lamp has reached To minimum value.
3. intelligent dimming method according to claim 2, which is characterized in that obtain current ambient brightness mean value, specifically Are as follows:
A frame image is obtained in real time;
Division described image is detection zone corresponding with predeterminable area number;
Calculate the brightness value of each detection zone;
According to the brightness value of each detection zone, the average brightness value of described image is obtained;
Calculate the absolute difference of the brightness value of each detection zone and the average brightness value of described image;
It is object region that label, which has the corresponding detection zone of the maximum absolute difference,;
For statistics in addition to the object region, the average brightness in remaining region in described image obtains ambient brightness mean value.
4. intelligent dimming method according to claim 3, which is characterized in that further include:
It is 25 that the predeterminable area number, which is arranged,.
5. intelligent dimming method according to claim 4, which is characterized in that adjusted and exposed according to default automatic exposure algorithm Time and exposure gain, specifically:
If the second environment brightness value is less than the corresponding minimum value of the third target brightness value range, increase the exposure Time and the exposure gain;
If the second environment brightness value is greater than the corresponding maximum value of the third target brightness value range, reduce the exposure Time and the exposure gain.
6. intelligent dimming method according to claim 5, which is characterized in that adjust the brightness value of LED light supplement lamp, tool step by step Body are as follows:
Configure pulsewidth corresponding from the brightness value of different series;
Pulsewidth corresponding with the series is exported by the ascending or descending order drive control device of the series.
7. intelligent dimming method according to claim 6, which is characterized in that successively according to the frequency ordered set and institute The brightness value that the element in pulsewidth ascending order set adjusts the LED light supplement lamp is stated, specifically:
The pulsewidth liter is successively exported according to the frequency drive control for generating pulse-width signal in the frequency ordered set Corresponding pulsewidth in ordered sets.
8. intelligent dimming method according to claim 6, which is characterized in that successively according to the frequency ordered set and institute The brightness value that the element in pulsewidth descending set adjusts the LED light supplement lamp is stated, specifically:
Successively the pulsewidth is exported according to the frequency drive control for generating pulse-width signal in the frequency ordered set to drop Corresponding pulsewidth in ordered sets.
CN201710232262.4A 2017-04-11 2017-04-11 A kind of intelligent dimming method Active CN106851126B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710232262.4A CN106851126B (en) 2017-04-11 2017-04-11 A kind of intelligent dimming method
CN201910789890.1A CN110677593B (en) 2017-04-11 2017-04-11 Intelligent dimming method for eliminating brightness and darkness flicker of picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710232262.4A CN106851126B (en) 2017-04-11 2017-04-11 A kind of intelligent dimming method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201910789890.1A Division CN110677593B (en) 2017-04-11 2017-04-11 Intelligent dimming method for eliminating brightness and darkness flicker of picture

Publications (2)

Publication Number Publication Date
CN106851126A CN106851126A (en) 2017-06-13
CN106851126B true CN106851126B (en) 2019-09-06

Family

ID=59147426

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910789890.1A Active CN110677593B (en) 2017-04-11 2017-04-11 Intelligent dimming method for eliminating brightness and darkness flicker of picture
CN201710232262.4A Active CN106851126B (en) 2017-04-11 2017-04-11 A kind of intelligent dimming method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910789890.1A Active CN110677593B (en) 2017-04-11 2017-04-11 Intelligent dimming method for eliminating brightness and darkness flicker of picture

Country Status (1)

Country Link
CN (2) CN110677593B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820025B (en) * 2017-12-13 2020-07-03 北京小米移动软件有限公司 Method and device for photographing processing
CN108111767B (en) * 2018-01-24 2020-07-28 努比亚技术有限公司 Shooting method, terminal and computer readable storage medium
CN108513080A (en) * 2018-04-19 2018-09-07 深圳臻迪信息技术有限公司 A kind of control method and device of light filling
CN111343389B (en) * 2019-05-16 2021-09-10 杭州海康慧影科技有限公司 Automatic exposure control method and device
CN113395457B (en) * 2020-03-11 2023-03-24 浙江宇视科技有限公司 Parameter adjusting method, device and equipment of image collector and storage medium
CN111818712A (en) * 2020-07-06 2020-10-23 浙江华诺康科技有限公司 Brightness adjusting method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010141459A (en) * 2008-12-10 2010-06-24 Casio Computer Co Ltd Photographing apparatus, dimming device and program
CN102821250A (en) * 2012-08-23 2012-12-12 青岛海信网络科技股份有限公司 Automatic dimming method and device of infrared camera
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight
CN103973992A (en) * 2014-05-21 2014-08-06 深圳英飞拓科技股份有限公司 Automatic exposure method and device for LED white-light source
CN104202537A (en) * 2014-09-05 2014-12-10 天彩电子(深圳)有限公司 Dimming method for infrared camera
CN104994311A (en) * 2015-06-16 2015-10-21 青岛海信网络科技股份有限公司 Automatic adjustment light supplement method of electronic police apparatus
CN105898957A (en) * 2015-05-20 2016-08-24 深圳市光迹科技有限公司 Method for improving LED light modulation performance via variable frequency PWM

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5111100B2 (en) * 2007-12-28 2012-12-26 キヤノン株式会社 Image processing apparatus, image processing method, program, and storage medium
CN101673530B (en) * 2009-10-30 2011-11-30 福州大学 Method for integrally adjusting light of LED backlight and device thereof
CN101977285B (en) * 2010-11-29 2015-09-02 杭州海康威视数字技术股份有限公司 Camera system and image capture method
CN104144299A (en) * 2014-08-19 2014-11-12 青岛盛嘉信息科技有限公司 Automatic light supplement method for camera device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010141459A (en) * 2008-12-10 2010-06-24 Casio Computer Co Ltd Photographing apparatus, dimming device and program
CN102821250A (en) * 2012-08-23 2012-12-12 青岛海信网络科技股份有限公司 Automatic dimming method and device of infrared camera
CN103685902A (en) * 2012-09-03 2014-03-26 联想(北京)有限公司 Mobile phone using camera photosensitive chip to control flashlight
CN103973992A (en) * 2014-05-21 2014-08-06 深圳英飞拓科技股份有限公司 Automatic exposure method and device for LED white-light source
CN104202537A (en) * 2014-09-05 2014-12-10 天彩电子(深圳)有限公司 Dimming method for infrared camera
CN105898957A (en) * 2015-05-20 2016-08-24 深圳市光迹科技有限公司 Method for improving LED light modulation performance via variable frequency PWM
CN104994311A (en) * 2015-06-16 2015-10-21 青岛海信网络科技股份有限公司 Automatic adjustment light supplement method of electronic police apparatus

Also Published As

Publication number Publication date
CN110677593A (en) 2020-01-10
CN106851126A (en) 2017-06-13
CN110677593B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN106851126B (en) A kind of intelligent dimming method
CN106375645B (en) A kind of adaptive control system based on infrared eye
US10490137B2 (en) Backlight brightness adjustment method and apparatus
CN101582160B (en) Foreground detection method and device as well as adaptive threshold adjusting method and device
CN102724404B (en) All weather exposure gaining automatic regulation method and system
CN102694981B (en) Automatic exposure method based on adaptive threshold segmentation and histogram equalization
JP2006285064A (en) Image display apparatus
US9118852B2 (en) Adaptive gain control image processing system and method
CN109243383B (en) Backlight brightness adjusting method of display screen and display screen device
EP3196870A1 (en) Display with automatic image optimizing function and related image adjusting method
CN104575446A (en) Brightness adjustment method and device of display screen and air conditioner
TW201728163A (en) Image adjusting method and related displaying apparatus
CN105489193A (en) Image adjusting method and display device
CN106023885A (en) Automatic brightness adjusting method for LED display screen
CN103354600B (en) A kind of camera exposure control method with dim light adjustment and device
CN100401369C (en) Automatic regulating method of display brightness and contrast
CN111935873B (en) Method and system for dynamically adjusting PWM signal and system for dynamically controlling high-power lamp
CN100481903C (en) Adaptive LCD TV display quality adjusting apparatus and method
CN108665869A (en) Household electrical appliance and its brightness of display screen adjusting method and regulating device
CN105895055A (en) Screen brightness regulating method and regulating system as well as display device
CN110113508A (en) A kind of intelligent gamma adjustment method applied to video monitoring equipment
CN110278385A (en) Photographic device
CN112135389B (en) Method, system and device for balancing flickering frequency of breathing lamp
CN111770264B (en) Method and device for improving imaging effect of camera module and camera module
CN111351078B (en) Lampblack identification method of range hood and range hood

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant