CN108900785A - Exposal control method, device and electronic equipment - Google Patents

Exposal control method, device and electronic equipment Download PDF

Info

Publication number
CN108900785A
CN108900785A CN201811087670.6A CN201811087670A CN108900785A CN 108900785 A CN108900785 A CN 108900785A CN 201811087670 A CN201811087670 A CN 201811087670A CN 108900785 A CN108900785 A CN 108900785A
Authority
CN
China
Prior art keywords
grade
target
combination
light
exposure
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
CN201811087670.6A
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 CN201811087670.6A priority Critical patent/CN108900785A/en
Publication of CN108900785A publication Critical patent/CN108900785A/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
    • 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/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors

Abstract

The present invention proposes a kind of exposal control method, device and electronic equipment, wherein method includes:According to overexposure region in preview image and non-overexposure region, the light ratio for determining preview image is adjusted the combination of preset initial exposure amount EV grade according to light ratio, obtain the combination of target EV grade, it is combined according to target EV grade, is exposed control, the light ratio based on preview image, adjust preset higher exposure levels combination, it realizes according to different night scene brightness, dynamic adjusts higher exposure levels combination, so that can get higher image quality under the night scene mode of different brightness.It solves in the related technology, is combined using fixed EV grade, be unable to satisfy the imaging demand of different night scene brightness, cause the technical problem that image quality is lower.

Description

Exposal control method, device and electronic equipment
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of exposal control methods, device and electronic equipment.
Background technique
With being constantly progressive for mobile terminal technology, the effect requirements that user takes pictures to mobile terminal are also higher and higher, special Be not night scene effect requirements it is higher and higher, even under the bright dark biggish night scene of changes in distribution, it is also desirable to obtain clearly Imaging.
Currently, carrying out image using fixed light exposure (Expose Value, EV) setting under night scene screening-mode Acquisition, and this mode, can not be applicable in all night scene environment, cause image quality poor.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the present invention proposes a kind of exposal control method, the light ratio based on preview image adjusts preset light exposure etc. Grade combination is realized according to different night scene brightness, and dynamic adjusts higher exposure levels combination, so that the night scene mode of different brightness Under can get higher image quality.
The present invention proposes a kind of exposure-control device.
The present invention proposes a kind of electronic equipment.
The present invention proposes a kind of computer readable storage medium.
One aspect of the present invention embodiment proposes a kind of exposal control method, including:
According to overexposure region in preview image and non-overexposure region, the light ratio of the preview image is determined;
According to the light ratio, the combination of preset initial exposure amount EV grade is adjusted, obtains the combination of target EV grade;
It is combined according to the target EV grade, is exposed control.
Another aspect of the invention embodiment proposes a kind of exposure-control device, including:
Determining module, for determining the light of the preview image according to overexposure region in preview image and non-overexposure region Than;
Module is adjusted, for being adjusted to the combination of preset initial exposure amount EV grade, obtaining mesh according to the light ratio Mark the combination of EV grade;
Control module is exposed control for combining according to the target EV grade.
Another aspect of the invention embodiment proposes a kind of electronic equipment, including:Memory, processor and it is stored in storage On device and the computer program that can run on a processor, when the processor executes described program, such as aforementioned one side face is realized The exposal control method.
Another aspect of the invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence when the program is executed by processor, realizes the exposal control method as described in aforementioned one side face.
Technical solution provided by the embodiment of the present invention may include following beneficial effect:
According to overexposure region in preview image and non-overexposure region, the light ratio of preview image is determined, according to light ratio, to default Initial exposure amount EV grade combination be adjusted, obtain target EV grade combination, according to target EV grade combine, be exposed Control, the light ratio based on preview image adjust preset higher exposure levels combination, realize according to different night scene brightness, move State adjusts higher exposure levels combination, so that can get higher image quality under the night scene mode of different brightness.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is a kind of flow diagram of exposal control method provided by the embodiment of the present invention;
Fig. 2 is the flow diagram of another kind exposal control method provided by the embodiment of the present invention;
Fig. 3 is the flow diagram of another exposal control method provided by the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of exposure-control device provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of internal structure of electronic equipment 200 in one embodiment;And
Fig. 6 is the schematic diagram of image processing circuit 90 in one embodiment.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the exposal control method, device and electronic equipment of the embodiment of the present invention are described.
Fig. 1 is a kind of flow diagram of exposal control method provided by the embodiment of the present invention.
As shown in Figure 1, this approach includes the following steps:
Step 101, according to overexposure region in preview image and non-overexposure region, the light ratio of preview image is determined.
Specifically, according to the preview image currently obtained, the overexposure region and non-overexposure region in preview image is counted, is made For a kind of possible implementation, preview image is divided into the identical region of multiple areas, is divided in advance in preview image Each region determine lightness V average value, statistics lightness V average value is less than or equal to the number of the non-overexposure region of lightness threshold, And number of the lightness V average value greater than the overexposure region of lightness threshold is counted, by the number of overexposure region and non-overexposure region Ratio between number, the light ratio as preview image.
Step 102, according to light ratio, the combination of preset initial exposure amount EV grade is adjusted, target EV grade is obtained Combination.
Specifically, the target ratio for presetting light ratio, light ratio and the target ratio of the preview image currently obtained are compared It is right, according to being adjusted as a result, combining to preset initial exposure amount EV grade for comparison, obtain the combination of target EV grade.
In a scenario, if the light ratio of the preview image currently obtained is lower than target ratio, according to the light of preview image Than the degree for being lower than target ratio, the EV grade in initial EV grade combination is turned down, as a kind of possible implementation, light ratio Lower than the degree of target ratio, with turn down initial EV grade combine in the series of EV grade have positive relationship specifically can The light of default preview image is than the corresponding relationship between the degree lower than target ratio and the series for turning down EV grade, according to the correspondence Relationship turns down the series of the EV grade in initial EV grade combination, the combination of target EV grade is obtained, for example, what is currently obtained is pre- Look at image light than lower than target ratio degree be 1, then the series of EV grade is turned down 2 grades, e.g., by EV grade combination in most Low EV grade -6EV is turned down to -8EV, other EV grades, and correspondence is turned down, and is not listed one by one herein.
Under another scene, if the light ratio of the preview image currently obtained is higher than target ratio, according to preview image The EV grade in initial EV grade combination is turned up, as a kind of possible implementation, light in degree of the light than being higher than target ratio Than the degree for being higher than target ratio, be turned up initial EV grade combine in EV grade series with positive relationship, specifically, The light of preview image can be preset than the corresponding relationship between the series that is higher than the degree of target ratio and EV grade is turned up, it is right according to this It should be related to, the series of the EV grade in initial EV grade combination is turned up, the combination of target EV grade is obtained, for example, current scene is bright The degree that degree is higher than object brightness is 1, then the series of EV grade is turned up 2 grades, e.g., by EV etc. minimum in the combination of EV grade Grade -6EV is turned up to -4EV, other EV grades are corresponding to be turned up, and is not listed one by one herein.
Step 103, it is combined according to target EV grade, is exposed control.
Specifically, according to scene brightness, the corresponding exposure time of EV0 grade and sensitivity ISO are determined, according to EV0 grade Corresponding exposure time and sensitivity ISO determine the target light exposure degree of each of target EV grade combination EV grade, according to The target light exposure degree and preset ISO of each EV grade, determine the target light exposure duration of each EV grade, according to each EV grade Target light exposure duration and preset ISO, are exposed control.
In the exposal control method of the embodiment of the present invention, according to overexposure region in preview image and non-overexposure region, determine The light ratio of preview image is adjusted the combination of preset initial exposure amount EV grade, obtains target EV tier group according to light ratio It closes, is combined according to target EV grade, be exposed control, the light ratio based on preview image adjusts preset higher exposure levels group It closes, realizes according to different night scene brightness, dynamic adjusts higher exposure levels combination, so that under the night scene mode of different brightness It can get higher image quality.
Based on the above embodiment, the embodiment of the invention also provides a kind of possible implementation of exposal control method, Fig. 2 be the embodiment of the present invention provided by another kind exposal control method flow diagram, as shown in Fig. 2, step 103 it Afterwards, this method also comprises the steps of:
Step 201, it obtains that imaging sensor is exposed to control using each EV grade in the combination of target EV grade and is adopted The original image collected.
Wherein, original image refers to the almost untreated mistake directly obtained from CCD image sensor or CMOS Image, for example, original image of RAW format contained more image detail in original image, by original image Acquisition and processing obtain image, the details of brightness and dark portion in image can be made apparent, imaging can be improved Quality
Specifically, driving imaging sensor is exposed control using each EV grade in goal gradient combination respectively, acquires Corresponding original image.
Step 202, the corresponding original image of each EV grade is merged, obtains image.
Specifically, to the corresponding multiframe original image of each EV grade carry out color space conversion, by multiframe original image by Rgb space is converted to yuv space, the multiframe original image after conversion is carried out color component synthesis, as a kind of possible reality Each corresponding pixel of multiframe original image is carried out coloration letter according to weight shared by each original image by existing mode The weighted calculation for ceasing U, obtains the chrominance information U of image, similarly, weighted calculation obtains concentration information V.It is original according to each frame The luminance component of image superposition determines the brightness information Y of image.In turn, according to the brightness of determining image Information Y, chrominance information U and concentration information V, obtain image.In turn, the image that will be obtained carries out image procossing, right Image carries out noise reduction, clarity adjustment and colour correction, and converts RGB sky from yuv space for obtained image Between, for example, the image of jpeg format is obtained by hardware encoding, so that the display device for supporting RGB to show can be right Image is shown.Since the exposure parameter that each frame image got uses is different, corresponding different exposure time, because This, by synthesizing each frame image, then dark portion can be by the longer image of exposure time in the image of final output In respective pixel information compensate, highlights can be suppressed by respective pixel information in the shorter image of exposure time, Therefore, the compound imaging image of final output there is no overexposure region and is owed to expose region, and the brightness light and shade of image is excessively uniform, tool There is preferable imaging effect.
In the exposal control method of the present embodiment, the light ratio based on different preview images, dynamic adjusts the combination of EV grade In each EV grade, meet the exposure demand under different brightness scenes, while increasing dynamic range, the setting of exposure parameter Be more in line with scene brightness demand, improve shooting quality, meanwhile, by adjusting goal gradient combination in each EV grade carry out Spectrum assignment acquires original image, because original image carries more axis informations, by obtaining original image, and to acquisition Multiframe original image synthesized, further improve image quality.
Based on the above embodiment, the embodiment of the invention also provides a kind of possible implementation of exposal control method, Fig. 3 is the flow diagram of another exposal control method provided by the embodiment of the present invention, clearly illustrates how basis Goal gradient combination adjusted, determines corresponding exposure time, as shown in figure 3, step 103, can also include following sub-step Suddenly:
Step 1031, according to scene brightness, the corresponding exposure time of EV0 grade and sensitivity ISO are determined.
Specifically, according to the obtained scene brightness of light is surveyed, benchmark light exposure is determined, as a kind of possible implementation, By the survey optical module in electronic equipment, the luminance information of the corresponding preview image of present filming scene is measured, and with setting The luminance information that measurement obtains is converted, determines the corresponding exposure time of benchmark light exposure EVO and sense by lower sensitivity Luminosity ISO.
In the present embodiment, the corresponding exposure time of EV0 is indicated with gainAlignInfo.EV0Exposure, by EV0 Corresponding sensitivity ISO is indicated with gainAlignInfo.EV0BaseGain.
Step 1032, it according to the corresponding exposure time of EV0 grade and sensitivity ISO, determines in the combination of target EV grade The target light exposure degree of each EV grade.
Specifically, according to the product of EV0 grade corresponding exposure time and sensitivity, quotient fortune is done with each EV grade It calculates, that is, can determine the target light exposure degree of each EV grade, wherein the target light exposure degree of each EV grade can be used EVTimeMultiGain is indicated.
Corresponding to formula is:
Step 1033, according to the target light exposure degree and preset ISO of each EV grade, determine that the target of each EV grade exposes Light time is long.
Specifically, according to the corresponding target light exposure degree of current EV grade obtain current EV grade initial exposure duration and just Beginning ISO, as a kind of possible implementation, the initial exposure duration of current EV grade and initial ISO are based on current EV etc. The corresponding target light exposure degree of grade surveys what the correspondence table that the experiment Value Data that light obtains determines was tabled look-up in advance, has mesh in table The corresponding relationship of exposure and corresponding exposure time and ISO is marked, therefore, can determine to obtain current EV grade correspondence by tabling look-up Initial exposure duration and initial ISO.
In the embodiment of the present invention, the initial exposure duration of current EV grade is indicated with expLong.expTime, initial photosensitive Degree is indicated with expLong.gain.
Further, according to the product between the initial exposure duration and initial ISO of current EV grade, with preset ISO and The target light exposure degree of current EV grade is divided by, and obtains the target light exposure duration of current EV grade, specifically, by preset minimum The product of exposure time and minimum sensitivity is divided by with the target light exposure degree of current EV grade, obtains offset, thus, according to Offset, the initial exposure duration of current EV grade and initial ISO and preset ISO, the target for obtaining current EV grade expose Light time is long.
Corresponding to formula is:
Therefore, in the night mode, when night scene is brighter, EV grade is turned up, the value of current corresponding EV grade then compared with Greatly, for example, current EV grade is EV (- 4), then the value of EV grade is 24, the target light exposure degree of corresponding current EV grade then compared with Greatly, the offset being calculated is then smaller, so that the target light exposure duration for the EV grade being calculated is then short, conversely, the very night Scape than it is darker when, EV grade is turned down, and the value of current corresponding EV grade is then smaller, for example, current EV grade is EV (- 6), then EV The value of grade is 26, the target light exposure degree of corresponding current EV grade is then smaller, and the offset being calculated is then larger, to count The target light exposure duration of the obtained EV grade is then grown.Therefore, it is known that, when environment is brighter, EV grade adjusted is corresponding Exposure time it is also shorter, when ambient brightness is darker, the corresponding exposure time of EV grade adjusted is also longer, realizes base In ambient brightness, the dynamic range of dynamic adjustment shooting and corresponding exposure time improve image quality.
Step 1034, according to the target light exposure duration of each EV grade and preset ISO, it is exposed control.
Specifically, according to the target light exposure duration of each EV grade and preset ISO, it is exposed control respectively, increases Dynamic range, meanwhile, each EV grade is dynamically determined according to present intensity information, to realize according to different brightness, Different dynamic ranges is obtained, image quality is improved.
In the exposal control method of the embodiment of the present invention, by determining the light ratio of preview image, dynamic adjusts EV tier group Close, according to the corresponding target light exposure degree of current EV grade, obtain current EV grade initial exposure duration and initial ISO, and root According to the target light exposure degree of preset ISO and current EV grade, the target light exposure duration of current EV grade is obtained, after realizing to adjustment The combination of EV grade in the corresponding target light exposure duration of each EV grade determination so that each EV grade adjusted is corresponding Exposure time, more adapt to different night scene brightness, improve image quality.
In order to realize above-described embodiment, the present invention also proposes a kind of exposure-control device.
Fig. 4 is a kind of structural schematic diagram of exposure-control device provided in an embodiment of the present invention.
As shown in figure 4, the device includes:Determining module 41, adjustment module 42 and control module 43.
Determining module 41, for determining the light ratio of preview image according to overexposure region in preview image and non-overexposure region.
Module 42 is adjusted, for being adjusted to the combination of preset initial exposure amount EV grade, obtaining target according to light ratio The combination of EV grade.
Control module 43 is exposed control for combining according to target EV grade.
Further, in a kind of possible implementation of the embodiment of the present invention, which further includes synthesis module.
Synthesis module is exposed control using each EV grade in the combination of target EV grade to imaging sensor for obtaining The collected original image of institute;The corresponding original image of each EV grade is merged, image is obtained.
As a kind of possible implementation, above-mentioned adjustment module 42 is specifically used for:
Degree according to light than being lower than target ratio turns down the EV grade in initial EV grade combination, obtains target EV etc. Grade combination.
As a kind of possible implementation, degree of the light than being lower than target ratio and is turned down during initial EV grade combines EV grade series have positive relationship.
Alternatively, the degree according to light than being higher than target ratio, is turned up the EV grade in initial EV grade combination, obtains target The combination of EV grade.
As a kind of possible implementation, degree of the light than being higher than target ratio and is turned up during initial EV grade combines EV grade series have positive relationship.
As a kind of possible implementation, above-mentioned control module 43 is specifically used for:
According to scene brightness, the corresponding exposure time of EV0 grade and sensitivity ISO are determined;According to the corresponding exposure of EV0 grade Light time length and sensitivity ISO determine the target light exposure degree of each of target EV grade combination EV grade;According to each EV grade Target light exposure degree and preset ISO, determine the target light exposure duration of each EV grade;According to the target light exposure of each EV grade Duration and preset ISO, are exposed control.
As a kind of possible implementation, preset ISO value range is 100ISO to 200ISO.
As a kind of possible implementation, above-mentioned control module 43 is specifically also used to:
According to the corresponding target light exposure degree of current EV grade, obtain current EV grade initial exposure duration and initial ISO; Target according to the product between the initial exposure duration and initial ISO of current EV grade, with preset ISO and current EV grade Exposure is divided by, and the target light exposure duration of current EV grade is obtained.
As a kind of possible implementation, above-mentioned determining module 41 is specifically used for:
Lightness V average value is determined to each region divided in advance in preview image;Each region area is identical;It is average to count V Value is less than or equal to the number of the non-overexposure region of lightness threshold;Count the overexposure region that V average value is greater than the lightness threshold Number;Light ratio by the ratio between the number of overexposure region and the number of non-overexposure region, as preview image.
It should be noted that the aforementioned device that the embodiment is also applied for the explanation of embodiment of the method, herein not It repeats again.
In the exposure-control device of the present embodiment, by the statistics of overexposure region and non-overexposure region in preview image, The light ratio for determining preview image is adjusted the combination of preset initial exposure amount EV grade, obtains target EV etc. according to light ratio Grade combination, combines according to target EV grade, is exposed control, based on to overexposure region in preview image and non-overexposure region The ratio of number adjusts preset higher exposure levels combination, realizes according to different night scene brightness, dynamic adjusts light exposure etc. Grade combination, realizes and can get higher image quality under the night scene mode of different brightness.Meanwhile by adjusting target etc. Each EV grade is exposed control acquisition original image and passes through because original image carries more axis informations in grade combination Original image is obtained, and the multiframe original image of acquisition is synthesized, further improves image quality.
In order to realize above-described embodiment, the embodiment of the present invention also proposed a kind of electronic equipment, including:Memory, processing Device and storage on a memory and the computer program that can run on a processor, when the processor executes described program, reality The now exposal control method as described in preceding method embodiment.
Fig. 5 is the schematic diagram of internal structure of electronic equipment 200 in one embodiment.The electronic equipment 200 includes passing through to be Processor 60, the memory 50 (for example, non-volatile memory medium), built-in storage 82,83 and of display screen of bus 81 of uniting connection Input unit 84.Wherein, the memory 50 of electronic equipment 200 is stored with operating system and computer-readable instruction.The computer Readable instruction can be executed by processor 60, to realize the control method of the application embodiment.The processor 60 is based on providing Calculation and control ability, support the operation of entire electronic equipment 200.The built-in storage 50 of electronic equipment 200 is in memory 52 The operation of computer-readable instruction provides environment.The display screen 83 of electronic equipment 200 can be liquid crystal display or electronic ink Water display screen etc., input unit 84 can be the touch layer covered on display screen 83, be also possible to set on 200 shell of electronic equipment Key, trace ball or the Trackpad set, are also possible to external keyboard, Trackpad or mouse etc..The electronic equipment 200 can be Mobile phone, tablet computer, laptop, personal digital assistant or wearable device (such as Intelligent bracelet, smartwatch, intelligence The helmet, intelligent glasses) etc..It will be understood by those skilled in the art that structure shown in Fig. 5, only with application scheme phase The schematic diagram of the part-structure of pass does not constitute the restriction for the electronic equipment 200 being applied thereon to application scheme, specifically Electronic equipment 200 may include perhaps combining certain components than more or fewer components as shown in the figure or there is difference Component layout.
Referring to Fig. 6, including image processing circuit 90, image processing circuit in the electronic equipment 200 of the embodiment of the present application 90 can be realized using hardware and or software component, including define ISP (Image Signal Processing, at picture signal Reason) pipeline various processing units.Fig. 6 is the schematic diagram of image processing circuit 90 in one embodiment.As shown in fig. 6, for just In explanation, the various aspects of image processing techniques relevant to the embodiment of the present application are only shown.
As shown in fig. 6, image processing circuit 90 includes ISP processor 91 (ISP processor 91 can be processor 60) and controls Logic device 92 processed.The image data that camera 93 captures is handled by ISP processor 91 first, and ISP processor 91 is to image data It is analyzed to capture the image statistics for the one or more control parameters that can be used for determining camera 93.Camera 93 can Including one or more lens 932 and imaging sensor 934.Imaging sensor 934 may include colour filter array (such as Bayer Filter), imaging sensor 934 can obtain the luminous intensity and wavelength information that each imaging pixel captures, and provide and can be handled by ISP One group of raw image data of the processing of device 91.Sensor 94 (such as gyroscope) can be based on 94 interface type of sensor the figure of acquisition As the parameter (such as stabilization parameter) of processing is supplied to ISP processor 91.94 interface of sensor can be SMIA (Standard Mobile Imaging Architecture, Standard Mobile Imager framework) interface, other serial or parallel camera interfaces or The combination of above-mentioned interface.
In addition, raw image data can also be sent to sensor 94 by imaging sensor 934, sensor 94 can be based on sensing Raw image data is supplied to ISP processor 91 or sensor 94 and arrives raw image data storage by 94 interface type of device In video memory 95.
ISP processor 91 handles raw image data pixel by pixel in various formats.For example, each image pixel can have There is the bit depth of 8,10,12 or 14 bits, ISP processor 91 can carry out one or more image procossing behaviour to raw image data Make, statistical information of the collection about image data.Wherein, image processing operations can by identical or different bit depth precision into Row.
ISP processor 91 can also receive image data from video memory 95.For example, 94 interface of sensor is by original image Data are sent to video memory 95, and the raw image data in video memory 95 is available to ISP processor 91 for place Reason.Video memory 95 can be independent special in memory 50, a part of memory 50, storage equipment or electronic equipment It with memory, and may include DMA (Direct Memory Access, direct direct memory access (DMA)) feature.
When receiving the original from 934 interface of imaging sensor or from 94 interface of sensor or from video memory 95 When beginning image data, ISP processor 91 can carry out one or more image processing operations, such as time-domain filtering.Treated image Data can be transmitted to video memory 95, to carry out other processing before shown.ISP processor 91 is stored from image Device 95 receives processing data, and carries out at the image data in original domain and in RGB and YCbCr color space to processing data Reason.Treated that image data may be output to display 97 (display 97 may include display screen 83) for ISP processor 91, for Family is watched and/or is further processed by graphics engine or GPU (Graphics Processing Unit, graphics processor).This Outside, the output of ISP processor 91 also can be transmitted to video memory 95, and display 97 can read image from video memory 95 Data.In one embodiment, video memory 95 can be configured to realize one or more frame buffers.In addition, ISP is handled The output of device 91 can be transmitted to encoder/decoder 96, so as to encoding/decoding image data.The image data of coding can be protected It deposits, and is decompressed before being shown in 97 equipment of display.Encoder/decoder 96 can be real by CPU or GPU or coprocessor It is existing.
The statistical data that ISP processor 91 determines, which can be transmitted, gives control logic device Unit 92.For example, statistical data may include The imaging sensors such as automatic exposure, automatic white balance, automatic focusing, flicker detection, black level compensation, 932 shadow correction of lens 934 statistical informations.Control logic device 92 may include the processing element and/or microcontroller for executing one or more routines (such as firmware) Device, one or more routines can statistical data based on the received, determine the control parameter of camera 93 and the control of ISP processor 91 Parameter processed.For example, the control parameter of camera 93 may include 94 control parameter of sensor (such as the integral of gain, spectrum assignment Time, stabilization parameter etc.), camera flash control parameter, 932 control parameter of lens (such as focus or zoom focal length) or The combination of these parameters.ISP control parameter may include for automatic white balance and color adjustment (for example, during RGB processing) 932 shadow correction parameter of gain level and color correction matrix and lens.
For example, the following are the processor 60 used in Fig. 5 or with the image processing circuit 90 in Fig. 6 (at specially ISP Manage device 91) realize imaging method the step of:
01:According to overexposure region in preview image and non-overexposure region, the light ratio of preview image is determined;
02:According to light ratio, the combination of preset initial exposure amount EV grade is adjusted, obtains the combination of target EV grade;
03:It is combined according to target EV grade, is exposed control.
In order to realize above-described embodiment, the embodiment of the present invention also proposed a kind of computer readable storage medium, deposit thereon Computer program is contained, when the instruction in the storage medium is performed by processor, realization is such as preceding method embodiment institute The exposal control method stated.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used Any one of art or their combination are realized:With for data-signal realize logic function logic gates from Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention Type.

