CN105847706A - Method and device for dynamically adjusting exposure - Google Patents

Method and device for dynamically adjusting exposure Download PDF

Info

Publication number
CN105847706A
CN105847706A CN201610214526.9A CN201610214526A CN105847706A CN 105847706 A CN105847706 A CN 105847706A CN 201610214526 A CN201610214526 A CN 201610214526A CN 105847706 A CN105847706 A CN 105847706A
Authority
CN
China
Prior art keywords
current environment
exposure
indoor
gamma
spectrum
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.)
Pending
Application number
CN201610214526.9A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610214526.9A priority Critical patent/CN105847706A/en
Publication of CN105847706A publication Critical patent/CN105847706A/en
Pending legal-status Critical Current

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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method and a device for dynamically adjusting exposure. Whether the present environment is the indoor or outdoor environment is detected, for the indoor or the outdoor environment, different exposure control algorithms and Gamma adjusting strategies are employed, for the outdoor environment, all lines of a dark place of a viewing interface employ the long exposure time, all lines of a bright place of the viewing interface employ the short exposure time, bright place inhibition and dark place enhancement modes are employed for high contrast scenes, dynamic exposure adjustment can be realized according to the indoor and outdoor environments, and proper brightness images can be acquired through shooting.

Description

A kind of method and device of dynamic adjustment exposure
Technical field
The present invention relates to image imaging field, particularly relate to the method and device of a kind of dynamic adjustment exposure.
Background technology
When using camera or intelligent terminal to shoot, owing to indoor are common incandescent lights, outdoor is certainly So light, if indoor and outdoors all uses identical Exposure mode, the picture shot can not reach preferable Effect, because when outdoor shooting, the landscape picture that such as shooting sky joins with ground, if to sky Focusing, then the picture on ground will seem the dimest, focusing if clicking on ground, then sky Picture will be the brightest, it is impossible to provide the user with the image that brightness is suitable.
Summary of the invention
The embodiment of the present invention provides the method and device of a kind of dynamic adjustment exposure, to enter according to indoor and outdoors Mobile state adjusts exposure.
On the one hand, it is provided that the method for a kind of dynamic adjustment exposure, described method includes:
Detection current environment is indoor or outdoors;
If detecting, current environment is indoor, then select to use the first spectrum assignment algorithm and a Gamma to adjust Whole strategy, wherein, described first spectrum assignment algorithm is for the row time of exposure phase of the whole frame at interface of finding a view With, a described Gamma adjustable strategies is consistent for the adjustable strategies of described whole frame;
If detecting, current environment is outdoor, then select to use the second spectrum assignment algorithm and the 2nd Gamma to adjust Whole strategy, wherein, described second spectrum assignment algorithm uses long exposure to all row of the dark place at interface of finding a view Time, all row at the bright place at interface of finding a view are used short exposure time, described 2nd Gamma adjustable strategies Carry out the suppression of bright place for high contrast scene, dark place highlights.
Preferably, described detection current environment is indoor or outdoors, including:
Detection current environment middle infrared (Mid-IR) is relative to the ratio shared by full spectrum;
According to infrared ray described in indoor and outdoors relative to the difference of the ratio shared by full spectrum, and work as front ring Border middle infrared (Mid-IR), relative to the ratio shared by full spectrum, determines that current environment is indoor or outdoors.
Preferably, described detection current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum, including:
In acquisition setting time range, the multiple infrared ray in current environment are relative to the ratio shared by full spectrum;
Calculate the plurality of infrared ray meansigma methods relative to the ratio shared by full spectrum, as in current environment Infrared ray is relative to the ratio shared by full spectrum.
Preferably, described method also includes:
Interface of finding a view is divided into multiple region;
According to the brightness in each region, determine that described each region is dark place or bright place.
Preferably, described second spectrum assignment algorithm is automatic exposure AE algorithm, and described 2nd Gamma adjusts The span of whole strategy is 1-2.6dB.
On the other hand, it is provided that the device of a kind of dynamic adjustment exposure, described device includes:
Detection module, being used for detecting current environment is indoor or outdoors;
Selecting module, if detecting that current environment is indoor for described detection module, then selecting employing first Spectrum assignment algorithm and a Gamma adjustable strategies, wherein, described first spectrum assignment algorithm is for finding a view The row time of exposure of the whole frame at interface is identical, and a described Gamma adjustable strategies is for described whole frame Adjustable strategies is consistent;
If described selection module is additionally operable to described detection module and detects that current environment is outdoor, then select to use Second spectrum assignment algorithm and the 2nd Gamma adjustable strategies, wherein, described second spectrum assignment algorithm is to taking All row of the dark place at scape interface use long time of exposure, and all row at the bright place at interface of finding a view are used short exposure The light time, described 2nd Gamma adjustable strategies carries out the suppression of bright place for high contrast scene, dark place highlights.
Preferably, described detection module includes:
Detector unit, for detecting current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum;
Determine unit, for according to infrared ray described in indoor and outdoors relative to the ratio shared by full spectrum not With, and the current environment middle infrared (Mid-IR) that described detector unit detects is relative to the ratio shared by full spectrum, Determine that current environment is indoor or outdoors.
Preferably, described detector unit includes:
Acquiring unit, for obtaining the multiple infrared ray set in time range in current environment relative to full light Ratio shared by spectrum;
Computing unit, for calculating the plurality of infrared ray meansigma methods relative to the ratio shared by full spectrum, As current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum.
Preferably, described device also includes:
Segmentation module, for being divided into multiple region to interface of finding a view;
Determine module, for the brightness according to each region, determine that described each region is dark place or bright place.
Preferably, described second spectrum assignment algorithm is automatic exposure AE algorithm, and described 2nd Gamma adjusts The span of whole strategy is 1-2.6dB.
Implement the method and device of a kind of dynamic adjustment exposure that the embodiment of the present invention provides, have the most useful Effect:
It is indoor or outdoors by detection current environment, for indoor or outdoors, uses different spectrum assignment Algorithm and Gamma adjustable strategies, for outdoor, during to the long exposure of all row employing of the dark place at interface of finding a view Between, all row at the bright place at interface of finding a view are used short exposure time, bright place is carried out for high contrast scene and presses down System, dark place highlight, and can dynamically adjust exposure according to indoor and outdoors, shoot the figure that brightness is suitable Picture.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of the method that Fig. 1 exposes for a kind of dynamic adjustment provided according to the embodiment of the present invention;
The method of the Fig. 2 a kind of dynamic adjustment exposure for providing the embodiment of the present invention shown in Fig. 1 is further The schematic flow sheet of refinement;
Fig. 3 is the infrared ray composition curve synoptic diagram with full spectral component of example;
The structural representation of the device that Fig. 4 exposes for a kind of dynamic adjustment provided according to the embodiment of the present invention;
The device of the Fig. 5 a kind of dynamic adjustment exposure for providing the embodiment of the present invention shown in Fig. 4 is further The structural representation of refinement.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
The schematic flow sheet of the method that Fig. 1 exposes for a kind of dynamic adjustment provided according to the embodiment of the present invention, The method comprises the following steps:
S101, detection current environment is indoor or outdoors.
Owing to indoor are common incandescent lights, brightness throughout ratio is more consistent, and outdoor is nature light, everywhere Brightness is not necessarily consistent, and the difference in brightness of such as sky and ground is the biggest, if for indoor and outdoors All use same Exposure mode, be then difficult to shoot preferable image.
Detection current environment is that the mode of indoor or outdoors is the most, such as, can use detection infra-red intensity Distinguish, the following examples will be discussed in detail.
S102, if detecting, current environment is indoor, then select to use the first spectrum assignment algorithm and first Gamma adjustable strategies, wherein, described first spectrum assignment algorithm is for the row exposure of the whole frame at interface of finding a view The light time is identical, and a described Gamma adjustable strategies is consistent for the adjustable strategies of described whole frame.
When shooting, spectrum assignment algorithm and Gamma adjustable strategies can be selected.Gamma It is to show to be input to, with a kind of of digital picture, the adjustment curve that output maps.
If detecting, current environment is indoor, then select general spectrum assignment algorithm and general Gamma to adjust plan Slightly.General spectrum assignment algorithm is for particular exposure control algolithm, and general spectrum assignment algorithm refers to The whole frame all of row time of exposure at interface of finding a view is just as;General Gamma adjustable strategies is for institute The adjustable strategies stating whole frame is also consistent.
S103, if detecting, current environment is outdoor, then select to use the second spectrum assignment algorithm and second Gamma adjustable strategies, wherein, all row of the dark place at interface of finding a view are adopted by described second spectrum assignment algorithm Use long time of exposure, all row at the bright place at interface of finding a view are used short exposure time, described 2nd Gamma Adjustable strategies carries out the suppression of bright place for high contrast scene, dark place highlights.
If detecting, current environment is outdoor, then select particular exposure control algolithm and specific Gamma to adjust plan Slightly.Particular exposure control algolithm refers to that all row of the dark place to interface of finding a view use long time of exposure, to taking All row at the bright place at scape interface use short exposure time;Specific Gamma adjustable strategies is for high contrast scene Carry out the suppression of bright place, dark place highlights.Such as, when shooting the picture of sky and ground handing-over, outdoor exposure Differing greatly according to sky and ground scene brightness, select to use different row exposures, general ground uses long Exposure LE, sky uses short exposure SE, LE=X*SE (X is the numerical value more than 1).The time model of short exposure Enclosing is the minimum exposure time of sensor for shooting, and long exposure time range is the lowest frequency depending on preview Rate, mobile phone is generally 1/15 second.Under outdoor scene, the range of choice of Gamma value is then relative to indoor scene model Enclose bigger, can be dynamically to select between 1~2.6.
In the present embodiment, particular exposure control algolithm can be AE algorithm.AE full name is Auto Exposure, i.e. automatic exposure.Aperture size when aperture priority AE formula is artificially to be selected shooting by photographer, Suitable exposure is automatically selected according to information such as scene brightness, CCD light sensitivitys and the artificial apertures selected by camera The auto exposure mode of the aperture time required by light, namely aperture is manual, the aperture time side of exposure automatically Formula.This Exposure mode is used primarily in the shooting occasion that need to pay the utmost attention to the depth of field, as shooting landscape, portrait or Macroshot etc..
The method of a kind of dynamic adjustment exposure provided according to embodiments of the present invention, by detection current environment be Indoor or outdoors, for indoor or outdoors, uses different spectrum assignment algorithms and Gamma adjustable strategies, For outdoor, all row of the dark place at interface of finding a view are used long time of exposure, to the bright place at interface of finding a view All row use short exposure time, carry out the suppression of bright place for high contrast scene, dark place highlights, can basis Indoor and outdoors dynamically adjusts exposure, shoots the image that brightness is suitable.
The method of the Fig. 2 a kind of dynamic adjustment exposure for providing the embodiment of the present invention shown in Fig. 1 is further The schematic flow sheet of refinement, the method comprises the following steps:
S201, detection current environment middle infrared (Mid-IR) is relative to the ratio shared by full spectrum.
The when that user opening camera, open ambient light sensor, read infra-red intensity relative to full spectrum Shared ratio, and scale segment is added up, ratio can be divided into (0%, < 10%, < 20%, < 30%... < 90%, < 100%).Fig. 3 is the infrared ray composition curve synoptic diagram with full spectral component of example, wherein curve ch1 Represent is ultrared change, and what curve ch0 represented is the change of all of spectrum.Ch1/ch0 means that Infrared ray is relative to the ratio shared by full spectrum.
Specifically, detection current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum, including:
In acquisition setting time range, the multiple infrared ray in current environment are relative to the ratio shared by full spectrum;
Calculate the plurality of infrared ray meansigma methods relative to the ratio shared by full spectrum, as in current environment Infrared ray is relative to the ratio shared by full spectrum.
By the calculating of the meansigma methods of proportion, current environment middle infrared (Mid-IR) can be obtained more accurately relative In the ratio shared by full spectrum.
S202, according to infrared ray described in indoor and outdoors relative to the difference of the ratio shared by full spectrum, and Current environment middle infrared (Mid-IR), relative to the ratio shared by full spectrum, determines that current environment is indoor or outdoors.
The infrared ray difference of indoor and outdoor is relatively big, if indoor are common incandescent light modulations, infrared ray ratio is past Toward being all less than 20%, and the infra-red intensity of outdoor is the most all higher than 35%, and certainly, weather is for infrared The impact of line strength is the biggest, such as the cloudy day is the most all about 35%, and fine day is then higher than 45%.
Generally the infrared ratio of outdoor scene more than 75% is all at 21%--40%, and this ratio of indoor scene Example is less than 5%;It addition, indoor scene has the ratio of 10% to be invalid, and outdoor scene do not exist invalid Statistics ratio.By the result of above-mentioned calculating, the probability of more than 90% know currently be belonging to indoor or outdoor (light or natural light).
S203, if detecting, current environment is indoor, then select to use the first spectrum assignment algorithm and first Gamma adjustable strategies, wherein, described first spectrum assignment algorithm is for the row exposure of the whole frame at interface of finding a view The light time is identical, and a described Gamma adjustable strategies is consistent for the adjustable strategies of described whole frame.
If detecting, current environment is indoor, then select general spectrum assignment algorithm and general Gamma to adjust plan Slightly.General spectrum assignment algorithm is for particular exposure control algolithm, and general spectrum assignment algorithm refers to The whole frame all of row time of exposure at interface of finding a view is just as;General Gamma adjustable strategies is for institute The adjustable strategies stating whole frame is also consistent.
S204, if detecting, current environment is outdoor, then interface of finding a view is divided into multiple region.
S205, according to the brightness in each region, determines that described each region is dark place or bright place.
If detecting, current environment is outdoor, sky and the boundary identification on ground, can be by being split by picture And brightness is carried out statistics be identified.
S206, selects to use the second spectrum assignment algorithm and the 2nd Gamma adjustable strategies, wherein, and described the Two spectrum assignment algorithms use long time of exposure to all row of the dark place at interface of finding a view, bright to interface of finding a view All row at place use short exposure time, and described 2nd Gamma adjustable strategies carries out bright for high contrast scene Place's suppression, dark place highlight.
If detecting, current environment is outdoor, then select particular exposure control algolithm and specific Gamma to adjust plan Slightly.Particular exposure control algolithm refers to that all row of the dark place to interface of finding a view use long time of exposure, to taking All row at the bright place at scape interface use short exposure time;Specific Gamma adjustable strategies is for high contrast scene Carry out the suppression of bright place, dark place highlights.
The method of a kind of dynamic adjustment exposure provided according to embodiments of the present invention, by detection current environment be Indoor or outdoors, for indoor or outdoors, uses different spectrum assignment algorithms and Gamma adjustable strategies, For outdoor, all row of the dark place at interface of finding a view are used long time of exposure, to the bright place at interface of finding a view All row use short exposure time, carry out the suppression of bright place for high contrast scene, dark place highlights, can basis Indoor and outdoors dynamically adjusts exposure, shoots the image that brightness is suitable.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all stated For a series of combination of actions, but those skilled in the art should know, the present invention is not by described The restriction of sequence of movement, because according to the present invention, some step can use other orders or carry out simultaneously. Secondly, those skilled in the art also should know, embodiment described in this description belongs to be preferable to carry out Example, necessary to involved action and the module not necessarily present invention.
The structural representation of the device that Fig. 4 exposes for a kind of dynamic adjustment provided according to the embodiment of the present invention, This device 1000 includes:
Detection module 11, being used for detecting current environment is indoor or outdoors.
Owing to indoor are common incandescent lights, brightness throughout ratio is more consistent, and outdoor is nature light, everywhere Brightness is not necessarily consistent, and the difference in brightness of such as sky and ground is the biggest, if for indoor and outdoors All use same Exposure mode, be then difficult to shoot preferable image.
It is that the mode of indoor or outdoors is the most that detection module 11 detects current environment, such as, can use detection Infra-red intensity is distinguished, and will be discussed in detail in the following examples.
Selecting module 12, if detecting that current environment is indoor for described detection module, then selecting employing the One spectrum assignment algorithm and a Gamma adjustable strategies, wherein, described first spectrum assignment algorithm is for taking The row time of exposure of the whole frame at scape interface is identical, and a described Gamma adjustable strategies is for described whole frame Adjustable strategies consistent.
When shooting, module 12 is selected can spectrum assignment algorithm and Gamma adjustable strategies to be carried out Select.Gamma is to show to be input to, with a kind of of digital picture, the adjustment curve that output maps.
If detecting, current environment is indoor, then select module 12 to select general spectrum assignment algorithm and general Gamma adjustable strategies.General spectrum assignment algorithm for particular exposure control algolithm, general exposure Control algolithm refers to find a view what the whole frame all of row time of exposure at interface was just as;General Gamma adjusts Whole strategy is also consistent for the adjustable strategies of described whole frame.
If selecting module 12 to be additionally operable to described detection module detect that current environment is outdoor, then select employing the Two spectrum assignment algorithms and the 2nd Gamma adjustable strategies, wherein, described second spectrum assignment algorithm is to finding a view All row of the dark place at interface use long time of exposure, and all row at the bright place at interface of finding a view are used short exposure Time, described 2nd Gamma adjustable strategies carries out the suppression of bright place for high contrast scene, dark place highlights.
If detecting, current environment is outdoor, then select module 12 to select particular exposure control algolithm and specific Gamma adjustable strategies.Particular exposure control algolithm refers to that all row of the dark place to interface of finding a view use long exposure The light time, all row at the bright place at interface of finding a view are used short exposure time;Specific Gamma adjustable strategies pair Carry out the suppression of bright place in high contrast scene, dark place highlights.Such as, at shooting sky and the picture of ground handing-over Time, outdoor exposure differs greatly according to sky and ground scene brightness, selects to use different row to expose, one As ground use long exposure LE, sky uses short exposure SE, LE=X*SE (X is the numerical value more than 1).Short The time range of exposure is the minimum exposure time of sensor for shooting, and long exposure time range is for depending on The low-limit frequency of preview, mobile phone is generally 1/15 second.The range of choice of Gamma value then phase under outdoor scene Bigger to indoor scene scope, can be dynamically to select between 1~2.6.
In the present embodiment, particular exposure control algolithm can be AE algorithm.AE full name is Auto Exposure, i.e. automatic exposure.Aperture size when aperture priority AE formula is artificially to be selected shooting by photographer, Suitable exposure is automatically selected according to information such as scene brightness, CCD light sensitivitys and the artificial apertures selected by camera The auto exposure mode of the aperture time required by light, namely aperture is manual, the aperture time side of exposure automatically Formula.This Exposure mode is used primarily in the shooting occasion that need to pay the utmost attention to the depth of field, as shooting landscape, portrait or Macroshot etc..
The device of a kind of dynamic adjustment exposure provided according to embodiments of the present invention, by detection current environment be Indoor or outdoors, for indoor or outdoors, uses different spectrum assignment algorithms and Gamma adjustable strategies, For outdoor, all row of the dark place at interface of finding a view are used long time of exposure, to the bright place at interface of finding a view All row use short exposure time, carry out the suppression of bright place for high contrast scene, dark place highlights, can basis Indoor and outdoors dynamically adjusts exposure, shoots the image that brightness is suitable.
The device of the Fig. 5 a kind of dynamic adjustment exposure for providing the embodiment of the present invention shown in Fig. 4 is further The structural representation of refinement, this device 2000 includes:
Detection module 21, being used for detecting current environment is indoor or outdoors.
In the present embodiment, detection module 21 includes detector unit 211 and determines unit 212.
Detector unit 211, for detecting current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum.
The when that user opening camera, open ambient light sensor, read infra-red intensity relative to full spectrum Shared ratio, and scale segment is added up, ratio can be divided into (0%, < 10%, < 20%, < 30%... < 90%, < 100%).Fig. 3 is the infrared ray composition curve synoptic diagram with full spectral component of example, wherein curve ch1 Represent is ultrared change, and what curve ch0 represented is the change of all of spectrum.Ch1/ch0 means that Infrared ray is relative to the ratio shared by full spectrum.
Specifically, detector unit 211 includes: acquiring unit and computing unit (not shown).
Acquiring unit, for obtaining the multiple infrared ray set in time range in current environment relative to full light Ratio shared by spectrum;
Computing unit, for calculating the plurality of infrared ray meansigma methods relative to the ratio shared by full spectrum, As current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum.
By the calculating of the meansigma methods of proportion, current environment middle infrared (Mid-IR) can be obtained more accurately relative In the ratio shared by full spectrum.
Determine unit 212, be used for according to infrared ray described in indoor and outdoors relative to the ratio shared by full spectrum Difference, and current environment middle infrared (Mid-IR) is relative to the ratio shared by full spectrum, determines that current environment is indoor Or it is outdoor.
The infrared ray difference of indoor and outdoor is relatively big, if indoor are common incandescent light modulations, infrared ray ratio is past Toward being all less than 20%, and the infra-red intensity of outdoor is the most all higher than 35%, and certainly, weather is for infrared The impact of line strength is the biggest, such as the cloudy day is the most all about 35%, and fine day is then higher than 45%.
Generally the infrared ratio of outdoor scene more than 75% is all at 21%--40%, and this ratio of indoor scene Example is less than 5%;It addition, indoor scene has the ratio of 10% to be invalid, and outdoor scene do not exist invalid Statistics ratio.By the result of above-mentioned calculating, the probability of more than 90% know currently be belonging to indoor or outdoor (light or natural light).
Selecting module 24, if detecting that current environment is indoor for described detection module, then selecting employing the One spectrum assignment algorithm and a Gamma adjustable strategies, wherein, described first spectrum assignment algorithm is for taking The row time of exposure of the whole frame at scape interface is identical, and a described Gamma adjustable strategies is for described whole frame Adjustable strategies consistent.
If detecting, current environment is indoor, then select module 24 to select general spectrum assignment algorithm and general Gamma adjustable strategies.General spectrum assignment algorithm for particular exposure control algolithm, general exposure Control algolithm refers to find a view what the whole frame all of row time of exposure at interface was just as;General Gamma adjusts Whole strategy is also consistent for the adjustable strategies of described whole frame.
For described detection module, segmentation module 22, if detecting that current environment is outdoor, then to interface of finding a view It is divided into multiple region.
Determine module 23, for the brightness according to each region, determine that described each region is dark place or bright place.
If detecting, current environment is outdoor, sky and the boundary identification on ground, can be by being split by picture And brightness is carried out statistics be identified.
Module 24 is selected to be additionally operable to select to use the second spectrum assignment algorithm and the 2nd Gamma adjustable strategies, Wherein, described second spectrum assignment algorithm uses long time of exposure to all row of the dark place at interface of finding a view, right Find a view interface bright place all row use short exposure time, described 2nd Gamma adjustable strategies is anti-for height Scene carries out the suppression of bright place to difference, dark place highlights.
If detecting, current environment is outdoor, then select module 24 to select particular exposure control algolithm and specific Gamma adjustable strategies.Particular exposure control algolithm refers to that all row of the dark place to interface of finding a view use long exposure The light time, all row at the bright place at interface of finding a view are used short exposure time;Specific Gamma adjustable strategies pair Carry out the suppression of bright place in high contrast scene, dark place highlights.
The device of a kind of dynamic adjustment exposure provided according to embodiments of the present invention, by detection current environment be Indoor or outdoors, for indoor or outdoors, uses different spectrum assignment algorithms and Gamma adjustable strategies, For outdoor, all row of the dark place at interface of finding a view are used long time of exposure, to the bright place at interface of finding a view All row use short exposure time, carry out the suppression of bright place for high contrast scene, dark place highlights, can basis Indoor and outdoors dynamically adjusts exposure, shoots the image that brightness is suitable.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detail The part stated, may refer to the associated description of other embodiments.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive this Bright can realize with hardware, or firmware realizes, or combinations thereof mode realizes.Realize when using software Time, above-mentioned functions can be stored in computer-readable medium or as on computer-readable medium Or multiple instruction or code are transmitted.Computer-readable medium includes computer-readable storage medium and communication media, Wherein communication media includes any medium being easy to transmit computer program to another place from a place. Storage medium can be any usable medium that computer can access.As example but be not limited to: computer Computer-readable recording medium can include random access memory (Random Access Memory, RAM), read-only storage Device (Read-Only Memory, ROM), EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other optical disc storage, magnetic disk storage medium or other magnetic storage apparatus or Can be used in carrying or store and there is instruction or the desired program code of data structure form can be by calculating Any other medium of machine access.In addition.Any connection can be suitable become computer-readable medium.Example As, if software is to use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line (Digital Subscriber Line, DSL) or the wireless technology of such as infrared ray, radio and microwave etc from website, server or Other remote source of person, then coaxial cable, optical fiber cable, twisted-pair feeder, DSL or the most infrared The wireless technology of line, wireless and microwave etc be included in affiliated medium fixing in.As used in the present invention, Dish (Disk) and dish (disc) include compress laser disc (CD), laser dish, laser disc, Digital Versatile Disc (DVD), Floppy disk and Blu-ray Disc, the duplication data of the usual magnetic of its mid-game, dish then carrys out the duplication number of optics with laser According to.Within above combination above should also be as being included in the protection domain of computer-readable medium.
In a word, the foregoing is only the preferred embodiment of technical solution of the present invention, be not intended to limit this The protection domain of invention.All within the spirit and principles in the present invention, any amendment of being made, equivalent, Improve, should be included within the scope of the present invention.

Claims (10)

1. the method for a dynamic adjustment exposure, it is characterised in that described method includes:
Detection current environment is indoor or outdoors;
If detecting, current environment is indoor, then select to use the first spectrum assignment algorithm and a Gamma to adjust Whole strategy, wherein, described first spectrum assignment algorithm is for the row time of exposure phase of the whole frame at interface of finding a view With, a described Gamma adjustable strategies is consistent for the adjustable strategies of described whole frame;
If detecting, current environment is outdoor, then select to use the second spectrum assignment algorithm and the 2nd Gamma to adjust Whole strategy, wherein, described second spectrum assignment algorithm uses long exposure to all row of the dark place at interface of finding a view Time, all row at the bright place at interface of finding a view are used short exposure time, described 2nd Gamma adjustable strategies Carry out the suppression of bright place for high contrast scene, dark place highlights.
2. the method for claim 1, it is characterised in that described detection current environment is indoor or room Outward, including:
Detection current environment middle infrared (Mid-IR) is relative to the ratio shared by full spectrum;
According to infrared ray described in indoor and outdoors relative to the difference of the ratio shared by full spectrum, and work as front ring Border middle infrared (Mid-IR), relative to the ratio shared by full spectrum, determines that current environment is indoor or outdoors.
3. method as claimed in claim 2, it is characterised in that described detection current environment middle infrared (Mid-IR) phase For the ratio shared by full spectrum, including:
In acquisition setting time range, the multiple infrared ray in current environment are relative to the ratio shared by full spectrum;
Calculate the plurality of infrared ray meansigma methods relative to the ratio shared by full spectrum, as in current environment Infrared ray is relative to the ratio shared by full spectrum.
4. the method for claim 1, it is characterised in that described method also includes:
Interface of finding a view is divided into multiple region;
According to the brightness in each region, determine that described each region is dark place or bright place.
5. the method as described in claim 1-4 any one, it is characterised in that described second spectrum assignment Algorithm is automatic exposure AE algorithm, and the span of described 2nd Gamma adjustable strategies is 1-2.6dB.
6. the device of a dynamic adjustment exposure, it is characterised in that described device includes:
Detection module, being used for detecting current environment is indoor or outdoors;
Selecting module, if detecting that current environment is indoor for described detection module, then selecting employing first Spectrum assignment algorithm and a Gamma adjustable strategies, wherein, described first spectrum assignment algorithm is for finding a view The row time of exposure of the whole frame at interface is identical, and a described Gamma adjustable strategies is for described whole frame Adjustable strategies is consistent;
If described selection module is additionally operable to described detection module and detects that current environment is outdoor, then select to use Second spectrum assignment algorithm and the 2nd Gamma adjustable strategies, wherein, described second spectrum assignment algorithm is to taking All row of the dark place at scape interface use long time of exposure, and all row at the bright place at interface of finding a view are used short exposure The light time, described 2nd Gamma adjustable strategies carries out the suppression of bright place for high contrast scene, dark place highlights.
7. device as claimed in claim 6, it is characterised in that described detection module includes:
Detector unit, for detecting current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum;
Determine unit, for according to infrared ray described in indoor and outdoors relative to the ratio shared by full spectrum not With, and the current environment middle infrared (Mid-IR) that described detector unit detects is relative to the ratio shared by full spectrum, Determine that current environment is indoor or outdoors.
8. device as claimed in claim 7, it is characterised in that described detector unit includes:
Acquiring unit, for obtaining the multiple infrared ray set in time range in current environment relative to full light Ratio shared by spectrum;
Computing unit, for calculating the plurality of infrared ray meansigma methods relative to the ratio shared by full spectrum, As current environment middle infrared (Mid-IR) relative to the ratio shared by full spectrum.
9. device as claimed in claim 6, it is characterised in that described device also includes:
Segmentation module, for being divided into multiple region to interface of finding a view;
Determine module, for the brightness according to each region, determine that described each region is dark place or bright place.
10. the device as described in claim 6-9 any one, it is characterised in that described second spectrum assignment Algorithm is automatic exposure AE algorithm, and the span of described 2nd Gamma adjustable strategies is 1-2.6dB.
CN201610214526.9A 2016-04-07 2016-04-07 Method and device for dynamically adjusting exposure Pending CN105847706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610214526.9A CN105847706A (en) 2016-04-07 2016-04-07 Method and device for dynamically adjusting exposure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610214526.9A CN105847706A (en) 2016-04-07 2016-04-07 Method and device for dynamically adjusting exposure

Publications (1)

Publication Number Publication Date
CN105847706A true CN105847706A (en) 2016-08-10

Family

ID=56596994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610214526.9A Pending CN105847706A (en) 2016-04-07 2016-04-07 Method and device for dynamically adjusting exposure

Country Status (1)

Country Link
CN (1) CN105847706A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463052A (en) * 2017-08-30 2017-12-12 北京小米移动软件有限公司 Shoot exposure method and device
CN108900783A (en) * 2018-09-03 2018-11-27 北京控制工程研究所 A kind of automatic explosion method suitable for big temperature difference operative scenario
CN110266946A (en) * 2019-06-25 2019-09-20 普联技术有限公司 One kind is taken pictures effect automatic optimization method, device, storage medium and terminal device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1211137A (en) * 1997-07-25 1999-03-17 松下电器产业株式会社 Apparatus and method for automatic color temperature correction
CN1753459A (en) * 2004-09-22 2006-03-29 富士施乐株式会社 Object taking condition determining apparatus, image quality regulator and image taking apparatus
CN101075428A (en) * 2007-06-26 2007-11-21 四川长虹电器股份有限公司 Method for correcting multi-segmented Gamma curve
CN101102408A (en) * 2006-07-07 2008-01-09 奥林巴斯映像株式会社 Camera and image processing method of camera
CN101360192A (en) * 2008-08-15 2009-02-04 苏州大学 Digital optical imaging system and imaging method thereof
CN102238339A (en) * 2011-06-21 2011-11-09 深圳市先河系统技术有限公司 Method for compensating backlight
CN103581563A (en) * 2012-07-18 2014-02-12 索尼公司 Image capturing device, image capturing device control method and program
CN104038703A (en) * 2014-05-26 2014-09-10 四川长虹电器股份有限公司 Digital camera photosensitive self-adaptation control method
CN104320642A (en) * 2014-10-11 2015-01-28 广东欧珀移动通信有限公司 Picture processing method and device
CN104657575A (en) * 2014-08-11 2015-05-27 王丽丽 Light source and environment analyzing method based on light sensor
CN105323495A (en) * 2014-05-30 2016-02-10 原相科技(槟城)有限公司 Region based shutter adaptation method for image exposure
CN105450937A (en) * 2014-08-29 2016-03-30 展讯通信(上海)有限公司 Image processing method and image processor

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1211137A (en) * 1997-07-25 1999-03-17 松下电器产业株式会社 Apparatus and method for automatic color temperature correction
CN1753459A (en) * 2004-09-22 2006-03-29 富士施乐株式会社 Object taking condition determining apparatus, image quality regulator and image taking apparatus
CN101102408A (en) * 2006-07-07 2008-01-09 奥林巴斯映像株式会社 Camera and image processing method of camera
CN101075428A (en) * 2007-06-26 2007-11-21 四川长虹电器股份有限公司 Method for correcting multi-segmented Gamma curve
CN101360192A (en) * 2008-08-15 2009-02-04 苏州大学 Digital optical imaging system and imaging method thereof
CN102238339A (en) * 2011-06-21 2011-11-09 深圳市先河系统技术有限公司 Method for compensating backlight
CN103581563A (en) * 2012-07-18 2014-02-12 索尼公司 Image capturing device, image capturing device control method and program
CN104038703A (en) * 2014-05-26 2014-09-10 四川长虹电器股份有限公司 Digital camera photosensitive self-adaptation control method
CN105323495A (en) * 2014-05-30 2016-02-10 原相科技(槟城)有限公司 Region based shutter adaptation method for image exposure
CN104657575A (en) * 2014-08-11 2015-05-27 王丽丽 Light source and environment analyzing method based on light sensor
CN105450937A (en) * 2014-08-29 2016-03-30 展讯通信(上海)有限公司 Image processing method and image processor
CN104320642A (en) * 2014-10-11 2015-01-28 广东欧珀移动通信有限公司 Picture processing method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
(美)博斯(BOSE,T.): "《数字信号与图像处理 翻译版》", 31 July 2006, 高等教育出版社 *
中国刑事警察学院编: "《刑事照相》", 31 January 1984 *
季伟东等: "《多媒体技术基础及应用(第2版)》", 1 October 2015, 清华大学出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463052A (en) * 2017-08-30 2017-12-12 北京小米移动软件有限公司 Shoot exposure method and device
CN107463052B (en) * 2017-08-30 2020-08-11 北京小米移动软件有限公司 Shooting exposure method and device
CN108900783A (en) * 2018-09-03 2018-11-27 北京控制工程研究所 A kind of automatic explosion method suitable for big temperature difference operative scenario
CN110266946A (en) * 2019-06-25 2019-09-20 普联技术有限公司 One kind is taken pictures effect automatic optimization method, device, storage medium and terminal device
CN110266946B (en) * 2019-06-25 2021-06-25 普联技术有限公司 Photographing effect automatic optimization method and device, storage medium and terminal equipment

Similar Documents

Publication Publication Date Title
CN108419023B (en) Method for generating high dynamic range image and related equipment
CN109644224B (en) System and method for capturing digital images
CN109068056B (en) Electronic equipment, filter processing method of image shot by electronic equipment and storage medium
US9106879B2 (en) Apparatus and method for automatic white balance with supplementary sensors
CN107948538B (en) Imaging method, imaging device, mobile terminal and storage medium
US10325354B2 (en) Depth assisted auto white balance
CN105227857B (en) A kind of method and apparatus of automatic exposure
CN105635565A (en) Shooting method and equipment
CN105898260A (en) Method and device of adjusting camera white balance
CN103518223A (en) White balance optimization with high dynamic range images
CN104853106A (en) Information processing method and electronic equipment
CN105516507A (en) Information processing method and electronic equipment
CN107404647A (en) Camera lens condition detection method and device
CN104853094A (en) Photographing method and device
CN105847705A (en) Method and device for adjusting camera exposure time
CN112017137B (en) Image processing method, device, electronic equipment and computer readable storage medium
WO2019019904A1 (en) White balance processing method and apparatus, and terminal
CN108322651A (en) Image pickup method and device, electronic equipment, computer readable storage medium
CN105578062A (en) Light metering mode selection method and image acquisition device utilizing same
Torres et al. Optimal camera exposure for video surveillance systems by predictive control of shutter speed, aperture, and gain
CN105847706A (en) Method and device for dynamically adjusting exposure
CN108012135B (en) Image processing method and device, computer readable storage medium and computer equipment
CN111654643B (en) Exposure parameter determination method and device, unmanned aerial vehicle and computer readable storage medium
JP2006174281A (en) Image processing apparatus, method, and computer program
US20190349535A1 (en) Intelligent photographing method and apparatus, and intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810