CN112492208B - Shooting method and electronic equipment - Google Patents
Shooting method and electronic equipment Download PDFInfo
- Publication number
- CN112492208B CN112492208B CN202011377425.6A CN202011377425A CN112492208B CN 112492208 B CN112492208 B CN 112492208B CN 202011377425 A CN202011377425 A CN 202011377425A CN 112492208 B CN112492208 B CN 112492208B
- Authority
- CN
- China
- Prior art keywords
- target
- values
- groups
- shooting
- exposure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/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/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application discloses a shooting method and electronic equipment, belongs to the technical field of electronics, and aims to solve the problem that in an existing shooting method, operation of a user is complex due to the fact that the user tries in sequence in multiple values of shooting parameters. The shooting method comprises the following steps: receiving a first input of a user in a shooting mode; responding to the first input, and determining at least two groups of first values of first target shooting parameters; the first target shooting parameter at least comprises any one of sensitivity, shutter speed, exposure compensation and white balance; and acquiring at least two first images respectively corresponding to the at least two groups of first values based on the at least two groups of first values of the first target shooting parameters. The shooting method is applied to the electronic equipment.
Description
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a shooting method and electronic equipment.
Background
With the gradual improvement of the shooting function in the electronic equipment, the shooting function of the electronic equipment can reach a professional level. In the shooting mode, the user can adjust the sensitivity, the shutter speed and the like to achieve the expected shooting effect.
In the shooting process, before the user shoots each time, the user needs to select proper shooting parameters. For example, a suitable value is selected for sensitivity. Most users only simply know the photography technology, and cannot select a proper value at one time, and only can try a plurality of values in sequence.
Therefore, in the process of implementing the present application, the inventors found that at least the following problems exist in the prior art: in the existing shooting method, the user operation is complicated because the user tries in sequence in a plurality of values of shooting parameters.
Disclosure of Invention
The embodiment of the application aims to provide a shooting method, which can solve the problem that in the existing shooting method, the operation of a user is complicated because the user tries in sequence in a plurality of values of shooting parameters.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, where the method includes: receiving a first input of a user in a shooting mode; responding to the first input, and determining at least two groups of first values of first target shooting parameters; the first target shooting parameter at least comprises any one of sensitivity, shutter speed, exposure compensation and white balance; and acquiring at least two first images respectively corresponding to the at least two groups of first values based on the at least two groups of first values of the first target shooting parameters.
In a second aspect, an embodiment of the present application provides a shooting device, including: the first input receiving module is used for receiving a first input of a user in a shooting mode; the first input response module is used for responding to the first input and determining at least two groups of first values of the first target shooting parameters; the first target shooting parameter at least comprises any one of sensitivity, shutter speed, exposure compensation and white balance; and the first acquisition module is used for acquiring at least two first images respectively corresponding to the at least two groups of first values based on the at least two groups of first values of the first target shooting parameter.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
Thus, in the embodiment of the application, in the shooting mode, according to requirements, a user can determine at least two groups of first values through first input aiming at the first target shooting parameter. Wherein the first target shooting parameter includes at least any one of sensitivity, shutter speed, exposure compensation, and white balance. Therefore, a user can select different values at one time for the same shooting parameter, and the shooting method in this embodiment can respectively shoot corresponding first images based on the different values of the same shooting parameter selected by the user in one shooting, so as to obtain at least two first images corresponding to at least two groups of first values for the user to select. Therefore, in the embodiment, the user can obtain the images corresponding to the values at one time without performing multiple operations to try to shoot the multiple values of the parameters in sequence, so that the user operation is simplified.
Drawings
Fig. 1 is one of flowcharts of a shooting method of an embodiment of the present application;
FIG. 2 is one of schematic interface display diagrams of a shooting method according to an embodiment of the present application;
FIG. 3 is a diagram illustrating the comparison between the exposure result and the normal exposure interval of the photographing method according to the embodiment of the present application;
FIG. 4 is a second flowchart of a photographing method according to an embodiment of the present application;
FIG. 5 is a second schematic view of an interface display of the photographing method according to the embodiment of the present application;
fig. 6 is a block diagram of a photographing apparatus according to an embodiment of the present application;
fig. 7 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a second schematic diagram of a hardware structure of the electronic device according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 shows a flowchart of a photographing method according to an embodiment of the present application, the method including:
step S1: in a photographing mode, a first input of a user is received.
Step S2: and responding to the first input, and determining at least two groups of first values of the first target shooting parameters.
The first target shooting parameter includes at least any one of sensitivity, shutter speed, exposure compensation, and white balance.
The first input comprises touch input and spaced input which are performed by a user on a screen, and is not limited to input such as clicking, sliding and the like; the first input also includes user input to physical keys on the device, not limited to press or the like. Furthermore, the first input includes one or more inputs, wherein the plurality of inputs may be continuous or intermittent.
And in an application scene, for example, a user opens a camera program and displays a shooting preview interface. As shown in the first diagram in fig. 2, in the shooting preview interface, a plurality of shooting parameters including sensitivity, shutter speed, exposure compensation, white balance, and the like are displayed.
Further, the user can select multiple groups of first values according to any shooting parameters. As shown in the second diagram in fig. 2, the user presses the Icon of Sensitivity (ISO) for a long time, displaying the vertical adjustment wheel. Referring to the third diagram in fig. 2, the values of a plurality of gears, such as 100, 200, 400, etc., are sequentially displayed from bottom to top on the longitudinal adjustment thumb wheel, and the user's finger slides up or down on the longitudinal adjustment thumb wheel to switch the parameter values. Further, the user slides left to select the corresponding value as the first value of the step, and slides right to cancel the selection.
Alternatively, the user may make the first input in a professional mode in the camera program.
Optionally, the first target photographing parameter includes at least one photographing parameter.
For example, the first target shooting parameter includes sensitivity that needs to be adjusted.
Step S3: and acquiring at least two first images respectively corresponding to the at least two groups of first values based on the at least two groups of first values of the first target shooting parameters.
In this step, based on at least two groups of first values input by a user, shooting is performed based on each group of first values respectively, so as to output at least two first images corresponding to the at least two groups of first values respectively, and thus at least two first images are obtained.
Optionally, the first input is used to select at least two groups of first values of the first target shooting parameter, and in addition, the first input is also used to control the shooting.
In an application scenario, for example, referring to the fourth diagram in fig. 2, after the user selects two sets of sensitivity values 400 and 1600, the user clicks the photographing icon.
Optionally, when the first target shooting parameter includes one shooting parameter, the corresponding first images may be output based on different values of the one shooting parameter.
Optionally, under the condition that the first target shooting parameter includes multiple shooting parameters, multiple groups of value combinations may be formed based on different values of the multiple shooting parameters, and corresponding first images are output based on the multiple groups of combinations respectively.
Thus, in the embodiment of the application, in the shooting mode, according to requirements, a user can determine at least two groups of first values through first input aiming at the first target shooting parameter. Wherein the first target shooting parameter includes at least any one of sensitivity, shutter speed, exposure compensation, and white balance. Therefore, a user can select different values at one time for the same shooting parameter, and the shooting method in this embodiment can respectively shoot corresponding first images based on the different values of the same shooting parameter selected by the user in one shooting, so as to obtain at least two first images corresponding to at least two groups of first values for the user to select. Therefore, in the embodiment, the user can obtain the images corresponding to the values at one time without performing multiple operations to try to shoot the multiple values of the parameters in sequence, so that the user operation is simplified.
In the flow of the shooting method according to another embodiment of the present application, after step S3, the method further includes:
step A1: and respectively determining the exposure results of the at least two first images.
After at least two first images are acquired, the exposure result of each first image can be acquired respectively to verify whether the output first images have abnormal exposure phenomena such as overexposure and the like, so that the shooting quality is ensured.
Step A2: and under the condition that the exposure results of the at least two first images do not belong to the preset range, acquiring N second images respectively corresponding to the N groups of second values based on the N groups of second values except the at least two groups of first values.
Wherein, the exposure result of at least one second image belongs to a preset range, and N is a positive integer.
Alternatively, the exposure result in the preset range corresponds to the image exposure being normal.
In this step, it is ensured that the exposure result of at least one first image in the at least two output first images belongs to the preset range, that is, it is ensured that at least one first image is normally exposed. If the output first image is not normally exposed, one or even a plurality of groups of second values are required to be automatically adjusted according to the first target shooting parameter, and the second image is output until the exposure result of the output second image is normal.
Optionally, the exposure result is compared with a histogram exposure curve to determine whether the exposure result falls within a preset range.
Referring to fig. 3, in the histogram exposure curve, the normal exposure intervals are schematically a to b. Firstly, respectively acquiring a minimum value and a maximum value in at least two groups of first values, further acquiring exposure results corresponding to the minimum value and the maximum value respectively, and respectively representing the corresponding exposure results by min and max in the graph. Then, the relationship between min, max, a, b is analyzed and judged to determine whether the second image needs to be additionally output according to the result of the analysis and judgment.
Referring to fig. 4, in reference, a user presets a plurality of groups of first values through a first input, then the shooting device performs a preset continuous shooting, and after the preset continuous shooting is finished, whether max is smaller than a is judged.
Referring to the upper leftmost diagram in fig. 3, if max is smaller than a, the multiple groups of first values are all smaller, another group of second values larger than the first values is adaptively taken, a second image is output, and whether the exposure result of the second image belongs to the preset range is further determined. And taking different values along a specific step length as a second value based on the maximum first value until the obtained second image is normally exposed. For example, on the basis of the previous value, a first file is taken up as a new second value. Correspondingly, the resulting exposure results are taken as a new max.
If max is greater than or equal to a, then it is determined whether max is greater than b.
If max is larger than b, judging whether min is larger than b.
Referring to the diagram on the rightmost side above the diagram in fig. 3, if min is greater than b, the multiple groups of first values are all large, a second value smaller than the first value is adaptively taken, a second image is output, and whether the exposure result of the second image belongs to a preset range is further determined. And taking different values along a specific step length as a second value based on the minimum first value until the obtained second image is normally exposed. For example, on the basis of the previous value, a next file is taken down as a new second value. Correspondingly, the exposure result is obtained as a new min.
If min is less than or equal to b, judging whether min is less than a.
Referring to the lower diagram of fig. 3, if min is greater than or equal to a, min is between a and b, which indicates that the exposure result of the first image falls within the normal exposure interval, and the second image does not need to be additionally output.
Referring to the lower diagram of fig. 3, if min is smaller than a, another first value closest to the minimum value is taken, and the corresponding exposure result is taken as a new min and compared with b again. Thus, the case where the exposure result falls between a and b between min and max can be excluded.
Referring to the lower diagram in fig. 3, if max is greater than or equal to a and max is less than or equal to b, max is between a and b, which indicates that the exposure result of the first image falls in the normal exposure interval, and the second image does not need to be additionally output.
The above process may refer to the flowchart shown in fig. 4.
Further, still include:
step A3: and displaying at least two first images and a second image of which the exposure result belongs to a preset range.
Referring to fig. 5, at least two first images are displayed, and a second image with the exposure result falling within the preset range is displayed at the same time, so that at least one of all the output images is ensured to be normally exposed.
Alternatively, all images are displayed on the pop-up layer so that the user can select an image to be retained on the pop-up layer.
Optionally, only the images selected by the user are saved, and no extra storage space is occupied.
In this embodiment, based on the plurality of sets of first values input by the user, a plurality of first images can be output in a continuous shooting manner. Furthermore, after the continuous shooting is finished, the exposure is corrected through calculation so as to ensure that at least one normally exposed image is obtained. Therefore, the image quality is ensured while the user operation is simplified. The embodiment prevents the user from shooting again due to too low shooting quality, and further simplifies the user operation.
In the flow of the shooting method according to another embodiment of the present application, after step S2, the method further includes:
step B1: and displaying at least two first images under the condition that the exposure result of at least one first image belongs to a preset range.
Optionally, the preset range in this embodiment is consistent with the preset range in the previous embodiment.
On the basis of the above embodiment, the present embodiment can directly output the first image in case that the exposure result of at least one first image belongs to the preset range and the second image is not required to be additionally output. Therefore, the image quality is ensured while the user operation is simplified.
In the flow of the photographing method according to another embodiment of the present application, step S3 includes:
substep C1: and determining a target value of a second target shooting parameter corresponding to the first value according to the first value of each group of first target shooting parameters.
The present embodiment adds the setting of the auxiliary photographing parameters.
For example, after a user presets multiple groups of first values of a certain shooting parameter, the system automatically pre-estimates a shooting scene where the user may be located according to the multiple groups of first values selected by the user, and dynamically sets the auxiliary parameter.
The auxiliary parameter setting at least comprises setting of parameter types and setting of parameter values.
Optionally, for the first value of the first target shooting parameter in any group, the second target shooting parameter and the target value of the second target shooting parameter are correspondingly set.
The auxiliary parameter is the second target shooting parameter in this embodiment.
Substep C2: and acquiring a first image corresponding to the first value based on the first value of the first target shooting parameter and the target value of the second target shooting parameter.
And shooting a first image by combining the set target value of the second target shooting parameter for the first value of each group of first target shooting parameters.
In the embodiment, according to a plurality of groups of first values of the first target shooting parameters input by the user, the shooting environment where the user is located can be predicted, so that an auxiliary parameter setting method is provided, the user operation is simplified, and meanwhile, the shooting quality is improved. The embodiment prevents the user from shooting again due to too low shooting quality, and further simplifies the user operation.
In the flow of the photographing method according to another embodiment of the present application, step C1 includes:
substep D1: in the case where the first target photographing parameter includes sensitivity, determining the second target photographing parameter includes exposure compensation.
In an application scenario, for example, the first values of the multiple sets of sensitivity selected by the user are all high, for example, 640, 1000, 600, 3200, it is determined that the user is shooting in a dark light environment, at this time, the second target shooting parameter is set as exposure compensation (ev), and the values of the exposure compensation are all high values, so that the purpose of light supplement is achieved.
Optionally, different target values of the exposure compensation may be intelligently set for different first values of the sensitivity.
Substep D2: in a case where the first target photographing parameter includes a shutter speed, it is determined that the second target photographing parameter includes sensitivity.
In the application scene, for example, the first values of the multiple groups of shutter speeds(s) selected by the user are all high, for example, 10, 20 and 30, it is determined that the user is shooting a slow shutter scene such as a traffic stream and an optical track, and at this time, the second target shooting parameter is set to be the light sensitivity, and the values of the light sensitivity are all low, so that the purpose of preventing the overexposure phenomenon is achieved.
Optionally, in this scenario, an anti-shake function may also be turned on to prevent the captured picture from being blurred.
Substep D3: in the case where the first target photographing parameter includes white balance, determining the second target photographing parameter includes sensitivity and exposure compensation.
In the application scenario, if the first target shooting parameter selected by the user does not affect the exposure effect, if the white balance exists, the second target shooting parameter is set to include the sensitivity and the shutter speed. Further, a group of target values of the light sensitivity and the shutter speed can be calculated, and shooting is carried out by combining white balance and changing a plurality of groups of first values.
Optionally, the calculated target values of the sensitivity and the shutter speed can enable the exposure result to belong to a preset range, so that after the first image is shot, whether the first image is normally exposed does not need to be verified.
In this embodiment, a plurality of shooting scenes are provided, so that auxiliary parameter control is added under the condition that a user inputs a plurality of groups of first values of the first target shooting parameters, and the shooting quality is improved while the shooting success rate is improved.
In another embodiment of the application, the shooting habit of the user is recorded according to the historical data of the shooting parameters input by the user and the shooting parameters in the image finally selected by the user, and the corresponding shooting parameter values are stored, so that the shooting habit can be directly set when the user shoots the next time.
In summary, the present application provides a method for continuously shooting a preset parameter in a shooting mode, wherein a plurality of pictures are obtained at a time for a user to select by presetting a plurality of values of the parameter, for example, a plurality of values are preset from a sensitivity adjustment range of 100 to 25600, a plurality of values are preset from a shutter speed adjustment range of 1/4000 seconds to 30 seconds, and the like. And further, after the set continuous shooting number is finished, calculating whether the currently obtained picture is normally exposed according to the histogram exposure curve, and if the calculated exposure of all the pictures is abnormal, automatically taking one file upwards or downwards from the set parameters to continue continuous shooting until the picture with normal exposure is obtained. The method aims to help a user shoot a satisfactory photo in less time, and the user can take the photo continuously by presetting parameters and pressing a key, so that the process of modifying the parameters and then shooting the photo once and again is simplified, and the condition that the user dislikes the photo because of no patience is avoided.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device for executing the shooting method. In the embodiment of the present application, a photographing apparatus executing a photographing method is taken as an example, and a photographing apparatus of the photographing method provided in the embodiment of the present application is described.
Fig. 6 shows a block diagram of a photographing apparatus according to another embodiment of the present application, including:
a first input receiving module 10, configured to receive a first input of a user in a shooting mode;
a first input response module 20, configured to determine at least two groups of first values of the first target shooting parameter in response to a first input; the first target shooting parameter includes at least any one of sensitivity, shutter speed, exposure compensation, and white balance;
the first obtaining module 30 is configured to obtain at least two first images corresponding to at least two groups of first values, respectively, based on the at least two groups of first values of the first target shooting parameter.
Thus, in the embodiment of the application, in the shooting mode, according to requirements, a user can determine at least two groups of first values through first input aiming at the first target shooting parameter. Wherein the first target shooting parameter includes at least any one of sensitivity, shutter speed, exposure compensation, and white balance. Therefore, a user can select different values at one time for the same shooting parameter, and the shooting method in this embodiment can respectively shoot corresponding first images based on the different values of the same shooting parameter selected by the user in one shooting, so as to obtain at least two first images corresponding to at least two groups of first values for the user to select. Therefore, in the embodiment, the user can obtain the images corresponding to the values at one time without performing multiple operations to try to shoot the multiple values of the parameters in sequence, so that the user operation is simplified.
Optionally, the apparatus further comprises:
the determining module is used for respectively determining the exposure results of at least two first images;
the second acquisition module is used for acquiring N second images respectively corresponding to the N groups of second values on the basis of the N groups of second values except the at least two groups of first values under the condition that the exposure results of the at least two first images do not belong to the preset range; wherein, the exposure result of at least one second image belongs to a preset range, and N is a positive integer.
Optionally, the apparatus further comprises:
and the display module is used for displaying the at least two first images under the condition that the exposure result of the at least one first image belongs to a preset range.
Optionally, the first obtaining module 30 includes:
the parameter determining unit is used for determining a target value of a second target shooting parameter corresponding to the first value according to the first value of each group of first target shooting parameters;
the image acquisition unit is used for acquiring a first image corresponding to a first value based on the first value of the first target shooting parameter and the target value of the second target shooting parameter.
Optionally, in a case where the first target photographing parameter includes sensitivity, the second target photographing parameter includes exposure compensation;
in a case where the first target photographing parameter includes a shutter speed, the second target photographing parameter includes sensitivity;
in the case where the first target photographing parameter includes white balance, the second target photographing parameter includes sensitivity and exposure compensation.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here for avoiding repetition.
Optionally, as shown in fig. 7, an electronic device 100 is further provided in this embodiment of the present application, and includes a processor 101, a memory 102, and a program or an instruction stored in the memory 102 and executable on the processor 101, where the program or the instruction is executed by the processor 101 to implement each process of any one of the foregoing shooting method embodiments, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and the like.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 1007 is used for receiving a first input of a user in a shooting mode; a processor 1010, configured to determine at least two first values of a first target shooting parameter in response to the first input; the first target shooting parameter at least comprises any one of sensitivity, shutter speed, exposure compensation and white balance; and acquiring at least two first images respectively corresponding to the at least two groups of first values based on the at least two groups of first values of the first target shooting parameters.
Thus, in the embodiment of the application, in the shooting mode, according to requirements, a user can determine at least two groups of first values through first input aiming at the first target shooting parameter. Wherein the first target shooting parameter includes at least any one of sensitivity, shutter speed, exposure compensation, and white balance. Therefore, a user can select different values at one time for the same shooting parameter, and the shooting method in this embodiment can respectively shoot corresponding first images based on the different values of the same shooting parameter selected by the user in one shooting, so as to obtain at least two first images corresponding to at least two groups of first values for the user to select. Therefore, in the embodiment, the user can obtain the images corresponding to the values at one time without performing multiple operations to try to shoot the multiple values of the parameters in sequence, so that the user operation is simplified.
Optionally, the processor 1010 is further configured to determine exposure results of the at least two first images respectively; under the condition that the exposure results of the at least two first images do not belong to a preset range, acquiring N second images respectively corresponding to N groups of second values based on N groups of second values except the at least two groups of first values; and the exposure result of at least one second image belongs to the preset range, and N is a positive integer.
Optionally, the display unit 1006 is configured to display the at least two first images when the exposure result of the at least one first image belongs to a preset range.
Optionally, the processor 1010 is further configured to determine, for the first value of each group of the first target shooting parameters, a target value of a second target shooting parameter corresponding to the first value; and acquiring the first image corresponding to the first value based on the first value of the first target shooting parameter and the target value of the second target shooting parameter.
Optionally, in a case where the first target photographing parameter includes sensitivity, the second target photographing parameter includes exposure compensation; in a case where the first target photographing parameter includes a shutter speed, the second target photographing parameter includes sensitivity; in a case where the first target photographing parameter includes white balance, the second target photographing parameter includes sensitivity and exposure compensation.
In summary, the present application provides a continuous shooting method for presetting parameters in a shooting mode, in which multiple pictures are obtained at a time for a user to select by presetting multiple values of the parameters, for example, multiple values are preset from a sensitivity adjustment range of 100 to 25600, multiple values are preset from a shutter speed adjustment range of 1/4000 seconds to 30 seconds, and the like. And further, after the set continuous shooting number is finished, calculating whether the currently obtained picture is normally exposed according to the histogram exposure curve, and if the calculated exposure of all the pictures is abnormal, automatically taking one file upwards or downwards from the set parameters to continue continuous shooting until the picture with normal exposure is obtained. The method aims to help a user shoot a satisfactory photo in less time, and the user can take the photo continuously by presetting parameters and pressing a key, so that the process of modifying the parameters and then shooting the photo once and again is simplified, and the condition that the user dislikes the photo because of no patience is avoided.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of any one of the foregoing shooting method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of any one of the foregoing shooting method embodiments, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A photographing method, characterized in that the method comprises:
receiving a first input of a user in a shooting mode;
responding to the first input, and determining at least two groups of first values of first target shooting parameters; the first target shooting parameter at least comprises any one of sensitivity, shutter speed, exposure compensation and white balance;
acquiring at least two first images respectively corresponding to at least two groups of first values based on at least two groups of first values of the first target shooting parameter;
after the obtaining of the at least two first images respectively corresponding to the at least two groups of first values, the method further includes:
respectively determining exposure results of the at least two first images;
under the condition that the exposure results of the at least two first images do not belong to a preset range, acquiring N second images respectively corresponding to N groups of second values based on N groups of second values except the at least two groups of first values; the exposure result of at least one second image belongs to the preset range, and N is a positive integer;
the exposure result in the preset range corresponds to normal image exposure.
2. The method according to claim 1, wherein after the obtaining of the at least two first images respectively corresponding to the at least two groups of first values, further comprising:
and displaying the at least two first images under the condition that the exposure result of the at least one first image belongs to a preset range.
3. The method according to claim 1, wherein the obtaining at least two first images respectively corresponding to at least two groups of first values based on at least two groups of first values of the first target shooting parameter comprises:
determining a target value of a second target shooting parameter corresponding to the first value aiming at the first value of each group of the first target shooting parameters;
and acquiring the first image corresponding to the first value based on the first value of the first target shooting parameter and the target value of the second target shooting parameter.
4. The method according to claim 3, wherein in a case where the first target photographing parameter includes sensitivity, the second target photographing parameter includes exposure compensation;
in a case where the first target photographing parameter includes a shutter speed, the second target photographing parameter includes sensitivity;
in a case where the first target photographing parameter includes white balance, the second target photographing parameter includes sensitivity and exposure compensation.
5. A camera, characterized in that the camera comprises:
the first input receiving module is used for receiving a first input of a user in a shooting mode;
the first input response module is used for responding to the first input and determining at least two groups of first values of the first target shooting parameters; the first target shooting parameter at least comprises any one of sensitivity, shutter speed, exposure compensation and white balance;
the first acquisition module is used for acquiring at least two first images respectively corresponding to at least two groups of first values based on the at least two groups of first values of the first target shooting parameter;
the device, still include:
the determining module is used for respectively determining the exposure results of the at least two first images;
a second obtaining module, configured to obtain, based on N groups of second values other than the at least two groups of first values, N second images corresponding to the N groups of second values, respectively, when exposure results of the at least two first images do not belong to a preset range; the exposure result of at least one second image belongs to the preset range, and N is a positive integer;
the exposure result in the preset range corresponds to normal image exposure.
6. The apparatus of claim 5, further comprising:
and the display module is used for displaying the at least two first images under the condition that the exposure result of the at least one first image belongs to a preset range.
7. The apparatus of claim 5, wherein the first obtaining module comprises:
a parameter determining unit, configured to determine, for the first value of each group of the first target shooting parameters, a target value of a second target shooting parameter corresponding to the first value;
an image obtaining unit, configured to obtain the first image corresponding to the first value based on the first value of the first target shooting parameter and the target value of the second target shooting parameter.
8. The apparatus according to claim 7, wherein in a case where the first target photographing parameter includes sensitivity, the second target photographing parameter includes exposure compensation;
in a case where the first target photographing parameter includes a shutter speed, the second target photographing parameter includes sensitivity;
in a case where the first target photographing parameter includes white balance, the second target photographing parameter includes sensitivity and exposure compensation.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the photographing method according to any one of claims 1-4.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011377425.6A CN112492208B (en) | 2020-11-30 | 2020-11-30 | Shooting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011377425.6A CN112492208B (en) | 2020-11-30 | 2020-11-30 | Shooting method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112492208A CN112492208A (en) | 2021-03-12 |
CN112492208B true CN112492208B (en) | 2022-03-22 |
Family
ID=74937853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011377425.6A Active CN112492208B (en) | 2020-11-30 | 2020-11-30 | Shooting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112492208B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107820011A (en) * | 2017-11-21 | 2018-03-20 | 维沃移动通信有限公司 | Photographic method and camera arrangement |
CN109218626A (en) * | 2018-11-23 | 2019-01-15 | 维沃移动通信有限公司 | A kind of photographic method and terminal |
CN110166705A (en) * | 2019-06-06 | 2019-08-23 | Oppo广东移动通信有限公司 | High dynamic range HDR image generation method and device, electronic equipment, computer readable storage medium |
CN110913139A (en) * | 2019-11-28 | 2020-03-24 | 维沃移动通信有限公司 | Photographing method and electronic equipment |
CN111327824A (en) * | 2020-03-02 | 2020-06-23 | Oppo广东移动通信有限公司 | Shooting parameter selection method and device, storage medium and electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6923754B2 (en) * | 2017-06-09 | 2021-08-25 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Image capture method and equipment |
RU2667790C1 (en) * | 2017-09-01 | 2018-09-24 | Самсунг Электроникс Ко., Лтд. | Method of automatic adjustment of exposition for infrared camera and user computer device using this method |
CN108337445B (en) * | 2018-03-26 | 2020-06-26 | 华为技术有限公司 | Photographing method, related device and computer storage medium |
-
2020
- 2020-11-30 CN CN202011377425.6A patent/CN112492208B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107820011A (en) * | 2017-11-21 | 2018-03-20 | 维沃移动通信有限公司 | Photographic method and camera arrangement |
CN109218626A (en) * | 2018-11-23 | 2019-01-15 | 维沃移动通信有限公司 | A kind of photographic method and terminal |
CN110166705A (en) * | 2019-06-06 | 2019-08-23 | Oppo广东移动通信有限公司 | High dynamic range HDR image generation method and device, electronic equipment, computer readable storage medium |
CN110913139A (en) * | 2019-11-28 | 2020-03-24 | 维沃移动通信有限公司 | Photographing method and electronic equipment |
CN111327824A (en) * | 2020-03-02 | 2020-06-23 | Oppo广东移动通信有限公司 | Shooting parameter selection method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112492208A (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112135046B (en) | Video shooting method, video shooting device and electronic equipment | |
CN111654635A (en) | Shooting parameter adjusting method and device and electronic equipment | |
CN111835982B (en) | Image acquisition method, image acquisition device, electronic device, and storage medium | |
CN105391940B (en) | A kind of image recommendation method and device | |
CN112702531B (en) | Shooting method and device and electronic equipment | |
CN112422798A (en) | Photographing method and device, electronic equipment and storage medium | |
CN112312035A (en) | Image sensor, exposure parameter adjustment method, and electronic apparatus | |
CN112637515A (en) | Shooting method and device and electronic equipment | |
CN115278047A (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN113794831B (en) | Video shooting method, device, electronic equipment and medium | |
CN112367465B (en) | Image output method and device and electronic equipment | |
CN112437237B (en) | Shooting method and device | |
CN111586305B (en) | Anti-shake method, anti-shake device and electronic equipment | |
CN112672055A (en) | Photographing method, device and equipment | |
CN112492208B (en) | Shooting method and electronic equipment | |
CN114245017B (en) | Shooting method and device and electronic equipment | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN112153291B (en) | Photographing method and electronic equipment | |
CN115439386A (en) | Image fusion method and device, electronic equipment and storage medium | |
CN112584110B (en) | White balance adjusting method and device, electronic equipment and storage medium | |
CN111654623B (en) | Photographing method and device and electronic equipment | |
CN113962840A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN112367464A (en) | Image output method and device and electronic equipment | |
CN112312024A (en) | Photographing processing method and device and storage medium | |
CN112672056A (en) | Image processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |