CN110113539A - Exposal control method, device, electronic equipment and storage medium - Google Patents
Exposal control method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110113539A CN110113539A CN201910509717.1A CN201910509717A CN110113539A CN 110113539 A CN110113539 A CN 110113539A CN 201910509717 A CN201910509717 A CN 201910509717A CN 110113539 A CN110113539 A CN 110113539A
- Authority
- CN
- China
- Prior art keywords
- exposure
- image
- collected
- frame image
- exposure time
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application proposes a kind of exposal control method, device, electronic equipment and storage medium, wherein, method includes: by obtaining preview image, after identification preview image belongs to night scene scene, in response to user's operation, night scene exposure mode is selected, according to night scene exposure mode, the exposure parameter for determining each frame image to be collected is exposed control using exposure parameter.Thus, under night scene photographed scene, the technical issues of realizing and night scene exposure mode is selected according to the self-demand of user, avoid the demand for not meeting user when night scene exposure mode is arranged in imaging device automatically, causing the image of shooting that the shooting effect of anticipation is not achieved.
Description
Technical field
This application involves technical field of image processing more particularly to a kind of exposal control method, device, electronic equipment and
Storage medium.
Background technique
With the continuous development of shooting technology and the extensive use of intelligent mobile terminal, intelligent mobile terminal is to people's
Daily to take pictures while bring convenient, requirement of the people to the picture quality of shooting is also higher and higher, and especially in night scene, this is special
In different scene, picture quality is lower.
During night scene shooting, intelligent mobile terminal can judge that user is hand-held racket according to the information of gyroscope
According to mobile phone is still fixed on foot prop photographs, in turn, it is divided into both of which: hand-held mode or foot prop mode.But in reality
During border is shot, there is a situation where to lead to judgement inaccuracy due to error, so that user be allowed to want using foot prop mode
When accidentally into hand-held mode, or hand-held very steady situation is taken but accidentally into foot prop mode, to reach so as to cause the image of shooting
Less than the shooting effect of anticipation.
Summary of the invention
The application is intended to solve at least some of the technical problems in related technologies.
The application's proposes a kind of exposal control method, device, electronic equipment and storage medium, to realize according to user
Self-demand select night scene exposure mode, avoid the need that user is not met when night scene exposure mode is arranged in imaging device automatically
The technical issues of asking, causing the image of shooting that the shooting effect of anticipation is not achieved.
The application first aspect embodiment proposes a kind of exposal control method, comprising:
Obtain preview image;
Identify that the preview image belongs to night scene scene;
In response to user's operation, night scene exposure mode is selected;
According to night scene exposure mode, the exposure parameter of each frame image to be collected is determined;
Control is exposed using the exposure parameter.
The exposal control method of the embodiment of the present application, by obtaining preview image, identification preview image belongs to night scene scene
Afterwards, in response to user's operation, night scene exposure mode is selected to determine the exposure of each frame image to be collected according to night scene exposure mode
Parameter is exposed control using exposure parameter.As a result, under night scene photographed scene, the self-demand according to user is realized
Night scene exposure mode is selected, the demand for not meeting user when night scene exposure mode is arranged in imaging device automatically is avoided, causes to clap
The technical issues of shooting effect of anticipation is not achieved in the image taken the photograph.
The application second aspect embodiment proposes a kind of exposure-control device, comprising:
Module is obtained, for obtaining preview image;
Identification module, the preview image belongs to night scene scene for identification;
Selecting module, for selecting night scene exposure mode in response to user's operation;
Determining module, for determining the exposure parameter of each frame image to be collected according to the night scene exposure mode;
Control module, for being exposed control using the exposure parameter.
The exposure-control device of the embodiment of the present application, by obtaining preview image, identification preview image belongs to night scene scene
Afterwards, in response to user's operation, night scene exposure mode is selected to determine the exposure of each frame image to be collected according to night scene exposure mode
Parameter is exposed control using exposure parameter.As a result, under night scene photographed scene, the self-demand according to user is realized
Night scene exposure mode is selected, the demand for not meeting user when night scene exposure mode is arranged in imaging device automatically is avoided, causes to clap
The technical issues of shooting effect of anticipation is not achieved in the image taken the photograph.
The application third aspect embodiment proposes a kind of electronic equipment, including memory, processor and is stored in storage
On device and the computer program that can run on a processor, when the processor executes described program, such as above-described embodiment is realized
Described in exposal control method.
The application fourth aspect embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes such as above-mentioned exposal control method as described in the examples when described program is executed by processor.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of the first exposal control method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of second of exposal control method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of the third exposal control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of the 4th kind of exposal control method provided by the embodiments of the present application;
Fig. 5 is the flow diagram of the 5th kind of exposal control method provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of exposure-control device provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 8 is the schematic illustration of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 9 is a kind of schematic illustration of image processing circuit provided by the embodiments of the present application.
Specific embodiment
Embodiments herein 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 for explaining the application, and should not be understood as the limitation to the application.
For in the related technology, during night scene shooting, automatic setting night scene exposure mode leads to the image of shooting
The technical issues of user's ideal shooting effect is not achieved.Present applicant proposes a kind of exposal control methods, by obtaining preview
Image after identification preview image belongs to night scene scene, in response to user's operation, selects night scene exposure mode, is exposed according to night scene
Mode determines the exposure parameter of each frame image to be collected, is exposed control using exposure parameter.
Below with reference to the accompanying drawings the exposal control method, device, electronic equipment and storage medium of the embodiment of the present application are described.
Fig. 1 is the flow diagram of the first exposal control method provided by the embodiments of the present application.
The exposal control method of the embodiment of the present application, is applied to electronic equipment, which can be mobile phone, plate electricity
Brain, personal digital assistant, wearable device etc. have the hardware device of various operating systems, imaging device.
As shown in Figure 1, the exposal control method the following steps are included:
Step 101, preview image is obtained.
Wherein, preview image is the image taken pictures on interface for being shown in imaging device.
In the embodiment of the present application, during imaging device acquires image, it can be shown according to the shooting operation of user
Preview interface to carry out display image in the preview interface of electronic equipment, and gets the preview image of imaging device acquisition,
So that user can clearly see the imaging effect of each frame image during Image Acquisition.
Step 102, identification preview image belongs to night scene scene.
It, can be by identifying preview after imaging device obtains the preview image of present filming scene in the embodiment of the present application
Image is to determine whether present filming scene belongs to night scene scene.
As a kind of possible implementation, since ambient brightness value is different under different scenes, preview image content is not yet
It is identical.Therefore, can be worked as according to the image content of present filming scene preview image and the ambient brightness value in each region, judgement
Whether preceding photographed scene belongs to night scene scene.
For example, the image content of preview image includes night sky perhaps each area of night scene lamp source etc. or preview image
Ambient brightness value meets the Luminance Distribution characteristic of image under night scene environment in domain, that is, can determine that present filming scene belongs to night scene field
Scape.
Step 103, in response to user's operation, night scene exposure mode is selected.
Wherein, night scene exposure mode, including hand-held exposure mode and foot prop exposure mode.Also, under hand-held exposure mode
Number of image frames to be collected is greater than a frame, and number of image frames to be collected is greater than the frame number under hand-held exposure mode under foot prop exposure mode;
Benchmark sensitivity under hand-held exposure mode is greater than the benchmark sensitivity under foot prop exposure mode;It exposes and mends under hand-held exposure mode
The value range for repaying grade is less than the value range of exposure compensating grade under foot prop exposure mode.
In the present embodiment, after identifying that preview image determines that present filming scene belongs to night scene scene, imaging device meeting
Show the interface for selecting night scene exposure mode, user selects on the interface of selection night scene exposure mode according to self-demand
After the night scene exposure mode needed, imaging device is selected from hand-held exposure mode and foot prop exposure mode in response to user's operation
Select corresponding night scene exposure mode.Hereby it is achieved that forcing setting night scene exposure mode according to the self-demand of user, avoid
The demand that night scene exposure mode does not meet user is arranged in imaging device automatically, causes the image of shooting that the shooting effect of anticipation is not achieved
The technical issues of fruit.
For example, if user selects foot prop exposure mode on the interface for selecting night scene exposure mode, imaging is set
For in response to the user's operation in interface, foot prop exposure mode is selected from hand-held exposure mode and foot prop exposure mode.
Step 104, according to night scene exposure mode, the exposure parameter of each frame image to be collected is determined.
Wherein, exposure parameter can be sensitivity, exposure time, exposure compensating grade etc..
In the embodiment of the present application, under different night scene exposure modes, the exposure parameter of each frame image to be collected determined is not
Together.For example, number of image frames to be collected is greater than the frame number under hand-held exposure mode under foot prop exposure mode;Under hand-held exposure mode
Benchmark sensitivity is greater than the benchmark sensitivity under foot prop exposure mode;The value range of exposure compensating grade under hand-held exposure mode
Less than the value range of exposure compensating grade under foot prop exposure mode.
It is to be understood that determination is using foot prop exposure mode or to hold according to the night scene exposure mode that user selects
After acquiring image under exposure mode, further according to corresponding night scene exposure mode, the exposure parameter of each frame image to be collected is determined.
In the present embodiment, the exposure of number of image frames, benchmark sensitivity and each frame image can be determined according to night scene exposure mode
Light compensates grade.In turn, according to the luminance information of photographed scene and benchmark sensitivity, when determining the exposure of each frame image to be collected
It is long.
Step 105, control is exposed using exposure parameter.
In the embodiment of the present application, according to night scene exposure mode, after the exposure parameter for determining each frame image to be collected, control at
As equipment acquires image according to the corresponding exposure parameter of each frame image to be collected.
The exposal control method of the embodiment of the present application, by obtaining preview image, identification preview image belongs to night scene scene
Afterwards, in response to user's operation, night scene exposure mode is selected to determine the exposure of each frame image to be collected according to night scene exposure mode
Parameter is exposed control using exposure parameter.As a result, under night scene photographed scene, the self-demand according to user is realized
Night scene exposure mode is selected, the demand for not meeting user when night scene exposure mode is arranged in imaging device automatically is avoided, causes to clap
The technical issues of shooting effect of anticipation is not achieved in the image taken the photograph.
It, can be according to the shake of imaging device as a kind of possible implementation on the basis of the embodiment described in Fig. 1
Degree determines the night scene exposure mode for acquiring image.Referring to fig. 2, Fig. 2 is mentioned concrete implementation process for the embodiment of the present application
The flow diagram of second of the exposal control method supplied.
As shown in Fig. 2, the exposal control method specifically includes the following steps:
Step 201, the degree of jitter of imaging device is obtained.
It in the embodiment of the present application, can be according to being arranged in electronic equipment in order to determine the degree of jitter of imaging device
Displacement sensor, acquisition displacement information according to the displacement information of collected electronic equipment, determine trembling for imaging device in turn
Traverse degree.
Those skilled in the art could be aware that, can also be according to the displacement journey of same target in the preview screen of continuous acquisition
Degree, determines the degree of jitter of imaging device.It is bigger to shift more big then degree of jitter;Otherwise displacement is smaller, and degree of jitter is smaller.
As an example, can by obtaining current gyroscope (Gyro-sensor) information of electronic equipment, determine at
As the current degree of jitter of equipment.
Wherein, gyroscope is called angular-rate sensor, can measure rotational angular velocity when physical quantity deflection, inclination.?
In electronic equipment, gyroscope can be very good the movement of measurement rotation, deflection, judge user's so as to Accurate Analysis
Actual act.The gyroscope information (gyro information) of electronic equipment may include mobile phone in three dimensions on three dimension directions
Motion information, three dimensions of three-dimensional space can be expressed as three X-axis, Y-axis, Z axis directions, wherein X-axis, Y-axis, Z
Axis is vertical relation two-by-two.
It should be noted that gyro information that can be current according to electronic equipment, determines the current shake journey of imaging device
Degree.The absolute value of the gyro movement of electronic equipment in three directions is bigger, then the degree of jitter of imaging device is bigger.Specifically
, can preset the absolute value threshold value of the movement of gyro in three directions, and according to get it is current in three directions
The sum of the absolute value of gyro movement, the relationship with preset threshold value determines the current degree of jitter of imaging device.
As an example it is assumed that preset threshold value is first threshold A, second threshold B, third threshold value C, and A < B < C is currently obtained
The sum of absolute value for the movement of gyro in three directions got is S.If S < A, it is determined that the current degree of jitter of imaging device
For " non-jitter ";If A < S < B, it can determine that the current degree of jitter of imaging device is " slight jitter ";If B < S < C, can
To determine the current degree of jitter of imaging device for " small shake ";If S > C, the current degree of jitter of imaging device can be determined
For " big shake ".
It should be noted that the example above is exemplary only, the limitation to the disclosure cannot be considered as.In actual use,
Can the quantity of preset threshold and each threshold value according to actual needs specific value, and the pass according to gyro information and each threshold value
System presets the mapping relations of gyro information and imaging device degree of jitter.
Step 202, it if degree of jitter is less than the lower limit of setting range, determines using hand-held exposure mode.
In the embodiment of the present application, when determining that the current degree of jitter of imaging device is less than the lower limit of setting range, Ke Yixuan
Hand-held exposure mode is selected, to determine the exposure parameter of each frame image to be collected under hand-held exposure mode, and then using exposure ginseng
Number is exposed control.It is not only convenient when as a result, using hand-held exposure mode shooting image, but also in the image frame acquired
Bloom part not only expose normally, and many face details are also effectively maintained.
Step 203, it if degree of jitter is more than the upper limit of setting range, determines and uses foot prop exposure mode.
In the embodiment of the present application, when determining that the current degree of jitter of imaging device is more than the upper limit of setting range, Ke Yixuan
Foot prop exposure mode is selected, to avoid the degree of jitter aggravation of imaging device when shooting under hand-held exposure mode, thus influence diagram
Image quality amount.
Step 204, determine that degree of jitter belongs to setting range.
In the embodiment of the present application, when determining that the current degree of jitter of imaging device belongs to setting range, user can basis
After self-demand selects the night scene exposure mode needed on the interface of selection night scene exposure mode, imaging device is in response to user
Operation, selects corresponding night scene exposure mode from hand-held exposure mode and foot prop exposure mode.Hereby it is achieved that according to user
Self-demand force setting night scene exposure mode, avoid imaging device night scene exposure mode be set automatically and do not meet user's
Demand leads to the image the technical issues of shooting effect of anticipation is not achieved of shooting.
In the present embodiment, by obtaining the degree of jitter of imaging device, if degree of jitter is less than the lower limit of setting range, really
It is fixed to use hand-held exposure mode, if degree of jitter is more than the upper limit of setting range, determine and use foot prop exposure mode, it determines and shakes
Degree belongs to setting range.As a result, when the degree of jitter of imaging device is not belonging to setting range, determine that current dither degree is suitable
Night scene exposure mode, to improve image quality, when determining that degree of jitter belongs to setting range, according to the self-demand of user
Setting night scene exposure mode is forced, imaging device is avoided and the demand that night scene exposure mode does not meet user is set automatically, cause
The technical issues of shooting effect of anticipation is not achieved in the image of shooting.
On the basis of the embodiment described in Fig. 1, in a scenario, it can be determined to be collected according to night scene exposure mode
The exposure compensating grade of number of image frames, benchmark sensitivity and each frame image, and luminance information and benchmark according to photographed scene
Sensitivity determines the exposure time of each frame image to be collected.Concrete implementation process is mentioned referring to Fig. 3, Fig. 3 for the embodiment of the present application
Supply the third exposal control method flow diagram, as shown in figure 3, step 104 can with the following steps are included:
Step 301, according to night scene exposure mode, the exposure compensating of number of image frames, benchmark sensitivity and each frame image is determined
Grade.
In the embodiment of the present application, when night scene exposure mode is under foot prop exposure mode, number of image frames to be collected is greater than hand
Hold the frame number under exposure mode.Therefore, it after determining night scene exposure mode, can be determined according to the night scene exposure mode of selection
Number of image frames to be collected.
It is understood that the degree of jitter of imaging device is different, and compared to foot prop under different night scene exposure modes
Exposure mode is held under exposure mode, and the degree of jitter of imaging device is larger.The frame number and acquisition image of image to be collected
Sensitivity influence whether whole shooting duration of video, shooting duration of video is too long, and imaging device trembles when may result in hand-held shooting
Traverse degree aggravation, to influence picture quality.That is, the frame number of image to be collected and degree of jitter have inverse relationship.
Therefore, degree of jitter that can be current according to imaging device adjusts number of image frames to be collected so that shooting duration of video control exists
In suitable range.
That is, the current degree of jitter of imaging device is smaller according to foot prop exposure mode, then can acquire more
The image of frame, effectively to inhibit the noise of every frame image, improve the quality of shooting image;According to hand-held exposure mode, imaging
The current degree of jitter of equipment is larger, then can acquire the image of less frame, to shorten shooting duration of video, avoids in shooting image
During enter more noise the technical issues of.
In the embodiment of the present application, under different night scene exposure modes, the degree of jitter of imaging device is not identical, therefore, can
To determine the exposure compensating grade of benchmark sensitivity and each frame image according to the degree of jitter of imaging device.
In the embodiment of the present application, benchmark sensitivity be can be in current shooting, according to the current shake journey of imaging device
Degree, the minimum sensitivity of adjustment being adapted with current degree of jitter.For example, according to degree of jitter, adjustment and degree of jitter
It is adjusting the result is that benchmark if current base sensitivity and degree of jitter are just adapted when corresponding benchmark sensitivity
Sensitivity remains unchanged.Such situation also belongs in the embodiment of the present application the scope of " adjustment ".
In addition, under a kind of possible application scenarios, the camera module of imaging device be made of a plurality of lenses, thus
Different camera lenses can also correspond to different sensitivity under same shooting environmental, and the benchmark sensitivity adjusted in this step should
It is that in this shooting process, it is equal to acquire each frame image for the shooting process executed for a camera lens in a plurality of lenses
Using same benchmark sensitivity.
Benchmark sensitivity in this step is lower value to reduce picture noise, lower by acquiring multiframe sensitivity simultaneously
Image can not only promote night scene shooting image and by the synthesis of the multiple image of acquisition in a manner of generating target image
Dynamic range and overall brightness, and by the value of control sensitivity, effectively inhibit the noise in image, improves night scene shooting figure
The quality of picture.
Under a kind of possible scene, when night scene exposure mode is hand-held exposure mode, the sensitivity for acquiring image can shadow
It rings to whole shooting duration of video, shooting duration of video is too long, the degree of jitter aggravation of imaging device when may result in hand-held shooting, from
And influence picture quality.Therefore, degree of jitter that can be current according to imaging device, adjusts the corresponding base of each frame image to be collected
Quasi- sensitivity, so that shooting duration of video control is in suitable range.
Specifically, if imaging device it is current degree of jitter it is smaller, can be by the corresponding benchmark of every frame image to be collected
Sensitivity can the appropriate lesser value of boil down to, effectively to inhibit the noise of every frame image, improve the quality of shooting image;If at
As the current degree of jitter of equipment is larger, then the corresponding benchmark sensitivity of every frame image to be collected can be properly increased for
Biggish value, to shorten shooting duration of video.
For example, however, it is determined that the current degree of jitter of imaging device is " non-jitter ", then can be true by benchmark sensitivity
It is set to lesser value, to obtain higher-quality image as far as possible, for example determines that benchmark sensitivity is 100;If it is determined that imaging device
Current degree of jitter is " slight jitter ", then benchmark sensitivity can be determined as to biggish value, to reduce shooting duration of video, than
Such as determine that benchmark sensitivity is 200;If it is determined that the current degree of jitter of imaging device is " small shake ", then can further increase
Benchmark sensitivity to reduce shooting duration of video, for example determines that benchmark sensitivity is 220;If it is determined that the shake journey that camera module is current
Degree is " big shake ", then can determine that current degree of jitter is excessive, can further increase benchmark sensitivity at this time, to reduce
Shooting duration of video, for example determine that benchmark sensitivity is 250.
It should be noted that the example above is exemplary only, the limitation to the disclosure cannot be considered as.In actual use,
It, can be by adjusting benchmark sensitivity, to obtain optimal scheme when the variation of the degree of jitter of imaging device.Wherein, it is imaged
The mapping relations of the degree of jitter of equipment benchmark sensitivity corresponding with every frame image to be collected, can be pre- according to actual needs
If.
But in the embodiment of the present application, it is not limited to adjust benchmark sensitivity according only to the degree of jitter of imaging device, may be used also
To determine benchmark sensitivity according to the multiple parameters such as the luminance information of degree of jitter and photographed scene are comprehensive.It does not limit herein
It is fixed.
The present embodiment, exposure compensating grade are used to indicate the frame number and multiframe image setting to be collected of image to be collected
Exposure compensating grade.
It is understood that the degree of jitter difference that imaging device is current, the number of image frames to be collected determined can also
With difference, and when number of image frames difference to be collected, need using different exposure compensating grades.Therefore, implement in the application
In a kind of possible way of realization of example, can by the degree of jitter of imaging device and the mapping relations of exposure compensating grade, with
According to the current degree of jitter of imaging device, determine and current number of image frames and multiframe image setting to be collected to be collected
Exposure compensating grade.
As a kind of possible implementation, the anti-shudder performance of imaging device can be determined first, to combine imaging device
Degree of jitter and anti-shudder performance, adjust exposure compensating grade.
It should be noted that in the anti-shudder performance of imaging device and imaging device the attribute information of each component have it is certain
Relationship, therefore the anti-shudder performance of imaging device can be determined according to the attribute information of component each in imaging device, to combine
The degree of jitter of imaging device and anti-shudder performance adjust exposure compensating grade.
Step 302, according to the luminance information of photographed scene and benchmark sensitivity, when determining the exposure of each frame image to be collected
It is long.
Wherein, exposure time refers to time of the light by camera lens.Each frame image to be collected can be two frames or be more than
Two frames do not limit this in the embodiment of the present application.
In the embodiment of the present application, the luminance information of photographed scene, the survey optical module survey light that can use in imaging device is obtained
It arrives, is also possible to get by the luminance information in preview image, it is not limited here.The luminance information is usually with shooting
The illuminance of scene could be aware that as brightness measurement index, those skilled in the art, can also be carried out using other indexs bright
Degree is measured, within the scope of the present embodiment.
Specifically, it using auto-exposure control (Auto Exposure Control, abbreviation AEC) algorithm, determines current bright
The corresponding light exposure of information is spent, is each frame according to the luminance information of photographed scene and benchmark sensitivity these two aspects information in turn
Each frame image to be collected determines exposure time in image to be collected.
It should be noted that light exposure is related with aperture, exposure time and sensitivity.Wherein, aperture i.e. light admission port
Diameter determines the quantity that light passes through in the unit time.When the corresponding benchmark sensitivity of each frame image to be collected is identical, and light
Enclose size it is identical when, the corresponding light exposure of the illuminance of present filming scene is bigger, the corresponding exposure of each frame image to be collected
Duration is bigger.
In the embodiment of the present application, according to night scene exposure mode, the exposure of number of image frames, benchmark sensitivity and each frame image is determined
Light compensates grade and determines the exposure time of each frame image to be collected according to the luminance information of photographed scene and benchmark sensitivity.By
This determines the exposure parameter of each frame image to be collected according to night scene exposure mode, according to the exposure control of each frame image to be collected
System not only improves the dynamic range and overall brightness of night scene shooting image, effectively inhibits the noise in image, and inhibit
Ghost caused by hand-held shake improves the quality of night scene shooting image, improves user experience.
On the basis of the embodiment described in Fig. 3, under alternatively possible scene, according to shooting in executing step 302
The luminance information and benchmark sensitivity of scene, after the exposure time for determining each frame image to be collected, when can be by determining exposure
The long maximum time limit with setting is compared, to reduce exposure time of the exposure time greater than the image to be collected of maximum time limit,
Avoid exposure time it is too long when caused overexposure lead to image fault, shake causes fuzzy pictures and shooting duration of video too long
The case where.It describes in detail below with reference to Fig. 4 to the above process, Fig. 4 is the 4th kind of exposure provided by the embodiments of the present application control
The flow diagram of method processed, as shown in figure 4, further comprising the steps of after step 302:
Step 401, by the exposure time of each frame image to be collected compared with the maximum time limit of setting.
In the embodiment of the present application, the degree of jitter of available imaging device, and then by the degree of jitter of imaging device with
Preset dithering threshold is compared, to determine the exposure time upper limit.Wherein, dithering threshold, to be preset in imaging device
For determining the jitter value of default sensitivity value.
The situation possible as one determines current clap when the degree of jitter of imaging device is greater than or equal to dithering threshold
The exposure time upper limit for taking the photograph each frame image to be collected in scene is the first duration.
It is to be understood that, if longer exposure time is arranged, may cause when the degree of jitter of imaging device is larger
Whole shooting duration of video extends, and aggravates the degree of jitter of imaging device, so that being likely to occur in the image finally taken
Situation about obviously being obscured due to ghost and image caused by shaking.Therefore, when the degree of jitter of imaging device is larger, Ke Yishe
The exposure time of short period is set, ghost or fuzzy situation occurs to avoid the image of shooting.
Current shooting field is determined when the degree of jitter of imaging device is less than dithering threshold as another possible situation
The exposure time upper limit of each frame image to be collected is the second duration in scape.
It is to be understood that when the degree of jitter of imaging device is smaller, it can be by the way that longer exposure time be arranged, to clap
It takes the photograph to obtain the image of better quality.
Wherein, the first duration is less than the second duration, also, the first duration value range is 150ms to 300ms;When second
Long value range is 4.5s to 5.5s.
It should be noted that the acquisition methods of the degree of jitter of imaging device, may refer to step 201 in above-described embodiment
Realization process, details are not described herein.
In the embodiment of the present application, according to the luminance information of photographed scene and benchmark sensitivity, each frame image to be collected is determined
Exposure time after, determining exposure time can be compared with the maximum time limit of setting, to avoid exposure time mistake
Caused overexposure leads to image fault and the too long situation of shooting duration of video when long.
Step 402, if there are the first images that exposure time is greater than maximum time limit in image to be collected, by the first image
Exposure time is decreased to maximum time limit.
Specifically, if the case where being greater than maximum time limit there are corresponding exposure time in image to be collected, may cause
Whole shooting duration of video extends, and aggravates the degree of jitter of imaging device, so that being likely to occur in the image finally taken
Since ghost caused by shaking and image obviously obscure.
It therefore, can be by each exposure time and setting after determining the corresponding exposure time of each frame image to be collected
Maximum time limit compare, to judge whether the corresponding exposure time of each frame image to be collected is all larger than maximum time limit.
It will be determining when the degree of jitter of imaging device is greater than or equal to dithering threshold as a kind of possible situation
Exposure time in image to be collected is compared with the first maximum time limit, if there are exposure times to be greater than the in image to be collected
The exposure time of first image is decreased to maximum time limit by the first image of one maximum time limit.Wherein, the first maximum time limit is
300ms。
For example, if the exposure time of a certain frame image to be collected is 350ms, since the exposure time of the frame image is greater than
First maximum time limit then reduces the exposure time of the frame image, and the exposure time of frame image to be collected is set as 300ms.
As a kind of possible situation, when the degree of jitter of imaging device is less than dithering threshold, determining figure to be collected
Exposure time as in is compared with the second maximum time limit, when there are the corresponding exposure times of the first image in image to be collected
Greater than the second duration maximum time limit when, the corresponding exposure time of the first image is set as to the maximum time limit of the second duration, i.e.,
5.5s。
For example, if the exposure time of a certain frame image to be collected is 6s, since the exposure time of the frame image is greater than the
Two maximum time limits then reduce the exposure time of the frame image, and the exposure time of frame image to be collected is set as 5.5s.
Step 403, the ratio between the exposure time before being reduced according to the first image and the exposure time after reduction increase the first figure
The sensitivity of picture.
Specifically, since light exposure is the product of sensitivity and exposure time, it is determined in the light exposure of the first image
When, the ratio between the exposure time before being reduced according to the first image and the exposure time after reduction increase the photosensitive of the first image
Degree, to maintain the brightness of shooting image.
For example, according to the luminance information of present filming scene, exposure time when exposure compensating grade is EV0 is determined
It is respectively 2s and 100ISO with benchmark light exposure.When the exposure compensating grade of image to be collected be EV+2 when, then exposure time and
Sensitivity is respectively that 8s and 100ISO then take the exposure time of EV+2 since exposure time is is greater than maximum time limit 5s when 8s
Value is 5s, and ISO value is determined as 8/5*100ISO i.e. 160ISO.It is carried out as a result, by the exposure time to frame image to be collected
It updates, while guaranteeing light exposure, improves brightness of image, avoiding time for exposure too long caused overexposure causes image to lose
Very.
In the embodiment of the present application, by by the exposure time of each frame image to be collected compared with the maximum time limit of setting, if
There are the first image that exposure time is greater than maximum time limit in image to be collected, the exposure time of the first image is decreased to duration
The upper limit, the ratio between the exposure time before being reduced according to the first image and the exposure time after reduction increase the sensitivity of the first image.
The exposure time of image to be collected is greater than to the exposure time of the image of maximum time limit as a result, is reduced to maximum time limit, to keep away
Exempt from that whole shooting duration of video is caused to extend since exposure time is too long, aggravated the degree of jitter of camera module, so that most
It is likely to occur in the image taken eventually since ghost caused by shaking and image obviously obscure.
On the basis of the embodiment described in Fig. 3, under another possible scene, according to shooting in executing step 302
The luminance information and benchmark sensitivity of scene, after the exposure time for determining each frame image to be collected, by determining exposure time with
The duration lower limit of setting is compared, to be adjusted according to exposure time lower limit to the exposure time for being less than duration lower limit.Under
Face combines Fig. 5 to describe the above process in detail, and Fig. 5 is the stream of the 5th kind of exposal control method provided by the embodiments of the present application
Journey schematic diagram, as shown in figure 5, further comprising the steps of after step 302:
Step 501, by the exposure time of each frame image to be collected compared with the duration lower limit of setting.
In the embodiment of the present application, the exposure time of each frame image to be collected, when according to the luminance information and base of photographed scene
What quasi- sensitivity determined, concrete implementation process is referring to the realization process of step 302 in above-described embodiment, and details are not described herein.
After the luminance information and benchmark sensitivity according to photographed scene, the exposure time for determining each frame image to be collected,
Determining exposure time can be compared with the duration lower limit of setting, with the exposure according to duration lower limit to duration lower limit is less than
Light time length is adjusted.Wherein, duration lower limit is greater than or equal to 10ms.
It should be noted that exposure time lower limit is also to be determined according to the degree of jitter of imaging device, concrete implementation
Process is referring to the realization process of step 401 in above-described embodiment, and details are not described herein.
Step 502, if there are the second images that exposure time is less than duration lower limit in image to be collected, by the second image
Exposure time increases to duration lower limit.
In the embodiment of the present application, if may be led in image to be collected there are the image that exposure time is less than duration lower limit
Cause the noise in image is excessive to be difficult to eliminate.Therefore, when the corresponding exposure time of a certain frame image to be collected is less than duration lower limit
When, the corresponding exposure time of frame image to be collected is increased to duration lower limit.
Step 503, the ratio between the exposure time after the second image increases and the exposure time before increase is determined.
For example, preset duration lower limit is equal to 10ms, and the exposure time before the second image increases is 8ms, by second
The exposure time of image is increased to preset duration lower limit 10ms, then can determine the exposure time after the second image increases and increasing
The ratio between exposure time before big is 10/8.
Step 504, remaining each frame image to be collected of duration lower limit is greater than or equal to exposure time, according to ratio, more
The sensitivity or exposure time of remaining new each frame image to be collected.
Specifically, remaining each frame image to be collected of duration lower limit is greater than or equal to for exposure time, is less than in determination
The image to be collected of duration lower limit increase after exposure time and exposure time before increase between ratio after, by the ratio with
Sensitivity or exposure time product before remaining each frame image update to be collected, after remaining each frame image update to be collected
Sensitivity or exposure time.
As an example, if the image to be collected that exposure time is greater than or equal to duration lower limit is 4 frames, according to camera shooting
The degree of jitter of mould group determines that the preset sensitivity value of each frame is 100ISO, and the exposure time of 4 frames image to be collected is distinguished
For 100ms, 200ms, 400ms and 800ms.In view of be less than duration lower limit image update to be collected after exposure time and update
Ratio between preceding exposure time is 10ms/1.5ms, i.e., 20/3, the exposure time of this 4 frame image to be collected is determined as a result,
20/3 times for expanding as original 100ms, 200ms, 400ms and 800ms.
It is similar to the update mode of sensitivity and the update mode of exposure time, it is only necessary to replace with exposure time photosensitive
Degree, but should be noted that only can according to after the aforementioned image update to be collected less than duration lower limit exposure time and
The ratio between exposure time before update updates one in exposure time and sensitivity, if desired to exposure time and sense
Luminosity updates simultaneously, then after needing to be allocated the ratio according to weight, is updated.Such as: to exposure time and sensitivity
Half weight is respectively accounted for, if the exposure time after the aforementioned image update to be collected less than duration lower limit and the exposure time before update
Between ratio be R, exposure time is expanded as into original R/2 times, sensitivity is expanded as into original R/2 times.
In the embodiment of the present application, according to the luminance information of photographed scene and the benchmark sensitivity, determine that each frame is to be collected
After the exposure time of image, by the exposure time of each frame image to be collected compared with the duration lower limit of setting, if image to be collected
It is middle that the exposure time of the second image is increased into duration lower limit there are the second image that exposure time is less than duration lower limit, it determines
Ratio between exposure time after the increase of second image and the exposure time before increase is greater than or equal to duration to exposure time
Each frame of remaining of lower limit image to be collected updates the sensitivity or exposure time of remaining each frame image to be collected according to ratio.By
This, it is determined that the exposure time of each frame image to be collected, and then each frame is updated with maximum time limit according to exposure time lower limit and waits adopting
Collect the sensitivity and exposure time of image, finally according to the exposure time and sensitivity of updated each frame image to be collected, into
Row spectrum assignment, and then be imaged, the dynamic range and overall brightness that image is shot under night scene screening-mode are not only improved, but also
The noise in shooting image is effectively inhibited, the quality of night scene shooting image is improved, improves user experience.
In order to realize above-described embodiment, the application also proposes a kind of exposure-control device.
Fig. 6 is a kind of structural schematic diagram of exposure-control device provided by the embodiments of the present application.
As shown in fig. 6, the exposure-control device 100 include: obtain module 110, identification module 120, selecting module 130,
Determining module 140 and control module 150.
Module 110 is obtained, for obtaining preview image.
Identification module 120, preview image belongs to night scene scene for identification.
Selecting module 130, for selecting night scene exposure mode in response to user's operation.
Determining module 140, for determining the exposure parameter of each frame image to be collected according to night scene exposure mode.
Control module 150, for being exposed control using exposure parameter.
As a kind of possible implementation, selecting module 130 is specifically used for:
Show the interface for selecting night scene exposure mode;In response to the user's operation in interface, from hand-held exposure mode
With selection night scene exposure mode in foot prop exposure mode;
Wherein, it holds number of image frames to be collected under exposure mode and is greater than a frame, picture frame to be collected under foot prop exposure mode
Number is greater than the frame number under hand-held exposure mode;Benchmark sensitivity under hand-held exposure mode is greater than the benchmark under foot prop exposure mode
Sensitivity;The value range of exposure compensating grade is less than taking for exposure compensating grade under foot prop exposure mode under hand-held exposure mode
It is worth range.
As alternatively possible implementation, the exposure-control device 100, further includes:
First obtains module, for obtaining the degree of jitter of imaging device.
First determining module, for determining that degree of jitter belongs to setting range.
As alternatively possible implementation, the exposure-control device 100, further includes:
Second determining module determines if being less than the lower limit of setting range for degree of jitter using hand-held exposure mode.
Third determining module determines if being more than the upper limit of setting range for degree of jitter and uses foot prop exposure mode.
As alternatively possible implementation, determining module 140, comprising:
First determination unit, for determining number of image frames, benchmark sensitivity and each frame image according to night scene exposure mode
Exposure compensating grade.
Second determination unit determines each frame figure to be collected for the luminance information and benchmark sensitivity according to photographed scene
The exposure time of picture.
As alternatively possible implementation, determining module 140, further includes:
First comparing unit, for by the exposure time of each frame image to be collected compared with the maximum time limit of setting.
Reduction unit, if for there are the first images that exposure time is greater than maximum time limit in image to be collected, by first
The exposure time of image is decreased to maximum time limit.
As alternatively possible implementation, determining module 140, further includes:
Third determination unit, for determining maximum time limit according to degree of jitter.
As alternatively possible implementation, determining module 140, further includes:
First increasing unit, for the exposure time and the ratio between exposure time after reduction before being reduced according to the first image,
Increase the sensitivity of the first image.
As alternatively possible implementation, determining module 140, further includes:
Second comparing unit, for by the exposure time of each frame image to be collected compared with the duration lower limit of setting.
Second increasing unit, if for there are the second images that exposure time is less than duration lower limit in image to be collected, it will
The exposure time of second image increases to duration lower limit.
As alternatively possible implementation, determining module 140, further includes:
4th determination unit, for determining the exposure time after the second image increases and between exposure time before increase
Ratio.
Updating unit, for exposure time be greater than or equal to duration lower limit remaining each frame image to be collected, according to than
Value, updates the sensitivity or exposure time of remaining each frame image to be collected.
As alternatively possible implementation, updating unit can also be specifically used for:
To exposure time be greater than or equal to the duration lower limit remaining each frame image to be collected, by the ratio with it is described
Sensitivity product before remaining each frame image update to be collected, as photosensitive after remaining described each frame image update to be collected
Degree;
Alternatively, being greater than or equal to remaining each frame image to be collected of the duration lower limit to exposure time, by the ratio
With the exposure time product before remaining described each frame image update to be collected, after remaining described each frame image update to be collected
Exposure time.
It should be noted that the aforementioned exposure for being also applied for the embodiment to the explanation of exposal control method embodiment
Control device, details are not described herein again.
The exposure-control device of the embodiment of the present application, by obtaining preview image, identification preview image belongs to night scene scene
Afterwards, in response to user's operation, night scene exposure mode is selected to determine the exposure of each frame image to be collected according to night scene exposure mode
Parameter is exposed control using exposure parameter.As a result, under night scene photographed scene, the self-demand according to user is realized
Night scene exposure mode is selected, the demand for not meeting user when night scene exposure mode is arranged in imaging device automatically is avoided, causes to clap
The technical issues of shooting effect of anticipation is not achieved in the image taken the photograph.
In order to realize above-described embodiment, the application also proposed a kind of electronic equipment, including memory, processor and storage
On a memory and the computer program that can run on a processor, it when the processor executes described program, realizes as above-mentioned
Exposal control method as described in the examples.
As an example, the application also proposes a kind of electronic equipment 200, referring to Fig. 7, comprising: imaging sensor 210,
Processor 220, memory 230 and it is stored in the computer program that can be run on memory 230 and on processor 220, it is described
Imaging sensor 210 is electrically connected with the processor 220, when the processor 220 executes described program, realizes such as above-mentioned implementation
Exposal control method described in example.
As a kind of possible situation, processor 220 may include: image signal process (Image Signal
Processor, abbreviation ISP) processor, graphics processor (the Graphics Processing that is connect with ISP processor
Unit, abbreviation GPU).
It as an example, is the embodiment of the present application in Fig. 8 referring to Fig. 8, on the basis of the electronic equipment described in Fig. 7
The principle exemplary diagram of a kind of electronic equipment of offer.The memory 230 of electronic equipment 200 includes nonvolatile memory 80, interior
Memory 82 and processor 220.Computer-readable instruction is stored in memory 230.Computer-readable instruction, which is stored by, to be held
When row, so that processor 230 executes the exposal control method of any of the above-described embodiment.
As shown in figure 8, the electronic equipment 200 includes the processor 220 connected by system bus 81, non-volatile memories
Device 80, built-in storage 82, display screen 83 and input unit 84.Wherein, the nonvolatile memory 80 of electronic equipment 200 is stored with
Operating system and computer-readable instruction.The computer-readable instruction can be executed by processor 220, to realize the application embodiment party
The exposal control method of formula.The processor 220 supports the operation of entire electronic equipment 200 for providing calculating and control ability.
The built-in storage 82 of electronic equipment 200 provides environment for the operation of the computer-readable instruction in nonvolatile memory 80.Electricity
The display screen 83 of sub- equipment 200 can be liquid crystal display or electric ink display screen etc., and input unit 84 can be display
The touch layer that covers on screen 83, is also possible to key, trace ball or the Trackpad being arranged on 200 shell of electronic equipment, can also be with
It is external keyboard, Trackpad or mouse etc..The electronic equipment 200 can be mobile phone, tablet computer, laptop, individual
Digital assistants or wearable device (such as Intelligent bracelet, smartwatch, intelligent helmet, intelligent glasses) etc..Those skilled in the art
Member is it is appreciated that structure shown in Fig. 8, and only the schematic diagram of part-structure relevant to application scheme, is not constituted
Restriction to the electronic equipment 200 that application scheme is applied thereon, specific electronic equipment 200 may include than institute in figure
Show more or fewer components, perhaps combines certain components or with different component layouts.
In order to realize above-described embodiment, the application also proposes a kind of image processing circuit, referring to Fig. 9, Fig. 9 is the application
The schematic illustration for a kind of image processing circuit that embodiment provides, as shown in figure 9, image processing circuit 90 includes picture signal
Handle ISP processor 91 (ISP processor 91 is used as processor 220) and graphics processor GPU.
The image data that camera 93 captures is handled by ISP processor 91 first, and ISP processor 91 carries out image data
It analyzes to capture the image statistics for the one or more control parameters that can be used for determining camera 93.Camera module 310 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 in memory 330, a part of memory 330, storage equipment or electronic equipment
Private 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.It is stored in addition, the output of ISP processor 91 also can be transmitted to image
Device 95, and display 97 can read image data from video memory 95.In one embodiment, video memory 95 can be matched
It is set to the one or more frame buffers of realization.In addition, the output of ISP processor 91 can be transmitted to encoder/decoder 96, so as to
Encoding/decoding image data.The image data of coding can be saved, and decompress before being shown in 97 equipment of display.
Encoder/decoder 96 can be realized by CPU or GPU or coprocessor.
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.
In order to realize above-described embodiment, the application also proposes a kind of computer readable storage medium, is stored thereon with calculating
Machine program realizes such as above-mentioned exposal control method as described in the examples when described program is executed by processor.
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, can integrate in a processing module in each functional unit in each embodiment of the application
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
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (14)
1. a kind of exposal control method, which comprises the following steps:
Obtain preview image;
Identify that the preview image belongs to night scene scene;
In response to user's operation, night scene exposure mode is selected;
According to the night scene exposure mode, the exposure parameter of each frame image to be collected is determined;
Control is exposed using the exposure parameter.
2. exposal control method according to claim 1, which is characterized in that it is described in response to user's operation, select night scene
Exposure mode, comprising:
Show the interface for selecting night scene exposure mode;
In response to the user's operation in the interface, night scene is selected to expose mould from hand-held exposure mode and foot prop exposure mode
Formula;
Wherein, number of image frames to be collected is greater than a frame, figure to be collected under the foot prop exposure mode under the hand-held exposure mode
As frame number is greater than the frame number under the hand-held exposure mode;Benchmark sensitivity under the hand-held exposure mode is greater than the foot prop
Benchmark sensitivity under exposure mode;The value range of exposure compensating grade is less than foot prop exposure mould under hand-held exposure mode
The value range of the exposure compensating grade under formula.
3. exposal control method according to claim 2, which is characterized in that it is described in response to user's operation, select night scene
Before exposure mode, further includes:
Obtain the degree of jitter of imaging device;
Determine that the degree of jitter belongs to setting range.
4. exposal control method according to claim 3, which is characterized in that it is described obtain imaging device degree of jitter it
Afterwards, further includes:
If the degree of jitter is less than the lower limit of the setting range, determines and use the hand-held exposure mode;
If the degree of jitter is greater than the upper limit of the setting range, determines and use the foot prop exposure mode.
5. exposal control method according to claim 1, which is characterized in that it is described according to the night scene exposure mode, really
The exposure parameter of fixed each frame image to be collected, comprising:
According to the night scene exposure mode, the exposure compensating grade of number of image frames, benchmark sensitivity and each frame image is determined;
According to the luminance information of photographed scene and the benchmark sensitivity, the exposure time of each frame image to be collected is determined.
6. exposal control method according to claim 5, which is characterized in that the luminance information according to photographed scene and
The benchmark sensitivity, after the exposure time for determining each frame image to be collected, further includes:
By the exposure time of each frame image to be collected compared with the maximum time limit of setting;
If there are the first images that exposure time is greater than maximum time limit in image to be collected, by the exposure time of the first image
It is decreased to the maximum time limit.
7. exposal control method according to claim 6, which is characterized in that when the exposure by each frame image to be collected
Before length is compared with the maximum time limit of setting, further includes:
According to the degree of jitter, the maximum time limit is determined.
8. according to the method described in claim 6, it is characterized in that, described be decreased to institute for the exposure time of the first image
After stating maximum time limit, further includes:
The ratio between the exposure time after exposure time and reduction before being reduced according to the first image, increases the first image
Sensitivity.
9. according to the method described in claim 5, it is characterized in that, the luminance information and the benchmark according to photographed scene
Sensitivity, after the exposure time for determining each frame image to be collected, further includes:
By the exposure time of each frame image to be collected compared with the duration lower limit of setting;
If there are the second images that exposure time is less than the duration lower limit in image to be collected, by the exposure of second image
Duration increases to the duration lower limit.
10. according to the method described in claim 9, it is characterized in that, the exposure time by second image increases to
After the duration lower limit, further includes:
Determine the ratio between the exposure time after second image increases and the exposure time before increase;
It is greater than or equal to remaining each frame image to be collected of the duration lower limit to exposure time, according to the ratio, updates institute
State the sensitivity or exposure time of remaining each frame image to be collected.
11. according to the method described in claim 10, it is characterized in that, described be greater than or equal under the duration exposure time
Remaining each frame image to be collected of limit updates the sensitivity or exposure of remaining each frame image to be collected according to the ratio
Duration, comprising:
To exposure time be greater than or equal to the duration lower limit remaining each frame image to be collected, by the ratio and it is described remaining
Sensitivity product before each frame image update to be collected, as the sensitivity after remaining described each frame image update to be collected;
Alternatively, being greater than or equal to remaining each frame image to be collected of the duration lower limit to exposure time, by the ratio and institute
Exposure time product before stating remaining each frame image update to be collected, as the exposure after remaining described each frame image update to be collected
Light time is long.
12. a kind of exposure-control device, which comprises the following steps:
Module is obtained, for obtaining preview image;
Identification module, the preview image belongs to night scene scene for identification;
Selecting module, for selecting night scene exposure mode in response to user's operation;
Determining module, for determining the exposure parameter of each frame image to be collected according to the night scene exposure mode;
Control module, for being exposed control using the exposure parameter.
13. a kind of electronic equipment, which is characterized in that on a memory and can be in processor including memory, processor and storage
The computer program of upper operation when the processor executes described program, realizes the exposure as described in any in claim 1-11
Light control method.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed
The exposal control method as described in any in claim 1-11 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910509717.1A CN110113539A (en) | 2019-06-13 | 2019-06-13 | Exposal control method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910509717.1A CN110113539A (en) | 2019-06-13 | 2019-06-13 | Exposal control method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110113539A true CN110113539A (en) | 2019-08-09 |
Family
ID=67494840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910509717.1A Pending CN110113539A (en) | 2019-06-13 | 2019-06-13 | Exposal control method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110113539A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112437235A (en) * | 2020-11-11 | 2021-03-02 | Oppo广东移动通信有限公司 | Night scene picture generation method and device and mobile terminal |
CN115706766A (en) * | 2021-08-12 | 2023-02-17 | 荣耀终端有限公司 | Video processing method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080002060A1 (en) * | 1997-10-09 | 2008-01-03 | Fotonation Vision Limited | Optimized Performance and Performance for Red-Eye Filter Method and Apparatus |
CN101795358A (en) * | 2009-01-30 | 2010-08-04 | 佳能株式会社 | Picture pick-up device and control method thereof |
CN101945217A (en) * | 2009-07-07 | 2011-01-12 | 三星电子株式会社 | Capture apparatus and method |
CN103945104A (en) * | 2013-01-21 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104243822A (en) * | 2014-09-12 | 2014-12-24 | 广州三星通信技术研究有限公司 | Method and device for shooting images |
CN108900782A (en) * | 2018-08-22 | 2018-11-27 | Oppo广东移动通信有限公司 | Exposal control method, device and electronic equipment |
CN109040609A (en) * | 2018-08-22 | 2018-12-18 | Oppo广东移动通信有限公司 | Exposal control method, device and electronic equipment |
CN109151333A (en) * | 2018-08-22 | 2019-01-04 | Oppo广东移动通信有限公司 | Exposal control method, device and electronic equipment |
-
2019
- 2019-06-13 CN CN201910509717.1A patent/CN110113539A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080002060A1 (en) * | 1997-10-09 | 2008-01-03 | Fotonation Vision Limited | Optimized Performance and Performance for Red-Eye Filter Method and Apparatus |
CN101795358A (en) * | 2009-01-30 | 2010-08-04 | 佳能株式会社 | Picture pick-up device and control method thereof |
CN101945217A (en) * | 2009-07-07 | 2011-01-12 | 三星电子株式会社 | Capture apparatus and method |
CN103945104A (en) * | 2013-01-21 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104243822A (en) * | 2014-09-12 | 2014-12-24 | 广州三星通信技术研究有限公司 | Method and device for shooting images |
CN108900782A (en) * | 2018-08-22 | 2018-11-27 | Oppo广东移动通信有限公司 | Exposal control method, device and electronic equipment |
CN109040609A (en) * | 2018-08-22 | 2018-12-18 | Oppo广东移动通信有限公司 | Exposal control method, device and electronic equipment |
CN109151333A (en) * | 2018-08-22 | 2019-01-04 | Oppo广东移动通信有限公司 | Exposal control method, device and electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112437235A (en) * | 2020-11-11 | 2021-03-02 | Oppo广东移动通信有限公司 | Night scene picture generation method and device and mobile terminal |
CN112437235B (en) * | 2020-11-11 | 2022-03-01 | Oppo广东移动通信有限公司 | Night scene picture generation method and device and mobile terminal |
CN115706766A (en) * | 2021-08-12 | 2023-02-17 | 荣耀终端有限公司 | Video processing method and device, electronic equipment and storage medium |
CN115706766B (en) * | 2021-08-12 | 2023-12-15 | 荣耀终端有限公司 | Video processing method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2019326496B2 (en) | Method for capturing images at night, apparatus, electronic device, and storage medium | |
CN110072051B (en) | Image processing method and device based on multi-frame images | |
CN110072052B (en) | Image processing method and device based on multi-frame image and electronic equipment | |
CN108683862B (en) | Imaging control method, imaging control device, electronic equipment and computer-readable storage medium | |
CN108900782B (en) | Exposure control method, exposure control device and electronic equipment | |
CN109788207B (en) | Image synthesis method and device, electronic equipment and readable storage medium | |
CN109040609B (en) | Exposure control method, exposure control device, electronic equipment and computer-readable storage medium | |
CN110290289B (en) | Image noise reduction method and device, electronic equipment and storage medium | |
CN110166708B (en) | Night scene image processing method and device, electronic equipment and storage medium | |
CN110248106B (en) | Image noise reduction method and device, electronic equipment and storage medium | |
CN110191291B (en) | Image processing method and device based on multi-frame images | |
WO2020034737A1 (en) | Imaging control method, apparatus, electronic device, and computer-readable storage medium | |
WO2020057199A1 (en) | Imaging method and device, and electronic device | |
CN110166707B (en) | Image processing method, image processing apparatus, electronic device, and storage medium | |
WO2020207261A1 (en) | Image processing method and apparatus based on multiple frames of images, and electronic device | |
CN109348088A (en) | Image denoising method, device, electronic equipment and computer readable storage medium | |
CN109005369B (en) | Exposure control method, exposure control device, electronic apparatus, and computer-readable storage medium | |
CN108833802B (en) | Exposure control method and device and electronic equipment | |
CN110166706B (en) | Image processing method, image processing apparatus, electronic device, and storage medium | |
CN109151333B (en) | Exposure control method, exposure control device and electronic equipment | |
US11601600B2 (en) | Control method and electronic device | |
CN110264420B (en) | Image processing method and device based on multi-frame images | |
CN108900785A (en) | Exposal control method, device and electronic equipment | |
CN110166709A (en) | Night scene image processing method, device, electronic equipment and storage medium | |
CN109756680B (en) | Image synthesis method and device, electronic equipment and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |