CN110213484A - A kind of photographic method, terminal device and computer readable storage medium - Google Patents

A kind of photographic method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN110213484A
CN110213484A CN201910472318.2A CN201910472318A CN110213484A CN 110213484 A CN110213484 A CN 110213484A CN 201910472318 A CN201910472318 A CN 201910472318A CN 110213484 A CN110213484 A CN 110213484A
Authority
CN
China
Prior art keywords
light exposure
value
dynamic range
image
target
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.)
Granted
Application number
CN201910472318.2A
Other languages
Chinese (zh)
Other versions
CN110213484B (en
Inventor
费勇超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910472318.2A priority Critical patent/CN110213484B/en
Publication of CN110213484A publication Critical patent/CN110213484A/en
Application granted granted Critical
Publication of CN110213484B publication Critical patent/CN110213484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • 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/71Circuitry for evaluating the brightness variation
    • 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 relates to field of computer technology, a kind of photographic method, terminal device and computer readable storage medium are provided, to solve the problems, such as that picture quality is ineffective during taking pictures.This method comprises: the preview image based on camera acquisition, calculating benchmark light exposure;Obtain dynamic range parameters value;According to benchmark light exposure and dynamic range parameters value, target light exposure amount is determined;Obtain the target image that camera is shot based on target light exposure amount.I.e. during determining target light exposure amount, not only allow for benchmark light exposure, and also contemplate dynamic range parameters value, and dynamic range parameters value is determined based at least two light exposures and camera determined according to benchmark light exposure based on the image that at least two light exposures acquire, adjustment is exposed to terminal device by benchmark light exposure and dynamic range parameters value, the accuracy of target light exposure amount can be improved, when to be shot according to target light exposure amount, the quality for the target image that shooting obtains can be improved.

Description

A kind of photographic method, terminal device and computer readable storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of photographic methods, terminal device and computer Readable storage medium storing program for executing.
Background technique
With technical development of computer, the function of terminal device is stronger and stronger, and camera function is that equipment is common in terminal Function.Making rapid progress for shooting technology, keeps the camera function of terminal device stronger and stronger, and user is also more next to requirement of taking pictures It is higher.
Automatic exposure control method is based on gray world theory at present, and a luma target is arranged to current scene (Target), then reach present intensity target value by adjusting light exposure.In bloom than scene, by judging that highlight regions account for Than can be with dynamic adjusting brightness target value.I.e. by highlight regions accounting (being also possible to dark space accounting) in control image, to adjust Whole light exposure, allows light exposure to be decreased or increased, and realizes the shooting of image.In addition, can also by HDR (high dynamic range) algorithm into Row spectrum assignment realizes that the shooting of image is adjusted to obtain two exposures with equal proportion, pass through 3 that is, on the basis of benchmark exposes A light exposure (benchmark exposure and equal proportion adjust to obtain two exposures) is exposed, and obtains current scene 3 different exposures Corresponding image is measured, is finally synthesized to obtain the output image an of high dynamic range.
Image is realized however, adjusting light exposure above by highlight regions accounting or being exposed control by HDR algorithm During shooting, it is easy to cause picture quality ineffective.
Summary of the invention
The embodiment of the present invention provides a kind of photographic method, terminal device and computer readable storage medium, existing to solve The ineffective problem of the picture quality of technology shooting.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of photographic method, applied to the terminal device including camera, institute The method of stating includes:
Based on the preview image of camera acquisition, calculating benchmark light exposure;
Obtain dynamic range parameters value, wherein the dynamic range parameters value is determined based on according to the benchmark light exposure At least two light exposures and the image that is acquired based at least two light exposure of the camera determine;
According to the benchmark light exposure and the dynamic range parameters value, target light exposure amount is determined;
Obtain the target image that the camera is shot based on the target light exposure amount.
Second aspect, the embodiment of the present invention also provide a kind of terminal device, have camera, and the terminal device includes:
Computing module, the preview image for being acquired based on the camera, calculating benchmark light exposure;
Dynamic range parameters value obtains module, for obtaining dynamic range parameters value, wherein the dynamic range parameters value At least two exposure is based on based at least two light exposures and the camera determined according to the benchmark light exposure The image of amount acquisition determines;
Target light exposure amount determining module, for determining according to the benchmark light exposure and the dynamic range parameters value Target light exposure amount;
Target image obtains module, the target image shot for obtaining the camera based on the target light exposure amount.
The third aspect, the embodiment of the present invention also provide a kind of terminal device, comprising: memory and processor, the storage Device is stored with computer program, and the processor is realized in the photographic method of the embodiment of the present invention when executing the computer program The step of.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, the computer program realizes the side of taking pictures provided in an embodiment of the present invention when being executed by processor Step in method.
In the photographic method of the embodiment of the present invention, the preview image acquired by camera, calculating benchmark light exposure, and obtain Dynamic range parameters value is taken, to determine target light exposure amount, and obtains the target figure that camera is shot based on the target light exposure amount Picture.I.e. during determining target light exposure amount, benchmark light exposure is not only allowed for, and also contemplates dynamic range parameters value, And dynamic range parameters value is based at least two based at least two light exposures and camera determined according to benchmark light exposure The image of light exposure acquisition determines, that is, considers the actual conditions of the image under at least two light exposures again, exposed by benchmark Amount and dynamic range parameters value are exposed adjustment to terminal device, obtain target light exposure amount, target light exposure amount can be improved Accuracy, so that the quality for the target image that shooting obtains can be improved when being shot according to target light exposure amount.
Detailed description of the invention
Fig. 1 is one of the flow chart of photographic method provided in an embodiment of the present invention;
Fig. 2 is human eye visible brightness areal map;
Fig. 3 is actual scene figure;
Fig. 4 is the signal of the pixel of the first image and the second image obtained in photographic method provided in an embodiment of the present invention Figure;
Fig. 5 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Fig. 6 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig.1, in one embodiment, a kind of photographic method is provided, applied to the terminal device including camera, side Method includes:
Step 101: the preview image based on camera acquisition, calculating benchmark light exposure.
Starting is taken pictures, and (for example, carrying out clicking operation to the imaging icon on terminal device, terminal device responds click behaviour Make, starting is taken pictures, or can also be taken pictures by startings such as voices), camera can carry out Image Acquisition to current scene, at end The preview image that camera acquisition can be shown on the display screen of end equipment, can be realized the preview to the image of current scene, use Family can check the preview image of display, so as to the effect of user's real time inspection preview image.
Light exposure is the important parameter for influencing picture quality by aperture and shutter co- controlling, and dynamic range parameters are used for Measure the ability of the record bright dark range of scene.It, first can be based on the preview of camera acquisition in the present embodiment during taking pictures Image calculates the benchmark light exposure of current scene.
Step 102: obtaining dynamic range parameters value.
Dynamic range parameters are related with the ratio of minimum pixel value to max pixel value in image, can describe image light and shade Difference.Wherein, dynamic range parameters value is based on based at least two light exposures and camera determined according to benchmark light exposure The image of at least two light exposures acquisition determines.At least two light exposures that can be determined according to benchmark light exposure, using at least The image that two light exposures and camera acquire under at least two light exposures calculates dynamic range parameters value.
Under different light exposures camera acquire image have differences, by control camera respectively with it is determining at least Two light exposures are exposed, and image and at least two light exposures based on the acquisition of at least two light exposures can be calculated dynamic State range parametric values.In this way, dynamic range parameters value be according to using benchmark light exposure determine at least two light exposures and Camera is determined based on the image that at least two light exposures acquire, it is contemplated that the practical feelings of the image under at least two light exposures Condition can accurately obtain the dynamic range parameters value in actual scene, so that the determination of succeeding target light exposure can be improved, make to shoot Objective image quality effect improve.
Step 103: according to benchmark light exposure and dynamic range parameters value, determining target light exposure amount.
Using benchmark light exposure and dynamic range parameters value, the light exposure of terminal device is adjusted, target is obtained Light exposure.During determining target light exposure amount, benchmark light exposure is not only considered, and also contemplate dynamic range parameters Value, the target light exposure amount that may make are more accurate.
Step 104: obtaining the target image that camera is shot based on target light exposure amount.
After obtaining target light exposure amount, camera is controlled with target light exposure amount and carries out image taking, thus, it can get camera shooting Target image of the head based on the shooting of target light exposure amount.Target light exposure amount considers dynamic range parameters value, controls camera with this Target light exposure amount is exposed, and camera is enable more accurately to be exposed, and improves the mass effect of the target image of shooting.
In the photographic method of the embodiment of the present invention, the preview image acquired by camera, calculating benchmark light exposure, and obtain Dynamic range parameters value is taken, to determine target light exposure amount, and obtains the target image that camera is shot based on target light exposure amount.I.e. During determining target light exposure amount, benchmark light exposure is not only allowed for, and also contemplates dynamic range parameters value, and dynamic Range parametric values are based at least two light exposures based at least two light exposures and camera determined according to benchmark light exposure The image of acquisition determines, that is, considers the actual conditions of the image under at least two light exposures again, by benchmark light exposure and Dynamic range parameters value is exposed adjustment to terminal device, obtains target light exposure amount, and the accuracy of target light exposure amount can be improved, When to be shot according to target light exposure amount, the quality for the target image that shooting obtains can be improved.
In the embodiment of the present invention, above-mentioned terminal device can include but is not limited to mobile phone, camera, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
In one example, after the target image that acquisition camera is shot based on target light exposure amount, further includes: to target Image is synthesized to obtain composograph.
If the quantity of target image is one, composograph is target image, if the quantity of target image is at least It two, indicates according to dynamic range parameters value, it may be determined that at least two target light exposure amounts, target light exposure amount and target image are one by one Corresponding, i.e., quantity is identical, then composograph is the image obtained after synthesizing at least two target images, in this way, to mention High image quality.
In one example, can include: by auto-exposure control (ACE) algorithm calculating benchmark light exposure, detailed process Calculate the brightness value of the preview image of camera acquisition;Comparison brightness value and target brightness value;In brightness value and target brightness value Difference absolute value be greater than or equal to preset difference value in the case where, the light exposure of camera is adjusted, so that preview image is bright Angle value reaches target brightness value.Wherein, target brightness value can the high-brightness region accounting based on preview image to target brightness value It is adjusted.Specifically, in the case where the absolute value of the difference of brightness value and target brightness value is greater than or equal to preset difference value, If brightness value is greater than target brightness value, reduces the corresponding light exposure of preview image of acquisition, otherwise increase the preview image of acquisition Corresponding light exposure, so that the brightness value of preview image reaches target brightness value.In the difference of brightness value and target brightness value In the case that absolute value is less than preset difference value, indicate that exposure is convergent, as long as current scene is constant, light exposure will no longer become Change, current light exposure is the benchmark exposure of current scene.
In one embodiment, the mode of dynamic range parameters value is determined, comprising: obtain target light exposure ratio;Based on base Quasi- light exposure and target light exposure ratio, determine at least two light exposures;Camera is obtained to acquire based at least two light exposures Image;The image acquired according to camera based at least two light exposures and at least two light exposures, determine dynamic range Parameter value.
The sensitive dynamic range parameters value of human eye is between 100db~180db, as shown in Fig. 2, in practical applications, General sensor chip (i.e. sensitive chip, for example, the sensor chip of slr camera) can capture the details of 90dB, and one As cmos sensor chip on mobile terminal (for example, mobile phone etc.) can only spread the details for grasping 60dB or so, generally make at present The data of cmos sensor chip output are all 10bit, according to DR=20*LOG10210≈ 60dB is it is found that moment sensor Chip can only cover outdoor scene DR (dynamic range parameters) in the scene of 60dB or so, but in outdoor scene many scenes dynamic model It encloses parameter value and is all much larger than 60dB, as shown in Figure 3 crosses road junction portrait scene, and for DR about in 102dB or so, such scene is current Sensor chip can not just cover.
It is illustrated by taking tolerance=60dB of current common terminal device as an example.Because the tolerance of human eye is all at least 100dB, in order to reach 100dB, according toCalculation formula (MaxLumaValue is image Max pixel value, MinLumaValue be image minimum pixel value), the output of sensitive chip needs 17bit, than current 10bit has more 7bit. therefore wants accurately calculate dynamic range parameters value common within 100dB, and exposure ratio is at least 27 =128.Setting for target light exposure ratio R atio has two methods of fixed and dynamic:
It is fixed: to wish that dynamic calculates the dynamic range of 100dB and attends a meeting value, target light exposure ratio R atio needs to set Be set to 128, that is, need to be set as to wish to adhere to 100dB for value.I.e. target light exposure ratio R atio can be set to 128, during taking pictures, using the determination of 128 above-mentioned at least two light exposures of progress.
Dynamically: under many scenes, dynamic range parameters value does not reach 100dB, therefore target light exposure ratio R atio is not Need to be arranged 100dB corresponding 128, current scene is suitably worth can be more preferable, can not spill over by controlling the pixel value of image Condition is dynamically determined current ratio value premised on (the image bloom of specially short exposure is not spilt over).
Then it can be based on benchmark light exposure and target light exposure ratio, determine at least two light exposures.With two light exposures For, it can be using benchmark light exposure as a light exposure in two light exposures, by benchmark light exposure divided by target light exposure ratio As a result as another light exposure in two light exposures, at least two light exposures can also be determined by other means.Control is taken the photograph As head is exposed respectively at least two determining light exposures, the image under at least two light exposures is acquired, is obtained at least The corresponding image of two light exposures, the image acquired further according to camera based at least two light exposures and at least two exposures Amount calculates dynamic range parameters value.In this way, dynamic range parameters value is according to based on benchmark light exposure and target light exposure ratio Determining at least two light exposures and camera are obtained based on the image that at least two light exposures acquire, so as to accurately obtain Dynamic range parameters value in actual scene makes the objective image quality of shooting so that the determination of succeeding target light exposure can be improved Effect improves.
In one embodiment, at least two light exposures include the first light exposure and the second light exposure, and the first light exposure is big In the second light exposure;
Based on benchmark light exposure and target light exposure ratio, at least two light exposures are determined, comprising: benchmark light exposure is true It is set to the first light exposure;Ratio between benchmark light exposure and target light exposure ratio is determined as the second light exposure.
After having benchmark exposure and Ratio, need to calculate at least two light exposures, it is possible to understand that calculate long exposure and correspond to Light exposure (corresponding first light exposure) and the corresponding light exposure of short exposure (the second light exposure of correspondence).It has been found that two variables Value: benchmark exposure and Ratio, thus the first light exposure and the second light exposure can based on above-mentioned two variable it is worth go out.Example Such as, benchmark can be exposed and is used as the first light exposure (i.e. Long), then the second light exposure Short=Long/Ratio, calculated simply, Computational efficiency is high, convenient for calculating.It can also can be selected according to the actual situation by other numerical procedures, such as fetching number etc. Corresponding mode calculates Long and Short.
In one embodiment, the corresponding image of the first light exposure is the first image, and the corresponding image of the second light exposure is Second image;
The image acquired according to camera based at least two light exposures and at least two light exposures, determine dynamic range Parameter value, comprising: obtain the pixel value of the first object position in the first image, wherein first object position is in the second figure Pixel value as in is minimum and in the smallest position of the pixel value of the first image;Obtain the second target position in the second image Pixel value, wherein the second target position is less than presetted pixel threshold value for the pixel value in the first image, and in the second image The maximum position of pixel value;According to the pixel value of first object position, the pixel value of the second target position, the first light exposure with And second light exposure, calculate dynamic range parameters value.
I.e. after determining the first light exposure and the second light exposure, camera can control to expose respectively with the first light exposure and second Light quantity is exposed, to can get the first image and adopt based on the second light exposure that camera is acquired based on the first light exposure Second image of collection.For example, the first light exposure being calculated and the setting of the second light exposure can be sensed to COMS for camera In device chip, COMS sensor chip will export the corresponding image data of different light exposures, and the format of output is by COMS sensor The design of chip determines.Some are to arrange to export by sensor chip, then need after taking image data according to arrangement regulation Separate the first image and the second image.Also some COMS sensor chips can directly export the image divided, in this way, obtaining It can directly be carried out after image in next step.
In addition, can also be shown after obtaining the first image and the second image, specifically, display is usually small size, Any one can be carried out showing in the first image and the second image of sensor chip output, for example, can will be with benchmark First image of light exposure exposure is shown.
During calculating dynamic range parameters value, pixel value minimum and effective first mesh on the first image are found first The pixel value (i.e. LongMinPixelValue) of cursor position, condition for validity include a and b, a: pixel value on the first image is Minimum value, the pixel value of the b: the second image on the position are equal to 0 either minimum value (ShortMinPixelValue), i.e., the Minimum value in two images.For example, as shown in figure 4, meeting a and b two in the first image (i.e. Long Exposure Frame) The position of condition is (4,3), and the pixel value of first object position is 1 on corresponding first image.
Then find that on the second image pixel value is maximum and the pixel value of effective second target position (i.e. ShortMaxPixelValue).Condition for validity includes c and d, and c: the pixel value on the second image is maximum value, the d: the first figure As pixel value in the position is less than 1023 (it is 1023 that 10bit, which corresponds to maximum value).For example, as shown in figure 4, the second image (i.e. Short Exposure Frame) in meet the position of two conditions of c and d be (2,3), the second target position on corresponding second image The pixel value set is 1023.
It, can be according to first object position after the pixel value of the pixel value, the second target position that obtain first object position Pixel value, the first light exposure and the second light exposure of the pixel value, the second target position set, are calculated dynamic range parameters Value.
In one embodiment, according to the pixel value of first object position, the pixel value of the second target position, the first exposure Amount and the second light exposure calculate dynamic range parameters value, comprising: pixel value, the second target position based on first object position Pixel value, the first light exposure and the second light exposure set, are calculated initial dynamic range parameter value;In the second target position Pixel value be equal to presetted pixel threshold value in the case where, be based on initial dynamic range parameter value, obtain dynamic range parameters value, move State range parametric values are greater than or equal to initial dynamic range parameter value.
In the case where the pixel value of the second target position is equal to presetted pixel threshold value, the second target position can not be judged Pixel value is to have overflowed or overflowed edge.By taking 10bit sensor chip as an example, presetted pixel threshold value is 1023, if picture Element value, which is greater than 1023, to be indicated to overflow, and pixel value is still used and 1023 indicated, if being less than or equal to 1023, then it represents that it does not overflow, Pixel value is actual pixel value.It is then based on initial dynamic range parameter value, obtains dynamic range parameters value.
In one example, in the case where the pixel value of the second target position is equal to presetted pixel threshold value, if the second mesh The pixel value of cursor position is equal to zero, the pixel value of pixel value, the second target position based on first object position, the first light exposure And second light exposure, initial dynamic range parameter value is calculated, in one example, can be based onInitial dynamic range parameter value is calculated, wherein LongExposure is the first light exposure, and shortExposure is the second light exposure.Since actual pixel value may be to be greater than Presetted pixel threshold value, so in the present embodiment, after obtaining initial dynamic range parameter value, being based on initial dynamic range parameter The dynamic range parameters value that value obtains is greater than or equal to initial dynamic range parameter value.For example, ifIt is 64, It is A according to the initial dynamic range parameter value that above-mentioned calculating formula is calculated, then state range parametric values are greater than or equal to A, can It incrementally increasesTo estimate dynamic range parameters value.Assuming that will128 are set as, obtaining value is B, the range of initial dynamic range parameter value is 0 between B, can determining a value as dynamic range parameters between A to B Value.
In one example, in the case where the pixel value of the second target position is equal to presetted pixel threshold value, if the second mesh The pixel value of cursor position is greater than zero, the pixel value of pixel value, the second target position based on first object position, the first light exposure And second light exposure, initial dynamic range parameter value is calculated, in one example, can be based onInitial dynamic is calculated Range parametric values.Work as ShortMinPixelValue > 0, illustrates that the actual dynamic range parameter value of current scene is smaller, it can be It is covered inside one frame, at this timeIt should be smaller.
In one embodiment, according to the pixel value of first object position, the pixel value of the second target position, the first exposure Amount and the second light exposure calculate dynamic range parameters value, further includes: the pixel value in the second target position is less than presetted pixel In the case where threshold value, initial dynamic range parameter value is determined as dynamic range parameters value.
In the case where the pixel value of the second target position is less than presetted pixel threshold value, then illustrate the second image of current scene It is highlighted there is no overflowing, the initial dynamic range parameter value of above-mentioned calculating is the dynamic range parameters of outdoor scene, by first initiating State range parametric values are determined as dynamic range parameters value.
In one example, in the case where the pixel value of the second target position is less than presetted pixel threshold value, if the second mesh The pixel value of cursor position is equal to zero, then can be based onIt calculates Initial dynamic range parameter value is obtained, initial dynamic range parameter value is then determined as dynamic range parameters value.
In one example, in the case where the pixel value of the second target position is less than presetted pixel threshold value, if the second mesh The pixel value of cursor position is greater than zero, then can be based onInitial dynamic is calculated Then initial dynamic range parameter value is determined as dynamic range parameters value by range parametric values.
In one example, after getting the dynamic range parameters value of current scene, field can be carried out based on the value Scape identification realizes that scene is distinguished.For example, dynamic range parameters value is big, illustrates that current scene is high dynamic scene, there is bloom, There is dark space.Therefore dynamic range parameters value can be very good the dynamic range of quantization current scene, can effectively distinguish high dynamic Scene and normal scene.
In one embodiment, according to benchmark light exposure and dynamic range parameters value, target light exposure amount is determined, comprising: Based on dynamic range parameters value, determine that N number of exposure adjustment amount, N are positive integer;By benchmark light exposure respectively with N number of light exposure tune Whole amount is added, and obtains N number of first object light exposure;Target light exposure amount, target light exposure amount are determined based on N number of first object light exposure Including N number of first object light exposure.
It, the case where system is equivalent to the dynamic range for understanding current scene, can be with after obtaining dynamic range parameters value Algorithms of different is called to be exposed according to dynamic range parameters value, such as single frames HDR algorithm, multiframe HDR algorithm etc..Specifically, Based on dynamic range parameters value, N number of exposure adjustment amount, the difference of N, corresponding different exposure algorithm are determined, for example, N is 1 When, it indicates single frames HDR algorithm, when N is the integer greater than 2, indicates multiframe HDR algorithm.In this way, by benchmark light exposure respectively with N A light exposure adjustment amount is added, and obtains N number of first object light exposure;Target light exposure amount is determined based on N number of first object light exposure. If N is 1, first object light exposure is determined as target light exposure amount, if N is greater than or equal to 2, by N number of first object light exposure It is determined as target light exposure amount with benchmark light exposure, at this point, target light exposure amount further includes benchmark light exposure.
In one embodiment, it is based on dynamic range parameters value, determines N number of exposure adjustment amount, comprising: is joined in dynamic range In the case that numerical value is less than or equal to preset value, the first exposure adjustment amount is determined;It is greater than preset value in dynamic range parameters value In the case of, determine at least two second exposure adjustment amounts, wherein the absolute value of the second exposure adjustment amount is greater than the first exposure adjustment The absolute value of amount, target light exposure amount further include benchmark light exposure.
In the case where dynamic range parameters value is less than or equal to preset value, indicates that dynamic range parameters value is smaller, can use Single frames HDR algorithm determines one first exposure adjustment amount, by the first exposure adjustment amount and benchmark light exposure value after being added (i.e. first object light exposure) is used as target light exposure amount.In the case where dynamic range parameters value is greater than preset value, indicate Dynamic range parameters value is larger, can use multiframe HDR algorithm, determines at least two second exposure adjustment amounts, passes through at least two the Two exposure adjustment amounts are added with benchmark light exposure respectively, at least two first object light exposures can be obtained, by least two first Target light exposure amount and benchmark light exposure are determined as target light exposure amount.
For using multiframe HDR algorithm, it can be understood as surround Exposure mode, generally use three different light exposures Target image is synthesized, and the target image that six or more different light exposures can also be used is synthesized.The present embodiment method In, after the dynamic range parameters value of current scene is calculated, it can efficiently and accurately determine target light exposure amount.For example, if adopting Exposed with the encirclements of 3 frames, the light exposure of reference frame is EV0 (benchmark light exposure), in addition the light exposure of two frames be respectively EV+2 and EV-2 is equivalent to be synthesized there are three types of the frame of different light exposures.
In one example, in the case where dynamic range parameters value is greater than preset value, at least two second exposures are determined During adjustment amount, in the case where dynamic range parameters value is greater than preset value, if dynamic range parameters value is greater than default ginseng Number threshold value, then it represents that the dynamic range of current scene is too big, is directly likely to occur tomography in 3 frame figures, needs more such as 6 frame energy Synthesize relatively good result.So our inputs that can be synthesized according to the size of dynamic range values come dynamic select algorithm The quantity of frame, the i.e. size of dynamic select N.
In addition, can also determine the size of exposure adjustment amount according to dynamic range parameters value.The light exposure of reference frame is EV0, After the accurate dynamic range parameters value for obtaining current scene, on the basis of EVO, within a preset range, at least two the are determined Two exposure adjustment amounts.Such as because dynamic range values are too big, (on the basis of benchmark light exposure, exposure adjustment amount is possible EV+3 3) be better than EV+2 with the combined result of EV-3 (on the basis of benchmark light exposure, exposure adjustment amount is -3) (is with benchmark light exposure Benchmark, exposure adjustment amount is 2) and the combination of EV-2 (on the basis of benchmark light exposure, exposure adjustment amount is -2) therefore can be with Encirclement exposure setting is adjusted according to dynamic range values come dynamic.
Photographic method through the foregoing embodiment obtains more accurately dynamic range in outdoor scene by more exposure techniques Value is adjusted using dynamic range values and is exposed, and makes exposure more accurate, is enabled more accurately to be promoted the dynamic range of image, is improved Picture quality.
As shown in figure 5, there is camera, terminal device 500 the present invention also provides the terminal device 500 of one embodiment Include:
Computing module 501, the preview image for being acquired based on camera, calculating benchmark light exposure;
Dynamic range parameters value obtains module 502, for obtaining dynamic range parameters value, wherein dynamic range parameters value The image acquired based at least two light exposures and camera that are determined according to benchmark light exposure based at least two light exposures It determines;
Target light exposure amount determining module 503, for determining that target is exposed according to benchmark light exposure and dynamic range parameters value Light quantity;
Target image obtains module 504, the target image shot for obtaining camera based on target light exposure amount.
In one embodiment, terminal device 500 further include:
It exposes ratio and obtains module, for obtaining target light exposure ratio;
Light exposure determining module determines at least two light exposures for being based on benchmark light exposure and target light exposure ratio;
Image collection module, the image acquired for obtaining camera based at least two light exposures;
Parameter value determining module, the image and at least two for being acquired according to camera based at least two light exposures Light exposure determines dynamic range parameters value.
In one embodiment, at least two light exposures include the first light exposure and the second light exposure, and the first light exposure is big In the second light exposure;
Light exposure determining module, comprising:
First light exposure determining module, for benchmark light exposure to be determined as the first light exposure;
Second light exposure determining module, for the ratio between benchmark light exposure and target light exposure ratio to be determined as the second exposure Light quantity.
In one embodiment, the corresponding image of the first light exposure is the first image, and the corresponding image of the second light exposure is Second image;
Parameter value determining module, comprising:
First pixel value obtains module, for obtaining the pixel value of the first object position in the first image, wherein first Target position is for the pixel value minimum in the second image and in the smallest position of the pixel value of the first image;
Second pixel value obtains module, for obtaining the pixel value of the second target position in the second image, wherein second Target position is that the pixel value in the first image is less than presetted pixel threshold value, and the maximum position of pixel value in the second image It sets;
Dynamic range parameters value computing module, for the picture according to the pixel value of first object position, the second target position Element value, the first light exposure and the second light exposure, calculate dynamic range parameters value.
In one embodiment, dynamic range parameters value computing module, comprising:
Initial parameter value computing module, for pixel value, the second target position based on first object position pixel value, First light exposure and the second light exposure, are calculated initial dynamic range parameter value;
State range parametric values determining module, for the pixel value in the second target position be equal to presetted pixel threshold value the case where Under, it is based on initial dynamic range parameter value, determines that dynamic range parameters value, dynamic range parameters value are greater than or equal to initial dynamic Range parametric values.
In one embodiment, state range parametric values determining module is also used to be less than in the pixel value of the second target position In the case where presetted pixel threshold value, initial dynamic range parameter value is determined as dynamic range parameters value.
In one embodiment, target light exposure amount determining module, comprising:
Adjustment amount determining module determines that N number of exposure adjustment amount, N are positive integer for being based on dynamic range parameters value;
Light exposure processing module obtains N number of first for benchmark light exposure to be added with N number of light exposure adjustment amount respectively Target light exposure amount;
Target light exposure amount obtains module, for determining target light exposure amount, target light exposure amount based on N number of first object light exposure Including N number of first object light exposure.
In one embodiment, adjustment amount determining module is used for,
In the case where dynamic range parameters value is less than or equal to preset value, the first exposure adjustment amount is determined;
In the case where dynamic range parameters value is greater than preset value, at least two second exposure adjustment amounts are determined, wherein the The absolute value of two exposure adjustment amounts is greater than the absolute value of the first exposure adjustment amount, and target light exposure amount further includes benchmark light exposure.
Technical characteristic in terminal device provided in an embodiment of the present invention is corresponding with the technical characteristic in above-mentioned photographic method, Each process of above-mentioned photographic method is realized by terminal device, and can obtain identical effect, to avoid repeating, herein no longer It repeats.
A kind of hardware structural diagram of Fig. 6 terminal device of each embodiment to realize the present invention, the terminal device 600 Including but not limited to: radio frequency unit 601, audio output unit 603, input unit 604, sensor 605, is shown network module 602 Show the components such as unit 606, user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611. It will be understood by those skilled in the art that terminal device structure shown in Fig. 6 does not constitute the restriction to terminal device, terminal is set Standby may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention In embodiment, terminal device include but is not limited to mobile phone, tablet computer, laptop, palm PC, vehicle mobile terminals, Wearable device and pedometer etc..
Wherein, processor 610, the preview image for being acquired based on camera, calculating benchmark light exposure;Obtain dynamic model Enclose parameter value, wherein dynamic range parameters value is based at least two light exposures and camera determined according to benchmark light exposure It is determined based on the image of at least two light exposures acquisition;According to benchmark light exposure and dynamic range parameters value, determine that target exposes Light quantity;Obtain the target image that camera is shot based on target light exposure amount.
During determining target light exposure amount, benchmark light exposure is not only allowed for, and also contemplate dynamic range parameters Value, and dynamic range parameters value is based at least two based at least two light exposures and camera determined according to benchmark light exposure The image of a light exposure acquisition determines, is exposed tune to terminal device by benchmark light exposure and dynamic range parameters value It is whole, target light exposure amount is obtained, the accuracy of target light exposure amount can be improved, to can be mentioned when being shot according to target light exposure amount The quality for the target image that height shooting obtains.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end The relevant audio output of specific function that end equipment 600 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode In image capture mode by image capture terminal device (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can To be stored in memory 609 (or other storage mediums) or be sent via radio frequency unit 601 or network module 602. Microphone 6042 can receive sound, and can be audio data by such acoustic processing.Treated, and audio data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 601 in the case where telephone calling model.
Terminal device 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 6091, and proximity sensor can close when terminal device 600 is moved in one's ear Display panel 6091 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 and Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071 Neighbouring operation).Touch panel 6071 may include two parts of touch detection terminal device and touch controller.Wherein, it touches The touch orientation of terminal device detection user is detected, and detects touch operation bring signal, transmits a signal to touch control Device;Touch controller receives touch information from touch detection terminal device, and is converted into contact coordinate, then gives processing Device 610 receives the order that processor 610 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and The multiple types such as surface acoustic wave realize touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include Other input equipments 6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 5, touch panel 6071 and display Panel 6061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 608 is the interface that exterior terminal equipment is connect with terminal device 600.For example, exterior terminal equipment can With include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, Memory card port, port, the port audio input/output (I/O), video I/ for connecting the terminal device with identification module O port, ear port etc..Interface unit 608 can be used for receiving the input from exterior terminal equipment (for example, data are believed Breath, electric power etc.) and by one or more elements that the input received is transferred in terminal device 600 or can be used for Data are transmitted between terminal device 600 and exterior terminal equipment.
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storage Data in device 609 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Terminal device 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 600 includes some unshowned functional modules, details are not described herein.
The embodiment of the present invention also provides a kind of terminal device, including processor 610 and memory 609, and memory 609 stores There is the computer program that can be run on processor 610, which realizes the above-mentioned side of taking pictures when being executed by processor 610 Each process in method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned photographic method embodiment when being executed by processor, and can reach Identical technical effect, to avoid repeating, which is not described herein again.Wherein, computer readable storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disk Or CD etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that including that process, method, article or the terminal device of a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or terminal The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in process, method, article or the terminal device for including the element.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) method that executes each embodiment of the present invention.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (18)

1. a kind of photographic method, which is characterized in that applied to the terminal device including camera, which comprises
Based on the preview image of camera acquisition, calculating benchmark light exposure;
Obtain dynamic range parameters value, wherein the dynamic range parameters value determines extremely based on according to the benchmark light exposure Few two light exposures and the camera are determined based on the image that at least two light exposure acquires;
According to the benchmark light exposure and the dynamic range parameters value, target light exposure amount is determined;
Obtain the target image that the camera is shot based on the target light exposure amount.
2. the method according to claim 1, wherein determining that the mode of the dynamic range parameters value includes:
Obtain target light exposure ratio;
Based on the benchmark light exposure and the target light exposure ratio, at least two light exposure is determined;
Obtain the image that the camera is acquired based at least two light exposure;
The image acquired according to the camera based at least two light exposures and at least two light exposure, determine described in Dynamic range parameters value.
3. according to the method described in claim 2, it is characterized in that, at least two light exposure includes the first light exposure and the Two light exposures, first light exposure are greater than second light exposure;
It is described to be based on the benchmark light exposure and the target light exposure ratio, determine at least two light exposure, comprising:
The benchmark light exposure is determined as first light exposure;
Ratio between the benchmark light exposure and target light exposure ratio is determined as second light exposure.
4. according to the method described in claim 3, it is characterized in that, the corresponding image of first light exposure be the first image, The corresponding image of second light exposure is the second image;
The image acquired according to the camera based at least two light exposures and at least two light exposure are determined The dynamic range parameters value, comprising:
Obtain the pixel value of the first object position in the first image, wherein the first object position is described the Pixel value in two images is minimum and in the smallest position of the pixel value of the first image;
Obtain the pixel value of the second target position in second image, wherein second target position is described the Pixel value in one image is less than presetted pixel threshold value, and the maximum position of pixel value in second image;
According to the pixel value of the first object position, the pixel value of second target position, first light exposure and Second light exposure calculates the dynamic range parameters value.
5. according to the method described in claim 4, it is characterized in that, the pixel value according to the first object position, institute Pixel value, first light exposure and second light exposure for stating the second target position, calculate the dynamic range parameters Value, comprising:
The pixel value of pixel value, second target position based on the first object position, first light exposure and Second light exposure, is calculated initial dynamic range parameter value;
In the case where the pixel value of second target position is equal to the presetted pixel threshold value, it is based on the initial dynamic model Parameter value is enclosed, determines that the dynamic range parameters value, the dynamic range parameters value are greater than or equal to the initial dynamic range Parameter value.
6. according to the method described in claim 5, it is characterized in that, the pixel value according to the first object position, institute Pixel value, first light exposure and second light exposure for stating the second target position, calculate the dynamic range parameters Value, further includes:
In the case where the pixel value of second target position is less than the presetted pixel threshold value, by the initial dynamic range Parameter value is determined as the dynamic range parameters value.
7. the method according to claim 1, wherein described according to the benchmark light exposure and the dynamic model Parameter value is enclosed, determines target light exposure amount, comprising:
Based on the dynamic range parameters value, determine that N number of exposure adjustment amount, the N are positive integer;
The benchmark light exposure is added with N number of light exposure adjustment amount respectively, obtains N number of first object light exposure;
Determine that the target light exposure amount, the target light exposure amount include N number of first object based on N number of first object light exposure Light exposure.
8. determining N number of exposure the method according to the description of claim 7 is characterized in that described be based on the dynamic range parameters value Light adjustment amount, comprising:
In the case where the dynamic range parameters value is less than or equal to preset value, the first exposure adjustment amount is determined;
In the case where the dynamic range parameters value is greater than preset value, at least two second exposure adjustment amounts are determined, wherein institute The absolute value for stating the second exposure adjustment amount is greater than the absolute value of the first exposure adjustment amount, and the target light exposure amount further includes institute State benchmark light exposure.
9. a kind of terminal device, which is characterized in that there is camera, the terminal device includes:
Computing module, the preview image for being acquired based on the camera, calculating benchmark light exposure;
Dynamic range parameters value obtains module, for obtaining dynamic range parameters value, wherein the dynamic range parameters value is based on At least two light exposures determined according to the benchmark light exposure and the camera are based at least two light exposure and adopt The image of collection determines;
Target light exposure amount determining module, for determining target according to the benchmark light exposure and the dynamic range parameters value Light exposure;
Target image obtains module, the target image shot for obtaining the camera based on the target light exposure amount.
10. terminal device according to claim 9, which is characterized in that further include:
It exposes ratio and obtains module, for obtaining target light exposure ratio;
Light exposure determining module determines described at least two for being based on the benchmark light exposure and the target light exposure ratio A light exposure;
Image collection module, the image acquired for obtaining the camera based at least two light exposure;
Parameter value determining module, image for being acquired according to the camera based at least two light exposures and it is described at least Two light exposures determine the dynamic range parameters value.
11. terminal device according to claim 10, which is characterized in that at least two light exposure includes the first exposure Amount and the second light exposure, first light exposure are greater than second light exposure;
The light exposure determining module, comprising:
First light exposure determining module, for the benchmark light exposure to be determined as first light exposure;
Second light exposure determining module, for the ratio between the benchmark light exposure and target light exposure ratio to be determined as described Two light exposures.
12. terminal device according to claim 11, which is characterized in that the corresponding image of first light exposure is first Image, the corresponding image of second light exposure are the second image;
The parameter value determining module, comprising:
First pixel value obtains module, for obtaining the pixel value of the first object position in the first image, wherein described First object position is for the pixel value minimum in second image and in the smallest position of the pixel value of the first image;
Second pixel value obtains module, for obtaining the pixel value of the second target position in second image, wherein described Second target position is that the pixel value in the first image is less than presetted pixel threshold value, and the picture in second image Element is worth maximum position;
Dynamic range parameters value computing module, for the pixel value according to the first object position, second target position Pixel value, first light exposure and second light exposure, calculate the dynamic range parameters value.
13. terminal device according to claim 12, which is characterized in that the dynamic range parameters value computing module, packet It includes:
Initial parameter value computing module, the picture for pixel value, second target position based on the first object position Element value, first light exposure and second light exposure, are calculated initial dynamic range parameter value;
State range parametric values determining module is equal to the presetted pixel threshold value for the pixel value in second target position In the case of, it is based on the initial dynamic range parameter value, determines that the dynamic range parameters value, the dynamic range parameters value are big In or equal to the initial dynamic range parameter value.
14. terminal device according to claim 13, which is characterized in that the state range parametric values determining module is also used In in the case where the pixel value of second target position is less than the presetted pixel threshold value, the initial dynamic range is joined Numerical value is determined as the dynamic range parameters value.
15. terminal device according to claim 9, which is characterized in that the target light exposure amount determining module, comprising:
Adjustment amount determining module determines that N number of exposure adjustment amount, the N are positive whole for being based on the dynamic range parameters value Number;
Light exposure processing module obtains N number of for the benchmark light exposure to be added with N number of light exposure adjustment amount respectively First object light exposure;
Target light exposure amount obtains module, for determining that the target light exposure amount, the target expose based on N number of first object light exposure Light quantity includes N number of first object light exposure.
16. terminal device according to claim 15, which is characterized in that the adjustment amount determining module is used for,
In the case where the dynamic range parameters value is less than or equal to preset value, the first exposure adjustment amount is determined;
In the case where the dynamic range parameters value is greater than preset value, at least two second exposure adjustment amounts are determined, wherein institute The absolute value for stating the second exposure adjustment amount is greater than the absolute value of the first exposure adjustment amount, and the target light exposure amount further includes institute State benchmark light exposure.
17. a kind of mobile terminal characterized by comprising memory and processor, the memory are stored with computer journey Sequence, the processor realize the step in photographic method as claimed in any one of claims 1 to 8 when executing the computer program Suddenly.
18. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program realize the step in photographic method as claimed in any one of claims 1 to 8 when being executed by processor Suddenly.
CN201910472318.2A 2019-05-31 2019-05-31 Photographing method, terminal equipment and computer readable storage medium Active CN110213484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910472318.2A CN110213484B (en) 2019-05-31 2019-05-31 Photographing method, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910472318.2A CN110213484B (en) 2019-05-31 2019-05-31 Photographing method, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110213484A true CN110213484A (en) 2019-09-06
CN110213484B CN110213484B (en) 2021-03-12

Family

ID=67790210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910472318.2A Active CN110213484B (en) 2019-05-31 2019-05-31 Photographing method, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110213484B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131693A (en) * 2019-11-07 2020-05-08 深圳市艾为智能有限公司 Face image enhancement method based on multi-exposure face detection
CN113132644A (en) * 2019-12-31 2021-07-16 深圳市海思半导体有限公司 Method and equipment for generating high dynamic range image
CN113824892A (en) * 2020-06-19 2021-12-21 浙江宇视科技有限公司 Image acquisition method, device, equipment and storage medium
CN114785966A (en) * 2022-06-21 2022-07-22 深圳比特微电子科技有限公司 Exposure control method, shooting processing method, device and medium
CN116723419A (en) * 2023-07-03 2023-09-08 北京拙河科技有限公司 Acquisition speed optimization method and device for billion-level high-precision camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069200A1 (en) * 2009-09-22 2011-03-24 Samsung Electronics Co., Ltd. High dynamic range image generating apparatus and method
CN105100637A (en) * 2015-08-31 2015-11-25 联想(北京)有限公司 Image processing method and electronic equipment
CN105530426A (en) * 2014-10-16 2016-04-27 佳能株式会社 Image capturing apparatus, control method thereof, and storage medium
CN108833804A (en) * 2018-09-20 2018-11-16 Oppo广东移动通信有限公司 Imaging method, device and electronic equipment
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN108900785A (en) * 2018-09-18 2018-11-27 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110069200A1 (en) * 2009-09-22 2011-03-24 Samsung Electronics Co., Ltd. High dynamic range image generating apparatus and method
CN105530426A (en) * 2014-10-16 2016-04-27 佳能株式会社 Image capturing apparatus, control method thereof, and storage medium
CN105100637A (en) * 2015-08-31 2015-11-25 联想(北京)有限公司 Image processing method and electronic equipment
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN108900785A (en) * 2018-09-18 2018-11-27 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN108833804A (en) * 2018-09-20 2018-11-16 Oppo广东移动通信有限公司 Imaging method, device and electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131693A (en) * 2019-11-07 2020-05-08 深圳市艾为智能有限公司 Face image enhancement method based on multi-exposure face detection
CN111131693B (en) * 2019-11-07 2021-07-30 深圳市艾为智能有限公司 Face image enhancement method based on multi-exposure face detection
CN113132644A (en) * 2019-12-31 2021-07-16 深圳市海思半导体有限公司 Method and equipment for generating high dynamic range image
CN113824892A (en) * 2020-06-19 2021-12-21 浙江宇视科技有限公司 Image acquisition method, device, equipment and storage medium
CN113824892B (en) * 2020-06-19 2023-11-07 浙江宇视科技有限公司 Image acquisition method, device, equipment and storage medium
CN114785966A (en) * 2022-06-21 2022-07-22 深圳比特微电子科技有限公司 Exposure control method, shooting processing method, device and medium
CN116723419A (en) * 2023-07-03 2023-09-08 北京拙河科技有限公司 Acquisition speed optimization method and device for billion-level high-precision camera
CN116723419B (en) * 2023-07-03 2024-03-22 北京拙河科技有限公司 Acquisition speed optimization method and device for billion-level high-precision camera

Also Published As

Publication number Publication date
CN110213484B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN107770438B (en) A kind of photographic method and mobile terminal
CN107613191B (en) Photographing method, photographing equipment and computer readable storage medium
CN110213484A (en) A kind of photographic method, terminal device and computer readable storage medium
CN107682616B (en) Control method, camera cover and mobile terminal
CN107566730B (en) A kind of panoramic picture image pickup method and mobile terminal
CN108270966A (en) A kind of method, mobile terminal and storage medium for adjusting light filling brightness
CN107592471A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN107483836B (en) A kind of image pickup method and mobile terminal
CN107623818B (en) Image exposure method and mobile terminal
CN109688322A (en) A kind of method, device and mobile terminal generating high dynamic range images
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN109218626A (en) A kind of photographic method and terminal
CN109743506A (en) A kind of image capturing method and terminal device
CN107820022A (en) A kind of photographic method and mobile terminal
CN108449541A (en) A kind of panoramic picture image pickup method and mobile terminal
CN109544486A (en) A kind of image processing method and terminal device
CN107948505A (en) A kind of panorama shooting method and mobile terminal
CN105915815A (en) Method and device for shooting based on mobile device, and mobile device
CN109905603A (en) A kind of shooting processing method and mobile terminal
CN109474787A (en) A kind of photographic method, terminal device and storage medium
CN109104578A (en) A kind of image processing method and mobile terminal
CN109474784A (en) A kind of preview image processing method and terminal device
CN108307123A (en) A kind of exposure adjustment method and mobile terminal
CN109348137A (en) Mobile terminal camera control method, device, mobile terminal and storage medium
CN108718388A (en) A kind of photographic method and mobile terminal

Legal Events

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