CN112351197A - Shooting parameter adjusting method and device, storage medium and electronic equipment - Google Patents

Shooting parameter adjusting method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112351197A
CN112351197A CN202011022600.XA CN202011022600A CN112351197A CN 112351197 A CN112351197 A CN 112351197A CN 202011022600 A CN202011022600 A CN 202011022600A CN 112351197 A CN112351197 A CN 112351197A
Authority
CN
China
Prior art keywords
current
mode
sharpness level
focusing
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011022600.XA
Other languages
Chinese (zh)
Other versions
CN112351197B (en
Inventor
柴永亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Coolpad Software Technology Co Ltd
Original Assignee
Nanjing Coolpad Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Coolpad Software Technology Co Ltd filed Critical Nanjing Coolpad Software Technology Co Ltd
Priority to CN202011022600.XA priority Critical patent/CN112351197B/en
Publication of CN112351197A publication Critical patent/CN112351197A/en
Application granted granted Critical
Publication of CN112351197B publication Critical patent/CN112351197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application discloses a shooting parameter adjusting method, a shooting parameter adjusting device, a storage medium and electronic equipment, wherein the method comprises the following steps: and acquiring a focusing value corresponding to the shot image, adjusting the current light measuring mode of the terminal to be a central light measuring mode when the focusing value is smaller than a focusing threshold value, and increasing the current sharpness level of the terminal to be a target sharpness level. By adopting the embodiment of the application, when the focusing value is smaller than the focusing threshold value, the current shooting scene is determined to be a close-range shooting scene, the current light metering mode is adjusted to be the central light metering mode and is adjusted to be the target sharpness level, so that the brightness of the shot image is proper and the details are clear, the filming rate of the shot image is increased, the shooting time is saved, and the user experience is enhanced.

Description

Shooting parameter adjusting method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of camera technologies, and in particular, to a method and an apparatus for adjusting shooting parameters, a storage medium, and an electronic device.
Background
With the wide application of terminals with camera shooting functions such as smart phones, trackers, video recorders and the like, people take pictures more and more conveniently and pursue imaging effects more and more.
At present, a shooting parameter is set in a shooting function menu of a terminal: photometric manner and sharpness level. The set photometry manner and sharpness level are suitable for most shooting scenes. However, when shooting at a short distance, the problems of too bright shot images, blurred details and the like often occur due to the set light metering mode and sharpness level, so that the image blocking rate is reduced, the shooting time is wasted, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a shooting parameter adjusting method and device, a storage medium and electronic equipment, and the shooting parameter can be adjusted to enable the brightness of a shot image to be proper and the details to be clear when the image is shot in a close range, so that the filming rate of the shot image is increased, the shooting time is saved, and the user experience is enhanced. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a shooting parameter adjustment method, where the method includes:
acquiring a focusing value corresponding to a shot image;
and when the focusing value is smaller than the focusing threshold value, adjusting the current light measuring mode of the terminal to be a central light measuring mode, and increasing the current sharpness level of the terminal to be a target sharpness level.
In a second aspect, an embodiment of the present application provides a shooting parameter adjustment apparatus, where the apparatus includes:
the focusing value acquisition module is used for acquiring a focusing value corresponding to the shot image;
and the parameter adjusting module is used for adjusting the current photometry mode of the terminal to be a central photometry mode and increasing the current sharpness level of the terminal to be a target sharpness level when the focusing value is smaller than a focusing threshold value.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, a focus value corresponding to a captured image is obtained, when the focus value is smaller than a focus threshold, a current metering mode of the terminal is adjusted to a center metering mode, and a current sharpness level of the terminal is adjusted to a target sharpness level. When the focusing value is smaller than the focusing threshold value, the current shooting scene is determined to be a close-distance shooting scene, the current light metering mode is adjusted to be the central light metering mode, the current sharpness level of the terminal is increased to be the target sharpness level, the brightness of the shot image is appropriate, the details are clear, the shooting rate of the shot image is increased, the shooting time is saved, and the user experience is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a shooting parameter adjustment method according to an embodiment of the present disclosure;
FIG. 2a is a schematic diagram illustrating an example distance parameter threshold setting according to an embodiment of the present disclosure;
FIG. 2b is an exemplary diagram of a sharpness level display interface provided in an embodiment of the present application;
fig. 2c is an exemplary schematic diagram of a prompt message for adjusting shooting parameters according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another shooting parameter adjustment method provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of another shooting parameter adjustment method provided in the embodiment of the present application;
fig. 5 is an exemplary schematic diagram of another prompt message for adjusting shooting parameters according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a shooting parameter adjustment apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a parameter adjustment module according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of another shooting parameter adjustment apparatus provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus provided in an 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 only a part of the embodiments of the present application, and not all of the embodiments. 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.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 1, a shooting parameter adjustment method is specifically proposed, which can be implemented by means of a computer program and can be run on a von neumann-based shooting parameter adjustment device. The computer program may be integrated into the application or may run as a separate tool-like application.
Specifically, the shooting parameter adjustment method includes:
s101: and acquiring a focus value corresponding to the shot image.
The Focus Value (FV) is a brightness Value of the captured image after the terminal focuses on the captured image area, and the distance of the capture distance can be determined by the Focus Value.
Specifically, the process of obtaining the focus value corresponding to the shot image is as follows: and acquiring the brightness value of each pixel point in the shot image, filtering the brightness value to obtain a filtering value, and calculating the focusing value based on the filtering value. The filtering of the brightness value is to filter out the pixel point brightness value with a larger numerical value, and eliminate the interference of too high local brightness in the shot image, so that the focus value is more accurately calculated. The filtering value refers to the pixel point brightness value remained after filtering the pixel point brightness value with larger numerical value
Calculating the focus value according to the following formula:
Figure BDA0002701140050000041
FV represents a focusing value corresponding to the shot image, Q (i) represents an ith filter value, and n represents the number of pixels corresponding to the filter value contained in the shot image.
S102: and when the focusing value is smaller than the focusing threshold value, adjusting the current light measuring mode of the terminal to be a central light measuring mode, and increasing the current sharpness level of the terminal to be a target sharpness level.
And when the focusing value is smaller than the focusing threshold value, judging that the shooting scene is a close-range shooting scene, wherein the terminal converts the focusing value into a distance parameter and displays the distance parameter on a terminal interface so as to be convenient for a user to understand. The focusing threshold is converted into a distance parameter threshold through the terminal and displayed on the terminal interface, and the distance parameter threshold can be manually set by a user or set by the terminal according to the self performance and the shooting general knowledge after the user selects automatic setting. An example of a possible distance parameter threshold setting is shown in fig. 2 a. The user may set the distance parameter threshold by inputting a numerical value, moving a slider, or clicking an adjustment button, or may select an "auto reference value" to set the distance parameter threshold by other components of the smartphone.
The light measuring mode is a mode of measuring the light intensity reflected by the object, and is divided into different light measuring modes according to the difference of the measured shooting range and distance in the shooting area, and the light measuring modes mainly include a spot light measuring mode, a center light measuring mode, an average light measuring mode and a multi-region light measuring mode. The point metering mode is that a metering element of the terminal only measures a small range of a specified shooting picture center, a shooting lens of the terminal is aligned to each part of a shooting object for multiple times during shooting, the brightness of the shooting object is measured successively, and the point metering mode is complex to operate and is suitable for shooting scenes with accurate measurement results and strict exposure requirements. The central light metering mode is a mode of metering light at the center of the shooting area accounting for about 60% of the shooting area and simultaneously taking account of the edge of a picture, and is suitable for multi-scene shooting. The average metering mode is a mode of measuring the average light brightness of the whole shooting area, and is suitable for scene shooting with little difference of picture light intensity. The multi-region metering mode is to divide a shooting region into regions and perform metering by each metering element corresponding to the divided regions, is suitable for shooting scenes with accurate measurement results, and has technical requirements on the metering elements and the structure of a terminal. Therefore, when the close-distance photographing is determined, the current metering mode is adjusted to the center metering mode by the terminal, so that the brightness of the photographed image is appropriate.
The sharpness refers to the planar definition of a photographed image and the contrast of the edge of the photographed image. Specifically, the process of adjusting the current sharpness level of the terminal to the target sharpness level is as follows: determining a target focusing range to which the focusing value belongs, and determining a target sharpness grade corresponding to the target focusing range according to the corresponding relation between different focusing ranges and different sharpness grades; adjusting a current sharpness level of the terminal up to the target sharpness level. The corresponding relation between different focusing ranges and different sharpness levels is determined by performance parameters of related elements in the terminal, so that the corresponding relation between different focusing ranges and different sharpness levels is different for different types and models of terminals. As shown in fig. 2b, taking a smart phone as an example, a possible sharpness level display interface includes a sharpness level corresponding to each focusing range, and the user can set the sharpness level by moving the slider.
Optionally, when the terminal adjusts the light metering mode and the sharpness level, a prompt message for adjusting the shooting parameters is sent to the user, as shown in fig. 2c, a prompt box pops up on the terminal for prompting "detecting the current close-distance shooting, adjusting the current light metering mode to the central light metering mode and adjusting the current sharpness level to the target sharpness level for better imaging effect", where the prompt message is a feasible prompt message for adjusting the shooting parameters. The user can accept the adjustment of the shooting parameters by clicking 'confirm' or reject the adjustment of the shooting parameters by clicking 'cancel'.
In the embodiment of the application, a focusing value corresponding to a shot image is obtained, when the focusing value is smaller than a focusing threshold value, the current light measuring mode of the terminal is adjusted to be a central light measuring mode, and the current sharpness level of the terminal is increased to be a target sharpness level. When the focusing value is smaller than the focusing threshold value, the current shooting scene is determined to be a close-distance shooting scene, the current light metering mode is adjusted to be the central light metering mode, the current sharpness level of the terminal is increased to be the target sharpness level, the brightness of the shot image is appropriate, the details are clear, the shooting rate of the shot image is increased, the shooting time is saved, and the user experience is enhanced.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another embodiment of a shooting parameter adjustment method according to the present application. Specifically, the method comprises the following steps:
s201: and acquiring a focus value corresponding to the shot image.
See S101 for details, which are not described herein.
S202: and when the focus value is smaller than a focus threshold value, saving the current photometric mode and the current sharpness level.
And when the focusing value is smaller than the focusing threshold value, determining that the current shooting scene is a close-distance shooting scene, and storing the current photometry mode and the current sharpness level, thereby avoiding that corresponding shooting parameters cannot be set in other shooting scenes.
Specifically, one possible method for saving the current photometry mode and the current sharpness level is as follows: the current light metering mode and the current sharpness level are stored in a nonvolatile memory of the terminal as user data, where the nonvolatile memory (NVM) can still store data after a power supply is cut off, and the data includes but is not limited to any one of a read-only memory (ROM), a programmable read-only memory (PROM), an electrically alterable read-only memory (EAROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), and a flash memory.
S203: and adjusting the current light measuring mode of the terminal to be a central light measuring mode, and increasing the current sharpness level of the terminal to be a target sharpness level.
See S102 for details, which are not described herein.
S204: when the focus value is larger than the focus threshold value, the central light metering mode is adjusted to the current light metering mode, and the target sharpness level is decreased to the current sharpness level.
When the focus value is larger than the focus threshold value, it is determined that the shooting scene is a non-close-distance shooting scene, and therefore, the central metering mode is adjusted to the current metering mode, and the target sharpness level is adjusted to the current sharpness level, so that the terminal performs appropriate shooting parameter configuration.
Optionally, when it is determined that the shooting scene is a non-close-distance shooting scene, the process of adjusting the shooting parameters is as follows: reading the user data in the nonvolatile memory, determining the current metering mode and the current sharpness level according to the user data, adjusting the central metering mode to the current metering mode, and adjusting the target sharpness level to the current sharpness level, so that the terminal performs appropriate shooting parameter configuration.
In this embodiment of the present application, the current metering mode and the current sharpness level are saved, and when the focus value is greater than the focus threshold, the central metering mode is adjusted to the current metering mode, and the target sharpness level is adjusted to the current sharpness level. The method can determine that the current shooting scene is a close-distance shooting scene when the focusing value is larger than the focusing threshold value, adjust the central light metering mode to the current light metering mode, adjust the target sharpness level to the current sharpness level, recover the original shooting parameter setting, avoid the situation that the corresponding shooting parameters cannot be set in other shooting scenes, enable the brightness of the shot image to be proper and the details to be clear, thereby increasing the shooting rate of the shot image, saving the shooting time and enhancing the user experience.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating another embodiment of a shooting parameter adjustment method according to the present application. Specifically, the method comprises the following steps:
s301: and acquiring a focus value corresponding to the shot image.
See S101 for details, which are not described herein.
S302: and when the focusing value is smaller than the focusing threshold value, judging whether the current light metering mode is the central light metering mode.
The light measuring modes mainly include a point light measuring mode, a center light measuring mode, an average light measuring mode and a multi-region light measuring mode. The central photometry mode is suitable for multi-scene shooting, and therefore, will the photometry mode is adjusted to before the central photometry mode, judge whether the current photometry mode does the central photometry mode, if the current photometry mode does the central photometry mode, then the photometry mode does not need to be adjusted, thereby making the operation more simple and convenient.
S303: and if the current light measuring mode is the central light measuring mode, keeping the setting of the central light measuring mode, and increasing the current sharpness level of the terminal to be the target sharpness level.
When the current light metering mode is judged to be the central light metering mode, the light metering mode does not need to be adjusted, and the setting of the central light metering mode is maintained.
Optionally, when the terminal maintains the setting of the light metering mode and adjusts the sharpness level, a prompt message for adjusting the shooting parameters is sent to the user, as shown in fig. 5, a prompt message for feasible shooting parameter adjustment pops up a prompt box on the terminal, and prompts "detect current close-distance shooting, and adjust the current sharpness level to the target sharpness level for better imaging effect and maintaining the setting of the central light metering mode". The user can accept the adjustment of the shooting parameters by clicking 'confirm' or reject the adjustment of the shooting parameters by clicking 'cancel'.
Wherein, the current sharpness level of the terminal is adjusted to the target sharpness level, which may be referred to as S102 specifically and is not described herein again.
S304: and if the current light metering mode is not the central light metering mode, adjusting the light metering mode to be the central light metering mode, and increasing the current sharpness level of the terminal to be the target sharpness level.
See S102 for details, which are not described herein.
In this application embodiment, judge whether current photometry mode does the central photometry mode, if the current photometry mode does the central photometry mode, then keep the setting of central photometry mode, if the current photometry mode is not the central photometry mode, then will the photometry mode adjusts to central photometry mode. Can judge the current mode of photometry, if the current mode of photometry does the mode of photometry is surveyed to the center, then need not adjust the mode of photometry, avoids the terminal is repeated adjusts the step of shooing the parameter to it is more simple and convenient to make the operation.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 6, which shows a schematic structural diagram of a shooting parameter adjusting apparatus according to an exemplary embodiment of the present application. The shooting parameter adjustment means may be implemented as all or a part of the apparatus by software, hardware, or a combination of both. The device 1 comprises a focusing value acquisition module 11 and a parameter adjustment module 12.
A focusing value obtaining module 11, configured to obtain a focusing value corresponding to the captured image;
and the parameter adjusting module 12 is configured to adjust the current light metering mode of the terminal to a central light metering mode and increase the current sharpness level of the terminal to a target sharpness level when the focus value is smaller than the focus threshold.
Optionally, as shown in fig. 7, the parameter adjusting module 11 includes:
a focusing range determining unit 11, configured to determine a target focusing range to which the focusing value belongs;
a focusing level determining unit 12, configured to determine a target sharpness level corresponding to the target focusing range according to a correspondence between different focusing ranges and different sharpness levels;
a sharpness level increasing unit 13 for increasing a current sharpness level of the terminal to the target sharpness level.
Optionally, as shown in fig. 8, the apparatus 1 includes:
and a parameter saving module 13, configured to save the current metering mode and the current sharpness level.
Optionally, the apparatus 1 includes:
a parameter calling module 14, configured to adjust the central light metering mode to the current light metering mode and decrease the target sharpness level to the current sharpness level when the focus value is greater than the focus threshold.
Optionally, the apparatus 1 includes:
a light measuring mode determining module 15, configured to determine whether the current light measuring mode is the central light measuring mode;
the parameter adjusting module 12 is specifically configured to:
if the current light measuring mode is the central light measuring mode, the setting of the central light measuring mode is maintained;
and if the current light metering mode is not the central light metering mode, adjusting the light metering mode to the central light metering mode.
It should be noted that, when executing the shooting parameter adjusting method, the shooting parameter adjusting apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules, and in practical applications, the functions may be distributed to different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the shooting parameter adjusting device and the shooting parameter adjusting method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In this embodiment, when the focusing value is smaller than the focusing threshold, it may be determined that the current shooting scene is a close-distance shooting scene, and the brightness of the shot image is appropriate and the details are clear by adjusting the current metering mode to the central metering mode and adjusting the current sharpness level of the terminal to the target sharpness level, so that the filming rate of the shot image is increased, the shooting time is saved, and the user experience is enhanced.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the shooting parameter adjustment method according to the embodiment shown in fig. 1 to 5, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 5, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored in the computer program product, and the at least one instruction is loaded by the processor and executes the shooting parameter adjustment method according to the embodiment shown in fig. 1 to 5, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 1 to 5, and is not described herein again.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 9, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts throughout the server 1000 using various interfaces and lines, and performs various functions of the server 1000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 9, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a photographing parameter adjusting application program.
In the electronic device 1000 shown in fig. 9, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to call the shooting parameter adjustment application stored in the memory 1005, and specifically perform the following operations:
acquiring a focusing value corresponding to a shot image;
and when the focusing value is smaller than the focusing threshold value, adjusting the current light measuring mode of the terminal to be a central light measuring mode, and increasing the current sharpness level of the terminal to be a target sharpness level.
In one embodiment, the processor 1001, when performing the adjusting the current sharpness level of the terminal to the target sharpness level, specifically performs the following operations:
determining a target focusing range to which the focusing value belongs;
determining a target sharpness level corresponding to the target focusing range according to the corresponding relation between different focusing ranges and different sharpness levels;
adjusting a current sharpness level of the terminal up to the target sharpness level.
In one embodiment, the processor 1001 further performs the following operations before performing the adjusting the current metering mode of the terminal to the center metering mode and the adjusting the current sharpness level of the terminal to the target sharpness level:
saving the current metering mode and the current sharpness level.
In one embodiment, the processor 1001 further performs the following operations after performing the adjusting the current metering mode of the terminal to the center metering mode and the adjusting the current sharpness level of the terminal to the target sharpness level:
when the focus value is larger than the focus threshold value, the central light metering mode is adjusted to the current light metering mode, and the target sharpness level is decreased to the current sharpness level.
In one embodiment, before performing the adjusting of the current metering mode of the terminal to the central metering mode, the processor 1001 further performs the following operations:
judging whether the current light measuring mode is the central light measuring mode or not;
will the present photometry mode adjustment at terminal is the photometry mode of center, include:
if the current light measuring mode is the central light measuring mode, the setting of the central light measuring mode is maintained;
and if the current light metering mode is not the central light metering mode, adjusting the light metering mode to the central light metering mode.
In an embodiment, when executing the obtaining of the focus value corresponding to the captured image, the processor 1001 specifically executes the following operations:
acquiring the brightness value of a pixel point in the shot image;
filtering the brightness value to obtain a filtered value;
calculating the focus value based on the filtered value.
In this embodiment, when the focusing value is smaller than the focusing threshold, it may be determined that the current shooting scene is a close-distance shooting scene, and the brightness of the shot image is appropriate and the details are clear by adjusting the current metering mode to the central metering mode and adjusting the current sharpness level of the terminal to the target sharpness level, so that the filming rate of the shot image is increased, the shooting time is saved, and the user experience is enhanced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A shooting parameter adjusting method is applied to a terminal, and comprises the following steps:
acquiring a focusing value corresponding to a shot image;
and when the focusing value is smaller than the focusing threshold value, adjusting the current light measuring mode of the terminal to be a central light measuring mode, and increasing the current sharpness level of the terminal to be a target sharpness level.
2. The method of claim 1, wherein the adjusting the current sharpness level of the terminal to a target sharpness level comprises:
determining a target focusing range to which the focusing value belongs;
determining a target sharpness level corresponding to the target focusing range according to the corresponding relation between different focusing ranges and different sharpness levels;
adjusting a current sharpness level of the terminal up to the target sharpness level.
3. The method of claim 1, wherein before adjusting the current metering mode of the terminal to the center metering mode and the current sharpness level of the terminal to the target sharpness level, further comprising:
saving the current metering mode and the current sharpness level.
4. The method of claim 3, wherein after adjusting the current metering mode of the terminal to the center metering mode and the current sharpness level of the terminal to the target sharpness level, further comprising:
when the focus value is larger than the focus threshold value, the central light metering mode is adjusted to the current light metering mode, and the target sharpness level is decreased to the current sharpness level.
5. The method according to claim 1, wherein before the adjusting the current light metering mode of the terminal to the central light metering mode, further comprising:
judging whether the current light measuring mode is the central light measuring mode or not;
will the present photometry mode adjustment at terminal is the photometry mode of center, include:
if the current light measuring mode is the central light measuring mode, the setting of the central light measuring mode is maintained;
and if the current light metering mode is not the central light metering mode, adjusting the light metering mode to the central light metering mode.
6. The method of claim 1, wherein the obtaining of the focus value corresponding to the captured image comprises:
acquiring the brightness value of a pixel point in the shot image;
filtering the brightness value to obtain a filtered value;
calculating the focus value based on the filtered value.
7. A shooting parameter adjustment apparatus, characterized in that the apparatus comprises:
the focusing value acquisition module is used for acquiring a focusing value corresponding to the shot image;
and the parameter adjusting module is used for adjusting the current photometry mode of the terminal to be a central photometry mode and increasing the current sharpness level of the terminal to be a target sharpness level when the focusing value is smaller than a focusing threshold value.
8. The apparatus of claim 7, wherein the parameter adjustment module comprises:
a focusing range determining unit for determining a target focusing range to which the focusing value belongs;
the focusing level determining unit is used for determining a target sharpness level corresponding to the target focusing range according to the corresponding relation between different focusing ranges and different sharpness levels;
a sharpness level increasing unit for increasing a current sharpness level of the terminal to the target sharpness level.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 6.
10. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 6.
CN202011022600.XA 2020-09-25 2020-09-25 Shooting parameter adjusting method and device, storage medium and electronic equipment Active CN112351197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011022600.XA CN112351197B (en) 2020-09-25 2020-09-25 Shooting parameter adjusting method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011022600.XA CN112351197B (en) 2020-09-25 2020-09-25 Shooting parameter adjusting method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112351197A true CN112351197A (en) 2021-02-09
CN112351197B CN112351197B (en) 2022-10-21

Family

ID=74360378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011022600.XA Active CN112351197B (en) 2020-09-25 2020-09-25 Shooting parameter adjusting method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112351197B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150540A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Photographing method, terminal device, and computer-readable storage medium
CN117499783A (en) * 2023-11-01 2024-02-02 广州安特激光技术有限公司 Liquid lens auto-focusing and exposure control method for traffic monitoring

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000156816A (en) * 1998-11-18 2000-06-06 Casio Comput Co Ltd Device and method for emphasizing edge
CN103095977A (en) * 2011-10-31 2013-05-08 佳能企业股份有限公司 Image capturing method and image processing system and image capturing device using image capturing method
US20140086486A1 (en) * 2012-09-21 2014-03-27 Bruce Harold Pillman Adjusting the sharpness of a digital image
TW201613337A (en) * 2014-09-30 2016-04-01 Acer Inc Method for selecting metering mode and image capturing device thereof
CN106303044A (en) * 2016-08-18 2017-01-04 努比亚技术有限公司 A kind of mobile terminal and the acquisition method to coke number
CN108171743A (en) * 2017-12-28 2018-06-15 努比亚技术有限公司 Method, equipment and the computer for shooting image can storage mediums
WO2018166170A1 (en) * 2017-03-17 2018-09-20 广州视源电子科技股份有限公司 Image processing method and device, and intelligent conferencing terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000156816A (en) * 1998-11-18 2000-06-06 Casio Comput Co Ltd Device and method for emphasizing edge
CN103095977A (en) * 2011-10-31 2013-05-08 佳能企业股份有限公司 Image capturing method and image processing system and image capturing device using image capturing method
US20140086486A1 (en) * 2012-09-21 2014-03-27 Bruce Harold Pillman Adjusting the sharpness of a digital image
TW201613337A (en) * 2014-09-30 2016-04-01 Acer Inc Method for selecting metering mode and image capturing device thereof
CN106303044A (en) * 2016-08-18 2017-01-04 努比亚技术有限公司 A kind of mobile terminal and the acquisition method to coke number
WO2018166170A1 (en) * 2017-03-17 2018-09-20 广州视源电子科技股份有限公司 Image processing method and device, and intelligent conferencing terminal
CN108171743A (en) * 2017-12-28 2018-06-15 努比亚技术有限公司 Method, equipment and the computer for shooting image can storage mediums

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
章文辉: "《数字视频测量技术》", 30 September 2003 *
韩丰谈等: "《医学影像设备学 第2版》", 31 July 2010 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150540A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Photographing method, terminal device, and computer-readable storage medium
CN115150540B (en) * 2021-03-30 2023-10-24 华为技术有限公司 Shooting method, terminal device and computer readable storage medium
CN117499783A (en) * 2023-11-01 2024-02-02 广州安特激光技术有限公司 Liquid lens auto-focusing and exposure control method for traffic monitoring

Also Published As

Publication number Publication date
CN112351197B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
CN108322646B (en) Image processing method, image processing device, storage medium and electronic equipment
CN109547701B (en) Image shooting method and device, storage medium and electronic equipment
CN107071272B (en) Method and device for controlling brightness of camera fill-in light and terminal
CN106454077B (en) Shooting method, shooting device and terminal
CN106331504B (en) Shooting method and device
CN108288044B (en) Electronic device, face recognition method and related product
CN110418069B (en) Light supplementing control method, mobile terminal and computer readable storage medium
CN110958401B (en) Super night scene image color correction method and device and electronic equipment
CN109040589B (en) Image processing method, image processing device, storage medium and electronic equipment
CN108932696B (en) Signal lamp halo suppression method and device
CN113411498B (en) Image shooting method, mobile terminal and storage medium
KR20120022512A (en) Electronic camera, image processing apparatus, and image processing method
CN106791451B (en) Photographing method of intelligent terminal
CN113313626A (en) Image processing method, image processing device, electronic equipment and storage medium
CN112351197B (en) Shooting parameter adjusting method and device, storage medium and electronic equipment
CN108769538B (en) Automatic focusing method and device, storage medium and terminal
EP4297395A1 (en) Photographing exposure method and apparatus for self-walking device
CN114339060A (en) Exposure adjusting method and device, storage medium and electronic equipment
CN112565604A (en) Video recording method and device and electronic equipment
CN111567034A (en) Exposure compensation method, device and computer readable storage medium
CN111885371A (en) Image occlusion detection method and device, electronic equipment and computer readable medium
CN108833780B (en) Image parameter adjusting method, image parameter adjusting device and mobile terminal
CN114666497B (en) Imaging method, terminal device and storage medium
CN115633249A (en) Shooting method, shooting device, storage medium and electronic equipment
CN115037883A (en) Exposure parameter adjusting method and device, storage medium and electronic equipment

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