Claims (11)

1. a kind of exposal control method, which is characterized in that the described method comprises the following steps:
According to overexposure region in preview image and non-overexposure region, the light ratio of the preview image is determined;
According to the light ratio, the combination of preset initial exposure amount EV grade is adjusted, obtains the combination of target EV grade;
It is combined according to the target EV grade, is exposed control.
2. exposal control method according to claim 1, which is characterized in that it is described according to the light ratio, to preset first The combination of beginning light exposure EV grade is adjusted, and obtains the combination of target EV grade, including:
Degree according to the light than being lower than target ratio is turned down the EV grade in the initial EV grade combination, is obtained described The combination of target EV grade;
Alternatively, the degree according to the light than being higher than the target ratio, is turned up the EV grade in the initial EV grade combination, Obtain the target EV grade combination.
3. exposal control method according to claim 2, which is characterized in that
Degree of the light than being lower than target ratio, with turn down the initial EV grade combine in EV grade series with just To relationship;
Degree of the light than being higher than the target ratio, be turned up the initial EV grade combine in EV grade series tool There is positive relationship.
4. exposal control method according to claim 1, which is characterized in that it is described to be combined according to the target EV grade, It is exposed control, including:
According to the brightness of the preview image, the corresponding exposure time of EV0 grade and sensitivity ISO are determined;
According to the corresponding exposure time of the EV0 grade and sensitivity ISO, each of described target EV grade combination is determined The target light exposure degree of EV grade;
According to the target light exposure degree and preset ISO of each EV grade, the target light exposure duration of each EV grade is determined;
According to the target light exposure duration of each EV grade and preset ISO, it is exposed control.
5. exposal control method according to claim 4, which is characterized in that the preset ISO value range is 100ISO to 200ISO.
6. exposal control method according to claim 4, which is characterized in that the target light exposure according to each EV grade Degree and preset ISO, determine the target light exposure duration of each EV grade, including:
According to the corresponding target light exposure degree of current EV grade, obtain current EV grade initial exposure duration and initial ISO;
According to the product between the initial exposure duration and initial ISO of current EV grade, with preset ISO and current EV grade Target light exposure degree is divided by, and obtains the target light exposure duration of current EV grade.
7. exposal control method according to claim 1-6, which is characterized in that described according to described target EV etc. Grade combination, is exposed after control, further includes:
It obtains and the collected original of control institute is exposed using each EV grade in target EV grade combination to imaging sensor Beginning image;
The corresponding original image of each EV grade is merged, image is obtained.
8. exposal control method according to claim 1-6, which is characterized in that described according to mistake in preview image Region and non-overexposure region are exposed, determines the light ratio of the preview image, including:
Lightness V average value is determined to each region divided in advance in the preview image;Each region area is identical;
Count the number that V average value is less than or equal to the non-overexposure region of lightness threshold;
Count the number that V average value is greater than the overexposure region of the lightness threshold;
Light by the ratio between the number of the overexposure region and the number of the non-overexposure region, as the preview image Than.
9. a kind of exposure-control device, which is characterized in that described device includes:
Determining module, for determining the light ratio of the preview image according to overexposure region in preview image and non-overexposure region;
Module is adjusted, for being adjusted to the combination of preset initial exposure amount EV grade, obtaining target EV according to the light ratio Grade combination;
Control module is exposed control for combining according to the target EV grade.
10. a kind of electronic equipment, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor The computer program of upper operation when the processor executes described program, realizes the exposure as described in any in claim 1-7 Control method.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The exposal control method as described in any in claim 1-7 is realized when execution.
CN201811087670.6A 2018-09-18 2018-09-18 Exposal control method, device and electronic equipment Pending CN108900785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811087670.6A CN108900785A (en) 2018-09-18 2018-09-18 Exposal control method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811087670.6A CN108900785A (en) 2018-09-18 2018-09-18 Exposal control method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108900785A true CN108900785A (en) 2018-11-27

Family

ID=64359545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811087670.6A Pending CN108900785A (en) 2018-09-18 2018-09-18 Exposal control method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108900785A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743506A (en) * 2018-12-14 2019-05-10 维沃移动通信有限公司 A kind of image capturing method and terminal device
CN110198417A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110213484A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of photographic method, terminal device and computer readable storage medium
CN110266954A (en) * 2019-06-28 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110708475A (en) * 2019-11-27 2020-01-17 维沃移动通信有限公司 Exposure parameter determination method, electronic equipment and storage medium
CN112712471A (en) * 2019-10-25 2021-04-27 北京达佳互联信息技术有限公司 Image processing method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915811A (en) * 2016-04-08 2016-08-31 深圳英飞拓科技股份有限公司 Image strong light inhibition adaptation control method and device
US9544506B1 (en) * 2015-08-26 2017-01-10 Novatek Microelectronics Corp. Image processing method for image capturing device
CN106454145A (en) * 2016-09-28 2017-02-22 湖南优象科技有限公司 Automatic exposure method with scene self-adaptivity
CN107172364A (en) * 2017-04-28 2017-09-15 努比亚技术有限公司 A kind of image exposure compensation method, device and computer-readable recording medium
CN107592471A (en) * 2017-10-13 2018-01-16 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN108234895A (en) * 2018-01-16 2018-06-29 思特威电子科技(开曼)有限公司 It is segmented exposure image automatic exposure regulating method and system
CN108337445A (en) * 2018-03-26 2018-07-27 华为技术有限公司 Photographic method, relevant device and computer storage media

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9544506B1 (en) * 2015-08-26 2017-01-10 Novatek Microelectronics Corp. Image processing method for image capturing device
CN105915811A (en) * 2016-04-08 2016-08-31 深圳英飞拓科技股份有限公司 Image strong light inhibition adaptation control method and device
CN106454145A (en) * 2016-09-28 2017-02-22 湖南优象科技有限公司 Automatic exposure method with scene self-adaptivity
CN107172364A (en) * 2017-04-28 2017-09-15 努比亚技术有限公司 A kind of image exposure compensation method, device and computer-readable recording medium
CN107592471A (en) * 2017-10-13 2018-01-16 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN108234895A (en) * 2018-01-16 2018-06-29 思特威电子科技(开曼)有限公司 It is segmented exposure image automatic exposure regulating method and system
CN108337445A (en) * 2018-03-26 2018-07-27 华为技术有限公司 Photographic method, relevant device and computer storage media

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743506A (en) * 2018-12-14 2019-05-10 维沃移动通信有限公司 A kind of image capturing method and terminal device
CN110213484A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of photographic method, terminal device and computer readable storage medium
CN110198417A (en) * 2019-06-28 2019-09-03 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110266954A (en) * 2019-06-28 2019-09-20 Oppo广东移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN110266954B (en) * 2019-06-28 2021-04-13 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment
CN112712471A (en) * 2019-10-25 2021-04-27 北京达佳互联信息技术有限公司 Image processing method, device and equipment
CN112712471B (en) * 2019-10-25 2024-03-15 北京达佳互联信息技术有限公司 Image processing method, device and equipment
CN110708475A (en) * 2019-11-27 2020-01-17 维沃移动通信有限公司 Exposure parameter determination method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108683862B (en) Imaging control method, imaging control device, electronic equipment and computer-readable storage medium
CN109005364B (en) Imaging control method, imaging control device, electronic device, and computer-readable storage medium
CN108989700B (en) Imaging control method, imaging control device, electronic device, and computer-readable storage medium
CN109788207B (en) Image synthesis method and device, electronic equipment and readable storage medium
CN109040609A (en) Exposal control method, device and electronic equipment
CN109068067A (en) Exposal control method, device and electronic equipment
CN108833802A (en) Exposal control method, device and electronic equipment
CN108833804A (en) Imaging method, device and electronic equipment
CN108900785A (en) Exposal control method, device and electronic equipment
CN108900782A (en) Exposal control method, device and electronic equipment
CN109005342A (en) Panorama shooting method, device and imaging device
CN108683861A (en) Shoot exposal control method, device, imaging device and electronic equipment
CN109167930A (en) Image display method, device, electronic equipment and computer readable storage medium
CN109005369B (en) Exposure control method, exposure control device, electronic apparatus, and computer-readable storage medium
CN108270977A (en) Control method and device, imaging device, computer equipment and readable storage medium storing program for executing
CN108632537A (en) Control method and device, imaging device, computer equipment and readable storage medium storing program for executing
CN110248106A (en) Image denoising method, device, electronic equipment and storage medium
CN110166707A (en) Image processing method, device, electronic equipment and storage medium
US11601600B2 (en) Control method and electronic device
CN109194855A (en) Imaging method, device and electronic equipment
CN109040607B (en) Imaging control method, imaging control device, electronic device and computer-readable storage medium
CN110166706A (en) Image processing method, device, electronic equipment and storage medium
CN108683863A (en) Image formation control method, device, electronic equipment and readable storage medium storing program for executing
CN107800971B (en) Auto-exposure control processing method, device and the equipment of pan-shot
WO2020034702A1 (en) Control method, device, electronic equipment and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127

RJ01 Rejection of invention patent application after publication