WO2017035750A1 - 一种拍摄图片的方法及装置 - Google Patents
一种拍摄图片的方法及装置 Download PDFInfo
- Publication number
- WO2017035750A1 WO2017035750A1 PCT/CN2015/088639 CN2015088639W WO2017035750A1 WO 2017035750 A1 WO2017035750 A1 WO 2017035750A1 CN 2015088639 W CN2015088639 W CN 2015088639W WO 2017035750 A1 WO2017035750 A1 WO 2017035750A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- ratio
- exposure
- user equipment
- underexposure
- overexposure
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- 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/741—Circuitry 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
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- 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/70—Circuitry for compensating brightness variation in the scene
-
- 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/743—Bracketing, i.e. taking a series of images with varying exposure conditions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10141—Special mode during image acquisition
- G06T2207/10144—Varying exposure
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20208—High dynamic range [HDR] image processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- 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/63—Control of cameras or camera modules by using electronic viewfinders
Definitions
- the present invention relates to the field of image capture, and in particular, to a method and apparatus for taking a picture.
- HDR High Dynamic Range
- some terminal devices also use HDR technology to take pictures.
- the terminal device takes pictures with different exposures by setting the exposure amount of different gear positions, and then HDR synthesis algorithm to analyze multi-frame pictures. , extracting some details of different pictures for synthesis, and combining several pictures with low dynamic range into pictures with higher dynamic range.
- the terminal device is relatively simple in selecting exposures of different gear positions, and cannot meet the special needs of some scenes.
- the images taken after HDR processing may have abnormal artificial effects, and the picture quality is poor.
- the existing terminal equipment is mainly for over-exposure and under-exposure in statistical scenes.
- the exposure of one or more sets of fixed gears is designed, and pictures with different exposures are taken.
- the limited exposures cannot reach the expected amount.
- the effect of the EV (Exposure Value) value of the three pictures is (1, 0, -1.5) for the overexposed scene, and the EV value of the three pictures is (+1.5, for the underexposed scene, respectively. 0, -1), however, the quality of the pictures thus obtained is poor.
- Embodiments of the present invention provide a method for taking a picture for improving the quality of a picture taken.
- a method of taking a picture including:
- the user equipment determines a corresponding exposure brightness adjustment multiple array according to the first exposure ratio, the exposure brightness adjustment multiple array includes three types of exposure brightness adjustment multiples, and the first type exposure brightness adjustment multiple is used to indicate exposure brightness using the exposure After the brightness adjustment multiple is adjusted, the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is unchanged after the exposure brightness adjustment multiple is adjusted, and the third type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is adjusted by using the exposure brightness adjustment multiple.
- the user equipment adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio
- the user equipment adopts the adjusted first type of exposure brightness adjustment multiple to take a first group of pictures to the to-be-shot area, the second type of exposure brightness adjustment multiple to take a second group of pictures to the to-be-photographed area, and adjust a third type of exposure brightness adjustment factor to capture a third group of pictures on the area to be photographed;
- the user equipment synthesizes a target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio.
- the user equipment determines, according to the first exposure ratio, a corresponding array of exposure brightness adjustment times, including:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a first overexposure ratio threshold, and when the first underexposure ratio does not reach a first underexposure ratio threshold, the luminance value is decreased;
- the exposure brightness is adjusted by an array of times.
- Determining, by the user equipment, an array of corresponding exposure brightness adjustment times according to the first exposure ratio including:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a first overexposure ratio threshold, and when the first underexposure ratio does not reach a first underexposure ratio threshold, the luminance value is decreased;
- the user equipment determines, according to the first exposure ratio, a corresponding array of exposure brightness adjustment times, including:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a first overexposure ratio threshold, and when the first underexposure ratio does not reach a first underexposure ratio threshold, the luminance value is decreased;
- the second overexposure ratio corresponds to an array of exposure brightness adjustment times.
- the user equipment adjusts a multiple of the first type of exposure brightness according to the first exposure ratio
- the third type of exposure brightness adjustment adjustment including:
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio, the second underexposure ratio, and the first variation amount;
- the user equipment is exposed to the third type according to the first overexposure ratio and the second overexposure ratio
- the brightness adjustment factor is adjusted.
- the first preset condition is:
- the first amount of change reaches a first amount of change threshold and/or the second amount of underexposure reaches the first underexposure ratio threshold.
- the method further includes:
- the steps include the following operations:
- the user equipment determines that the current overexposure ratio after the brightness value is lowered reaches the first overexposure ratio threshold, and decreases the brightness value when the current underexposure ratio after the brightness value decreases does not reach the first underexposure ratio threshold.
- the method further includes:
- the user equipment determines that the second underexposure ratio reaches a third underexposure ratio threshold.
- the user equipment determines, according to the first exposure ratio, a corresponding array of exposure brightness adjustment times, including:
- the user equipment determines a brightness value
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach a third overexposure ratio threshold, the brightness value is increased;
- the user equipment determines, according to the first exposure ratio, a corresponding array of exposure brightness adjustment times, including:
- the user equipment determines a brightness value
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach a third overexposure ratio threshold, the brightness value is increased;
- the user equipment determines, according to the first exposure ratio, a corresponding array of exposure brightness adjustment times, including:
- the user equipment determines a brightness value
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach a third overexposure ratio threshold, the brightness value is increased;
- the third underexposure ratio corresponds to an exposure brightness adjustment multiple array.
- the user equipment adjusts the first type of exposure brightness according to the first exposure ratio
- the third type of exposure brightness adjustment multiple adjustment including:
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio and the third underexposure ratio;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio, the third overexposure ratio, and the second variation amount.
- the second preset condition is:
- the second amount of change reaches a second amount of change threshold and/or the third overexposure ratio reaches a third overexposure ratio threshold.
- the method further includes:
- the user equipment determines that the brightness value does not meet the second preset condition, and returns to determine that the third underexposure ratio reaches the second underexposure ratio threshold until the second preset condition is met;
- the steps include the following operations:
- the user equipment determines that the current underexposure ratio after the brightness value is increased reaches the second underexposure ratio threshold, and when the current overexposure ratio after the brightness value is increased does not reach the third overexposure ratio threshold, the brightness value is increased.
- the user equipment determines that the third overexposure ratio reaches the second overexposure ratio threshold.
- the user equipment adjusts a third type of exposure brightness adjustment according to the first exposure ratio, including:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a second overexposure ratio threshold, decreases the luminance value, and calculates a third variation of the luminance value;
- the third amount of change adjusts the third type of exposure brightness adjustment multiple.
- the user equipment adjusts a multiple of the first type of exposure brightness according to the first exposure ratio Adjustments, including:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first underexposure ratio reaches a third underexposure ratio threshold, the brightness value is increased, and a fourth variation amount of the brightness value is calculated;
- the first type of exposure brightness adjustment multiple is adjusted according to the fourth variation amount.
- the user equipment adjusts a multiple of the first type of exposure brightness according to the first exposure ratio After the first set of pictures, the second set of pictures, and the third set of pictures are taken after the third type of exposure brightness adjustment adjustment, the method further includes:
- the user equipment calculates a third exposure ratio according to the second exposure ratio and the weight value
- the user equipment adjusts the adjusted first type of exposure brightness adjustment multiple and the adjusted third type exposure brightness adjustment multiple according to the third exposure ratio.
- the nineteenth possible implementation manner before the user equipment determines the first exposure ratio of the current preview picture of the to-be-shot area, Also includes:
- the user equipment increases a brightness value of the preview picture, and determines a fifth change amount after the brightness value is increased;
- Determining, by the user equipment, a first exposure ratio of a current preview picture of the to-be-shot area including:
- the user equipment determines a first exposure ratio of the current preview picture after increasing the brightness value.
- the user equipment adjusts a multiple of the first type of exposure brightness according to the first exposure ratio, and a third category Exposure brightness adjustment multiple adjustments, including:
- the user equipment adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio, the fourth exposure ratio, and the fifth variation amount.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure a ratio
- the fourth exposure ratio includes a fifth overexposure ratio and/or a fifth underexposure ratio
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio and the fifth underexposure ratio;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio, the fifth overexposure ratio, and the fifth variation amount.
- the user equipment determines the first exposure ratio of the current preview picture of the to-be-shot area Previously, it also included:
- the user equipment decreases a brightness value of the preview picture, and determines a sixth change amount after the brightness value is decreased;
- Determining, by the user equipment, a first exposure ratio of a current preview picture of the to-be-shot area including:
- the user equipment determines a first exposure ratio of the current preview picture after decreasing the brightness value.
- the user equipment adjusts a multiple of the first type of exposure brightness according to the first exposure ratio, and a third Class exposure brightness adjustment adjustment, including:
- the user equipment adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio, the fifth exposure ratio, and the sixth variation amount.
- the first exposure ratio includes a first overexposure ratio and/or a first a ratio of underexposure, the fifth exposure ratio comprising a sixth overexposure ratio and/or a sixth underexposure ratio;
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio, the sixth underexposure ratio, and the sixth variation amount;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio and the sixth overexposure ratio.
- the user equipment according to the first group of pictures, the second group of pictures And synthesizing the target image with the third group of pictures, including:
- the user equipment increases a combined weight of a target area of the second group of pictures
- the user equipment synthesizes the target picture according to the first group of pictures, the second group of pictures, the combined weights of the second group of pictures, and the third group of pictures.
- a method of taking a picture including:
- a picture with an exposure brightness adjustment multiple of 0 is used as the target picture.
- the target image is synthesized by using a long exposure time
- the target picture is synthesized using a short exposure time.
- the user equipment determines that there is a moving object, including:
- the user equipment determines that the user equipment is in a motion state, and/or has an object in a motion state in the to-be-shot region.
- a method of taking a picture including:
- the first type of exposure brightness adjustment multiple and the second type of exposure brightness adjustment multiple are increased, and the first type of exposure brightness adjustment multiple is used to indicate that the exposure brightness adjustment is adopted.
- the exposure brightness is unchanged after the multiple adjustment, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is reduced after the adjustment of the exposure brightness adjustment factor;
- the user equipment captures a first group of pictures, a second type of exposure brightness adjustment multiple of the to-be-shot area, and a second group of pictures according to the adjusted first type of exposure brightness adjustment multiples, and according to the third
- the exposure-type brightness adjustment magnification is used to capture a third group of pictures in the area to be photographed, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness enhancement is adjusted by using the exposure brightness adjustment factor;
- the user equipment synthesizes a target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the third group of pictures is captured according to the third type of exposure brightness adjustment multiple Previously, it also included:
- the user equipment adjusts the third type of exposure brightness adjustment multiple
- the user equipment captures a third group of pictures according to the third type of exposure brightness adjustment multiples, including:
- the user equipment adjusts a multiple according to the adjusted third type of exposure brightness to the area to be photographed Take a third set of pictures.
- the user equipment determines that the strength of the water ripple is less than or equal to the intensity threshold,
- the second type of exposure brightness adjustment factor is, and/or, the weight value of the second group of pictures is reduced.
- a user equipment including:
- a determining unit configured to determine a first exposure ratio of a current preview picture of the area to be photographed
- the determining unit is further configured to determine, according to the first exposure ratio, a corresponding exposure brightness adjustment multiple array, wherein the exposure brightness adjustment multiple array includes three types of exposure brightness adjustment multiples, and the first type exposure brightness adjustment multiple is used to indicate exposure The brightness is adjusted by the exposure brightness adjustment multiple adjustment, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is unchanged after the exposure brightness adjustment multiple is adjusted, and the third type of exposure brightness adjustment multiple is used to indicate the exposure brightness using the exposure brightness. Decrease after adjusting the multiple adjustment;
- the adjusting unit is configured to adjust the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio;
- a photographing unit configured to take a first set of pictures, the second type of exposure brightness adjustment multiple of the to-be-shot area, and a second set of pictures, and the second type of exposure brightness adjustment multiples, and Adjusting the third type of exposure brightness adjustment multiple to take a third group of pictures on the area to be photographed;
- a generating unit configured to synthesize the target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio.
- the determining unit determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- Determining after determining that the brightness value is decreased, conforming to the first preset condition, determining a second overexposure ratio, a second underexposure ratio, and a first variation amount of the brightness value of the preview picture after the brightness value is decreased;
- the determining unit when determining the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, is specifically:
- the determining unit when determining the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, is specifically:
- the second overexposure ratio When the second overexposure ratio threshold is reached, an exposure brightness adjustment multiple array corresponding to both the second underexposure ratio and the second overexposure ratio is determined.
- the adjusting unit adjusts a multiple of the first type of exposure brightness according to the first exposure ratio
- the first preset condition is:
- the first amount of change reaches a first amount of change threshold and/or the second amount of underexposure reaches the first underexposure ratio threshold.
- the determining unit is further configured to: after determining that the brightness value is decreased, does not meet the first preset a condition, returning to determine that the second overexposure ratio reaches the first overexposure ratio threshold until the first preset condition is met;
- the steps include the following operations:
- the user equipment determines that the current overexposure ratio after the brightness value is lowered reaches the first overexposure ratio threshold, and decreases the brightness value when the current underexposure ratio after the brightness value decreases does not reach the first underexposure ratio threshold.
- the method further includes:
- the determining unit determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the determining unit when determining the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the determining unit determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the determining unit adjusts the multiple of the first type of exposure brightness according to the first exposure ratio And when the third type of exposure brightness adjustment multiple is adjusted, specifically:
- the second preset condition is:
- the second amount of change reaches a second amount of change threshold and/or the third overexposure ratio reaches a third overexposure ratio threshold.
- the determining unit is further configured to: after determining that the brightness value is increased, not meeting the second Presetting the condition, returning to determine that the third underexposure ratio reaches the second underexposure ratio threshold until the second preset condition is met;
- the steps include the following operations:
- the user equipment determines that the current underexposure ratio after the brightness value is increased reaches the second underexposure ratio threshold, and when the current overexposure ratio after the brightness value is increased does not reach the third overexposure ratio threshold, the brightness value is increased.
- the determining unit determines that the second preset condition is met, determining the third Included before the exposure ratio, the third underexposure ratio, and the second variation;
- the determining unit adjusts the third type of exposure brightness adjustment multiple according to the first exposure ratio, specifically:
- the third type of exposure brightness adjustment multiple is adjusted according to the third variation amount.
- the adjusting unit adjusts a multiple of the first type of exposure brightness according to the first exposure ratio When adjusting, it is specifically:
- the first type of exposure brightness adjustment multiple is adjusted according to the fourth variation amount.
- the determining unit is further configured to determine a ROI of the region of interest of the preview picture
- the adjusting unit is further configured to adjust the adjusted first type of exposure brightness adjustment multiple and the adjusted third type exposure brightness adjustment multiple according to the third exposure ratio.
- the determining unit is further configured to: increase a brightness value of the preview picture, and determine a fifth change amount after the brightness value is increased;
- the determining unit determines the first exposure ratio of the current preview picture of the to-be-shot area, specifically:
- the adjusting unit adjusts the first type of exposure brightness according to the first exposure ratio and the third type When the exposure brightness adjustment multiple is adjusted, it is specifically as follows:
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure a ratio
- the fourth exposure ratio includes a fifth overexposure ratio and/or a fifth underexposure ratio
- the adjusting unit adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, the fourth exposure ratio, and the fifth variation amount, specifically:
- the determining unit is further configured to: reduce brightness of the preview picture a value, and determining a sixth amount of change after the brightness value is decreased;
- the determining unit determines the first exposure ratio of the current preview picture of the to-be-shot area, specifically:
- the adjusting unit adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, specifically:
- the first exposure ratio includes a first overexposure ratio and/or a first a ratio of underexposure, the fifth exposure ratio comprising a sixth overexposure ratio and/or a sixth underexposure ratio;
- the adjusting unit adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, the fifth exposure ratio, and the sixth variation amount, specifically:
- the generating unit is configured according to the first group of pictures and the second group of pictures
- the specific is:
- a user equipment including:
- a detecting unit configured to detect an exercise intensity of the moving object when the determining unit determines that there is a moving object
- the determining unit is further configured to determine that the exercise intensity is greater than the exercise intensity threshold
- the generating unit when the determining unit determines that the exercise intensity is greater than the exercise intensity threshold, uses a picture whose exposure brightness adjustment multiple is 0 as the target picture.
- the determining unit is further configured to: determine that there is no moving object
- the generating unit is further configured to: when the determining unit determines that there is no moving object, synthesize the target image by using a long exposure time;
- the determining unit is further configured to determine that the exercise intensity is less than or equal to the exercise intensity threshold
- the generating unit is further configured to synthesize the target picture by using a short exposure time when the determining unit determines that the exercise intensity is less than or equal to the exercise intensity threshold.
- the determining unit determines that there is a moving object, specifically:
- the user equipment is in a motion state, and/or an object in a motion state is in an area to be photographed.
- a user equipment including:
- a determining unit configured to determine a strength of the water ripple when a water ripple exists in a current preview image of the area to be photographed
- the adjusting unit is configured to: when the intensity of the water ripple is greater than the intensity threshold, increase the first type of exposure brightness adjustment multiple and the second type of exposure brightness adjustment multiple, wherein the first type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is used The exposure brightness is unchanged after adjusting the multiple adjustment, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is reduced after adjusting by the exposure brightness adjustment multiple;
- a photographing unit configured to take a first set of pictures, a second type of exposure brightness adjustment multiple to the to-be-photographed area according to the adjusted first type of exposure brightness adjustment multiple, and take a second set of pictures on the to-be-photographed area, and according to the first
- the third type of exposure brightness adjustment multiple takes a third group of pictures for the area to be photographed, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is adjusted after the exposure brightness adjustment multiple is adjusted;
- a generating unit configured to synthesize the target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the adjusting unit is further configured to: The third type of exposure brightness adjustment multiple is adjusted;
- the shooting unit captures a third group of pictures according to the third type of exposure brightness adjustment multiple
- the shooting unit is specifically:
- a third group of pictures is taken on the area to be photographed according to the adjusted third type of exposure brightness adjustment multiple.
- the adjusting unit is further configured to: when the strength of the water ripple is less than or equal to the intensity threshold, The second type of exposure brightness adjustment factor, and/or, reduces the weight value of the second set of pictures.
- a portable electronic device comprising:
- the display comprises a touch-sensitive surface and a display screen; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured To be executed by the one or more processors, the one or more programs include instructions for performing the method of any one of claims 1 to 26.
- a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a portable electronic device including a display and a plurality of applications, provide The portable electronic device performs the method of any one of claims 1 to 26, wherein the display comprises a touch sensitive surface and a display screen.
- a portable electronic device comprising:
- the display comprises a touch-sensitive surface and a display screen; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured To be executed by the one or more processors, the one or more programs include instructions for performing the method of any one of claims 27 to 29.
- a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a portable electronic device including a display and a plurality of applications, provide The portable electronic device performs the method of any one of claims 27 to 29, wherein the display comprises a touch-sensitive surface and a display screen.
- a portable electronic device comprising:
- the display comprises a touch-sensitive surface and a display screen; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured To be executed by the one or more processors, the one or more programs include instructions for performing the method of any one of claims 30-32.
- a computer readable storage medium storing one or more programs, the one or more programs comprising instructions that, when executed by a portable electronic device including a display and a plurality of applications, are provided.
- the portable electronic device performs the method of any one of claims 30 to 32, wherein the display comprises a touch sensitive surface and a display screen.
- the exposure brightness adjustment multiple array is adjusted according to the current exposure ratio, so that even if the same exposure brightness adjustment multiple array is determined according to different exposure ratios, It is necessary to adjust the exposure brightness adjustment multiplier according to the exposure ratio.
- the exposure brightness adjustment multiplier array used in the last shot is different, that is, it will vary with the application scene. And the change, therefore, improves the quality of the captured image.
- FIG. 1 is a flowchart of taking a picture according to an embodiment of the present invention
- FIG. 2 is another flowchart of taking a picture according to an embodiment of the present invention.
- FIG. 3 is another flowchart of taking a picture according to an embodiment of the present invention.
- FIG. 4A is a schematic diagram of a user equipment according to an embodiment of the present invention.
- FIG. 4B is another schematic diagram of a user equipment according to an embodiment of the present invention.
- FIG. 5A is another schematic diagram of a user equipment according to an embodiment of the present invention.
- FIG. 5B is another schematic diagram of a user equipment according to an embodiment of the present invention.
- FIG. 6A is another schematic diagram of a user equipment according to an embodiment of the present invention.
- FIG. 6B is another schematic diagram of providing a user equipment according to an embodiment of the present invention.
- system and “network” are used interchangeably herein.
- the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
- the letter “/” in this article generally indicates that the contextual object is an "or" relationship.
- a process of taking a picture is as follows:
- Step 100 The user equipment determines a first exposure ratio of a current preview picture of the to-be-shot area
- Step 110 The user equipment determines a corresponding exposure brightness adjustment multiple array according to the first exposure ratio, the exposure brightness adjustment multiple array includes three types of exposure brightness adjustment multiples, and the first type of exposure brightness adjustment multiple is used to indicate that the exposure brightness adopts the exposure brightness adjustment multiple After the adjustment, the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is adjusted after the exposure brightness adjustment multiple is adjusted, and the third type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is adjusted by using the exposure brightness adjustment multiple;
- Step 120 The user equipment adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio;
- Step 130 The user equipment adopts the adjusted first type of exposure brightness adjustment multiple to take the first group of pictures in the shooting area, the second type of exposure brightness adjustment multiple to take the second group of pictures in the shooting area, and the adjusted third type of exposure brightness Adjust the multiple to take the third set of pictures in the shooting area;
- Step 140 The user equipment synthesizes the target according to the first group of pictures, the second group of pictures, and the third group of pictures. image.
- the exposure brightness adjustment multiple arrays corresponding to 25%, 20%, and 15% are (+1EV, 0EV, -1.5EV), +1EV belongs to the first type of exposure brightness adjustment multiple, and 0EV belongs to the second type exposure brightness adjustment multiple, - 1.5EV belongs to the third type of exposure brightness adjustment multiple.
- the first group picture, the second group picture and the third group picture are taken by (+1EV, 0EV, -1.5EV), and according to The first set of pictures, the second set of pictures, and the third set of pictures are combined to form a target picture, and the exposure brightness adjustment multiple array does not change with the exposure ratio. Therefore, the quality of the captured picture has a poor defect.
- a first exposure ratio a second exposure ratio
- a third exposure ratio the first exposure ratio is 25%
- the second exposure ratio is 20%
- the third exposure ratio is 15%.
- the 25%, 20%, and 15% corresponding exposure brightness adjustment multiple arrays are (+1EV, 0EV, -1.5EV)
- +1EV belongs to the first type of exposure brightness adjustment multiple
- 0EV belongs to the second type exposure brightness adjustment multiple
- -1.5EV belongs to the third type of exposure brightness adjustment factor.
- the first exposure ratio is 25%, the user equipment will adjust (+1EV, 0EV, -1.5EV) to (+1EV, 0EV).
- the user equipment will adjust (+1EV, 0EV, -1.5EV) and adjust For (-1EV, 0EV, -1.2EV), and then take pictures according to (-1EV, 0EV, -1.2EV); user equipment will also be (+1EV, 0EV, in the case of the third exposure ratio of 15%) -1.5EV) Adjust, adjust to (+1EV, 0EV, -1EV), and then take pictures according to (+1EV, 0EV, -1EV), although different exposure ratios Brightness adjustment corresponding to the same exposure multiples group, however, will be adjusted to adjust the exposure ratio of the multiple-exposure luminance groups according to improve the quality of the captured picture.
- the first exposure ratio comprises a first overexposure ratio and/or a first underexposure ratio.
- the user equipment may determine, according to the first exposure ratio, whether the current scene is an overexposed scene or an underexposed scene.
- the manner in which the user equipment determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio is different.
- the following is an example in which the current scene is an overexposed scene.
- the following manner when the user equipment determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, the following manner may be adopted:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a first overexposure ratio threshold, and when the first underexposure ratio does not reach the first underexposure ratio threshold, the luminance value is decreased;
- the user equipment determines that the second overexposure ratio reaches the second overexposure ratio threshold, and the second underexposure ratio does not reach the third underexposure ratio threshold, and determines an exposure brightness adjustment multiple array corresponding to the second overexposure ratio.
- the user equipment determines that the first overexposure ratio reaches the first overexposure ratio threshold. In fact, the user equipment determines that the condition for performing AE (Auto Exposure) adjustment is satisfied; and the user equipment determines that the second overexposure ratio reaches the second.
- the overexposure ratio threshold is actually that the user equipment determines that the condition for entering the HDR mode is satisfied, so that before the HDR mode is entered, the AE adjustment is performed, and the AE technology and the HDR technology are combined to improve the quality of the captured picture.
- the user equipment performs AE adjustment, which means that the user equipment can automatically adjust the brightness value according to the exposure ratio, and does not need to adjust the brightness value according to the user instruction.
- the brightness value may be lowered. Because the brightness value is lowered, the underexposure ratio is increased, and if the underexposure ratio exceeds a certain threshold, the picture quality is poor, and the user experience is poor. Therefore, in order to improve the picture quality and improve the user experience, when it is determined that the condition for performing the AE adjustment is satisfied, it is further determined that the first underexposure ratio does not reach the first underexposure ratio threshold, and then, the brightness value is lowered, that is, further Determine the underexposure ratio and the room for improvement, then lower the brightness value.
- the initial scene is an overexposed scene
- the user equipment adjusts the brightness, it is determined that the scene is still overexposed.
- the exposure brightness adjustment multiple array is determined according to the overexposure ratio.
- the user equipment adjusts the first type of exposure brightness according to the first exposure ratio and the third type
- the exposure brightness adjustment multiple it can be selected as follows:
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio, the second underexposure ratio, and the first variation amount;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio and the second overexposure ratio.
- the initial scene is an overexposed scene, and the user equipment is overexposed after reducing the brightness value.
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a first overexposure ratio threshold, and when the first underexposure ratio does not reach the first underexposure ratio threshold, the luminance value is decreased;
- the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, and the second overexposure ratio does not reach the second overexposure ratio threshold, and determines an exposure brightness adjustment multiple array corresponding to the second underexposure ratio.
- the user equipment determines that it is in an underexposed scene, and at this time, determines an exposure brightness adjustment multiple array according to the underexposure ratio.
- the user equipment determines that the first overexposure ratio reaches the first overexposure ratio threshold. In fact, the user equipment determines that the condition for performing the AE adjustment is satisfied; the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, in fact, That is, the user equipment determines that the condition for entering the HDR mode is satisfied, so that before the HDR mode is entered, the AE adjustment is performed, and the AE technology and the HDR technology are combined to improve the quality of the captured picture.
- the brightness value may be lowered. Because the brightness value is lowered, the underexposure ratio is increased, and if the underexposure ratio exceeds a certain threshold, the picture quality is poor, and the user experience is poor. Therefore, in order to improve the picture quality and enhance the user experience, when it is determined that the conditions for performing the AE adjustment are satisfied, it is further determined that the first underexposure ratio does not reach the first owing. When the ratio threshold is exposed, then, the brightness value is lowered, that is, if the underexposure ratio is further determined, and the room for improvement is performed, then the brightness value is lowered.
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio, the second underexposure ratio, and the first variation amount;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio and the second overexposure ratio.
- the second underexposure ratio reaches the third underexposure ratio threshold and the second overexposure ratio reaches the second overexposure ratio threshold, that is, there is both overexposure and underexposure.
- the user equipment determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, optionally, the following manner may be adopted:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches a first overexposure ratio threshold, and when the first underexposure ratio does not reach the first underexposure ratio threshold, the luminance value is decreased;
- the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, and the second overexposure ratio reaches the second overexposure ratio threshold, and determines the exposure brightness adjustment corresponding to the second underexposure ratio and the second overexposure ratio Multiple arrays.
- the user equipment determines that the first overexposure ratio reaches the first overexposure ratio threshold. In fact, the user equipment determines that the condition for performing the AE adjustment is satisfied; the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, and the second The overexposure ratio reaches the second overexposure ratio threshold. In fact, the user equipment determines that the condition for entering the HDR mode is satisfied.
- the AE adjustment is performed, and the AE technology and the HDR technology are combined to improve the shooting. The quality of the picture.
- the brightness value may be lowered, and if the brightness value is lowered, the underexposure ratio is increased, and the underexposure ratio exceeds a certain threshold.
- the quality of the film is poor and the user experience is poor. Therefore, in order to improve the picture quality and improve the user experience, when it is determined that the condition for performing the AE adjustment is satisfied, it is further determined that the first underexposure ratio does not reach the first underexposure ratio threshold. Then, reduce the brightness value, that is, further determine the underexposure ratio and the room for improvement, and then lower the brightness value.
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio, the second underexposure ratio, and the first variation amount;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio and the second overexposure ratio.
- the first preset condition is that the first change amount reaches the first change amount threshold and/or the second under-exposure ratio reaches the first under-exposure ratio threshold.
- the first preset condition is met.
- the first preset condition is not met, and the second overexposure ratio reaches the first overexposure ratio threshold. Then, it is necessary to continue to reduce the brightness value until the first preset condition is met.
- the above description is that after adjusting the brightness value by AE, it satisfies the condition of stopping the decrease of the brightness value, and enters the HDR mode.
- the condition for stopping the decrease of the brightness value is not satisfied, but , the condition for performing the AE adjustment is satisfied, and then, the brightness value is continuously lowered until the condition for stopping the decrease of the brightness value is satisfied. That is, the brightness value does not enter the HDR mode after one AE adjustment, but enters the HDR mode after multiple AE adjustments.
- the user equipment determines that the first overexposure ratio reaches the first overexposure ratio threshold, and when the first underexposure ratio does not reach the first underexposure ratio threshold, the luminance value is decreased by 0, and the luminance value is adjusted from the luminance value 0 to the luminance value of 1,
- the brightness value 1 is continuously adjusted to the brightness value 2
- the brightness value 2 is continuously adjusted to the brightness value 3 and at this time, the first step is determined.
- the overexposure ratio when determining the brightness value 3 reaches the second overexposure ratio threshold value, and when the underexposure ratio does not reach the third underexposure ratio threshold value, when determining the brightness value 3
- the exposure brightness adjustment corresponding to the overexposure ratio is an array of the underexposure ratio according to the luminance value of 3, the underexposure ratio when the luminance value is 0, and the variation between the luminance value 3 and the luminance value 0, and the first
- the exposure-type brightness adjustment magnification is adjusted, and the third-type exposure brightness adjustment magnification is adjusted according to the over-exposure ratio when the luminance value is 3 and the over-exposure ratio when the luminance value is 0.
- the user equipment After determining that the brightness value is decreased, the user equipment does not meet the first preset condition, and returns to determine that the second overexposure ratio reaches the first overexposure ratio threshold until the first preset condition is met.
- the steps include the following operations:
- the user equipment determines that the current overexposure ratio after the brightness value is lowered reaches the first overexposure ratio threshold, and decreases the brightness value when the current underexposure ratio after the brightness value is lowered does not reach the first underexposure ratio threshold.
- the user equipment determines that the first overexposure ratio reaches the first overexposure ratio threshold, and when the first underexposure ratio does not reach the first underexposure ratio threshold, the luminance value is decreased for the first time;
- the user equipment determines that the brightness value does not meet the first preset condition after the first decrease, and determines that the second overexposure ratio after the first decrease of the brightness value reaches the first overexposure ratio threshold, and after the first decrease of the brightness value, When the second underexposure ratio does not reach the first underexposure ratio threshold, the brightness value is decreased for the second time;
- the user equipment determines that the brightness value is not in compliance with the first preset condition after the second decrease, and determines that the third overexposure ratio after the second reduction of the brightness value reaches the first overexposure ratio threshold, and determines the second decrease in the brightness value.
- the third underexposure ratio does not reach the first underexposure ratio threshold, the brightness value is decreased for the third time;
- the process of reducing the brightness value is continuously performed in accordance with the above cyclic process.
- the user equipment continues to perform the AE adjustment to lower the brightness value until the condition for stopping the reduction of the brightness value is satisfied.
- the exposure brightness adjustment multiple array when the HDR technology is used to take a picture, the exposure brightness adjustment multiple array is used. If the HDR mode is not satisfied, it is meaningless to adjust the first type exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple.
- the method further includes:
- the user equipment determines to enter the HDR mode.
- the user equipment determines to enter the HDR mode.
- the following manner can be adopted:
- the user equipment determines that the second overexposure ratio reaches a second overexposure ratio threshold
- the user equipment determines that the second underexposure ratio reaches a third underexposure ratio threshold.
- the user equipment determines to enter the HDR mode by determining the second overexposure ratio to reach the second overexposure ratio threshold; when the initial scene is overexposed After the scene is reduced in brightness, if the user is in an under-exposed scene, the user equipment determines that the second under-exposure ratio reaches the third under-exposure ratio threshold, and determines to enter the HDR mode; when the initial scene is an over-exposure scene, after reducing the brightness value, if it is both owed The exposure scene is also an overexposure scenario. Then, the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, and/or the second underexposure ratio reaches the third underexposure ratio threshold, and then determines to enter the HDR mode.
- the above description is a manner in which the user equipment adjusts the first type of exposure brightness adjustment factor and the third type of exposure brightness adjustment multiple in the scene in which the user equipment determines the over-exposure scene in the initial stage.
- the user equipment is in the initial stage.
- the preview image it may be determined that the scene is under-exposed.
- the following is an example of the current scene being an under-exposure scene.
- the user equipment determines a brightness value
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach the third overexposure ratio threshold, the brightness value is increased;
- the user equipment After the user equipment determines that the brightness value is increased and meets the second preset condition, determining a third overexposure ratio, a third underexposure ratio, and a second variation amount of the brightness value after the brightness value is increased;
- the user equipment determines that the third overexposure ratio reaches the second overexposure ratio threshold, and the third underexposure ratio does not reach the third underexposure ratio threshold, and determines an exposure brightness adjustment multiple array corresponding to the third overexposure ratio.
- the user equipment determines that the first underexposure ratio reaches the second underexposure ratio threshold. In fact, the user equipment determines that the condition for performing the AE adjustment is satisfied; and the user equipment determines that the third overexposure ratio reaches the second overexposure ratio threshold, in fact, That is, the user equipment determines that the condition for entering the HDR mode is satisfied, so that before the HDR mode is entered, the AE adjustment is performed, and the AE technology and the HDR technology are combined to improve the quality of the captured picture.
- the brightness value may be increased. If the brightness value is increased, the overexposure ratio is increased. If the overexposure ratio exceeds a certain threshold, the picture quality is poor and the user experience is poor. Therefore, in order to improve the picture quality and improve the user experience, when it is determined that the condition for performing the AE adjustment is satisfied, it is further determined that the first overexposure ratio does not reach the third overexposure ratio threshold, and then, the brightness value is increased, that is, further Determine the overexposure ratio and the room for improvement, then increase the brightness value.
- the user equipment determines the under-exposure scene in the initial stage, but after the brightness value is adjusted and adjusted, when the second preset condition is met, the over-exposure scene is in use, and at this time, although the initial stage is an under-exposure scene However, it is determined that the exposure brightness adjustment multiple is corresponding to the third overexposure ratio.
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio, the third overexposure ratio, and the second variation amount;
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio and the third underexposure ratio.
- the initial stage is an underexposed scene, but after the brightness value is adjusted and adjusted, it is in an overexposed scene.
- the user equipment determines the corresponding exposure brightness adjustment multiple array according to the first exposure ratio:
- the user equipment determines a brightness value
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach the third overexposure ratio threshold, the brightness value is increased;
- the user equipment After the user equipment determines that the brightness value is increased and meets the second preset condition, determining a third overexposure ratio, a third underexposure ratio, and a second variation amount of the brightness value after the brightness value is increased;
- the user equipment determines that the third underexposure ratio reaches the third underexposure ratio threshold, and the third overexposure ratio does not reach the second overexposure ratio threshold, and determines an exposure brightness adjustment multiple array corresponding to the third underexposure ratio.
- the user equipment determines that the first underexposure ratio reaches the second underexposure ratio threshold. In fact, the user equipment determines that the condition for performing the AE adjustment is satisfied; and the user equipment determines that the third underexposure ratio reaches the third underexposure ratio threshold, in fact, That is, the user equipment determines that the condition for entering the HDR mode is satisfied, so that before the HDR mode is entered, the AE adjustment is performed, and the AE technology and the HDR technology are combined to improve the quality of the captured picture.
- the brightness value may be increased. If the brightness value is increased, the overexposure ratio is increased. If the overexposure ratio exceeds a certain threshold, the picture quality is poor and the user experience is poor. Therefore, in order to improve the picture quality and improve the user experience, when it is determined that the condition for performing the AE adjustment is satisfied, it is further determined that the first overexposure ratio does not reach the third overexposure ratio threshold, and then, the brightness value is increased, that is, further Determine the overexposure ratio and the room for improvement, then increase the brightness value.
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio and the third underexposure ratio;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio, the third overexposure ratio, and the second variation.
- the third underexposure ratio reaches the third underexposure ratio threshold
- the third overexposure ratio reaches the second overexposure ratio threshold.
- the user equipment determines the corresponding exposure brightness adjustment according to the first exposure ratio.
- the user equipment determines a brightness value
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach the third overexposure ratio threshold, the brightness value is increased;
- the user equipment After the user equipment determines that the brightness value is increased and meets the second preset condition, determining a third overexposure ratio, a third underexposure ratio, and a second variation amount of the brightness value after the brightness value is increased;
- the user equipment determines that the third underexposure ratio reaches the third underexposure ratio threshold, and the third overexposure ratio reaches the second overexposure ratio threshold, and determines the exposure brightness adjustment corresponding to the third overexposure ratio and the third underexposure ratio. Multiple arrays.
- the user equipment determines that the first underexposure ratio reaches the second underexposure ratio threshold. In fact, the user equipment determines that the condition for performing the AE adjustment is satisfied; the user equipment determines that the third underexposure ratio reaches the third underexposure ratio threshold, and the third The overexposure ratio reaches the second overexposure ratio threshold. In fact, the user equipment determines that the condition for entering the HDR mode is satisfied.
- the AE adjustment is performed, and the AE technology and the HDR technology are combined to improve the shooting. The quality of the picture.
- the brightness value may be increased. If the brightness value is increased, the overexposure ratio is increased. If the overexposure ratio exceeds a certain threshold, the picture quality is poor and the user experience is poor. Therefore, in order to improve the picture quality and improve the user experience, when it is determined that the condition for performing the AE adjustment is satisfied, it is further determined that the first overexposure ratio does not reach the third overexposure ratio threshold, and then, the brightness value is increased, that is, further Determine the overexposure ratio and the room for improvement, then increase the brightness value.
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio and the third underexposure ratio;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio, the third overexposure ratio, and the second variation.
- the second preset condition is that the second change amount reaches the second change amount threshold and/or the third over exposure ratio reaches the third over exposure ratio threshold.
- the first type is: the user equipment determines that the second overexposure ratio reaches the second overexposure ratio threshold, and the second underexposure ratio does not reach the third underexposure ratio threshold, and determines the second An exposure brightness adjustment array corresponding to the overexposure ratio;
- the second type is: when the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, and the second overexposure ratio does not reach the second overexposure ratio threshold, determining The second underexposure ratio corresponding to the exposure brightness adjustment multiple array;
- the third type is: when the user equipment determines that the second underexposure ratio reaches the third underexposure ratio threshold, and the second overexposure ratio reaches the second overexposure ratio threshold, determining The exposure brightness adjustment multiple array corresponding to the two underexposure ratio and the second overexposure ratio.
- the main difference between the above three methods is: if only the overexposure ratio reaches the threshold, the underexposure ratio does not reach the threshold. At this time, the array of the first type of exposure brightness adjustment is determined; if only the overexposure ratio does not reach the threshold, The underexposure ratio reaches the threshold. At this time, the array of the second type of exposure brightness adjustment is determined; if the overexposure ratio reaches the threshold, the underexposure ratio also reaches the threshold. At this time, the array of the third type of exposure brightness adjustment is determined.
- the first type of exposure brightness adjustment times array corresponds to the scene where the overexposure ratio reaches the threshold value, and the underexposure ratio does not reach the threshold value; the second type of exposure brightness adjustment ratio array and the overexposure ratio do not reach the threshold value, and the underexposure ratio
- the scene corresponding to the threshold is corresponding;
- the third type of exposure brightness adjustment multiple array corresponds to the scene where the overexposure ratio reaches the threshold and the underexposure ratio also reaches the threshold.
- the above description is to increase the brightness value, and meet the second preset condition.
- the second preset condition is not met, and if the third underexposure ratio reaches the second underexposure ratio threshold, then At this point, it is necessary to continue to increase the brightness value until the second preset condition is met.
- the above description is that after adjusting the brightness value by AE, it satisfies the condition of stopping the increase of the brightness value, and enters the HDR mode.
- the condition for stopping the increase of the brightness value is not satisfied, but To satisfy the condition for performing AE adjustment, then, at this time, it is necessary to continue to increase the brightness value until the condition for stopping the increase of the brightness value is satisfied. That is, the brightness value does not enter the HDR mode after one AE adjustment, but enters the HDR mode after multiple AE adjustments.
- the user equipment determines that the first underexposure ratio reaches the second underexposure ratio threshold, and when the first overexposure ratio does not reach the third overexposure ratio threshold, the luminance value is increased by 0, and the luminance value is adjusted from the luminance value 0 to the luminance value of 1,
- the brightness value is adjusted from the brightness value 0 to the brightness value 1
- the second preset condition is not met, and the underexposure ratio below the current brightness value reaches the second underexposure ratio threshold
- the brightness value 1 is continuously adjusted to the brightness value. 2.
- the brightness value 2 is continuously adjusted to the brightness value 3
- the increase of the brightness value is stopped, and the overexposure ratio and the underexposure ratio when the brightness value is determined are determined.
- the exposure brightness adjustment multiple corresponding to the overexposure ratio at the brightness value 3 is determined.
- the underexposure ratio when the brightness value is 0, adjust the exposure adjustment factor of the first type, and the overexposure ratio and the brightness value 3 and brightness when the brightness value is 3, the overexposure ratio and the brightness value are 0.
- the amount of change between the values 0 is adjusted for the third type of exposure brightness adjustment multiple.
- the method further includes the following operations:
- the user equipment After determining that the brightness value is increased, the user equipment does not meet the second preset condition, and returns to determine that the third underexposure ratio reaches the second underexposure ratio threshold until the second preset condition is met.
- the steps include the following operations:
- the user equipment determines that the current underexposure ratio after the brightness value is increased reaches the second underexposure ratio threshold, and when the current overexposure ratio after the brightness value is raised does not reach the third overexposure ratio threshold, the brightness value is increased.
- the user equipment determines that the first underexposure ratio reaches a second underexposure ratio threshold, and when the first overexposure ratio does not reach the third overexposure ratio threshold, the luminance value is increased for the first time;
- the second underexposure ratio after the first increase of the brightness value is determined to reach the second underexposure ratio threshold, and the first time after the brightness value is increased When the overexposure ratio does not reach the third overexposure ratio threshold, the brightness value is increased for the second time;
- the user equipment determines that the brightness value does not meet the second preset condition after the second increase, it is determined that the third underexposure ratio after the second increase of the brightness value reaches the second underexposure ratio threshold, and after the second increase of the brightness value When the ratio of three overexposure does not reach the third overexposure ratio threshold, the brightness value is increased for the third time;
- the process of increasing the brightness value is continuously performed in accordance with the above cyclic process.
- the user equipment continues to perform the AE adjustment to increase the brightness value until the condition for stopping the increase of the brightness value is satisfied.
- the user equipment after the user equipment increases the brightness value, if the condition of entering the HDR mode is met, determining the third overexposure ratio, the third underexposure ratio, and the second variation is meaningful, and therefore, in order to avoid resource waste.
- the following operations are further included;
- the user equipment determines that the third underexposure ratio reaches a third underexposure ratio threshold
- the user equipment determines that the third overexposure ratio reaches a second overexposure ratio threshold.
- the user equipment determines that the third underexposure ratio reaches the third underexposure ratio threshold, and determines to enter the HDR mode; when the initial scene is underexposed After the brightness value is increased, if the user is in an overexposed scene, the user equipment determines that the third overexposure ratio reaches the second overexposure ratio threshold, and determines to enter the HDR mode; when the initial scene is an underexposed scene, after the brightness value is increased, if it is both owed The exposure scene is also an overexposure scenario. Then, the user equipment determines that the third underexposure ratio reaches the third underexposure ratio threshold, and/or the third overexposure ratio reaches the second overexposure ratio threshold, and then determines to enter the HDR mode.
- the first embodiment is applied to a scenario where the user equipment has only one camera module.
- the AE technology and the HDR technology may be combined to take a picture, thereby improving the quality of the captured picture.
- it can also be applied to other scenarios, and is not specifically limited herein.
- the user equipment has only one camera module.
- the technology of combining AE and HDR technology can be adopted.
- AE to adjust the brightness value
- the underexposure ratio reaches the upper limit and the brightness value is lowered, the user can obviously feel the change of the brightness value of the preview picture.
- the user will frequently feel To the change of the brightness value of the preview picture, the user experience is poor; therefore, when the brightness value is lowered in the over-exposure scene, it is necessary to reduce the brightness value when the under-exposure ratio cannot be reached, and the same is true.
- the overexposure ratio reaches the upper limit, if the brightness value is increased, the user can obviously feel the change of the brightness value of the preview picture. If the brightness value is used, the user will frequently feel the change of the brightness value of the preview picture, and the user experience is poor.
- user equipment may have multiple camera modules.
- the user equipment has two camera modules, a main camera module and a secondary camera module. Since the picture presented by the user device is a picture of the main camera module, If the brightness adjustment value of the user equipment is performed by the auxiliary camera module, even if the brightness value is reduced, the underexposure ratio has reached the upper limit. Since the picture at this time is not presented in the user equipment, it is not necessary to reduce the brightness value.
- the underexposure ratio has reached the upper limit
- the user equipment adjusts the brightness value using the auxiliary camera module, even if the brightness value is increased, the overexposure ratio has reached the upper limit, because the picture at this time will not be in the user equipment. Presented, therefore, it is not necessary to consider whether the overexposure ratio has reached the upper limit when increasing the brightness value.
- the embodiment described above is a case where the user equipment has only one camera module. With the development of the technology, the user equipment has multiple camera modules. At this time, the device adjusts the brightness of the third type of exposure according to the first exposure ratio. When adjusting, optional, you can use the following methods:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first overexposure ratio reaches the second overexposure ratio threshold, decreases the luminance value, and calculates a third variation of the luminance value;
- the user equipment determines a fourth overexposure ratio after the preview picture reduces the brightness value
- the third type of exposure brightness adjustment multiple is adjusted according to the third variation amount.
- the third type of exposure brightness adjustment magnification is adjusted.
- the fourth overexposure ratio threshold is smaller than the second overexposure ratio threshold.
- the over-exposure ratio of the user equipment is adjusted from the first over-exposure ratio to the fourth over-exposure ratio, which may be implemented by performing a decrease in the luminance value once, or by performing the luminance reduction multiple times. No specific restrictions.
- the user equipment adjusts the first type of exposure brightness adjustment according to the first exposure ratio, the following manner may be adopted:
- the user equipment determines a brightness value of the preview picture
- the user equipment determines that the first underexposure ratio reaches the third underexposure ratio threshold, the brightness value is increased, and the fourth variation of the brightness value is calculated;
- the first type of exposure brightness adjustment multiple is adjusted according to the fourth variation.
- the fourth underexposure ratio threshold is smaller than the third underexposure ratio threshold.
- the over-exposure ratio of the user equipment is adjusted from the first under-exposure ratio to the fourth under-exposure ratio, which may be implemented by performing the luminance value once, or by performing the luminance value multiple times. No specific restrictions.
- the second embodiment is applied to a scenario in which the user equipment has at least two camera modules, and may be applied to other scenarios, which are not specifically limited herein.
- the user device is based on the first exposure. After the light ratio is adjusted for the first type of exposure brightness adjustment factor and the third type of exposure brightness adjustment factor, before the first group picture, the second group picture and the third group picture are taken, the following operations are also included:
- the user equipment determines a second exposure ratio of the ROI of the preview picture, and a weight value of the ROI area;
- the user equipment calculates a third exposure ratio according to the second exposure ratio and the weight value
- the user equipment adjusts the adjusted first type of exposure brightness adjustment multiple and the adjusted third type exposure brightness adjustment multiple according to the third exposure ratio.
- the adjusted first type of exposure is also required.
- the brightness adjustment factor and the third type of exposure brightness adjustment factor are adjusted again.
- the second underexposure ratio threshold is greater than or equal to the third underexposure ratio threshold
- the first overexposure ratio threshold is greater than or equal to the second overexposure ratio threshold
- the third embodiment is applied to a scenario in which the target image has an ROI, and may be applied to other scenarios, and is not specifically limited herein.
- the user equipment may adjust the brightness value of the currently displayed preview picture according to the brightness of the currently displayed preview picture or the user indication, for example, the face image in the preview picture currently presented by the user equipment, but the face of the user The brightness is dark.
- the user equipment can increase the brightness value of the face.
- the brightness of a part of the preview image currently displayed by the user equipment is dark.
- the user may click on the darker area of the preview picture currently presented by the user equipment, such that the user equipment When the user clicks, that is, when the user indicates a click operation, the brightness value of the darker area is increased.
- the user equipment increases the brightness value of the preview picture, and determines the fifth change amount after the brightness value is increased;
- the user device determines a fourth exposure ratio of the preview picture before increasing the brightness value.
- the optional can be used as follows:
- the user device determines a first exposure ratio of the current preview picture after increasing the brightness value.
- the first exposure ratio determined by the user equipment is after the preview picture is increased in brightness value. The first exposure ratio.
- the adjustment may be performed as follows:
- the user equipment adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio, the fourth exposure ratio, and the fifth variation.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio
- the fourth exposure ratio includes a fifth overexposure ratio and/or a fifth underexposure ratio
- the following manner may be adopted:
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio and the fifth underexposure ratio;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio, the fifth overexposure ratio, and the fifth variation amount.
- the user equipment increases the brightness value according to the brightness of the currently presented preview picture or the user indication, but in an actual application, it is also possible to reduce the brightness value according to the brightness of the currently presented preview picture or the user indication, and therefore, the user equipment determines Before the first exposure ratio of the current preview image of the to-be-photographed area, the following operations are also included:
- the user equipment reduces the brightness value of the preview picture, and determines the sixth change amount after the brightness value decreases;
- the user equipment determines a fifth exposure ratio of the preview picture before decreasing the brightness value
- the following manner may be adopted:
- the user device determines a first exposure ratio of the current preview picture after decreasing the brightness value.
- the following manner when the user equipment adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, optionally, the following manner may be adopted:
- the user equipment adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio, the fifth exposure ratio, and the sixth variation amount.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio
- the fifth exposure ratio includes a sixth overexposure ratio and/or a sixth underexposure ratio
- the following manner may be adopted:
- the user equipment adjusts the first type of exposure brightness adjustment multiple according to the first underexposure ratio, the sixth underexposure ratio, and the sixth variation amount;
- the user equipment adjusts the third type of exposure brightness adjustment multiple according to the first overexposure ratio and the sixth overexposure ratio.
- the fourth embodiment is applied to a face scene and a touch scene, and may be applied to other scenarios, which are not specifically limited herein.
- the following methods may be adopted:
- the user equipment increases the combined weight of the target area of the second group of pictures
- the user equipment synthesizes the target picture according to the combined weights of the first group of pictures, the second group of pictures, and the second group of pictures, and the third group of pictures.
- the target area may be a face area, or may be a touch area.
- the touch area may be an area that the user clicks, or may be an area that the user drags.
- the first type exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple in the exposure brightness adjustment multiple array are also adjusted, no longer It is to directly use the determined exposure brightness adjustment array to take pictures, but to adjust the first type of exposure brightness in the exposure brightness adjustment array according to the scene.
- the multiple and the third type of exposure brightness adjustment are adjusted, thereby improving the quality of the captured picture and improving the user experience.
- each group of pictures in the first group of pictures, the second group of pictures, and the third group of picture synthesis target pictures includes at least one picture.
- the second group of pictures is used as the reference picture, and therefore, the second type of exposure brightness adjustment adopted by the second group of pictures is not used.
- the multiple is adjusted.
- the target image generated by the HDR technology is composed of multiple images, if there is a moving object in the image content, the ghosting effect will be generated in the moving object after the synthesis, which is also called ghost effect, and the picture quality is poor.
- Step 200 When the user equipment determines that there is a moving object, detecting the motion intensity of the moving object;
- Step 210 When the user equipment determines that the exercise intensity is greater than the exercise intensity threshold, the image with the exposure brightness adjustment multiple of 0 is used as the target picture.
- the exercise intensity may be less than or the exercise intensity threshold.
- the short exposure technique is used to generate the target picture.
- the ghost image processing can also be used to generate the target image.
- the method of using enhanced ghost processing can be realized by adjusting the ghost detection threshold.
- the user equipment may also determine that there is no moving object. At this time, the long exposure technique is used to generate the target picture.
- the ghost image processing can also be used to generate the target image.
- the method of weakening or eliminating ghost processing can also be realized by adjusting the ghost detection threshold.
- the short exposure time means that if the exposure time is not a multiple of the banding step, the exposure time is adjusted to a value that is closest to the exposure time and is a multiple of the banding step that is less than the exposure time.
- the long exposure time means that if the exposure time is not a multiple of the banding step, the exposure time is adjusted to a value that is closest to the exposure time and is a multiple of the banding step that is greater than the exposure time.
- the banding step is 10 ms
- the exposure time is 15 ms
- the short exposure time is 10 ms
- the long exposure time is 20 ms.
- the banding step is 10 ms
- the exposure time is 25 ms
- the short exposure time is 20 ms
- the long exposure time is 30 ms.
- the banding step is 8.3 ms
- the exposure time is 10 ms
- the short exposure time is 8.3 ms
- the long exposure time is 16.6 ms.
- the banding step can be calculated by the following formula:
- the artificial light source has a period of 50 Hz.
- the user equipment determines that there are multiple ways of moving objects, and optionally, the following manners may be adopted:
- the user equipment determines that the user equipment is in motion and/or has an object in motion in the area to be photographed.
- the user equipment determines that the user equipment is in a motion state, and may determine by using a sensor.
- the content of the picture may be used to determine, of course, not limited to this manner. .
- the image with the exposure brightness adjustment multiple of 0 is used as the target image, and the HDR technology is no longer used to generate the image. Therefore, the image quality is improved and the user experience is improved by avoiding ghosting problems.
- the fifth embodiment is applied to a motion scene.
- the main idea of the fifth embodiment is: using a long exposure strategy when there is no moving object, and/or weakening or relaxing the ghost detection inside the HDR algorithm. Threshold; if there is a moving object, but the motion intensity is less than the exercise intensity threshold, then use a short exposure strategy to increase the frame rate, and/or enhance the ghost detection threshold inside the HDR algorithm; if there is a moving object, however, the intensity of the motion Greater than or equal to the exercise intensity threshold, Use a picture with a multiple of 0 as the target picture.
- the light source used in normal times belongs to the artificial light source.
- the energy released by the artificial light source is released by sine waves of different periods.
- the time for each line to start sensitization is different. This is called rolling exposure.
- the energy felt in a row can be expressed by the integral area of the sine. The larger the area, the more energy is felt, the brighter the line will be. The smaller the integral area, the smaller the energy of the feeling, the darker the line.
- Different exposure lines have different exposure times because of their different exposure times, and the brightness is different. This leads to the phenomenon of water ripple between light and dark.
- the use of wavy pictures when generating images using HDR technology results in artificial effects similar to colored stripes.
- the embodiment of the present invention further provides a method for taking a picture, and the specific process is as follows:
- Step 300 The user equipment determines that there is a water ripple in the current preview picture of the to-be-photographed region, and determines the intensity of the water ripple;
- Step 310 When the user equipment determines that the intensity of the water ripple is greater than the intensity threshold, the first type of exposure brightness adjustment multiple and the second type of exposure brightness adjustment multiple are increased, and the first type of exposure brightness adjustment multiple is used to indicate that the exposure brightness adjustment multiple is adjusted. The exposure brightness is unchanged, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is reduced after the exposure brightness adjustment multiple is adjusted;
- Step 320 The user equipment takes a first group of pictures according to the adjusted first type of exposure brightness adjustment ratio, a second group of exposure brightness adjustment multiples to take a second group of pictures in the shooting area, and adjusts the multiple according to the third type of exposure brightness The third group of pictures is taken in the shooting area, and the second type of exposure brightness adjusting multiple is used to indicate that the exposure brightness is adjusted after the exposure brightness adjustment multiple is adjusted;
- Step 330 The user equipment synthesizes the target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the user equipment adjusts the third type of exposure brightness adjustment multiple
- the user equipment takes a third set of pictures according to the adjusted third type of exposure brightness adjustment magnification to the shooting area.
- the second type of exposure brightness adjustment multiple is increased, and/or the weight value of the second group of pictures is decreased.
- the main idea of the sixth embodiment is as follows: if there is a water ripple effect, but the intensity of the water wave of the current preview picture does not meet the condition, that is, when the intensity of the water wave of the picture whose exposure brightness adjustment multiple is 0 is less than or equal to the intensity threshold, By increasing the brightness adjustment factor of the second type of exposure, the water wave effect of the second type of picture is weakened, or the weight value of the second group of pictures is reduced, and the weight value of the synthesized target picture is weakened; if there is a water ripple effect, but the current preview picture
- the intensity of the water wave meets the condition, that is, when the intensity of the water wave of the picture whose exposure brightness adjustment multiple is 0 is greater than the intensity threshold
- the first type of exposure brightness adjustment multiple and the second type exposure brightness adjustment multiple are improved, for example, the first type The exposure brightness adjustment factor is changed from 0EV to 0.5EV, and the second type exposure brightness adjustment factor is changed from -1.5EV to +0.5EV, and the second type of exposure brightness adjustment factor is
- each group of pictures in the first group of pictures, the second group of pictures, and the third group of picture synthesis target pictures includes at least one picture.
- the second group of pictures is used as the reference picture, and therefore, the second type of exposure brightness adjustment adopted by the second group of pictures is not used.
- the multiple is adjusted.
- a user equipment including a determining unit 40, an adjusting unit 41, a shooting unit 42, and a generating unit 43, wherein:
- a determining unit 40 configured to determine a first exposure ratio of a current preview picture of the area to be photographed
- the determining unit 40 is further configured to determine, according to the first exposure ratio, a corresponding exposure brightness adjustment multiple array, the exposure brightness adjustment multiple array includes three types of exposure brightness adjustment multiples, and the first type of exposure brightness adjustment multiple is used to indicate that the exposure brightness adopts the exposure brightness Adjust the adjustment after adjustment, the second type of exposure brightness adjustment The integral multiple is used to indicate that the exposure brightness is unchanged after the exposure brightness adjustment multiple is adjusted, and the third type exposure brightness adjustment multiple is used to indicate that the exposure brightness is adjusted by using the exposure brightness adjustment multiple;
- the adjusting unit 41 is configured to adjust the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio;
- the photographing unit 42 is configured to adopt the adjusted first type of exposure brightness adjustment multiple to take a first group of pictures in the shooting area, the second type of exposure brightness adjustment multiple to take a second group of pictures in the shooting area, and the adjusted third type of exposure The brightness adjustment multiple takes a third group of pictures in the shooting area;
- the generating unit 43 is configured to synthesize the target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio.
- the determining unit 40 when determining, by the determining unit 40, the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the exposure brightness adjustment multiple array corresponding to the second overexposure ratio is determined.
- the determining unit 40 when determining, by the determining unit 40, the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- an exposure brightness adjustment multiple array corresponding to the second underexposure ratio is determined.
- the determining unit 40 when determining, by the determining unit 40, the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the adjusting unit 41 adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, specifically:
- the third type of exposure brightness adjustment multiple is adjusted according to the first overexposure ratio and the second overexposure ratio.
- the first preset condition is:
- the first amount of change reaches a first amount of change threshold and/or the second amount of underexposure reaches a first underexposure ratio threshold.
- the determining unit 40 is further configured to: after determining that the brightness value is decreased, does not meet the first preset condition, and returns to determine that the second overexposure ratio reaches the first overexposure ratio threshold until the first preset condition is met;
- the steps include the following operations:
- the user equipment determines that the current overexposure ratio after the brightness value is lowered reaches the first overexposure ratio threshold, and decreases the brightness value when the current underexposure ratio after the brightness value is lowered does not reach the first underexposure ratio threshold.
- the determining unit 40 determines Before the second overexposure ratio, the second underexposure ratio, and the first variation, the method further includes:
- the determining unit 40 when determining, by the determining unit 40, the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the exposure brightness adjustment multiple array corresponding to the third overexposure ratio is determined.
- the determining unit 40 when determining, by the determining unit 40, the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the determining unit 40 when determining, by the determining unit 40, the corresponding exposure brightness adjustment multiple array according to the first exposure ratio, specifically:
- the determining unit 40 adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, specifically:
- the third type of exposure brightness adjustment multiple is adjusted according to the first overexposure ratio, the third overexposure ratio, and the second variation.
- the second preset condition is:
- the second amount of change reaches the second amount of change threshold and/or the third level of overexposure reaches a third overexposure ratio threshold.
- the determining unit 40 is further configured to: after determining that the brightness value is increased, does not meet the second preset condition, and returns to determine that the third underexposure ratio reaches the second underexposure ratio threshold until the second preset condition is met;
- the steps include the following operations:
- the user equipment determines that the current underexposure ratio after the brightness value is increased reaches the second underexposure ratio threshold, and when the current overexposure ratio after the brightness value is raised does not reach the third overexposure ratio threshold, the brightness value is increased.
- the method further includes:
- the determining unit 40 adjusts the third type of exposure brightness adjusting multiple according to the first exposure ratio, specifically:
- the brightness value is decreased, and the brightness is calculated.
- the third type of exposure brightness adjustment multiple is adjusted according to the third variation amount.
- the adjusting unit 41 adjusts the first type of exposure brightness adjusting multiple according to the first exposure ratio, specifically:
- the brightness value is increased, and the fourth variation of the brightness value is calculated;
- the fourth underexposure ratio of the preview image is displayed;
- the first type of exposure brightness adjustment multiple is adjusted according to the fourth variation amount.
- the determining unit 40 is further configured to: determine a second exposure ratio of the ROI of the preview picture, and a weight value of the ROI;
- the adjusting unit 41 is further configured to adjust the adjusted first type of exposure brightness adjustment multiple and the adjusted third type exposure brightness adjustment multiple according to the third exposure ratio.
- the determining unit 40 is further configured to: increase a brightness value of the preview picture, and determine a fifth change amount after the brightness value is increased;
- the determining unit 40 determines the first exposure ratio of the current preview picture of the to-be-shot area, specifically:
- the adjusting unit 41 adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, specifically:
- the first type of exposure brightness adjustment factor and the third type of exposure brightness adjustment factor are adjusted according to the first exposure ratio, the fourth exposure ratio, and the fifth variation amount.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio
- the fourth exposure The ratio includes a fifth overexposure ratio and/or a fifth underexposure ratio
- the adjustment unit 41 adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio, the fourth exposure ratio, and the fifth variation amount, specifically:
- the third type of exposure brightness adjustment multiple is adjusted according to the first overexposure ratio, the fifth overexposure ratio, and the fifth variation.
- the determining unit 40 is further configured to: reduce a brightness value of the preview picture, and determine a sixth change amount after the brightness value is decreased;
- the determining unit 40 determines the first exposure ratio of the current preview picture of the to-be-shot area, specifically:
- the adjusting unit 41 adjusts the first type of exposure brightness adjustment multiple and the third type exposure brightness adjustment multiple according to the first exposure ratio, specifically:
- the first type of exposure brightness adjustment factor and the third type of exposure brightness adjustment factor are adjusted according to the first exposure ratio, the fifth exposure ratio, and the sixth variation amount.
- the first exposure ratio includes a first overexposure ratio and/or a first underexposure ratio
- the fifth exposure ratio includes a sixth overexposure ratio and/or a sixth underexposure ratio
- the adjusting unit 41 adjusts the first type of exposure brightness adjustment multiple and the third type of exposure brightness adjustment multiple according to the first exposure ratio, the fifth exposure ratio, and the sixth variation amount, specifically:
- the third type of exposure brightness adjustment multiple is adjusted.
- the generating unit 43 synthesizes the target image according to the first group of pictures, the second group of pictures, and the third group of pictures, specifically:
- the target image is synthesized according to the first group picture, the second group picture, the second group picture enhanced combined weight and the third group picture.
- a portable electronic device including:
- Display 400 wherein display 400 includes a touch-sensitive surface and display screen; one or more processors 410; memory 420; and one or more programs, wherein one or more programs are stored in memory 420 and configured to Executed by one or more processors 410, the one or more programs include instructions for performing the methods described in accordance with steps 100-140.
- a computer readable storage medium storing one or more programs, the one or more programs comprising instructions for enabling portable electronics when executed by a portable electronic device comprising a display and a plurality of applications
- the device performs the method described in accordance with steps 100-140, wherein the display includes a touch-sensitive surface and a display screen.
- a user equipment including a determining unit 50, a detecting unit 51, and a generating unit 52, where:
- a determining unit 50 configured to determine that there is a moving object
- the detecting unit 51 is configured to detect the motion intensity of the moving object when the determining unit 50 determines that there is a moving object;
- the determining unit 50 is further configured to determine that the exercise intensity is greater than the exercise intensity threshold
- the generating unit 52 when the determining unit 50 determines that the exercise intensity is greater than the exercise intensity threshold, uses a picture whose exposure brightness adjustment multiple is 0 as the target picture.
- the determining unit 50 is further configured to determine that there is no moving object
- the generating unit 52 is further configured to synthesize the target picture by using a long exposure time when the determining unit 50 determines that there is no moving object;
- the determining unit 50 is further configured to determine that the exercise intensity is less than or equal to the exercise intensity threshold
- the generating unit 52 is further configured to synthesize the target picture with a short exposure time when the determining unit 50 determines that the exercise intensity is less than or equal to the exercise intensity threshold.
- the determining unit 50 determines that there is a moving object, specifically:
- a portable electronic device including:
- Display 500 wherein display 500 includes a touch-sensitive surface and display screen; one or more processors 510; memory 520; and one or more programs, wherein one or more programs are stored in memory 520 and configured to Executed by one or more processors 510, the one or more programs include instructions for performing the methods described in accordance with steps 200-210.
- a computer readable storage medium storing one or more programs, the one or more programs comprising instructions for enabling portable electronics when executed by a portable electronic device comprising a display and a plurality of applications
- the device performs the method described in steps 200-210, wherein the display includes a touch-sensitive surface and a display screen.
- a user equipment including a determining unit 60, an adjusting unit 61, a shooting unit 62, and a generating unit 63, where:
- a determining unit 60 configured to determine a strength of the water ripple when a water ripple exists in a current preview image of a region to be captured
- the adjusting unit 61 is configured to: when the intensity of the water ripple is greater than the intensity threshold, increase the first type of exposure brightness adjustment multiple and the second type of exposure brightness adjustment multiple, wherein the first type of exposure brightness adjustment multiple is used to indicate that the exposure is used After the brightness adjustment multiple is adjusted, the exposure brightness is unchanged, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is reduced after adjusting by the exposure brightness adjustment multiple;
- the photographing unit 62 is configured to take a first set of pictures, a second type of exposure brightness adjustment multiple to the to-be-photographed area, and a second set of pictures according to the adjusted first type of exposure brightness adjustment multiples, and according to the second group of pictures,
- the third type of exposure brightness adjustment multiple takes a third set of pictures for the area to be photographed, and the second type of exposure brightness adjustment multiple is used to indicate that the exposure brightness is adjusted after the exposure brightness adjustment multiple is adjusted;
- the generating unit 63 is configured to synthesize the target picture according to the first group of pictures, the second group of pictures, and the third group of pictures.
- the adjusting unit 61 is further configured to: adjust the third type of exposure brightness adjustment multiple;
- the photographing unit 62 photographs the area to be photographed according to the third type of exposure brightness adjustment multiple When three sets of pictures are used, they are:
- a third group of pictures is taken on the area to be photographed according to the adjusted third type of exposure brightness adjustment multiple.
- the adjusting unit 61 is further configured to: when the strength of the water ripple is less than or equal to the intensity threshold, increase the second type of exposure brightness adjustment multiple, and/or decrease the second group The weight value of the image.
- a portable electronic device including:
- Display 600 wherein display 600 includes a touch-sensitive surface and display screen; one or more processors 610; memory 620; and one or more programs, wherein one or more programs are stored in memory 620 and configured to Executed by one or more processors 610, the one or more programs include instructions for performing the methods described in accordance with steps 300-330.
- a computer readable storage medium storing one or more programs, the one or more programs comprising instructions for enabling portable electronics when executed by a portable electronic device comprising a display and a plurality of applications
- the device performs the method described in accordance with steps 300-330, wherein the display includes a touch-sensitive surface and a display screen.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
- Exposure Control For Cameras (AREA)
- Image Processing (AREA)
Abstract
一种拍摄图片的方法及装置,在该方案中,确定出曝光亮度调整倍数组之后,要根据当前曝光比例对曝光亮度调整倍数组进行调整,这样,即使根据不同曝光比例确定出相同的曝光亮度调整倍数组,但是,由于还要再根据曝光比例对曝光亮度调整倍数组进行调整,这样,在不同曝光比例的场景下,最后拍摄图片时采用的曝光亮度调整倍数组也是不同的,也就是说,会随着应用场景的不同而发生变化,因此,提高了拍摄出的图片的质量。
Description
本发明涉及图像拍摄领域,尤其涉及一种拍摄图片的方法及装置。
HDR(High Dynamic Range,高动态范围)技术发展于传统胶片时代,通过局部提高亮度,或者降低亮度来增加照片亮部和暗部的层次,终端设备只要拍摄构图相同但曝光量不同的图片,就可以合成出一张高动态范围的图片。
随着用户对图片的要求越来越高,一些终端设备也采用HDR技术拍摄图片,终端设备通过设置不同档位的曝光量,拍摄得到不同曝光量的图片,然后HDR合成算法,分析多帧图片,提取不同图片的部分细节进行合成,将几张低动态范围的图片合成具有更高动态范围的图片。
但是,目前终端设备在选择不同档位的曝光方面比较简单,无法满足一些场景的特殊需要,在有些场景下拍摄得到的图片经过HDR处理之后,可能出现异常的人造效果,图片质量较差。
例如,现有的终端设备主要是统计场景中过曝和欠曝情况,根据经验设计一组或多组固定档位的曝光量,拍摄不同曝光量的图片,有限的几档曝光量无法达到预期的效果,如针对过曝场景,三张图片的EV(Exposure Value,曝光值)值分别为(1,0,-1.5),针对欠曝场景,三张图片的EV值分别为(+1.5,0,-1),但是,这样得到的图片的质量较差。
发明内容
本发明实施例提供了一种拍摄图片的方法,用于提高拍摄出的图片的质量。
第一方面,提供一种拍摄图片的方法,包括:
用户设备确定待拍摄区域当前预览图片的第一曝光比例;
所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,所述曝光亮度调整倍数组包括三类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后增强,第二类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后不变,第三类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后减弱;
所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整;
所述用户设备采用调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、所述第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片;
所述用户设备根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
结合第一方面,在第一种可能的实现方式中,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:
所述用户设备确定所述预览图片的亮度值;
所述用户设备确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;
所述用户设备确定所述亮度值降低后符合第一预设条件时,确定所述亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;
所述用户设备确定所述第二过曝比例达到所述第二过曝比例阈值、所述第二欠曝比例未达到第三欠曝比例阈值时,确定与所述第二过曝比例相对应的曝光亮度调整倍数组。
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中,
所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:
所述用户设备确定所述预览图片的亮度值;
所述用户设备确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;
所述用户设备确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;
所述用户设备确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例未达到所述第二过曝比例阈值时,确定与所述第二欠曝比例相对应的曝光亮度调整倍数组。
结合第一方面的第一种可能的实现方式,在第四种可能的实现方式中,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:
所述用户设备确定所述预览图片的亮度值;
所述用户设备确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;
所述用户设备确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;
所述用户设备确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例达到所述第二过曝比例阈值时,确定与所述第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
结合第一方面的第二种至第四种可能的实现方式,在第五种可能的实现方式中,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整,包括:
所述用户设备根据所述第一欠曝比例、第二欠曝比例和所述第一变化量,对所述第一类曝光亮度调整倍数进行调整;
所述用户设备根据所述第一过曝比例、第二过曝比例,对所述第三类曝
光亮度调整倍数进行调整。
结合第一方面的第二种至第五种可能的实现方式,在第六种可能的实现方式中,所述第一预设条件为:
所述第一变化量达到第一变化量阈值和/或所述第二欠曝比例达到所述第一欠曝比例阈值。
结合第一方面的第二种至第六种可能的实现方式,在第七种可能的实现方式中,所述方法还包括:
所述用户设备确定所述亮度值降低后不符合所述第一预设条件,返回确定所述第二过曝比例达到所述第一过曝比例阈值的步骤,直至符合所述第一预设条件;
所述步骤包括如下操作:
所述用户设备确定降低亮度值后的当前过曝比例达到所述第一过曝比例阈值,降低亮度值后的当前欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值。
结合第一方面的第二种至第七种可能的实现方式,在第八种可能的实现方式中,所述用户设备确定所述亮度值降低后符合第一预设条件之后,确定所述第二过曝比例、第二欠曝比例和所述第一变化量之前,还包括:
所述用户设备确定所述第二过曝比例达到第二过曝比例阈值;或者
所述用户设备确定所述第二欠曝比例达到第三欠曝比例阈值。
结合第一方面的第一种可能的实现方式,在第九种可能的实现方式中,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:
所述用户设备确定亮度值;
所述用户设备确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;
所述用户设备确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;
所述用户设备确定所述第三过曝比例达到所述第二过曝比例阈值、所述
第三欠曝比例未达到第三欠曝比例阈值时,确定与所述第三过曝比例相对应的曝光亮度调整倍数组。
结合第一方面的第一种可能的实现方式,在第十种可能的实现方式中,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:
所述用户设备确定亮度值;
所述用户设备确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;
所述用户设备确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;
所述用户设备确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例未达到所述第二过曝比例阈值时,确定与所述第三欠曝比例相对应的曝光亮度调整倍数组。
结合第一方面的第一种可能的实现方式,在第十一种可能的实现方式中,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:
所述用户设备确定亮度值;
所述用户设备确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;
所述用户设备确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;
所述用户设备确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例达到所述第二过曝比例阈值时,确定与所述第三过曝比例和所述第三欠曝比例均相对应的曝光亮度调整倍数组。
结合第一方面的第九种至第十一种可能的实现方式,在第十二种可能的实现方式中,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整,包括:
所述用户设备根据所述第一欠曝比例、第三欠曝比例,对所述第一类曝光亮度调整倍数进行调整;
所述用户设备根据所述第一过曝比例、第三过曝比例和所述第二变化量,对所述第三类曝光亮度调整倍数进行调整。
结合第一方面的第九种至第十二种可能的实现方式,在第十三种可能的实现方式中,所述第二预设条件为:
所述第二变化量达到第二变化量阈值和/或所述第三过曝比例达到第三过曝比例阈值。
结合第一方面的第九种至第十三种可能的实现方式,在第十四种可能的实现方式中,所述方法还包括:
所述用户设备确定所述亮度值提高后不符合所述第二预设条件,返回确定第三欠曝比例达到所述第二欠曝比例阈值的步骤,直至符合所述第二预设条件;
所述步骤包括如下操作:
所述用户设备确定提高亮度值后的当前欠曝比例达到所述第二欠曝比例阈值,提高亮度值后的当前过曝比例未达到第三过曝比例阈值时,提高所述亮度值。
结合第一方面的第九种至第十四种可能的实现方式,在第十五种可能的实现方式中,所述用户设备确定符合所述第二预设条件之后,确定所述第三过曝比例、所述第三欠曝比例和所述第二变化量之前,还包括;
所述用户设备确定所述第三欠曝比例达到第三欠曝比例阈值;或者
所述用户设备确定所述第三过曝比例达到所述第二过曝比例阈值。
结合第一方面的第一种可能的实现方式,在第十六种可能的实现方式中,所述用户设备根据所述第一曝光比例对第三类曝光亮度调整倍数调整,包括:
所述用户设备确定所述预览图片的亮度值;
所述用户设备确定第一过曝比例达到第二过曝比例阈值时,降低所述亮度值,并计算所述亮度值的第三变化量;
所述用户设备确定所述预览图片降低所述亮度值后的第四过曝比例;
所述用户设备确定所述第四过曝比例未达到第四过曝比例阈值时,根据
所述第三变化量,对所述第三类曝光亮度调整倍数进行调整。
结合第一方面的第一种或者第十六种可能的实现方式,在第十七种可能的实现方式中,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数调整,包括:
所述用户设备确定所述预览图片的亮度值;
所述用户设备确定所述第一欠曝比例达到第三欠曝比例阈值时,提高亮度值,并计算所述亮度值的第四变化量;
所述用户设备确定提高所述亮度值后,所述预览图片的第四欠曝比例;
所述用户设备确定所述第四欠曝比例未达到所述第四欠曝比例阈值时,根据所述第四变化量,对所述第一类曝光亮度调整倍数进行调整。
结合第一方面的第一种至第十七种可能的实现方式,在第十八种可能的实现方式中,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整之后,拍摄所述第一组图片、所述第二组图片和所述第三组图片之前,还包括:
所述用户设备确定所述预览图片的感兴趣区域ROI的第二曝光比例,及所述ROI的权重值;
所述用户设备根据所述第二曝光比例和所述权重值,计算第三曝光比例;
所述用户设备根据所述第三曝光比例,对调整后的所述第一类曝光亮度调整倍数和调整后的所述第三类曝光亮度调整倍数再次进行调整。
结合第一方面,以及第一方面的第一种至第十八种可能的实现方式,在第十九种可能的实现方式中,用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,还包括:
所述用户设备提高所述预览图片的亮度值,并确定所述亮度值提高后的第五变化量;
所述用户设备确定所述预览图片在提高所述亮度值之前的第四曝光比例;
所述用户设备确定待拍摄区域当前预览图片的第一曝光比例,包括:
所述用户设备确定所述当前预览图片在提高所述亮度值之后的第一曝光比例。
结合第一方面的第十九种可能的实现方式,在第二十种可能的实现方式中,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:
所述用户设备根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
结合第一方面的第十九种或者第二十种可能的实现方式,在第二十一种可能的实现方式中,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第四曝光比例包括第五过曝比例和/或第五欠曝比例;
所述用户设备根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:
所述用户设备根据所述第一欠曝比例、第五欠曝比例,对所述第一类曝光亮度调整倍数进行调整;
所述用户设备根据所述第一过曝比例、所述第五过曝比例和所述第五变化量,对所述第三类曝光亮度调整倍数进行调整。
结合第一方面,以及第一方面的第一种至第二十一种可能的实现方式,在第二十二种可能的实现方式中,用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,还包括:
所述用户设备降低所述预览图片的亮度值,并确定所述亮度值降低后的第六变化量;
所述用户设备确定所述预览图片在降低所述亮度值之前的第五曝光比例;
所述用户设备确定待拍摄区域当前预览图片的第一曝光比例,包括:
所述用户设备确定所述当前预览图片在降低所述亮度值之后的第一曝光比例。
结合第一方面的第二十二可能的实现方式,在第二十三种可能的实现方式中,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:
所述用户设备根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
结合第一方面的第二十二种或者第二十三种可能的实现方式,在第二十四种可能的实现方式中,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第五曝光比例包括第六过曝比例和/或第六欠曝比例;
所述用户设备根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:
所述用户设备根据所述第一欠曝比例、第六欠曝比例和所述第六变化量,对所述第一类曝光亮度调整倍数进行调整;
所述用户设备根据所述第一过曝比例、第六过曝比例,对所述第三类曝光亮度调整倍数进行调整。
结合第一方面的第十九种至第二十四种可能的实现方式,在第二十五种可能的实现方式中,所述用户设备根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片,包括:
所述用户设备提高所述第二组图片的目标区域的合成权重;
所述用户设备根据所述第一组图片、所述第二组图片、所述第二组图片提高后的合成权重和所述第三组图片,合成目标图片。
第二方面,提供一种拍摄图片的方法,包括:
用户设备确定有运动物体时,检测所述运动物体的运动强度;
用户设备确定所述运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片。
结合第二方面,在第一种可能的实现方式中,所述用户设备确定没有运动物体时,采用长曝光时间合成目标图片;
所述用户设备确定所述运动强度小于或者等于所述运动强度阈值时,采用短曝光时间合成所述目标图片。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,用户设备确定有运动物体,包括:
所述用户设备确定所述用户设备处于运动状态,和/或待拍摄区域中有处于运动状态的物体。
第三方面,提供一种拍摄图片的方法,包括:
用户设备确定待拍摄区域当前预览图片中存在水波纹时,确定所述水波纹的强度;
所述用户设备判断所述水波纹的强度大于强度阈值时,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,所述第一类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度不变,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度减弱;
所述用户设备根据调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度增强;
所述用户设备根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
结合第三方面,在第一种可能的实现方式中,所述用户设备判断所述水波纹的强度大于强度阈值之后,根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片之前,还包括:
所述用户设备对所述第三类曝光亮度调整倍数进行调整;
所述用户设备根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,包括:
所述用户设备根据调整后的第三类曝光亮度调整倍数对所述待拍摄区域
拍摄第三组图片。
结合第三方面,以及第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述用户设备判断所述水波纹的强度小于或者等于所述强度阈值时,提高所述第二类曝光亮度调整倍数,和/或,减小所述第二组图片的权重值。
第四方面,提供一种用户设备,包括:
确定单元,用于确定待拍摄区域当前预览图片的第一曝光比例;
所述确定单元还用于,根据所述第一曝光比例确定对应的曝光亮度调整倍数组,所述曝光亮度调整倍数组包括三类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后增强,第二类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后不变,第三类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后减弱;
调整单元,用于根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整;
拍摄单元,用于采用调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、所述第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片;
生成单元,用于根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
结合第四方面,在第一种可能的实现方式中,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例。
结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定所述预览图片的亮度值;
确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;
确定所述亮度值降低后符合第一预设条件时,确定所述亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;
确定所述第二过曝比例达到所述第二过曝比例阈值、所述第二欠曝比例未达到第三欠曝比例阈值时,确定与所述第二过曝比例相对应的曝光亮度调整倍数组。
结合第四方面的第一种可能的实现方式,在第三种可能的实现方式中,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定所述预览图片的亮度值;
确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;
确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;
确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例未达到所述第二过曝比例阈值时,确定与所述第二欠曝比例相对应的曝光亮度调整倍数组。
结合第四方面的第一种可能的实现方式,在第四种可能的实现方式中,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定所述预览图片的亮度值;
确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;
确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;
确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例
达到所述第二过曝比例阈值时,确定与所述第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
结合第四方面的第二种至第四种可能的实现方式,在第五种可能的实现方式中,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整时,具体为:
根据所述第一欠曝比例、第二欠曝比例和所述第一变化量,对所述第一类曝光亮度调整倍数进行调整;
根据所述第一过曝比例、第二过曝比例,对所述第三类曝光亮度调整倍数进行调整。
结合第四方面的第二种至第五种可能的实现方式,在第六种可能的实现方式中,所述第一预设条件为:
所述第一变化量达到第一变化量阈值和/或所述第二欠曝比例达到所述第一欠曝比例阈值。
结合第四方面的第二种至第六种可能的实现方式,在第七种可能的实现方式中,所述确定单元还用于,确定所述亮度值降低后不符合所述第一预设条件,返回确定所述第二过曝比例达到所述第一过曝比例阈值的步骤,直至符合所述第一预设条件;
所述步骤包括如下操作:
所述用户设备确定降低亮度值后的当前过曝比例达到所述第一过曝比例阈值,降低亮度值后的当前欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值。
结合第四方面的第二种至第七种可能的实现方式,在第八种可能的实现方式中,所述确定单元确定所述亮度值降低后符合第一预设条件之后,确定所述第二过曝比例、第二欠曝比例和所述第一变化量之前,还包括:
确定所述第二过曝比例达到第二过曝比例阈值;或者
确定所述第二欠曝比例达到第三欠曝比例阈值。
结合第四方面的第一种可能的实现方式,在第九种可能的实现方式中,
所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定亮度值;
确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;
确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;
确定所述第三过曝比例达到所述第二过曝比例阈值、所述第三欠曝比例未达到第三欠曝比例阈值时,确定与所述第三过曝比例相对应的曝光亮度调整倍数组。
结合第四方面的第一种可能的实现方式,在第十种可能的实现方式中,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定亮度值;
确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;
确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;
确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例未达到所述第二过曝比例阈值时,确定与所述第三欠曝比例相对应的曝光亮度调整倍数组。
结合第四方面的第一种可能的实现方式,在第十一种可能的实现方式中,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定亮度值;
确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;
确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;
确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例达到所述第二过曝比例阈值时,确定与所述第三过曝比例和所述第三欠曝比例均相对应的曝光亮度调整倍数组。
结合第四方面的第九种至第十一种可能的实现方式,在第十二种可能的实现方式中,所述确定单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整时,具体为:
根据所述第一欠曝比例、第三欠曝比例,对所述第一类曝光亮度调整倍数进行调整;
根据所述第一过曝比例、第三过曝比例和所述第二变化量,对所述第三类曝光亮度调整倍数进行调整。
结合第四方面的第九种至第十二种可能的实现方式,在第十三种可能的实现方式中,所述第二预设条件为:
所述第二变化量达到第二变化量阈值和/或所述第三过曝比例达到第三过曝比例阈值。
结合第四方面的第九种至第十三种可能的实现方式,在第十四种可能的实现方式中,所述确定单元还用于,确定所述亮度值提高后不符合所述第二预设条件,返回确定第三欠曝比例达到所述第二欠曝比例阈值的步骤,直至符合所述第二预设条件;
所述步骤包括如下操作:
所述用户设备确定提高亮度值后的当前欠曝比例达到所述第二欠曝比例阈值,提高亮度值后的当前过曝比例未达到第三过曝比例阈值时,提高所述亮度值。
结合第四方面的第九种至第十四种可能的实现方式,在第十五种可能的实现方式中,所述确定单元确定符合所述第二预设条件之后,确定所述第三过曝比例、所述第三欠曝比例和所述第二变化量之前,还包括;
确定所述第三欠曝比例达到第三欠曝比例阈值;或者
确定所述第三过曝比例达到所述第二过曝比例阈值。
结合第四方面的第一种可能的实现方式,在第十六种可能的实现方式中,所述确定单元根据所述第一曝光比例对第三类曝光亮度调整倍数调整时,具体为:
确定所述预览图片的亮度值;
确定第一过曝比例达到第二过曝比例阈值时,降低所述亮度值,并计算所述亮度值的第三变化量;
确定所述预览图片降低所述亮度值后的第四过曝比例;
确定所述第四过曝比例未达到第四过曝比例阈值时,根据所述第三变化量,对所述第三类曝光亮度调整倍数进行调整。
结合第四方面的第一种或者第十六种可能的实现方式,在第十七种可能的实现方式中,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数调整时,具体为:
确定所述预览图片的亮度值;
确定所述第一欠曝比例达到第三欠曝比例阈值时,提高亮度值,并计算所述亮度值的第四变化量;
确定提高所述亮度值后,所述预览图片的第四欠曝比例;
确定所述第四欠曝比例未达到所述第四欠曝比例阈值时,根据所述第四变化量,对所述第一类曝光亮度调整倍数进行调整。
结合第四方面的第一种至第十七种可能的实现方式,在第十八种可能的实现方式中,所述确定单元还用于,确定所述预览图片的感兴趣区域ROI
的第二曝光比例,及所述ROI的权重值;
根据所述第二曝光比例和所述权重值,计算第三曝光比例;
所述调整单元还用于,根据所述第三曝光比例,对调整后的所述第一类曝光亮度调整倍数和调整后的所述第三类曝光亮度调整倍数再次进行调整。
结合第四方面,以及第四方面的第一种至第十八种可能的实现方式,在
第十九种可能的实现方式中,所述确定单元还用于,提高所述预览图片的亮度值,并确定所述亮度值提高后的第五变化量;
确定所述预览图片在提高所述亮度值之前的第四曝光比例;
所述确定单元确定待拍摄区域当前预览图片的第一曝光比例时,具体为:
确定所述当前预览图片在提高所述亮度值之后的第一曝光比例。
结合第四方面的第十九种可能的实现方式,在第二十种可能的实现方式中,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
结合第四方面的第十九种或者第二十种可能的实现方式,在第二十一种可能的实现方式中,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第四曝光比例包括第五过曝比例和/或第五欠曝比例;
所述调整单元根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据所述第一欠曝比例、第五欠曝比例,对所述第一类曝光亮度调整倍数进行调整;
根据所述第一过曝比例、所述第五过曝比例和所述第五变化量,对所述第三类曝光亮度调整倍数进行调整。
结合第四方面,以及第四方面的第一种至第二十一种可能的实现方式,在第二十二种可能的实现方式中,所述确定单元还用,降低所述预览图片的亮度值,并确定所述亮度值降低后的第六变化量;
确定所述预览图片在降低所述亮度值之前的第五曝光比例;
所述确定单元确定待拍摄区域当前预览图片的第一曝光比例时,具体为:
确定所述当前预览图片在降低所述亮度值之后的第一曝光比例。
结合第四方面的第二十二可能的实现方式,在第二十三种可能的实现方
式中,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
结合第四方面的第二十二种或者第二十三种可能的实现方式,在第二十四种可能的实现方式中,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第五曝光比例包括第六过曝比例和/或第六欠曝比例;
所述调整单元根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据所述第一欠曝比例、第六欠曝比例和所述第六变化量,对所述第一类曝光亮度调整倍数进行调整;
根据所述第一过曝比例、第六过曝比例,对所述第三类曝光亮度调整倍数进行调整。
结合第四方面的第十九种至第二十四种可能的实现方式,在第二十五种可能的实现方式中,所述生成单元根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片时,具体为:
提高所述第二组图片的目标区域的合成权重;
根据所述第一组图片、所述第二组图片、所述第二组图片提高后的合成权重和所述第三组图片,合成目标图片。
第五方面,提供一种用户设备,包括:
确定单元,用于确定有运动物体;
检测单元,用于在所述确定单元确定有运动物体时,检测所述运动物体的运动强度;
所述确定单元还用于,确定所述运动强度大于运动强度阈值;
生成单元,在所述确定单元确定所述运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片。
结合第五方面,在第一种可能的实现方式中,所述确定单元还用于,确定没有运动物体;
所述生成单元还用于,在所述确定单元确定没有运动物体时,采用长曝光时间合成目标图片;
所述确定单元还用于,确定所述运动强度小于或者等于所述运动强度阈值
所述生成单元还用于,在所述确定单元确定所述运动强度小于或者等于所述运动强度阈值时,采用短曝光时间合成所述目标图片。
结合第五方面的第一种可能的实现方式,在第二种可能的实现方式中,所述确定单元确定有运动物体时,具体为:
确定所述用户设备处于运动状态,和/或待拍摄区域中有处于运动状态的物体。
第六方面,提供一种用户设备,包括:
确定单元,用于确定待拍摄区域当前预览图片中存在水波纹时,确定所述水波纹的强度;
调整单元,用于判断所述水波纹的强度大于强度阈值时,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,所述第一类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度不变,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度减弱;
拍摄单元,用于根据调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度增强;
生成单元,用于根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
结合第六方面,在第一种可能的实现方式中,所述调整单元还用于,对
所述第三类曝光亮度调整倍数进行调整;
所述拍摄单元根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片时,具体为:
根据调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片。
结合第六方面的第一种可能的实现方式,在第二种可能的实现方式中,所述调整单元还用于,判断所述水波纹的强度小于或者等于所述强度阈值时,提高所述第二类曝光亮度调整倍数,和/或,减小所述第二组图片的权重值。
第七方面,提供一种便携式电子设备,包括:
显示器,其中,所述显示器包括触敏表面和显示屏;一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行根据权利要求1至26任一项所述的方法的指令。
第八方面,提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括显示器和多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据权利要求1至26任一项所述方法,其中,所述显示器包括触敏表面和显示屏。
第九方面,提供一种便携式电子设备,包括:
显示器,其中,所述显示器包括触敏表面和显示屏;一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行根据权利要求27至29任一项所述的方法的指令。
第十方面,提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括显示器和多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据权利要求27至29任一项所述方法,其中,所述显示器包括触敏表面和显示屏。
第十一方面,提供一种便携式电子设备,包括:
显示器,其中,所述显示器包括触敏表面和显示屏;一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行根据权利要求30至32任一项所述的方法的指令。
第十二方面,提供一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括显示器和多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据权利要求30至32任一项所述方法,其中,所述显示器包括触敏表面和显示屏。
本发明实施例中,确定出曝光亮度调整倍数组之后,要根据当前曝光比例对曝光亮度调整倍数组进行调整,这样,即使根据不同曝光比例确定出相同的曝光亮度调整倍数组,但是,由于还要再根据曝光比例对曝光亮度调整倍数组进行调整,这样,在不同曝光比例的场景下,最后拍摄图片时采用的曝光亮度调整倍数组也是不同的,也就是说,会随着应用场景的不同而发生变化,因此,提高了拍摄出的图片的质量。
图1为本发明实施例提供的拍摄图片的一种流程图;
图2为本发明实施例提供的拍摄图片的另一种流程图;
图3为本发明实施例提供的拍摄图片的另一种流程图;
图4A为本发明实施例提供用户设备的一种示意图;
图4B为本发明实施例提供用户设备的另一种示意图;
图5A为本发明实施例提供用户设备的另一种示意图;
图5B为本发明实施例提供用户设备的另一种示意图;
图6A为本发明实施例提供用户设备的另一种示意图;
图6B为本发明实施例提供用户设备的另一种示意图。
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字母“/”,一般表示前后关联对象是一种“或”的关系。
下面结合说明书附图对本发明优选的实施方式进行详细说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明,并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
参阅图1所示,本发明实施例中,拍摄图片的一种流程如下:
步骤100:用户设备确定待拍摄区域当前预览图片的第一曝光比例;
步骤110:用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组,曝光亮度调整倍数组包括三类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后增强,第二类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后不变,第三类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后减弱;
步骤120:用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整;
步骤130:用户设备采用调整后的第一类曝光亮度调整倍数对待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对待拍摄区域拍摄第二组图片,及调整后的第三类曝光亮度调整倍数对待拍摄区域拍摄第三组图片;
步骤140:用户设备根据第一组图片、第二组图片和第三组图片合成目标
图片。
现有技术中,假设有三个曝光比例:第一曝光比例、第二曝光比例和第三曝光比例,第一曝光比例为25%、第二曝光比例为20%、第三曝光比例为15%,25%、20%和15%对应的曝光亮度调整倍数组均为(+1EV、0EV、-1.5EV),+1EV属于第一类曝光亮度调整倍数,0EV属于第二类曝光亮度调整倍数,-1.5EV属于第三类曝光亮度调整倍数,则在这三种曝光比例下,均采用(+1EV、0EV、-1.5EV)拍摄第一组图片、第二组图片和第三组图片,并根据第一组图片、第二组图片和第三组图片合成目标图片,曝光亮度调整倍数组不会随着曝光比例的不同而发生变化,因此,拍摄出的图片的质量存在较差的缺陷。
本发明实施例中,假设有三个曝光比例:第一曝光比例、第二曝光比例和第三曝光比例,第一曝光比例为25%、第二曝光比例为20%、第三曝光比例为15%,25%、20%和15%对应的曝光亮度调整倍数组均为(+1EV、0EV、-1.5EV),+1EV属于第一类曝光亮度调整倍数,0EV属于第二类曝光亮度调整倍数,-1.5EV属于第三类曝光亮度调整倍数,但是,用户设备在第一曝光比例为25%的情况下,会对(+1EV、0EV、-1.5EV)进行调整,调整为(+1EV、0EV、-2EV),进而根据(+1EV、0EV、-2EV)拍摄图片;用户设备在第二曝光比例为20%的情况下,也会对(+1EV、0EV、-1.5EV)进行调整,调整为(-1EV、0EV、-1.2EV),进而根据(-1EV、0EV、-1.2EV)拍摄图片;用户设备在第三曝光比例为15%的情况下,也会对(+1EV、0EV、-1.5EV)进行调整,调整为(+1EV、0EV、-1EV),进而根据(+1EV、0EV、-1EV)拍摄图片,虽然不同的曝光比例对应同样的曝光亮度调整倍数组,但是,还会根据曝光比例对曝光亮度调整倍数组进行调整,提高拍摄出的图片的质量。
本发明实施例中,第一曝光比例包括第一过曝比例和/或第一欠曝比例。
本发明实施例中,用户设备可以根据第一曝光比例确定出当前场景是过曝场景,还是欠曝场景。
实施例一
针对不同的曝光场景,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组的方式是不同的,下面以当前场景是过曝场景为例进行说明。
本发明实施例中,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组时,可以采用如下方式:
用户设备确定预览图片的亮度值;
用户设备确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值;
用户设备确定亮度值降低后符合第一预设条件时,确定亮度值降低后预览图片的第二过曝比例、第二欠曝比例和亮度值的第一变化量;
用户设备确定第二过曝比例达到第二过曝比例阈值、第二欠曝比例未达到第三欠曝比例阈值时,确定与第二过曝比例相对应的曝光亮度调整倍数组。
其中,用户设备确定第一过曝比例达到第一过曝比例阈值,其实,也就是用户设备确定满足进行AE(Auto Exposure,自动曝光)调整的条件;用户设备确定第二过曝比例达到第二过曝比例阈值,其实也就是,用户设备确定满足进入HDR模式的条件,这样,在进入HDR模式之前,要进行AE调整,AE技术和HDR技术相融合,提高了拍摄的图片的质量。
用户设备进行AE调整,指的是用户设备可以根据曝光比例自动调整亮度值,不需要根据用户指示来调整亮度值。
进一步的,不是用户设备确定满足进行AE调整的条件时,就可以降低亮度值,由于降低亮度值,会增加欠曝比例,欠曝比例超过一定阈值的话,图片质量较差,用户体验较差,因此,为了提高图片质量,提升用户体验,在确定满足进行AE调整的条件时,还要进一步确定第一欠曝比例未达到第一欠曝比例阈值时,然后,降低亮度值,即还要进一步确定欠曝比例还有提升的空间的话,然后,降低亮度值。
上述描述的是初始场景为过曝场景,用户设备在调整亮度之后,确定仍处于过曝场景,此时,根据过曝比例来确定曝光亮度调整倍数组。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类
曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第二欠曝比例和第一变化量,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第二过曝比例,对第三类曝光亮度调整倍数进行调整。
上述讲的是初始场景为过曝场景,用户设备在降低亮度值后处于过曝的情况,在应用中,还存在初始场景为过曝场景,用户设备在降低亮度值后处于欠曝场景的情况,因此,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组时,可以采用如下方式:
用户设备确定预览图片的亮度值;
用户设备确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值;
用户设备确定亮度值降低后符合第一预设条件时,确定亮度值降低后预览图片的第二过曝比例、第二欠曝比例和亮度值的第一变化量;
用户设备确定第二欠曝比例达到第三欠曝比例阈值、第二过曝比例未达到第二过曝比例阈时,确定与第二欠曝比例相对应的曝光亮度调整倍数组。
也就是说,用户设备在调整亮度之后,确定处于欠曝场景,此时,根据欠曝比例来确定曝光亮度调整倍数组。
其中,用户设备确定第一过曝比例达到第一过曝比例阈值,其实也就是,用户设备确定满足进行AE调整的条件;用户设备确定第二欠曝比例达到第三欠曝比例阈值,其实也就是,用户设备确定满足进入HDR模式的条件,这样,在进入HDR模式之前,要进行AE调整,AE技术和HDR技术相融合,提高了拍摄的图片的质量。
进一步的,不是用户设备确定满足进行AE调整的条件时,就可以降低亮度值,由于降低亮度值,会增加欠曝比例,欠曝比例超过一定阈值的话,图片质量较差,用户体验较差,因此,为了提高图片质量,提升用户体验,在确定满足进行AE调整的条件时,还要进一步确定第一欠曝比例未达到第一欠
曝比例阈值时,然后,降低亮度值,即还要进一步确定欠曝比例还有提升的空间的话,然后,降低亮度值。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第二欠曝比例和第一变化量,,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第二过曝比例对第三类曝光亮度调整倍数进行调整。
当然,用户在降低亮度值后,可能存在第二欠曝比例达到第三欠曝比例阈值、第二过曝比例达到第二过曝比例阈值的情况,也就是说,既有过曝也有欠曝,此时,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组时,可选的,可以采用如下方式:
用户设备确定预览图片的亮度值;
用户设备确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值;
用户设备确定亮度值降低后符合第一预设条件时,确定亮度值降低后预览图片的第二过曝比例、第二欠曝比例和亮度值的第一变化量;
用户设备确定第二欠曝比例达到第三欠曝比例阈值、第二过曝比例达到第二过曝比例阈值时,确定与第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
其中,用户设备确定第一过曝比例达到第一过曝比例阈值,其实也就是,用户设备确定满足进行AE调整的条件;用户设备确定第二欠曝比例达到第三欠曝比例阈值、第二过曝比例达到第二过曝比例阈值,其实也就是,用户设备确定满足进入HDR模式的条件,这样,在进入HDR模式之前,要进行AE调整,AE技术和HDR技术相融合,提高了拍摄的图片的质量。
进一步的,不是用户设备确定满足进行AE调整的条件时,就可以降低亮度值,由于降低亮度值,会增加欠曝比例,欠曝比例超过一定阈值的话,图
片质量较差,用户体验较差,因此,为了提高图片质量,提升用户体验,在确定满足进行AE调整的条件时,还要进一步确定第一欠曝比例未达到第一欠曝比例阈值时,然后,降低亮度值,即还要进一步确定欠曝比例还有提升的空间的话,然后,降低亮度值。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第二欠曝比例和第一变化量,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第二过曝比例对第三类曝光亮度调整倍数进行调整。
本发明实施例中,可选的,第一预设条件为第一变化量达到第一变化量阈值和/或第二欠曝比例达到第一欠曝比例阈值。
上述描述的是降低亮度值后,符合第一预设条件,在实际应用中,可能降低亮度值后,不符合第一预设条件,且第二过曝比例达到第一过曝比例阈值时,那么此时就要继续降低亮度值,直至符合第一预设条件。
也就是说,上述描述的是通过AE调整亮度值后,满足停止降低亮度值的条件,进入HDR模式,在实际应用中,可能通过AE调整亮度值后,不满足停止降低亮度值的条件,但是,满足进行AE调整的条件,那么,此时就要继续降低亮度值,直至满足停止降低亮度值的条件。即亮度值不是经过一次AE调整之后,进入HDR模式,而是经过多次AE调整之后,进入HDR模式。
例如,用户设备确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值0,亮度值从亮度值0调整为亮度值1,当亮度值从亮度值0调整为亮度值1后,不符合第一预设条件,且当前的过曝比例达到第一过曝比例阈值时,继续将亮度值1调整为亮度值2,当亮度值1调整为亮度值2后,不符合第一预设条件,且当前的过曝比例达到第一过曝比例阈值时,继续将亮度值2调整为亮度值3,此时,确定符合第一预设条件时,停止降低亮度值,并确定亮度值3时的过曝比例和欠曝比例,及
亮度值3和亮度值0之间的变化量,确定亮度值3时的过曝比例达到第二过曝比例阈值,欠曝比例未达到第三欠曝比例阈值时,确定与亮度值3时的过曝比例相对应的曝光亮度调整倍数组,并根据亮度值为3时的欠曝比例、亮度值为0时的欠曝比例和亮度值3和亮度值0之间的变化量,对第一类曝光亮度调整倍数进行调整,并根据亮度值为3时的过曝比例、亮度值为0时的过曝比例,对第三类曝光亮度调整倍数进行调整。
因此,还包括如下操作:
用户设备确定亮度值降低后不符合第一预设条件,返回确定第二过曝比例达到第一过曝比例阈值的步骤,直至符合第一预设条件。
步骤包括如下操作:
用户设备确定降低亮度值后的当前过曝比例达到第一过曝比例阈值,降低亮度值后的当前欠曝比例未达到第一欠曝比例阈值时,降低亮度值。
上述描述的返回亮度值降低的步骤可以用下面的例子进行说明,以便理解。
例如,用户设备确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,第一次降低亮度值;
用户设备确定亮度值第一次降低后不符合第一预设条件时,并确定第一次降低亮度值后的第二过曝比例达到第一过曝比例阈值、第一次降低亮度值后的第二欠曝比例未达到第一欠曝比例阈值时,第二次降低亮度值;
用户设备确定亮度值第二次降低后不符合第一预设条件时,并确定确定第二次降低亮度值后的第三过曝比例达到第一过曝比例阈值、确定第二次降低亮度值后的第三欠曝比例未达到第一欠曝比例阈值时,第三次降低亮度值;
用户设备确定亮度值第三次降低后仍然不符合第一预设条件的话,按照上述循环过程继续循环执行降低亮度值的过程。
这样,用户设备亮度值通过AE调整之后,不满足停止降低亮度值的条件的话,用户设备继续进行AE调整,降低亮度值,直至满足停止降低亮度值的条件。
本发明实施例中,采用HDR技术拍摄图片时才采用曝光亮度调整倍数组,如果不满足进入HDR模式的话,调整第一类曝光亮度调整倍数和第三类曝光亮度调整倍数也是没有意义的,因此,用户设备确定亮度值降低后符合第一预设条件之后,确定第二过曝比例、第二欠曝比例和第一变化量之前,还包括:
用户设备确定进入HDR模式。
其中,用户设备确定进入HDR模式,可选的,可以采用如下方式:
用户设备确定第二过曝比例达到第二过曝比例阈值;或者
用户设备确定第二欠曝比例达到第三欠曝比例阈值。
其中,当初始场景为过曝场景,降低亮度值之后,如果仍处于过曝场景,用户设备通过确定第二过曝比例达到第二过曝比例阈值,确定进入HDR模式;当初始场景为过曝场景,降低亮度值之后,如果处于欠曝场景,用户设备确定第二欠曝比例达到第三欠曝比例阈值,确定进入HDR模式;当初始场景为过曝场景,降低亮度值之后,如果既是欠曝场景也是过曝场景,那么,用户设备确定第二欠曝比例达到第三欠曝比例阈值,和/或,第二欠曝比例达到第三欠曝比例阈值,即可确定进入HDR模式。
上述描述的是用户设备在初始阶段确定出为过曝场景的场景下,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整的方式,当然,实际应用中,用户设备在初始阶段根据预览图片还可能确定出是欠曝场景,下面以当前场景是欠曝场景为例进行说明。
此时,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组时,可选的,可以采用如下方式:
用户设备确定亮度值;
用户设备确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值;
用户设备确定亮度值提高后符合第二预设条件时,确定亮度值提高后的第三过曝比例、第三欠曝比例和亮度值的第二变化量;
用户设备确定第三过曝比例达到第二过曝比例阈值、第三欠曝比例未达到第三欠曝比例阈值时,确定与第三过曝比例相对应的曝光亮度调整倍数组。
其中,用户设备确定第一欠曝比例达到第二欠曝比例阈值,其实也就是,用户设备确定满足进行AE调整的条件;用户设备确定第三过曝比例达到第二过曝比例阈值,其实也就是,用户设备确定满足进入HDR模式的条件,这样,在进入HDR模式之前,要进行AE调整,AE技术和HDR技术相融合,提高了拍摄的图片的质量。
进一步的,不是用户设备确定满足进行AE调整的条件时,就可以提高亮度值,由于提高亮度值,会增加过曝比例,过曝比例超过一定阈值的话,图片质量较差,用户体验较差,因此,为了提高图片质量,提升用户体验,在确定满足进行AE调整的条件时,还要进一步确定第一过曝比例未达到第三过曝比例阈值时,然后,提高亮度值,即还要进一步确定过曝比例还有提升的空间的话,然后,提高亮度值。
上述描述的是,用户设备在初始阶段确定出的是欠曝场景,但是,经过亮度值提高调整,在符合第二预设条件时,处于过曝场景,此时,虽然初始阶段是欠曝场景,但是,确定的是与第三过曝比例相对应的曝光亮度调整倍数组。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一过曝比例、第三过曝比例和第二变化量,,对第三类曝光亮度调整倍数进行调整;
用户设备根据第一欠曝比例、第三欠曝比例对第一类曝光亮度调整倍数进行调整。
上述描述的是,初始阶段是欠曝场景,但是经过亮度值提高调整之后处于过曝场景的情况,在实际应用中,还存在初始阶段是欠曝场景,但是经过亮度值提高调整之后仍处于欠曝场景的情况,因此,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组时,可选的,可以采用如下方式:
用户设备确定亮度值;
用户设备确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值;
用户设备确定亮度值提高后符合第二预设条件时,确定亮度值提高后的第三过曝比例、第三欠曝比例和亮度值的第二变化量;
用户设备确定第三欠曝比例达到第三欠曝比例阈值、第三过曝比例未达到第二过曝比例阈值时,确定与第三欠曝比例相对应的曝光亮度调整倍数组。
其中,用户设备确定第一欠曝比例达到第二欠曝比例阈值,其实也就是,用户设备确定满足进行AE调整的条件;用户设备确定第三欠曝比例达到第三欠曝比例阈值,其实也就是,用户设备确定满足进入HDR模式的条件,这样,在进入HDR模式之前,要进行AE调整,AE技术和HDR技术相融合,提高了拍摄的图片的质量。
进一步的,不是用户设备确定满足进行AE调整的条件时,就可以提高亮度值,由于提高亮度值,会增加过曝比例,过曝比例超过一定阈值的话,图片质量较差,用户体验较差,因此,为了提高图片质量,提升用户体验,在确定满足进行AE调整的条件时,还要进一步确定第一过曝比例未达到第三过曝比例阈值时,然后,提高亮度值,即还要进一步确定过曝比例还有提升的空间的话,然后,提高亮度值。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第三欠曝比例,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第三过曝比例和第二变化量,对第三类曝光亮度调整倍数进行调整。
当然,在提高亮度值之后,第三欠曝比例达到第三欠曝比例阈值、第三过曝比例达到第二过曝比例阈值,此时,用户设备根据第一曝光比例确定对应的曝光亮度调整倍数组时,可以采用如下方式:
用户设备确定亮度值;
用户设备确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值;
用户设备确定亮度值提高后符合第二预设条件时,确定亮度值提高后的第三过曝比例、第三欠曝比例和亮度值的第二变化量;
用户设备确定第三欠曝比例达到第三欠曝比例阈值、第三过曝比例达到第二过曝比例阈值时,确定与第三过曝比例和第三欠曝比例均相对应的曝光亮度调整倍数组。
其中,用户设备确定第一欠曝比例达到第二欠曝比例阈值,其实也就是,用户设备确定满足进行AE调整的条件;用户设备确定第三欠曝比例达到第三欠曝比例阈值、第三过曝比例达到第二过曝比例阈值,其实也就是,用户设备确定满足进入HDR模式的条件,这样,在进入HDR模式之前,要进行AE调整,AE技术和HDR技术相融合,提高了拍摄的图片的质量。
进一步的,不是用户设备确定满足进行AE调整的条件时,就可以提高亮度值,由于提高亮度值,会增加过曝比例,过曝比例超过一定阈值的话,图片质量较差,用户体验较差,因此,为了提高图片质量,提升用户体验,在确定满足进行AE调整的条件时,还要进一步确定第一过曝比例未达到第三过曝比例阈值时,然后,提高亮度值,即还要进一步确定过曝比例还有提升的空间的话,然后,提高亮度值。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第三欠曝比例,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第三过曝比例和第二变化量,对第三类曝光亮度调整倍数进行调整。
本发明实施例中,可选的,第二预设条件为第二变化量达到第二变化量阈值和/或第三过曝比例达到第三过曝比例阈值。
上述描述了三种确定曝光亮度调整倍数组的方式:
第一种为:所述用户设备确定所述第二过曝比例达到所述第二过曝比例阈值、所述第二欠曝比例未达到第三欠曝比例阈值时,确定与所述第二过曝比例相对应的曝光亮度调整倍数组;
第二种为:所述用户设备确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例未达到所述第二过曝比例阈值时,确定与所述第二欠曝比例相对应的曝光亮度调整倍数组;
第三种为:所述用户设备确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例达到所述第二过曝比例阈值时,确定与所述第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
上述三种方式的主要区别为:如果仅仅是过曝比例达到阈值,欠曝比例没有达到阈值,此时,确定的是第一类曝光亮度调整倍数组;如果仅仅是过曝比例没达到阈值,欠曝比例达到阈值,此时,确定的是第二类曝光亮度调整倍数组;如果过曝比例达到阈值,欠曝比例也达到阈值,此时,确定的是第三类曝光亮度调整倍数组,也就是说,第一类曝光亮度调整倍数组与过曝比例达到阈值,欠曝比例没有达到阈值这种场景相对应;第二类曝光亮度调整倍数组与过曝比例没有达到阈值,欠曝比例达到阈值这种场景相对应;第三类曝光亮度调整倍数组与过曝比例达到阈值,欠曝比例也达到阈值这种场景相对应。
上述描述的是提高亮度值后,符合第二预设条件,在实际应用中,可能提高亮度值后,不符合第二预设条件,如果第三欠曝比例达到第二欠曝比例阈值,那么此时就要继续提高亮度值,直至符合第二预设条件。
也就是说,上述描述的是通过AE调整亮度值后,满足停止提高亮度值的条件,进入HDR模式,在实际应用中,可能通过AE调整亮度值后,不满足停止提高亮度值的条件,但是,满足进行AE调整的条件,那么,此时就要继续提高亮度值,直至满足停止提高亮度值的条件。即亮度值不是经过一次AE调整之后,进入HDR模式,而是经过多次AE调整之后,进入HDR模式。
例如,用户设备确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值0,亮度值从亮度值0调整为亮度值1,当亮度值从亮度值0调整为亮度值1后,不符合第二预设条件,且当前亮度值之下的欠曝比例达到第二欠曝比例阈值时,继续将亮度值1调整为亮度值2,当亮度值1调整为亮度值2后,不符合第二预设条件,且当前亮度值之下的欠曝比例达到第二欠曝比例阈值时,继续将亮度值2调整为亮度值3,此时,确定符合第二预设条件,且当前亮度值之下的欠曝比例达到第二欠曝比例阈值时,停止提高亮度值,并确定亮度值3时的过曝比例和欠曝比例,及亮度值3和亮度值0之间的变化量,确定亮度值3时的过曝比例达到第二过曝比例阈值时,确定与亮度值3时的过曝比例相对应的曝光亮度调整倍数组,并根据亮度值为3时的欠曝比例、亮度值为0时的欠曝比例,对第类曝光亮度调整倍数进行调整,并根据亮度值为3时的过曝比例、亮度值为0时的过曝比例和亮度值3和亮度值0之间的变化量,对第三类曝光亮度调整倍数进行调整。
因此,该方法还包括如下操作:
用户设备确定亮度值提高后不符合第二预设条件,返回确定第三欠曝比例达到第二欠曝比例阈值的步骤,直至符合第二预设条件。
步骤包括如下操作:
用户设备确定提高亮度值后的当前欠曝比例达到第二欠曝比例阈值,提高亮度值后的当前过曝比例未达到第三过曝比例阈值时,提高亮度值。
上述描述的返回亮度值提高的步骤可以用下面的例子进行说明,以便理解。
例如,用户设备确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,第一次提高亮度值;
用户设备确定亮度值第一次提高后不符合第二预设条件时,确定第一次提高亮度值后的第二欠曝比例达到第二欠曝比例阈值、第一次提高亮度值后的第一过曝比例未达到第三过曝比例阈值时,第二次提高亮度值;
用户设备确定亮度值第二次提高后不符合第二预设条件时,确定第二次提高亮度值后的第三欠曝比例达到第二欠曝比例阈值、第二次提高亮度值后的第三过曝比例未达到第三过曝比例阈值时,第三次提高亮度值;
用户设备确定亮度值第三次提高后仍然不符合第二预设条件的话,按照上述循环过程继续循环执行提高亮度值的过程。
这样,用户设备亮度值通过AE调整之后,不满足停止提高亮度值的条件的话,用户设备继续进行AE调整,提高亮度值,直至满足停止提高亮度值的条件。
本发明实施例中,用户设备在提高亮度值之后,如果符合进入HDR模式的条件,那么确定第三过曝比例、第三欠曝比例和第二变化量才有意义,因此,为了避免资源浪费,用户设备确定符合第二预设条件之后,确定第三过曝比例、第三欠曝比例和第二变化量之前,还包括如下操作;
用户设备确定第三欠曝比例达到第三欠曝比例阈值;或者
用户设备确定第三过曝比例达到第二过曝比例阈值。
其中,当初始场景为欠曝场景,提高亮度值之后,如果仍处于欠曝场景,用户设备通过确定第三欠曝比例达到第三欠曝比例阈值,确定进入HDR模式;当初始场景为欠曝场景,提高亮度值之后,如果处于过曝场景,用户设备确定第三过曝比例达到第二过曝比例阈值,确定进入HDR模式;当初始场景为欠曝场景,提高亮度值之后,如果既是欠曝场景也是过曝场景,那么,用户设备确定第三欠曝比例达到第三欠曝比例阈值,和/或,第三过曝比例达到第二过曝比例阈值,即可确定进入HDR模式。
本发明实施例中,可选的,实施例一应用于用户设备只有一个摄像模块的场景,在该场景下,可以将AE技术与HDR技术相融合来拍摄图片,进而提高拍摄的图片的质量,当然,也可以应用于其他场景,在此不做具体限定。
上述描述的是用户设备只有一个摄像模块的情况,在用户设备只有一个摄像模块的时候,可以采用AE和HDR技术相融合的技术,在采用AE调整亮度值的时候,为了提高用户体验,当在过曝场景下降低亮度值的时候,需
要满足欠曝比例不能达到上限的情况,如果欠曝比例达到上限了,降低亮度值的话,用户能明显感觉到预览图片的亮度值的变化,如果多次降低亮度值的话,那用户会频繁感觉到预览图片的亮度值的变化,用户体验较差;因此,在过曝场景下降低亮度值的时候,需要在满足欠曝比例不能达到上限的情况下才能降低亮度值;同理,当在欠曝场景下提高亮度值的时候,需要满足过曝比例不能达到上限的情况,如果过曝比例达到上限了,提高亮度值的话,用户能明显感觉到预览图片的亮度值的变化,如果多次提高亮度值的话,那用户会频繁感觉到预览图片的亮度值的变化,用户体验较差,因此,在欠曝场景下提高亮度值的时候,需要在满足过曝比例不能达到上限的情况下才能提高亮度值。因此,用户设备只有一个摄像模块的情况,过曝场景下降低亮度值的时候需要满足欠曝比例不能达到上限的条件,欠曝场景下提高亮度值的时候需要满足过曝比例不能达到上限的条件。
但是,随着科技的发展,用户设备可能出现有多个摄像模块的情况,如用户设备有两个摄像模块,主摄像模块和辅摄像模块,由于用户设备呈现的图片是主摄像模块的图片,用户设备调整亮度值都采用辅摄像模块执行的话,即使在降低亮度值的时候欠曝比例已经达到上限了,由于此时的图片不会在用户设备呈现,因此,在降低亮度值的时候不需要考虑欠曝比例是否已经达到上限;同理,用户设备调整亮度值都采用辅摄像模块执行的话,即使在提高亮度值的时候过曝比例已经达到上限了,由于此时的图片不会在用户设备呈现,因此,在提高亮度值的时候不需要考虑过曝比例是否已经达到上限。
实施例二
上述描述的实施例是用户设备只有一个摄像模块的情况,随着科技的发展,用户设备有多个摄像模块的情况,此时,用于设备根据第一曝光比例对第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备确定预览图片的亮度值;
用户设备确定第一过曝比例达到第二过曝比例阈值时,降低亮度值,并计算亮度值的第三变化量;
用户设备确定预览图片降低亮度值后的第四过曝比例;
用户设备确定第四过曝比例未达到第四过曝比例阈值时,根据第三变化量,对第三类曝光亮度调整倍数进行调整。
也就是说,在用户设备有多个摄像模块的情况下,如果满足进入HDR模块的条件的话,要继续降低亮度值,如果降低亮度值后的第四过曝比例未达到第四过曝比例阈值时,根据第三变化量,对第三类曝光亮度调整倍数进行调整。
本发明实施例中,可选的,第四过曝比例阈值小于第二过曝比例阈值。
需要说明的是,用户设备的过曝比例从第一过曝比例调整至第四过曝比例,可以是通过执行一次降低亮度值来实现,也可以通过执行多次降低亮度值来实现,在此不做具体限定。或者,用户设备根据第一曝光比例对第一类曝光亮度调整倍数调整时,可以采用如下方式:
用户设备确定预览图片的亮度值;
用户设备确定第一欠曝比例达到第三欠曝比例阈值时,提高亮度值,并计算亮度值的第四变化量;
用户设备确定提高亮度值后,预览图片的第四欠曝比例;
用户设备确定第四欠曝比例未达到第四欠曝比例阈值时,根据第四变化量,对第一类曝光亮度调整倍数进行调整。
本发明实施例中,可选的,第四欠曝比例阈值小于第三欠曝比例阈值
需要说明的是,用户设备的过曝比例从第一欠曝比例调整至第四欠曝比例,可以是通过执行一次提高亮度值来实现,也可以通过执行多次提高亮度值来实现,在此不做具体限定。
本发明实施例中,可选的,实施例二应用于用户设备有至少两个摄像模块的场景,当然,也可以应用于其他场景,在此不做具体限定。
实施例三
如果预览图片中有ROI(Region of Interest,感兴趣区域)的话,为了进一步提升拍摄得到的图片的质量,进而提升用户体验,用户设备根据第一曝
光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整之后,拍摄第一组图片、第二组图片和第三组图片之前,还包括如下操作:
用户设备确定预览图片的感兴趣ROI的第二曝光比例,及ROI区域的权重值;
用户设备根据第二曝光比例和权重值,计算第三曝光比例;
用户设备根据第三曝光比例,对调整后的第一类曝光亮度调整倍数和调整后的第三类曝光亮度调整倍数再次进行调整。
也就是说,如果生成的目标图片中有ROI区域,则在采用第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整之后,还要对调整后的第一类曝光亮度调整倍数和第三类曝光亮度调整倍数再次进行调整。
本发明实施例中,可选的,第二欠曝比例阈值大于或者等于第三欠曝比例阈值,第一过曝比例阈值大于或者等于第二过曝比例阈值。
本发明实施例中,可选的,实施例三应用于目标图片有ROI的场景,当然,也可以应用于其他场景,在此不做具体限定。
实施例四
本发明实施例中,用户设备可以根据当前呈现的预览图片的亮度或者用户指示,对当前呈现的预览图片的亮度值进行调整,例如,用户设备当前呈现的预览图片中有人脸,但是人脸的亮度较暗,此时,用户设备可以提高人脸的亮度值。又例如,用户设备当前呈现的预览图片中部分区域的亮度较暗,为了提高亮度较暗区域的亮度,用户可以对用户设备当前呈现的预览图片的亮度较暗区域进行点击操作,这样,用户设备接收到用户的点击操作时,即用户指示为点击操作时,提高亮度较暗区域的亮度值。
因此,本发明实施例中,用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,还包括如下操作:
用户设备提高预览图片的亮度值,并确定亮度值提高后的第五变化量;
用户设备确定预览图片在提高亮度值之前的第四曝光比例。
此时,用户设备确定待拍摄区域当前预览图片的第一曝光比例时,可选
的,可以采用如下方式:
用户设备确定当前预览图片在提高亮度值之后的第一曝光比例。
也就是说,如果用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,用户设备提高了预览图片的亮度值,则用户设备确定的第一曝光比例,是预览图片在提高亮度值之后的第一曝光比例。
此时,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式进行调整:
用户设备根据第一曝光比例、第四曝光比例和第五变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
本发明实施例中,可选的,第一曝光比例包括第一过曝比例和/或第一欠曝比例,第四曝光比例包括第五过曝比例和/或第五欠曝比例;
此时,用户设备根据第一曝光比例、第四曝光比例和第五变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第五欠曝比例,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第五过曝比例和第五变化量,对第三类曝光亮度调整倍数进行调整。
上述描述的是,用户设备根据当前呈现的预览图片的亮度或者用户指示提高亮度值,但是在实际应用中,还可能根据当前呈现的预览图片的亮度或者用户指示降低亮度值,因此,用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,还包括如下操作:
用户设备降低预览图片的亮度值,并确定亮度值降低后的第六变化量;
用户设备确定预览图片在降低亮度值之前的第五曝光比例;
此时,用户设备确定待拍摄区域当前预览图片的第一曝光比例时,可选的,可以采用如下方式:
用户设备确定当前预览图片在降低亮度值之后的第一曝光比例。
本发明实施例中,用户设备根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一曝光比例、第五曝光比例和第六变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
本发明实施例中,可选的,第一曝光比例包括第一过曝比例和/或第一欠曝比例,第五曝光比例包括第六过曝比例和/或第六欠曝比例;
此时,用户设备根据第一曝光比例、第五曝光比例和第六变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,可选的,可以采用如下方式:
用户设备根据第一欠曝比例、第六欠曝比例和第六变化量,对第一类曝光亮度调整倍数进行调整;
用户设备根据第一过曝比例、第六过曝比例,对第三类曝光亮度调整倍数进行调整。
本发明实施例中,可选的,实施例四应用于人脸场景和触控场景,当然,也可以应用于其他场景,在此不做具体限定。
本发明实施例中,为了进一步提高图片质量,提升用户体验,用户设备根据第一组图片、第二组图片和第三组图片合成目标图片时,可选的,可以采用如下方式:
用户设备提高第二组图片的目标区域的合成权重;
用户设备根据第一组图片、第二组图片、第二组图片提高后的合成权重和第三组图片,合成目标图片。
其中,目标区域可以为人脸区域,或者,也可以为触碰区域。
其中,触碰区域可以为用户点击的区域,或者,可以为用户拖动的区域。
在该方案中,用户设备根据当前场景确定出曝光亮度调整倍数组之后,还要对该曝光亮度调整倍数组中的第一类曝光亮度调整倍数和第三类曝光亮度调整倍数进行调整,不再是直接使用确定出的曝光亮度调整倍数组拍摄图片,而是要根据场景的情况对曝光亮度调整倍数组中的第一类曝光亮度调整
倍数和第三类曝光亮度调整倍数进行调整,因此,提高了拍摄出的图片的质量,提升用户体验。
本发明实施例中,可选的,第一组图片、第二组图片和第三组图片合成目标图片中的每一组图片包括至少一张图片。
在该实施例中,根据第一组图片、第二组图片和第三组图片合成目标图片时,第二组图片作为基准图片,因此,不对第二组图片所采用的第二类曝光亮度调整倍数进行调整。
实施例五
实际应用中,由于采用HDR技术生成的目标图片是多个图片合成的,如果图像内容中存在运动物体,合成后会在运动物体编译出现重影效果,也叫做鬼影效果,图片质量较差。
为了提高图片质量,提升用户体验,参阅图2所示,本发明实施例中,还提出另外一种拍摄图片的方法,具体如下:
步骤200:用户设备确定有运动物体时,检测运动物体的运动强度;
步骤210:用户设备确定运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片。
当然,运动强度可能小于或者运动强度阈值,此时,采用短曝光技术生成目标图片。
可选的,也可以采用增强鬼影处理的方式来生成目标图片。
采用增强鬼影处理的方式具体可以通过调整鬼影检测阈值来实现。
同理,用户设备也可能确定出没有运动物体,此时,采用长曝光技术生成目标图片。
可选的,也可以采用减弱鬼影处理的方式来生成目标图片。
采用减弱或者消除鬼影处理的方式具体也可以通过调整鬼影检测阈值来实现。
短曝光时间指的是,如果曝光时间不为banding step的倍数,则将曝光时间调整为与曝光时间相距最近的、且小于曝光时间的banding step的倍数的值。
长曝光时间指的是,如果曝光时间不为banding step的倍数,则将曝光时间调整为与曝光时间相距最近的、且大于曝光时间的banding step的倍数的值。
例如,banding step为10ms时,若曝光时间为15ms,则短曝光时间为10ms,长曝光时间为20ms。
又例如,banding step为10ms时,若曝光时间为25ms,则短曝光时间为20ms,长曝光时间为30ms。
又例如,banding step为8.3ms时,若曝光时间为10ms,则短曝光时间为8.3ms,长曝光时间为16.6ms。
其中,banding step可以通过下面公式计算:
banding step=1/2*人造光源周期
可选的,人造光源周期为50Hz。
本发明实施例中,用户设备确定有运动物体的方式有多种,可选的,可以采用如下方式:
用户设备确定用户设备处于运动状态,和/或待拍摄区域中有处于运动状态的物体。
其中,用户设备确定用户设备处于运动状态时,可以采用传感器来确定,用户设备确定待拍摄区域中有处于运动状态的物体时,可以采用图片的内容来确定,当然,并不限定于此种方式。
在该方案中,如果用户设备确定出有运动物体,并且检测到运动物体的运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片,不再采用HDR技术生成图片,因此,通过避免鬼影问题提高了图片质量,提升用户体验。
本发明实施例中,可选的,实施例五应用于运动场景,实施例五的主要思想为:当没有运动物体时,使用长曝光策略,和/或减弱或放宽HDR算法内部的鬼影检测的阈值;如果存在运动物体时,但是,运动强度小于运动强度阈值,那么使用短曝光策略提高帧率,和/或增强HDR算法内部的鬼影检测阈值;如果存在运动物体时,但是,运动强度大于或者等于运动强度阈值,就
使用调整倍数为0的图片,作为目标图片。
实施例六
平时使用的灯源都属于人造光源,人造光源释放的能量都是以不同周期的正弦波释放出来,用户设备感光时,每一行开始感光的时间是不一样的,这个叫做卷帘式曝光,每一行感受的能量可以通过正弦的积分面积来表示,面积越大,感受的能量越多,那么这一行就会越亮,反之积分面积越小,感受的能量越小,则该行就越暗,不同的曝光行由于其感受曝光时间不一样,因此面积不一样,亮度不一样,这就导致了出现明暗相间的水波纹现象。在采用HDR技术生成图片时使用了水波纹的图片的话,会导致类似于彩色条纹的人造效果。
因此,为了提高图片质量,提升用户体验,参阅图3所示,本发明实施例还提出一种拍摄图片的方法,具体过程如下:
步骤300:用户设备确定待拍摄区域当前预览图片中存在水波纹时,确定水波纹的强度;
步骤310:用户设备判断水波纹的强度大于强度阈值时,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度不变,第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度减弱;
步骤320:用户设备根据调整后的第一类曝光亮度调整倍数对待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对待拍摄区域拍摄第二组图片,及根据第三类曝光亮度调整倍数对待拍摄区域拍摄第三组图片,第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度增强;
步骤330:用户设备根据第一组图片、第二组图片和第三组图片合成目标图片。
本发明实施例中,进一步的,用户设备判断水波纹的强度大于强度阈值之后,根据第三类曝光亮度调整倍数对待拍摄区域拍摄第三组图片之前,还包括如下操作:
用户设备对第三类曝光亮度调整倍数进行调整;
此时,用户设备根据第三类曝光亮度调整倍数对待拍摄区域拍摄第三组图片时,可选的,可以采用如下方式:
用户设备根据调整后的第三类曝光亮度调整倍数对待拍摄区域拍摄第三组图片。
本发明实施例中,可选的,用户设备判断水波纹的强度小于或者等于强度阈值时,提高第二类曝光亮度调整倍数,和/或,减小第二组图片的权重值。
实施例六的主要思路如下:如果存在水波纹效果,但是当前预览图片的水波的强度不符合条件的时候,即曝光亮度调整倍数为0的图片的水波的强度小于或者等于强度阈值的时候,可以通过提高第二类曝光亮度调整倍数,减弱第二类图片的水波效果,或者,减小第二组图片的权重值,减弱合成的目标图片的权重值;如果存在水波纹效果,但是当前预览图片的水波的强度符合条件的时候,即曝光亮度调整倍数为0的图片的水波的强度大于强度阈值的时候,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,例如,第一类曝光亮度调整倍数从0EV变为0.5EV,第二类曝光亮度调整倍数从-1.5EV变为+0.5EV,第二类曝光亮度调整倍数不变或者也可以增加。
本发明实施例中,可选的,第一组图片、第二组图片和第三组图片合成目标图片中的每一组图片包括至少一张图片。
在该实施例中,根据第一组图片、第二组图片和第三组图片合成目标图片时,第二组图片作为基准图片,因此,不对第二组图片所采用的第二类曝光亮度调整倍数进行调整。
参阅图4A所示,本发明实施例中,提出一种用户设备,包括确定单元40、调整单元41、拍摄单元42和生成单元43,其中:
确定单元40,用于确定待拍摄区域当前预览图片的第一曝光比例;
确定单元40还用于,根据第一曝光比例确定对应的曝光亮度调整倍数组,曝光亮度调整倍数组包括三类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后增强,第二类曝光亮度调
整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后不变,第三类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后减弱;
调整单元41,用于根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整;
拍摄单元42,用于采用调整后的第一类曝光亮度调整倍数对待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对待拍摄区域拍摄第二组图片,及调整后的第三类曝光亮度调整倍数对待拍摄区域拍摄第三组图片;
生成单元43,用于根据第一组图片、第二组图片和第三组图片合成目标图片。
可选的,第一曝光比例包括第一过曝比例和/或第一欠曝比例。
可选的,确定单元40根据第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定预览图片的亮度值;
确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值;
确定亮度值降低后符合第一预设条件时,确定亮度值降低后预览图片的第二过曝比例、第二欠曝比例和亮度值的第一变化量;
确定第二过曝比例达到第二过曝比例阈值、第二欠曝比例未达到第三欠曝比例阈值时,确定与第二过曝比例相对应的曝光亮度调整倍数组。
可选的,确定单元40根据第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定预览图片的亮度值;
确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值;
确定亮度值降低后符合第一预设条件时,确定亮度值降低后预览图片的第二过曝比例、第二欠曝比例和亮度值的第一变化量;
确定第二欠曝比例达到第三欠曝比例阈值、第二过曝比例未达到第二过
曝比例阈值时,确定与第二欠曝比例相对应的曝光亮度调整倍数组。
可选的,确定单元40根据第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定预览图片的亮度值;
确定第一过曝比例达到第一过曝比例阈值,第一欠曝比例未达到第一欠曝比例阈值时,降低亮度值;
确定亮度值降低后符合第一预设条件时,确定亮度值降低后预览图片的第二过曝比例、第二欠曝比例和亮度值的第一变化量;
确定第二欠曝比例达到第三欠曝比例阈值、第二过曝比例达到第二过曝比例阈值时,确定与第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
可选的,调整单元41根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据第一欠曝比例、第二欠曝比例和第一变化量,对第一类曝光亮度调整倍数进行调整;
根据第一过曝比例、第二过曝比例,对第三类曝光亮度调整倍数进行调整。
可选的,第一预设条件为:
第一变化量达到第一变化量阈值和/或第二欠曝比例达到第一欠曝比例阈值。
进一步的,确定单元40还用于,确定亮度值降低后不符合第一预设条件,返回确定第二过曝比例达到第一过曝比例阈值的步骤,直至符合第一预设条件;
步骤包括如下操作:
用户设备确定降低亮度值后的当前过曝比例达到第一过曝比例阈值,降低亮度值后的当前欠曝比例未达到第一欠曝比例阈值时,降低亮度值。
进一步的,确定单元40确定亮度值降低后符合第一预设条件之后,确定
第二过曝比例、第二欠曝比例和第一变化量之前,还包括:
确定第二过曝比例达到第二过曝比例阈值;或者
确定第二欠曝比例达到第三欠曝比例阈值。
可选的,确定单元40根据第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定亮度值;
确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值;
确定亮度值提高后符合第二预设条件时,确定亮度值提高后的第三过曝比例、第三欠曝比例和亮度值的第二变化量;
确定第三过曝比例达到第二过曝比例阈值、第三欠曝比例未达到第三欠曝比例阈值时,确定与第三过曝比例相对应的曝光亮度调整倍数组。
可选的,确定单元40根据第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定亮度值;
确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值;
确定亮度值提高后符合第二预设条件时,确定亮度值提高后的第三过曝比例、第三欠曝比例和亮度值的第二变化量;
确定第三欠曝比例达到第三欠曝比例阈值、第三过曝比例未达到第二过曝比例阈值时,确定与第三欠曝比例相对应的曝光亮度调整倍数组。
可选的,确定单元40根据第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:
确定亮度值;
确定第一欠曝比例达到第二欠曝比例阈值,第一过曝比例未达到第三过曝比例阈值时,提高亮度值;
确定亮度值提高后符合第二预设条件时,确定亮度值提高后的第三过曝
比例、第三欠曝比例和亮度值的第二变化量;
确定第三欠曝比例达到第三欠曝比例阈值、第三过曝比例达到第二过曝比例阈值时,确定与第三过曝比例和第三欠曝比例均相对应的曝光亮度调整倍数组。
可选的,确定单元40根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据第一欠曝比例、第三欠曝比例,对第一类曝光亮度调整倍数进行调整;
根据第一过曝比例、第三过曝比例和第二变化量,对第三类曝光亮度调整倍数进行调整。
可选的,第二预设条件为:
第二变化量达到第二变化量阈值和/或第三过曝比例达到第三过曝比例阈值。
进一步的,确定单元40还用于,确定亮度值提高后不符合第二预设条件,返回确定第三欠曝比例达到第二欠曝比例阈值的步骤,直至符合第二预设条件;
步骤包括如下操作:
用户设备确定提高亮度值后的当前欠曝比例达到第二欠曝比例阈值,提高亮度值后的当前过曝比例未达到第三过曝比例阈值时,提高亮度值。
进一步的,确定单元40确定符合第二预设条件之后,确定第三过曝比例、第三欠曝比例和第二变化量之前,还包括;
确定第三欠曝比例达到第三欠曝比例阈值;或者
确定第三过曝比例达到第二过曝比例阈值。
可选的,确定单元40根据第一曝光比例对第三类曝光亮度调整倍数调整时,具体为:
确定预览图片的亮度值;
确定第一过曝比例达到第二过曝比例阈值时,降低亮度值,并计算亮度
值的第三变化量;
确定预览图片降低亮度值后的第四过曝比例;
确定第四过曝比例未达到第四过曝比例阈值时,根据第三变化量,对第三类曝光亮度调整倍数进行调整。
可选的,调整单元41根据第一曝光比例对第一类曝光亮度调整倍数调整时,具体为:
确定预览图片的亮度值;
确定第一欠曝比例达到第三欠曝比例阈值时,提高亮度值,并计算亮度值的第四变化量;
确定提高亮度值后,预览图片的第四欠曝比例;
确定第四欠曝比例未达到第四欠曝比例阈值时,根据第四变化量,对第一类曝光亮度调整倍数进行调整。
进一步的,确定单元40还用于,确定预览图片的感兴趣区域ROI的第二曝光比例,及ROI的权重值;
根据第二曝光比例和权重值,计算第三曝光比例;
调整单元41还用于,根据第三曝光比例,对调整后的第一类曝光亮度调整倍数和调整后的第三类曝光亮度调整倍数再次进行调整。
进一步的,确定单元40还用于,提高预览图片的亮度值,并确定亮度值提高后的第五变化量;
确定预览图片在提高亮度值之前的第四曝光比例;
确定单元40确定待拍摄区域当前预览图片的第一曝光比例时,具体为:
确定当前预览图片在提高亮度值之后的第一曝光比例。
可选的,调整单元41根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据第一曝光比例、第四曝光比例和第五变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
可选的,第一曝光比例包括第一过曝比例和/或第一欠曝比例,第四曝光
比例包括第五过曝比例和/或第五欠曝比例;
调整单元41根据第一曝光比例、第四曝光比例和第五变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据第一欠曝比例、第五欠曝比例,对第一类曝光亮度调整倍数进行调整;
根据第一过曝比例、第五过曝比例和第五变化量,对第三类曝光亮度调整倍数进行调整。
进一步的,确定单元40还用于,降低预览图片的亮度值,并确定亮度值降低后的第六变化量;
确定预览图片在降低亮度值之前的第五曝光比例;
确定单元40确定待拍摄区域当前预览图片的第一曝光比例时,具体为:
确定当前预览图片在降低亮度值之后的第一曝光比例。
可选的,调整单元41根据第一曝光比例对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据第一曝光比例、第五曝光比例和第六变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
可选的,第一曝光比例包括第一过曝比例和/或第一欠曝比例,第五曝光比例包括第六过曝比例和/或第六欠曝比例;
调整单元41根据第一曝光比例、第五曝光比例和第六变化量,对第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:
根据第一欠曝比例、第六欠曝比例和第六变化量,对第一类曝光亮度调整倍数进行调整;
根据第一过曝比例、第六过曝比例,对第三类曝光亮度调整倍数进行调整。
可选的,生成单元43根据第一组图片、第二组图片和第三组图片合成目标图片时,具体为:
提高第二组图片的目标区域的合成权重;
根据第一组图片、第二组图片、第二组图片提高后的合成权重和第三组图片,合成目标图片。
参阅图4B所示,本发明实施例中,还提出一种便携式电子设备,包括:
显示器400,其中,显示器400包括触敏表面和显示屏;一个或多个处理器410;存储器420;以及一个或多个程序,其中,一个或多个程序被存储在存储器420中并被配置为被一个或多个处理器410执行,一个或多个程序包括用于执行根据步骤100-140所描述的方法的指令。
本发明实施例中,还提出一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被包括显示器和多个应用程序的便携式电子设备执行时使便携式电子设备执行根据步骤100-140所描述的方法,其中,显示器包括触敏表面和显示屏。
参阅图5A所示,本发明实施例中,提出一种用户设备,包括确定单元50、检测单元51和生成单元52,其中:
确定单元50,用于确定有运动物体;
检测单元51,用于在确定单元50确定有运动物体时,检测运动物体的运动强度;
确定单元50还用于,确定运动强度大于运动强度阈值;
生成单元52,在确定单元50确定运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片。
进一步的,确定单元50还用于,确定没有运动物体;
生成单元52还用于,在确定单元50确定没有运动物体时,采用长曝光时间合成目标图片;
确定单元50还用于,确定运动强度小于或者等于运动强度阈值
生成单元52还用于,在确定单元50确定运动强度小于或者等于运动强度阈值时,采用短曝光时间合成目标图片。
可选的,确定单元50确定有运动物体时,具体为:
确定用户设备处于运动状态,和/或待拍摄区域中有处于运动状态的物体。
参阅图5B所示,本发明实施例中,还提出一种便携式电子设备,包括:
显示器500,其中,显示器500包括触敏表面和显示屏;一个或多个处理器510;存储器520;以及一个或多个程序,其中,一个或多个程序被存储在存储器520中并被配置为被一个或多个处理器510执行,一个或多个程序包括用于执行根据步骤200-210所描述的方法的指令。
本发明实施例中,还提出一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被包括显示器和多个应用程序的便携式电子设备执行时使便携式电子设备执行根据步骤200-210所描述的方法,其中,显示器包括触敏表面和显示屏。
参阅图6A所示,本发明实施例中,提出一种用户设备,包括确定单元60、调整单元61、拍摄单元62和生成单元63,其中:
确定单元60,用于确定待拍摄区域当前预览图片中存在水波纹时,确定所述水波纹的强度;
调整单元61,用于判断所述水波纹的强度大于强度阈值时,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,所述第一类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度不变,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度减弱;
拍摄单元62,用于根据调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度增强;
生成单元63,用于根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
进一步的,所述调整单元61还用于,对所述第三类曝光亮度调整倍数进行调整;
所述拍摄单元62根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第
三组图片时,具体为:
根据调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片。
进一步的,所述调整单元61还用于,判断所述水波纹的强度小于或者等于所述强度阈值时,提高所述第二类曝光亮度调整倍数,和/或,减小所述第二组图片的权重值。
参阅图6B所示,本发明实施例中,还提出一种便携式电子设备,包括:
显示器600,其中,显示器600包括触敏表面和显示屏;一个或多个处理器610;存储器620;以及一个或多个程序,其中,一个或多个程序被存储在存储器620中并被配置为被一个或多个处理器610执行,一个或多个程序包括用于执行根据步骤300-330所描述的方法的指令。
本发明实施例中,还提出一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被包括显示器和多个应用程序的便携式电子设备执行时使便携式电子设备执行根据步骤300-330所描述的方法,其中,显示器包括触敏表面和显示屏。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的
装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
Claims (70)
- 一种拍摄图片的方法,其特征在于,包括:用户设备确定待拍摄区域当前预览图片的第一曝光比例;所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,所述曝光亮度调整倍数组包括三类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后增强,第二类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后不变,第三类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后减弱;所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整;所述用户设备采用调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、所述第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片;所述用户设备根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
- 如权利要求1所述的方法,其特征在于,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:所述用户设备确定所述预览图片的亮度值;所述用户设备确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;所述用户设备确定所述亮度值降低后符合第一预设条件时,确定所述亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;所述用户设备确定所述第二过曝比例达到所述第二过曝比例阈值、所述第二欠曝比例未达到第三欠曝比例阈值时,确定与所述第二过曝比例相对应的曝光亮度调整倍数组。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:所述用户设备确定所述预览图片的亮度值;所述用户设备确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;所述用户设备确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;所述用户设备确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例未达到所述第二过曝比例阈值时,确定与所述第二欠曝比例相对应的曝光亮度调整倍数组。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:所述用户设备确定所述预览图片的亮度值;所述用户设备确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;所述用户设备确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;所述用户设备确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例达到所述第二过曝比例阈值时,确定与所述第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
- 如权利要求3-5任一项所述的方法,其特征在于,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调 整倍数调整,包括:所述用户设备根据所述第一欠曝比例、第二欠曝比例和所述第一变化量,对所述第一类曝光亮度调整倍数进行调整;所述用户设备根据所述第一过曝比例、第二过曝比例,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求3-6任一项所述的方法,其特征在于,所述第一预设条件为:所述第一变化量达到第一变化量阈值和/或所述第二欠曝比例达到所述第一欠曝比例阈值。
- 如权利要求3-7任一项所述的方法,其特征在于,所述方法还包括:所述用户设备确定所述亮度值降低后不符合所述第一预设条件,返回确定所述第二过曝比例达到所述第一过曝比例阈值的步骤,直至符合所述第一预设条件;所述步骤包括如下操作:所述用户设备确定降低亮度值后的当前过曝比例达到所述第一过曝比例阈值,降低亮度值后的当前欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值。
- 如权利要求3-8任一项所述的方法,其特征在于,所述用户设备确定所述亮度值降低后符合第一预设条件之后,确定所述第二过曝比例、第二欠曝比例和所述第一变化量之前,还包括:所述用户设备确定所述第二过曝比例达到第二过曝比例阈值;或者所述用户设备确定所述第二欠曝比例达到第三欠曝比例阈值。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:所述用户设备确定亮度值;所述用户设备确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;所述用户设备确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;所述用户设备确定所述第三过曝比例达到所述第二过曝比例阈值、所述第三欠曝比例未达到第三欠曝比例阈值时,确定与所述第三过曝比例相对应的曝光亮度调整倍数组。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:所述用户设备确定亮度值;所述用户设备确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;所述用户设备确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;所述用户设备确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例未达到所述第二过曝比例阈值时,确定与所述第三欠曝比例相对应的曝光亮度调整倍数组。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例确定对应的曝光亮度调整倍数组,包括:所述用户设备确定亮度值;所述用户设备确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;所述用户设备确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;所述用户设备确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例达到所述第二过曝比例阈值时,确定与所述第三过曝比例和所述第三欠曝比例均相对应的曝光亮度调整倍数组。
- 如权利要求10-12任一项所述的方法,其特征在于,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度 调整倍数调整,包括:所述用户设备根据所述第一欠曝比例、第三欠曝比例,对所述第一类曝光亮度调整倍数进行调整;所述用户设备根据所述第一过曝比例、第三过曝比例和所述第二变化量,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求10-13任一项所述的方法,其特征在于,所述第二预设条件为:所述第二变化量达到第二变化量阈值和/或所述第三过曝比例达到第三过曝比例阈值。
- 如权利要求10-14任一项所述的方法,其特征在于,所述方法还包括:所述用户设备确定所述亮度值提高后不符合所述第二预设条件,返回确定第三欠曝比例达到所述第二欠曝比例阈值的步骤,直至符合所述第二预设条件;所述步骤包括如下操作:所述用户设备确定提高亮度值后的当前欠曝比例达到所述第二欠曝比例阈值,提高亮度值后的当前过曝比例未达到第三过曝比例阈值时,提高所述亮度值。
- 如权利要求10-15任一项所述的方法,其特征在于,所述用户设备确定符合所述第二预设条件之后,确定所述第三过曝比例、所述第三欠曝比例和所述第二变化量之前,还包括;所述用户设备确定所述第三欠曝比例达到第三欠曝比例阈值;或者所述用户设备确定所述第三过曝比例达到所述第二过曝比例阈值。
- 如权利要求2所述的方法,其特征在于,所述用户设备根据所述第一曝光比例对第三类曝光亮度调整倍数调整,包括:所述用户设备确定所述预览图片的亮度值;所述用户设备确定第一过曝比例达到第二过曝比例阈值时,降低所述亮度值,并计算所述亮度值的第三变化量;所述用户设备确定所述预览图片降低所述亮度值后的第四过曝比例;所述用户设备确定所述第四过曝比例未达到第四过曝比例阈值时,根据所述第三变化量,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求2或17所述的方法,其特征在于,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数调整,包括:所述用户设备确定所述预览图片的亮度值;所述用户设备确定所述第一欠曝比例达到第三欠曝比例阈值时,提高亮度值,并计算所述亮度值的第四变化量;所述用户设备确定提高所述亮度值后,所述预览图片的第四欠曝比例;所述用户设备确定所述第四欠曝比例未达到所述第四欠曝比例阈值时,根据所述第四变化量,对所述第一类曝光亮度调整倍数进行调整。
- 如权利要求2-18任一项所述的方法,其特征在于,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整之后,拍摄所述第一组图片、所述第二组图片和所述第三组图片之前,还包括:所述用户设备确定所述预览图片的感兴趣区域ROI的第二曝光比例,及所述ROI的权重值;所述用户设备根据所述第二曝光比例和所述权重值,计算第三曝光比例;所述用户设备根据所述第三曝光比例,对调整后的所述第一类曝光亮度调整倍数和调整后的所述第三类曝光亮度调整倍数再次进行调整。
- 如权利要求1-19任一项所述的方法,其特征在于,用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,还包括:所述用户设备提高所述预览图片的亮度值,并确定所述亮度值提高后的第五变化量;所述用户设备确定所述预览图片在提高所述亮度值之前的第四曝光比例;所述用户设备确定待拍摄区域当前预览图片的第一曝光比例,包括:所述用户设备确定所述当前预览图片在提高所述亮度值之后的第一曝光比例。
- 如权利要求20所述的方法,其特征在于,所述用户设备根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:所述用户设备根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
- 如权利要求20或21所述的方法,其特征在于,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第四曝光比例包括第五过曝比例和/或第五欠曝比例;所述用户设备根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:所述用户设备根据所述第一欠曝比例、第五欠曝比例,对所述第一类曝光亮度调整倍数进行调整;所述用户设备根据所述第一过曝比例、所述第五过曝比例和所述第五变化量,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求1-22任一项所述的方法,其特征在于,用户设备确定待拍摄区域当前预览图片的第一曝光比例之前,还包括:所述用户设备降低所述预览图片的亮度值,并确定所述亮度值降低后的第六变化量;所述用户设备确定所述预览图片在降低所述亮度值之前的第五曝光比例;所述用户设备确定待拍摄区域当前预览图片的第一曝光比例,包括:所述用户设备确定所述当前预览图片在降低所述亮度值之后的第一曝光比例。
- 如权利要求23所述的方法,其特征在于,所述用户设备根据所述第 一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:所述用户设备根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
- 如权利要求23或24所述的方法,其特征在于,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第五曝光比例包括第六过曝比例和/或第六欠曝比例;所述用户设备根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整,包括:所述用户设备根据所述第一欠曝比例、第六欠曝比例和所述第六变化量,对所述第一类曝光亮度调整倍数进行调整;所述用户设备根据所述第一过曝比例、第六过曝比例,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求20-25任一项所述的方法,其特征在于,所述用户设备根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片,包括:所述用户设备提高所述第二组图片的目标区域的合成权重;所述用户设备根据所述第一组图片、所述第二组图片、所述第二组图片提高后的合成权重和所述第三组图片,合成目标图片。
- 一种拍摄图片的方法,其特征在于,包括:用户设备确定有运动物体时,检测所述运动物体的运动强度;用户设备确定所述运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片。
- 如权利要求27所述的方法,其特征在于,所述用户设备确定没有运动物体时,采用长曝光时间合成目标图片;所述用户设备确定所述运动强度小于或者等于所述运动强度阈值时,采用短曝光时间合成所述目标图片。
- 如权利要求27或28所述的方法,其特征在于,用户设备确定有运动物体,包括:所述用户设备确定所述用户设备处于运动状态,和/或待拍摄区域中有处于运动状态的物体。
- 一种拍摄图片的方法,其特征在于,包括:用户设备确定待拍摄区域当前预览图片中存在水波纹时,确定所述水波纹的强度;所述用户设备判断所述水波纹的强度大于强度阈值时,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,所述第一类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度不变,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度减弱;所述用户设备根据调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度增强;所述用户设备根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
- 如权利要求30所述的方法,其特征在于,所述用户设备判断所述水波纹的强度大于强度阈值之后,根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片之前,还包括:所述用户设备对所述第三类曝光亮度调整倍数进行调整;所述用户设备根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,包括:所述用户设备根据调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片。
- 如权利要求30或31所述的方法,其特征在于,所述用户设备判断 所述水波纹的强度小于或者等于所述强度阈值时,提高所述第二类曝光亮度调整倍数,和/或,减小所述第二组图片的权重值。
- 一种用户设备,其特征在于,包括:确定单元,用于确定待拍摄区域当前预览图片的第一曝光比例;所述确定单元还用于,根据所述第一曝光比例确定对应的曝光亮度调整倍数组,所述曝光亮度调整倍数组包括三类曝光亮度调整倍数,第一类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后增强,第二类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后不变,第三类曝光亮度调整倍数用于表示曝光亮度采用该曝光亮度调整倍数调整后减弱;调整单元,用于根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整;拍摄单元,用于采用调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、所述第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片;生成单元,用于根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
- 如权利要求33所述的用户设备,其特征在于,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:确定所述预览图片的亮度值;确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;确定所述亮度值降低后符合第一预设条件时,确定所述亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;确定所述第二过曝比例达到所述第二过曝比例阈值、所述第二欠曝比例未达到第三欠曝比例阈值时,确定与所述第二过曝比例相对应的曝光亮度调整倍数组。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:确定所述预览图片的亮度值;确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例未达到所述第二过曝比例阈值时,确定与所述第二欠曝比例相对应的曝光亮度调整倍数组。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:确定所述预览图片的亮度值;确定所述第一过曝比例达到第一过曝比例阈值,所述第一欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值;确定所述亮度值降低后符合第一预设条件时,确定亮度值降低后所述预览图片的第二过曝比例、第二欠曝比例和所述亮度值的第一变化量;确定所述第二欠曝比例达到所述第三欠曝比例阈值、所述第二过曝比例达到所述第二过曝比例阈值时,确定与所述第二欠曝比例和第二过曝比例均相对应的曝光亮度调整倍数组。
- 如权利要求35-37任一项所述的用户设备,其特征在于,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整时,具体为:根据所述第一欠曝比例、第二欠曝比例和所述第一变化量,对所述第一 类曝光亮度调整倍数进行调整;根据所述第一过曝比例、第二过曝比例,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求35-38任一项所述的用户设备,其特征在于,所述第一预设条件为:所述第一变化量达到第一变化量阈值和/或所述第二欠曝比例达到所述第一欠曝比例阈值。
- 如权利要求35-39任一项所述的用户设备,其特征在于,所述确定单元还用于,确定所述亮度值降低后不符合所述第一预设条件,返回确定所述第二过曝比例达到所述第一过曝比例阈值的步骤,直至符合所述第一预设条件;所述步骤包括如下操作:所述用户设备确定降低亮度值后的当前过曝比例达到所述第一过曝比例阈值,降低亮度值后的当前欠曝比例未达到第一欠曝比例阈值时,降低所述亮度值。
- 如权利要求35-40任一项所述的用户设备,其特征在于,所述确定单元确定所述亮度值降低后符合第一预设条件之后,确定所述第二过曝比例、第二欠曝比例和所述第一变化量之前,还包括:确定所述第二过曝比例达到第二过曝比例阈值;或者确定所述第二欠曝比例达到第三欠曝比例阈值。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:确定亮度值;确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;确定所述第三过曝比例达到所述第二过曝比例阈值、所述第三欠曝比例未达到第三欠曝比例阈值时,确定与所述第三过曝比例相对应的曝光亮度调整倍数组。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:确定亮度值;确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例未达到所述第二过曝比例阈值时,确定与所述第三欠曝比例相对应的曝光亮度调整倍数组。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例确定对应的曝光亮度调整倍数组时,具体为:确定亮度值;确定所述第一欠曝比例达到第二欠曝比例阈值,所述第一过曝比例未达到第三过曝比例阈值时,提高所述亮度值;确定所述亮度值提高后符合第二预设条件时,确定所述亮度值提高后的第三过曝比例、第三欠曝比例和所述亮度值的第二变化量;确定所述第三欠曝比例达到所述第三欠曝比例阈值、所述第三过曝比例达到所述第二过曝比例阈值时,确定与所述第三过曝比例和所述第三欠曝比例均相对应的曝光亮度调整倍数组。
- 如权利要求42-44任一项所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和所述第三类曝光亮度调整倍数调整时,具体为:根据所述第一欠曝比例、第三欠曝比例,对所述第一类曝光亮度调整倍 数进行调整;根据所述第一过曝比例、第三过曝比例和所述第二变化量,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求42-45任一项所述的用户设备,其特征在于,所述第二预设条件为:所述第二变化量达到第二变化量阈值和/或所述第三过曝比例达到第三过曝比例阈值。
- 如权利要求42-46任一项所述的用户设备,其特征在于,所述确定单元还用于,确定所述亮度值提高后不符合所述第二预设条件,返回确定第三欠曝比例达到所述第二欠曝比例阈值的步骤,直至符合所述第二预设条件;所述步骤包括如下操作:所述用户设备确定提高亮度值后的当前欠曝比例达到所述第二欠曝比例阈值,提高亮度值后的当前过曝比例未达到第三过曝比例阈值时,提高所述亮度值。
- 如权利要求42-47任一项所述的用户设备,其特征在于,所述确定单元确定符合所述第二预设条件之后,确定所述第三过曝比例、所述第三欠曝比例和所述第二变化量之前,还包括;确定所述第三欠曝比例达到第三欠曝比例阈值;或者确定所述第三过曝比例达到所述第二过曝比例阈值。
- 如权利要求34所述的用户设备,其特征在于,所述确定单元根据所述第一曝光比例对第三类曝光亮度调整倍数调整时,具体为:确定所述预览图片的亮度值;确定第一过曝比例达到第二过曝比例阈值时,降低所述亮度值,并计算所述亮度值的第三变化量;确定所述预览图片降低所述亮度值后的第四过曝比例;确定所述第四过曝比例未达到第四过曝比例阈值时,根据所述第三变化量,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求34或49所述的用户设备,其特征在于,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数调整时,具体为:确定所述预览图片的亮度值;确定所述第一欠曝比例达到第三欠曝比例阈值时,提高亮度值,并计算所述亮度值的第四变化量;确定提高所述亮度值后,所述预览图片的第四欠曝比例;确定所述第四欠曝比例未达到所述第四欠曝比例阈值时,根据所述第四变化量,对所述第一类曝光亮度调整倍数进行调整。
- 如权利要求34-50任一项所述的用户设备,其特征在于,所述确定单元还用于,确定所述预览图片的感兴趣区域ROI的第二曝光比例,及所述ROI的权重值;根据所述第二曝光比例和所述权重值,计算第三曝光比例;所述调整单元还用于,根据所述第三曝光比例,对调整后的所述第一类曝光亮度调整倍数和调整后的所述第三类曝光亮度调整倍数再次进行调整。
- 如权利要求33-51任一项所述的用户设备,其特征在于,所述确定单元还用于,提高所述预览图片的亮度值,并确定所述亮度值提高后的第五变化量;确定所述预览图片在提高所述亮度值之前的第四曝光比例;所述确定单元确定待拍摄区域当前预览图片的第一曝光比例时,具体为:确定所述当前预览图片在提高所述亮度值之后的第一曝光比例。
- 如权利要求52所述的用户设备,其特征在于,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
- 如权利要求52或53所述的用户设备,其特征在于,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第四曝光比例包括第五过曝 比例和/或第五欠曝比例;所述调整单元根据所述第一曝光比例、所述第四曝光比例和所述第五变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:根据所述第一欠曝比例、第五欠曝比例,对所述第一类曝光亮度调整倍数进行调整;根据所述第一过曝比例、所述第五过曝比例和所述第五变化量,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求33-54任一项所述的用户设备,其特征在于,所述确定单元还用于,降低所述预览图片的亮度值,并确定所述亮度值降低后的第六变化量;确定所述预览图片在降低所述亮度值之前的第五曝光比例;所述确定单元确定待拍摄区域当前预览图片的第一曝光比例时,具体为:确定所述当前预览图片在降低所述亮度值之后的第一曝光比例。
- 如权利要求55所述的用户设备,其特征在于,所述调整单元根据所述第一曝光比例对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整。
- 如权利要求55或56所述的用户设备,其特征在于,所述第一曝光比例包括第一过曝比例和/或第一欠曝比例,所述第五曝光比例包括第六过曝比例和/或第六欠曝比例;所述调整单元根据所述第一曝光比例、所述第五曝光比例和所述第六变化量,对所述第一类曝光亮度调整倍数和第三类曝光亮度调整倍数调整时,具体为:根据所述第一欠曝比例、第六欠曝比例和所述第六变化量,对所述第一类曝光亮度调整倍数进行调整;根据所述第一过曝比例、第六过曝比例,对所述第三类曝光亮度调整倍数进行调整。
- 如权利要求52-57任一项所述的用户设备,其特征在于,所述生成单元根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片时,具体为:提高所述第二组图片的目标区域的合成权重;根据所述第一组图片、所述第二组图片、所述第二组图片提高后的合成权重和所述第三组图片,合成目标图片。
- 一种用户设备,其特征在于,包括:确定单元,用于确定有运动物体;检测单元,用于在所述确定单元确定有运动物体时,检测所述运动物体的运动强度;所述确定单元还用于,确定所述运动强度大于运动强度阈值;生成单元,在所述确定单元确定所述运动强度大于运动强度阈值时,将采用曝光亮度调整倍数为0的图片作为目标图片。
- 如权利要求59所述的用户设备,其特征在于,所述确定单元还用于,确定没有运动物体;所述生成单元还用于,在所述确定单元确定没有运动物体时,采用长曝光时间合成目标图片;所述确定单元还用于,确定所述运动强度小于或者等于所述运动强度阈值所述生成单元还用于,在所述确定单元确定所述运动强度小于或者等于所述运动强度阈值时,采用短曝光时间合成所述目标图片。
- 如权利要求59或60所述的用户设备,其特征在于,所述确定单元确定有运动物体时,具体为:确定所述用户设备处于运动状态,和/或待拍摄区域中有处于运动状态的物体。
- 一种用户设备,其特征在于,包括:确定单元,用于确定待拍摄区域当前预览图片中存在水波纹时,确定所述水波纹的强度;调整单元,用于判断所述水波纹的强度大于强度阈值时,提高第一类曝光亮度调整倍数和第二类曝光亮度调整倍数,所述第一类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度不变,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度减弱;拍摄单元,用于根据调整后的第一类曝光亮度调整倍数对所述待拍摄区域拍摄第一组图片、第二类曝光亮度调整倍数对所述待拍摄区域拍摄第二组图片,及根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片,所述第二类曝光亮度调整倍数用于表示采用该曝光亮度调整倍数调整后曝光亮度增强;生成单元,用于根据所述第一组图片、所述第二组图片和所述第三组图片合成目标图片。
- 如权利要求62所述的用户设备,其特征在于,所述调整单元还用于,对所述第三类曝光亮度调整倍数进行调整;所述拍摄单元根据第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片时,具体为:根据调整后的第三类曝光亮度调整倍数对所述待拍摄区域拍摄第三组图片。
- 如权利要求62或63所述的用户设备,其特征在于,所述调整单元还用于,判断所述水波纹的强度小于或者等于所述强度阈值时,提高所述第二类曝光亮度调整倍数,和/或,减小所述第二组图片的权重值。
- 一种便携式电子设备,其特征在于,包括:显示器,其中,所述显示器包括触敏表面和显示屏;一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序 包括用于执行根据权利要求1至26任一项所述的方法的指令。
- 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括显示器和多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据权利要求1至26任一项所述方法,其中,所述显示器包括触敏表面和显示屏。
- 一种便携式电子设备,其特征在于,包括:显示器,其中,所述显示器包括触敏表面和显示屏;一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行根据权利要求27至29任一项所述的方法的指令。
- 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括显示器和多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据权利要求27至29任一项所述方法,其中,所述显示器包括触敏表面和显示屏。
- 一种便携式电子设备,其特征在于,包括:显示器,其中,所述显示器包括触敏表面和显示屏;一个或多个处理器;存储器;以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中并被配置为被所述一个或多个处理器执行,所述一个或多个程序包括用于执行根据权利要求30至32任一项所述的方法的指令。
- 一种存储一个或多个程序的计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被包括显示器和多个应用程序的便携式电子设备执行时使所述便携式电子设备执行根据权利要求30至32任一项所述方法,其中,所述显示器包括触敏表面和显示屏。
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201580028358.8A CN107534737B (zh) | 2015-08-31 | 2015-08-31 | 一种拍摄图片的方法及装置 |
| EP15902557.6A EP3253044A4 (en) | 2015-08-31 | 2015-08-31 | Method and apparatus for taking pictures |
| US15/554,509 US10051198B2 (en) | 2015-08-31 | 2015-08-31 | Method for creating a high dynamic range image using three groups of exposure brightness adjusted images |
| PCT/CN2015/088639 WO2017035750A1 (zh) | 2015-08-31 | 2015-08-31 | 一种拍摄图片的方法及装置 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/088639 WO2017035750A1 (zh) | 2015-08-31 | 2015-08-31 | 一种拍摄图片的方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017035750A1 true WO2017035750A1 (zh) | 2017-03-09 |
Family
ID=58186513
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/088639 Ceased WO2017035750A1 (zh) | 2015-08-31 | 2015-08-31 | 一种拍摄图片的方法及装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US10051198B2 (zh) |
| EP (1) | EP3253044A4 (zh) |
| CN (1) | CN107534737B (zh) |
| WO (1) | WO2017035750A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107343140A (zh) * | 2017-06-14 | 2017-11-10 | 努比亚技术有限公司 | 一种图像处理方法及移动终端 |
| CN107707827A (zh) * | 2017-11-14 | 2018-02-16 | 维沃移动通信有限公司 | 一种高动态图像拍摄方法及移动终端 |
| CN110620873A (zh) * | 2019-08-06 | 2019-12-27 | RealMe重庆移动通信有限公司 | 设备成像方法、装置、存储介质及电子设备 |
| WO2020034737A1 (zh) * | 2018-08-13 | 2020-02-20 | Oppo广东移动通信有限公司 | 成像控制方法、装置、电子设备以及计算机可读存储介质 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10602075B2 (en) * | 2017-09-12 | 2020-03-24 | Adobe Inc. | Automatically determining a set of exposure values for a high dynamic range image capture device |
| US10497104B2 (en) | 2017-10-24 | 2019-12-03 | Adobe Inc. | Empirical exposure normalization |
| JP7135299B2 (ja) * | 2017-10-27 | 2022-09-13 | 株式会社リコー | 画像処理装置、表示装置、画像処理方法、プログラム |
| CN109005364B (zh) | 2018-08-13 | 2020-03-06 | Oppo广东移动通信有限公司 | 成像控制方法、装置、电子设备以及计算机可读存储介质 |
| CN109685746B (zh) * | 2019-01-04 | 2021-03-05 | Oppo广东移动通信有限公司 | 图像亮度调整方法、装置、存储介质及终端 |
| CN111654640B (zh) * | 2020-05-27 | 2021-11-23 | 维沃移动通信有限公司 | 曝光调整方法、装置及电子设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101494739A (zh) * | 2009-02-09 | 2009-07-29 | 天津市晶奇微电子有限公司 | 一种多次曝光组合中曝光次数确定及曝光时间分配的方法 |
| US20110149095A1 (en) * | 2009-12-22 | 2011-06-23 | Olympus Corporation | Image pickup apparatus and method of picking up image |
| CN102265320A (zh) * | 2008-09-22 | 2011-11-30 | 自由科学公司 | 用于使物体成像的系统和方法 |
| US20150109303A1 (en) * | 2013-10-23 | 2015-04-23 | Cornell University | Systems and methods for computational lighting |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4341691B2 (ja) | 2007-04-24 | 2009-10-07 | ソニー株式会社 | 撮像装置、撮像方法、露光制御方法、プログラム |
| US8724007B2 (en) * | 2008-08-29 | 2014-05-13 | Adobe Systems Incorporated | Metadata-driven method and apparatus for multi-image processing |
| WO2010118177A1 (en) * | 2009-04-08 | 2010-10-14 | Zoran Corporation | Exposure control for high dynamic range image capture |
| KR20110043833A (ko) | 2009-10-22 | 2011-04-28 | 삼성전자주식회사 | 퍼지룰을 이용한 디지털 카메라의 다이나믹 레인지 확장모드 결정 방법 및 장치 |
| CN103973988B (zh) * | 2013-01-24 | 2018-02-02 | 华为终端(东莞)有限公司 | 场景识别方法及装置 |
| EP2763396A1 (en) | 2013-01-30 | 2014-08-06 | ST-Ericsson SA | Automatic exposure bracketing |
| CN103347152A (zh) * | 2013-07-08 | 2013-10-09 | 华为终端有限公司 | 一种图像处理方法、装置及终端 |
| CN104853106B (zh) * | 2014-02-19 | 2019-11-26 | 联想(北京)有限公司 | 一种信息处理方法和电子设备 |
| CN105100637A (zh) * | 2015-08-31 | 2015-11-25 | 联想(北京)有限公司 | 一种图像处理方法及电子设备 |
| CN105578065A (zh) * | 2015-12-18 | 2016-05-11 | 广东欧珀移动通信有限公司 | 高动态范围图像的生成方法、拍照装置和终端 |
-
2015
- 2015-08-31 CN CN201580028358.8A patent/CN107534737B/zh active Active
- 2015-08-31 EP EP15902557.6A patent/EP3253044A4/en not_active Withdrawn
- 2015-08-31 WO PCT/CN2015/088639 patent/WO2017035750A1/zh not_active Ceased
- 2015-08-31 US US15/554,509 patent/US10051198B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102265320A (zh) * | 2008-09-22 | 2011-11-30 | 自由科学公司 | 用于使物体成像的系统和方法 |
| CN101494739A (zh) * | 2009-02-09 | 2009-07-29 | 天津市晶奇微电子有限公司 | 一种多次曝光组合中曝光次数确定及曝光时间分配的方法 |
| US20110149095A1 (en) * | 2009-12-22 | 2011-06-23 | Olympus Corporation | Image pickup apparatus and method of picking up image |
| US20150109303A1 (en) * | 2013-10-23 | 2015-04-23 | Cornell University | Systems and methods for computational lighting |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3253044A4 * |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107343140A (zh) * | 2017-06-14 | 2017-11-10 | 努比亚技术有限公司 | 一种图像处理方法及移动终端 |
| CN107707827A (zh) * | 2017-11-14 | 2018-02-16 | 维沃移动通信有限公司 | 一种高动态图像拍摄方法及移动终端 |
| CN107707827B (zh) * | 2017-11-14 | 2020-05-01 | 维沃移动通信有限公司 | 一种高动态图像拍摄方法及移动终端 |
| WO2020034737A1 (zh) * | 2018-08-13 | 2020-02-20 | Oppo广东移动通信有限公司 | 成像控制方法、装置、电子设备以及计算机可读存储介质 |
| US11228720B2 (en) | 2018-08-13 | 2022-01-18 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for imaging controlling, electronic device, and non-transitory computer-readable storage medium |
| CN110620873A (zh) * | 2019-08-06 | 2019-12-27 | RealMe重庆移动通信有限公司 | 设备成像方法、装置、存储介质及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| US10051198B2 (en) | 2018-08-14 |
| EP3253044A1 (en) | 2017-12-06 |
| CN107534737B (zh) | 2020-11-17 |
| CN107534737A (zh) | 2018-01-02 |
| US20180041682A1 (en) | 2018-02-08 |
| EP3253044A4 (en) | 2018-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2017035750A1 (zh) | 一种拍摄图片的方法及装置 | |
| US11563897B2 (en) | Image processing method and apparatus which determines an image processing mode based on status information of the terminal device and photographing scene information | |
| CN105578068B (zh) | 一种高动态范围图像的生成方法、装置及移动终端 | |
| JP5719418B2 (ja) | ハイダイナミックレンジ画像の露光時間制御方法 | |
| CN103248828B (zh) | 曝光值调整装置及曝光值调整方法 | |
| TWI697867B (zh) | 測光補償方法及其相關監控攝影設備 | |
| JP6218389B2 (ja) | 画像処理装置及び画像処理方法 | |
| CN108337445B (zh) | 拍照方法、相关设备及计算机存储介质 | |
| TWI433533B (zh) | 影像擷取裝置及其影像合成方法 | |
| Gelfand et al. | Multi-exposure imaging on mobile devices | |
| CN108833775B (zh) | 一种抗运动鬼影的hdr方法、装置及便携式终端 | |
| CN109417605B (zh) | 用于执行自动曝光控制aec的方法、设备、计算机可读媒体及系统 | |
| CN108989700A (zh) | 成像控制方法、装置、电子设备以及计算机可读存储介质 | |
| JP2012109900A (ja) | 撮影装置、撮影方法、およびプログラム | |
| JP2017514334A (ja) | スローシャッタの撮像方法及び撮像装置 | |
| CN102143325B (zh) | 一种自动曝光装置及其方法 | |
| JP2014153959A (ja) | 画像処理装置及び画像処理方法、プログラム、記憶媒体 | |
| CN101227562A (zh) | 亮度的修正方法 | |
| CN110881108A (zh) | 图像处理方法及图像处理装置 | |
| TWI536830B (zh) | Measuring an exposure parameter art high dynamic range image generating method | |
| CN102118563A (zh) | 一种自动曝光装置及其方法 | |
| CN112312035B (zh) | 曝光参数调节方法、曝光参数调节装置和电子设备 | |
| TWI768282B (zh) | 光源資訊預測模型建立方法與系統 | |
| CN103458194B (zh) | 分析数码影像曝光程度的方法、装置和一种数字成像系统 | |
| CN115696027A (zh) | 拍摄方法、装置、控制器、设备和计算机可读存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15902557 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 15554509 Country of ref document: US |
|
| REEP | Request for entry into the european phase |
Ref document number: 2015902557 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |