CN110022443B - Shooting parameter adjusting method and shooting terminal - Google Patents

Shooting parameter adjusting method and shooting terminal Download PDF

Info

Publication number
CN110022443B
CN110022443B CN201910301131.6A CN201910301131A CN110022443B CN 110022443 B CN110022443 B CN 110022443B CN 201910301131 A CN201910301131 A CN 201910301131A CN 110022443 B CN110022443 B CN 110022443B
Authority
CN
China
Prior art keywords
color temperature
value
light intensity
current
shooting
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.)
Expired - Fee Related
Application number
CN201910301131.6A
Other languages
Chinese (zh)
Other versions
CN110022443A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910301131.6A priority Critical patent/CN110022443B/en
Publication of CN110022443A publication Critical patent/CN110022443A/en
Application granted granted Critical
Publication of CN110022443B publication Critical patent/CN110022443B/en
Expired - Fee Related 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/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

The embodiment of the invention discloses a shooting parameter adjusting method and a shooting terminal. The shooting parameter adjusting method comprises the following steps: monitoring the current light intensity value and the current color temperature value of the shooting environment; acquiring a prestored light intensity adjusting value matched with the current light intensity value; acquiring a prestored color temperature adjusting value matched with the current color temperature value; adjusting the light intensity value of a flash lamp used for shooting by the camera according to the acquired light intensity adjusting value; and adjusting the color temperature value of a flash lamp used for shooting by the camera according to the acquired color temperature adjusting value. The technical scheme provided by the embodiment of the invention is beneficial to reducing the probability of the shot photo to appear bright and improving the quality of the shot photo.

Description

Shooting parameter adjusting method and shooting terminal
Technical Field
The invention relates to the technical field of shooting and photographing, in particular to a shooting parameter adjusting method and a shooting terminal.
Background
At present, taking pictures by using a user terminal such as a smart phone, a tablet computer or a digital camera is the most common mode of taking pictures in daily life. The existing photographing mechanism only has a light intensity value to adjust the light intensity when photographing, and practice shows that the light intensity is far from enough, and photos shot by the existing photographing mechanism are easy to explode, such as a group of white spots.
Disclosure of Invention
The embodiment of the invention provides a shooting parameter adjusting method and a shooting terminal, aiming at reducing the probability of the shot photo exposure and improving the quality of the shot photo.
A first aspect of an embodiment of the present invention provides a shooting parameter adjustment method, including:
monitoring the current light intensity value and the current color temperature value of the shooting environment;
acquiring a prestored light intensity adjusting value matched with the current light intensity value;
acquiring a prestored color temperature adjusting value matched with the current color temperature value;
adjusting the light intensity value of a flash lamp used by the camera for shooting according to the obtained light intensity adjusting value;
and adjusting the color temperature value of a flash lamp used for shooting by the camera according to the acquired color temperature adjusting value.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the obtaining a pre-stored light intensity adjustment value that matches the current light intensity value includes: and acquiring a prestored light intensity adjusting value matched with the current light intensity value under the condition that the current light intensity value is monitored to be smaller than the light intensity threshold value.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect,
the obtaining of the prestored light intensity adjusting value matched with the current light intensity value includes:
determining the light intensity grade to which the current light intensity value belongs, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs; or, calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect,
the acquiring of the pre-stored color temperature adjusting value matched with the current color temperature value comprises:
determining the color temperature grade to which the current color temperature value belongs, and acquiring a color temperature adjusting value which is recorded in a prestored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs; or, calculating a quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the adjusting a color temperature value of a flash used for shooting by a camera according to the obtained color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
With reference to the first aspect, the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the current color temperature value of the shooting environment is obtained by monitoring a color temperature sensor, where before the color temperature sensor monitors the current color temperature value of the shooting environment, the method further includes executing a color temperature sensor calibration method.
The color temperature sensor calibration method comprises the following steps: testing the color temperature value of the standard light source i by using a color temperature sensor of the shooting terminal for N times to obtain N tested color temperature values; calculating the color temperature error between the average value of the N test color temperature values and the standard color temperature value of the standard light source i;
correcting bottom noise of the color temperature sensor by using the color temperature error;
the color temperature values of P standard light sources are tested by the color temperature sensor after bottom noise correction to obtain P test color temperature values, a functional relation y ═ f (x) between the test color temperature values and the standard color temperature values is deduced by the P test color temperature values and the standard color temperature values of the P standard light sources, the P standard color temperature values and the P test color temperature values are in one-to-one correspondence, wherein the functional relation y ═ f (x) is used for correcting the color temperature values detected by the color temperature sensor of the shooting terminal in the shooting process of the shooting terminal, x represents the test color temperature values, y represents the standard color temperature values, and P and N are integers larger than 1.
Optionally, the test color temperature value j is an average value of k1 test color temperature values obtained by testing the color temperature value of the standard light source k for k1 times by using the color temperature sensor after bottom noise correction, where the standard light source k is any one of the P standard light sources, and the test color temperature value j is a test color temperature value corresponding to the standard light source k among the P test color temperature values.
Optionally, deriving a functional relationship y ═ f (x) between the test color temperature value and the standard color temperature value by using the P test color temperature values and the standard color temperature values of the P standard light sources, including:
mapping the P test color temperature values to a two-dimensional coordinate system to obtain P points, wherein an x axis of the two-dimensional coordinate system represents a test color temperature value, and a y axis of the two-dimensional coordinate system represents a standard color temperature value; fitting the P points to obtain a test line; and deriving a functional relationship y (x) between the test color temperature value and the standard color temperature value based on the test line.
Optionally, when P is equal to 2, the functional relationship y ═ f (x) is specifically a straight-line function y ═ ax + b; or, if P is equal to 3, the functional relationship y ═ f (x), in particular the curve function y ═ ax2+ bx + c; said a, said b and said c are constants.
Optionally, the standard color temperature values of the P standard light sources and the standard light source i are different from each other, or the color temperature grades to which the standard color temperature values of the P standard light sources and the standard light source i belong are different from each other.
Optionally, the standard color temperature value of the standard light source i is smaller than the standard color temperature value of any one of the P standard light sources, or the standard color temperature value of the standard light source i is larger than the standard color temperature value of any one of the P standard light sources; or the color temperature grade of the standard color temperature value of the standard light source i is higher than the color temperature grade of the standard color temperature value of any one standard light source in the P standard light sources; or the color temperature grade of the standard color temperature value of the standard light source i is lower than the color temperature grade of the standard color temperature value of any one standard light source in the P standard light sources; or the color temperature grade to which the standard color temperature value of the standard light source i belongs is higher than the color temperature grade to which the standard color temperature value of one of the P standard light sources belongs, and the color temperature grade to which the standard color temperature value of the standard light source i belongs is lower than the color temperature grade to which the standard color temperature value of another standard light source of the P standard light sources belongs; or the standard color temperature value of the standard light source i is greater than the standard color temperature value of one of the P standard light sources, and the standard color temperature value of the standard light source i is less than the standard color temperature value of another one of the P standard light sources.
A second aspect of an embodiment of the present invention provides a shooting terminal, including:
the monitoring unit is used for monitoring the current light intensity value and the current color temperature value of the shooting environment;
the first acquisition unit is used for acquiring a prestored light intensity adjusting value matched with the current light intensity value;
the second acquisition unit is used for acquiring a prestored color temperature adjusting value matched with the current color temperature value;
the first adjusting unit is used for adjusting the light intensity value of a flash lamp used for shooting by the camera according to the acquired light intensity adjusting value;
and the second adjusting unit is used for adjusting the color temperature value of a flash lamp used for shooting by the camera according to the acquired color temperature adjusting value.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the first adjusting unit is specifically configured to obtain a pre-stored light intensity adjusting value matching the current light intensity value if the current light intensity value is smaller than a light intensity threshold value.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first obtaining unit is specifically configured to determine a light intensity level to which the current light intensity value belongs, and obtain a light intensity adjustment value that is recorded in a pre-stored light intensity matching table and matches the light intensity level to which the current light intensity value belongs; or, calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
With reference to the second aspect or the first possible implementation manner of the second aspect or the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the second obtaining unit is specifically configured to determine a color temperature rank to which the current color temperature value belongs, and obtain a color temperature adjustment value that is recorded in a pre-stored color temperature matching table and matches the color temperature rank to which the current color temperature value belongs; or, calculating a quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
With reference to the second aspect or the first possible implementation manner of the second aspect or the second possible implementation manner of the second aspect or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the second adjusting unit is specifically configured to query a target current value matched with the color temperature adjusting value from a pre-stored matching table of current values and color temperature values, where the target current value includes a high color temperature light emitting diode target current value and a low color temperature light emitting diode target current value; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
A third aspect of the present invention provides a photographing terminal including:
the camera, the processor and the memory are coupled and interconnected through a bus; wherein, by executing the codes or instructions in the memory, the processor is used for monitoring the current light intensity value and the current color temperature value of the shooting environment; acquiring a prestored light intensity adjusting value matched with the current light intensity value; acquiring a prestored color temperature adjusting value matched with the current color temperature value; adjusting the light intensity value of a flash lamp used by the camera for shooting according to the obtained light intensity adjusting value; and adjusting the color temperature value of a flash lamp used for shooting by the camera according to the acquired color temperature adjusting value.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the processor obtaining a pre-stored light intensity adjustment value matching the current light intensity value includes: and acquiring a prestored light intensity adjusting value matched with the current light intensity value under the condition that the current light intensity value is monitored to be smaller than the light intensity threshold value.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the obtaining, by the processor, a pre-stored light intensity adjustment value that matches the current light intensity value includes: determining the light intensity grade to which the current light intensity value belongs, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs; or, calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
With reference to the third aspect or the first possible implementation manner of the third aspect or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the obtaining, by the processor, a color temperature adjustment value that matches the current color temperature value in advance includes: determining the color temperature grade to which the current color temperature value belongs, and acquiring a color temperature adjusting value which is recorded in a prestored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs; or, calculating a quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the adjusting, by the processor, the color temperature value of a flash used for shooting by the camera according to the acquired color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
It can be seen that, in the scheme of this embodiment, the current light intensity value and the current color temperature value of the shooting environment are monitored, and the light intensity value and the color temperature value of the flash lamp used for shooting by the camera are adjusted according to the monitored current light intensity value and the monitored current color temperature value of the shooting environment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of a shooting parameter adjustment method according to an embodiment of the present invention;
fig. 2-a is a schematic flow chart of another shooting parameter adjustment method provided by the embodiment of the invention;
FIGS. 2-b-2-d are diagrams of several mapping tables provided by embodiments of the present invention;
fig. 3-a is a schematic flow chart of another shooting parameter adjustment method provided by the embodiment of the invention;
3-b-3-c are diagrams of several mapping tables provided by embodiments of the present invention;
fig. 4 is a schematic flowchart of another shooting parameter adjustment method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another shooting parameter adjustment method according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a photographing terminal provided by the present invention;
fig. 7 is a schematic structural diagram of another shooting terminal provided by the invention.
Detailed Description
The embodiment of the invention provides a shooting parameter adjusting method and a shooting terminal, aiming at reducing the probability of the shot photo exposure and improving the quality of the shot photo.
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or 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. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
Referring to fig. 1, fig. 1 is a schematic flow chart of a shooting parameter adjustment method according to an embodiment of the present invention, and as shown in fig. 1 by way of example, a shooting parameter adjustment method according to an embodiment of the present invention may include:
101. the shooting terminal monitors the current light intensity value and the current color temperature value of the shooting environment.
The shooting terminal in the embodiment of the present invention may be a digital camera, a smart phone, an intelligent wearable device (such as a smart watch and a smart bracelet), or other various electronic devices with shooting functions, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the shooting terminal can monitor the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor. In particular, the shooting terminal can monitor the current color temperature value of the shooting environment where the shooting object is located through the color temperature sensor in the pre-flashing stage of the flash lamp of the shooting terminal. Because the flash lamp of the shooting terminal can be pre-flashed and then mainly flashed when the flash lamp is started for shooting, the practice finds that the shooting terminal can detect the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor at the pre-flashing stage of the flash lamp of the shooting terminal.
102. And the shooting terminal acquires a prestored light intensity adjusting value matched with the current light intensity value.
103. And the shooting terminal acquires a prestored color temperature adjusting value matched with the current color temperature value.
104. And the shooting terminal adjusts the light intensity value of a flash lamp used by the camera for shooting according to the acquired light intensity adjusting value.
105. And the shooting terminal adjusts the color temperature value of a flash lamp used by the camera for shooting according to the acquired color temperature adjusting value.
Optionally, in some possible embodiments of the present invention, obtaining a pre-stored light intensity adjustment value matching the current light intensity value may include: and acquiring a prestored light intensity adjusting value matched with the current light intensity value under the condition that the current light intensity value is monitored to be smaller than the light intensity threshold value.
It can be seen that, in the technical scheme of this embodiment, by monitoring the current light intensity value and the current color temperature value of the shooting environment and adjusting the light intensity value and the color temperature value of the flash lamp used for shooting by the camera according to the monitored current light intensity value and the monitored current color temperature value of the shooting environment, test practices find that, because the influence of the light intensity and the color temperature on shooting is considered at the same time, the probability of the shot photo with explosion is favorably reduced and the quality of the shot photo is improved by adaptively adjusting the light intensity value, the color temperature value and the like of the flash lamp used for shooting by the camera.
Optionally, in some possible embodiments of the present invention, the obtaining of the prestored light intensity adjustment value matching the current light intensity value includes: determining the light intensity grade to which the current light intensity value belongs, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs; or calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
For example, in the light intensity matching table, each light intensity level or quantized light intensity value may match a light intensity adjustment value, and different light intensity levels or quantized light intensity values may match different light intensity adjustment values.
Optionally, in some possible embodiments of the present invention, the obtaining of the pre-stored color temperature adjustment value matching the current color temperature value includes: determining the color temperature grade to which the current color temperature value belongs, and acquiring a color temperature adjusting value which is recorded in a prestored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs; or calculating the quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
For example, a color temperature matching table may be preset in the camera terminal according to experience values or test data, for example, in the color temperature matching table, each color temperature level or quantized color temperature value may match one color temperature adjustment value, and different color temperature levels or quantized color temperature values may match different color temperature adjustment values.
Optionally, in some possible embodiments of the present invention, adjusting a color temperature value of a flash used for shooting by a camera according to the obtained color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
For example, a matching table of current values and color temperature values may be preset in the shooting terminal according to empirical values or test data, and each color temperature value in the matching table may be matched with a high color temperature led current value and a low color temperature led current value at the same time. When the color temperature values are different, the current values of the high-color-temperature light-emitting diodes matched with the color temperature values are different, and the current values of the low-color-temperature light-emitting diodes matched with the color temperature values are also different.
Referring to fig. 2-a, fig. 2-a is a schematic flow chart of a shooting parameter adjustment method according to another embodiment of the present invention, as shown in fig. 2-a by way of example, a shooting parameter adjustment method according to another embodiment of the present invention may include:
201. the photographing terminal monitors the current light intensity value and the current color temperature value of the photographing environment, and executes step 202 and step 206.
The shooting terminal in the embodiment of the present invention may be a digital camera, a smart phone, an intelligent wearable device (such as a smart watch and a smart bracelet), or other various electronic devices with shooting functions, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the shooting terminal can monitor the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor. In particular, the shooting terminal can monitor the current color temperature value of the shooting environment where the shooting object is located through the color temperature sensor in the pre-flashing stage of the flash lamp of the shooting terminal. Because the flash lamp of the shooting terminal can be pre-flashed and then mainly flashed when the flash lamp is started for shooting, the practice finds that the shooting terminal can detect the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor at the pre-flashing stage of the flash lamp of the shooting terminal.
202. And the shooting terminal judges whether the current light intensity value exceeds a light intensity threshold value.
If yes, go to step 209. If not, go to step 203.
203. And the shooting terminal determines the light intensity level to which the current light intensity value belongs.
204. And the shooting terminal acquires a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs.
205. And the shooting terminal adjusts the light intensity value of a flash lamp used by the camera for shooting according to the acquired light intensity adjusting value.
For example, a light intensity matching table may be preset in the shooting terminal according to experience values or test data, for example, in the light intensity matching table, each light intensity level may match one light intensity adjustment value, and different light intensity levels may match different light intensity adjustment values. One possible representation of the light intensity matching table may be shown, for example, in fig. 2-b.
206. And the shooting terminal determines the color temperature grade to which the current color temperature value belongs.
207. And the shooting terminal acquires a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs.
For example, a color temperature matching table may be preset in the camera terminal according to experience values or test data, for example, in the color temperature matching table, each color temperature level may match one color temperature adjustment value, and different color temperature levels may match different color temperature adjustment values. One possible representation of the color temperature matching table may be shown, for example, in fig. 2-c.
208. And the shooting terminal adjusts the color temperature value of a flash lamp used by the camera for shooting according to the acquired color temperature adjusting value.
Optionally, in some possible embodiments of the present invention, adjusting a color temperature value of a flash used for shooting by a camera according to the obtained color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
For example, a matching table of current values and color temperature values may be preset in the shooting terminal according to empirical values or test data, and each color temperature value in the matching table may be matched with a high color temperature led current value and a low color temperature led current value at the same time. When the color temperature values are different, the current values of the high-color-temperature light-emitting diodes matched with the color temperature values are different, and the current values of the low-color-temperature light-emitting diodes matched with the color temperature values are also different. One possible expression of the matching table of current values and color temperature values can be shown in fig. 2-d, for example.
In the matching table of current values and color temperature values shown in fig. 2-d for example, each color temperature value can be matched with a high color temperature LED current value and a low color temperature LED current value at the same time; the current values of the high-color-temperature LEDs matched with different color temperature values are different, and the current values of the low-color-temperature LEDs matched with the different color temperature values are also different. For example, not only the high color temperature LED current value matched to color temperature value 3429 and the high color temperature LED current value matched to color temperature value 3190 are different, but also the low color temperature LED current value matched to color temperature value 3429 and the low color temperature LED current value matched to color temperature value 3190 are different.
For example, if the color temperature adjustment value is 3429 and the current color temperature value of the flash is 3190, the terminal can compare that the target color temperature value 3429 is higher than the current color temperature value 3190, and then the terminal can adjust the current of the high color temperature led of the flash turned on by the terminal to 0.1mA to 0.2mA, and adjust the current of the low color temperature led of the flash to 0.9mA to 0.8 mA.
209. The shooting terminal shoots the shot object.
It can be seen that, in the technical scheme of this embodiment, the light intensity value and the color temperature value of the flash lamp used for shooting by the camera are adjusted by monitoring the current light intensity value and the current color temperature value of the shooting environment and according to the monitored light intensity level to which the current light intensity value of the shooting environment belongs and the monitored color temperature level to which the current color temperature value belongs.
Referring to fig. 3-a, fig. 3-a is a schematic flow chart of a shooting parameter adjustment method according to another embodiment of the present invention, as shown in fig. 3-a by way of example, a shooting parameter adjustment method according to another embodiment of the present invention may include:
301. the shooting terminal monitors the current light intensity value and the current color temperature value of the shooting environment, and executes step 302 and step 306.
The shooting terminal in the embodiment of the present invention may be a digital camera, a smart phone, an intelligent wearable device (such as a smart watch and a smart bracelet), or other various electronic devices with shooting functions, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the shooting terminal can monitor the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor. In particular, the shooting terminal can monitor the current color temperature value of the shooting environment where the shooting object is located through the color temperature sensor in the pre-flashing stage of the flash lamp of the shooting terminal. Because the flash lamp of the shooting terminal can be pre-flashed and then mainly flashed when the flash lamp is started for shooting, the practice finds that the shooting terminal can detect the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor at the pre-flashing stage of the flash lamp of the shooting terminal.
302. And the shooting terminal judges whether the current light intensity value exceeds a light intensity threshold value.
If so, go to step 309. If not, go to step 303.
303. And the shooting terminal calculates the quantized light intensity value of the current light intensity value.
304. And the shooting terminal acquires a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value of the current light intensity value.
305. And the shooting terminal adjusts the light intensity value of a flash lamp used by the camera for shooting according to the acquired light intensity adjusting value.
For example, in the light intensity matching table, each quantized light intensity value may match a light intensity adjustment value, and different quantized light intensity values may match different light intensity adjustment values. One possible representation of the light intensity matching table may be shown, for example, in fig. 3-b.
306. And the shooting terminal calculates the quantized color temperature value of the current color temperature value.
307. And the shooting terminal acquires a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value of the current color temperature value.
For example, a color temperature matching table may be preset in the shooting terminal according to experience values or test data, for example, in the color temperature matching table, each quantized color temperature value may match one color temperature adjustment value, and different quantized color temperature values may match different color temperature adjustment values. One possible representation of the color temperature matching table may be shown, for example, in fig. 3-c.
308. And the shooting terminal adjusts the color temperature value of a flash lamp used by the camera for shooting according to the acquired color temperature adjusting value.
Optionally, in some possible embodiments of the present invention, adjusting a color temperature value of a flash used for shooting by a camera according to the obtained color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
For example, a matching table of current values and color temperature values may be preset in the shooting terminal according to empirical values or test data, and each color temperature value in the matching table may be matched with a high color temperature led current value and a low color temperature led current value at the same time. When the color temperature values are different, the current values of the high-color-temperature light-emitting diodes matched with the color temperature values are different, and the current values of the low-color-temperature light-emitting diodes matched with the color temperature values are also different. One possible expression of the matching table of current values and color temperature values can be shown in fig. 2-d, for example.
309. The shooting terminal shoots the shot object.
It can be seen that, in the technical scheme of this embodiment, the light intensity value and the color temperature value of the flash lamp used for shooting by the camera are adjusted by monitoring the current light intensity value and the current color temperature value of the shooting environment and according to the quantized light intensity value and the quantized color temperature value of the current light intensity value and the current color temperature value of the shooting environment, and test practices find that, due to the influence of the light intensity and the color temperature on shooting, which are considered at the same time, the light intensity value and the color temperature value of the flash lamp used for shooting by the camera are adjusted adaptively, which is beneficial to reducing the probability of occurrence of flare in the shot pictures and improving the quality of the shot pictures.
Referring to fig. 4, fig. 4 is a schematic flowchart of a shooting parameter adjustment method according to another embodiment of the present invention, and as shown in fig. 4 by way of example, a shooting parameter adjustment method according to another embodiment of the present invention may include:
401. the photographing terminal monitors the current light intensity value and the current color temperature value of the photographing environment and performs step 402 and step 406.
The shooting terminal in the embodiment of the present invention may be a digital camera, a smart phone, an intelligent wearable device (such as a smart watch and a smart bracelet), or other various electronic devices with shooting functions, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the shooting terminal can monitor the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor. In particular, the shooting terminal can monitor the current color temperature value of the shooting environment where the shooting object is located through the color temperature sensor in the pre-flashing stage of the flash lamp of the shooting terminal. Because the flash lamp of the shooting terminal can be pre-flashed and then mainly flashed when the flash lamp is started for shooting, the practice finds that the shooting terminal can detect the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor at the pre-flashing stage of the flash lamp of the shooting terminal.
402. And the shooting terminal judges whether the current light intensity value exceeds a light intensity threshold value.
If yes, go to step 409. Otherwise, go to step 403.
403. And the shooting terminal determines the light intensity level to which the current light intensity value belongs.
404. And the shooting terminal acquires a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs.
405. And the shooting terminal adjusts the light intensity value of a flash lamp used by the camera for shooting according to the acquired light intensity adjusting value.
For example, a light intensity matching table may be preset in the shooting terminal according to experience values or test data, for example, in the light intensity matching table, each light intensity level may match one light intensity adjustment value, and different light intensity levels may match different light intensity adjustment values. One possible representation of the light intensity matching table may be shown, for example, in fig. 2-b.
406. And the shooting terminal calculates the quantized color temperature value of the current color temperature value.
407. And the shooting terminal acquires a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value of the current color temperature value.
For example, a color temperature matching table may be preset in the shooting terminal according to experience values or test data, for example, in the color temperature matching table, each quantized color temperature value may match one color temperature adjustment value, and different quantized color temperature values may match different color temperature adjustment values. One possible representation of the color temperature matching table may be shown, for example, in fig. 3-c.
408. And the shooting terminal adjusts the color temperature value of a flash lamp used by the camera for shooting according to the acquired color temperature adjusting value.
Optionally, in some possible embodiments of the present invention, adjusting a color temperature value of a flash used for shooting by a camera according to the obtained color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
For example, a matching table of current values and color temperature values may be preset in the shooting terminal according to empirical values or test data, and each color temperature value in the matching table may be matched with a high color temperature led current value and a low color temperature led current value at the same time. When the color temperature values are different, the current values of the high-color-temperature light-emitting diodes matched with the color temperature values are different, and the current values of the low-color-temperature light-emitting diodes matched with the color temperature values are also different. One possible expression of the matching table of current values and color temperature values can be shown in fig. 2-d, for example.
409. The shooting terminal shoots the shot object.
It can be seen that, in the technical scheme of this embodiment, the light intensity value and the color temperature value of the flash lamp used for shooting by the camera are adjusted by monitoring the current light intensity value and the current color temperature value of the shooting environment and according to the monitored light intensity level to which the current light intensity value of the shooting environment belongs and the quantized color temperature value of the current color temperature value.
Referring to fig. 5, fig. 5 is a schematic flowchart of a shooting parameter adjustment method according to another embodiment of the present invention, and as shown in fig. 5 by way of example, a shooting parameter adjustment method according to another embodiment of the present invention may include:
501. the photographing terminal monitors the current light intensity value and the current color temperature value of the photographing environment and executes step 502 and step 506.
The shooting terminal in the embodiment of the present invention may be a digital camera, a smart phone, an intelligent wearable device (such as a smart watch and a smart bracelet), or other various electronic devices with shooting functions, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the shooting terminal can monitor the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor. In particular, the shooting terminal can monitor the current color temperature value of the shooting environment where the shooting object is located through the color temperature sensor in the pre-flashing stage of the flash lamp of the shooting terminal. Because the flash lamp of the shooting terminal can be pre-flashed and then mainly flashed when the flash lamp is started for shooting, the practice finds that the shooting terminal can detect the current color temperature value of the shooting environment where the shot object is located through the color temperature sensor at the pre-flashing stage of the flash lamp of the shooting terminal.
502. And the shooting terminal judges whether the current light intensity value exceeds a light intensity threshold value.
If so, go to step 509. If not, go to step 503.
503. And the shooting terminal calculates the quantized light intensity value of the current light intensity value.
504. And the shooting terminal acquires a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value of the current light intensity value.
505. And the shooting terminal adjusts the light intensity value of a flash lamp used by the camera for shooting according to the acquired light intensity adjusting value.
For example, in the light intensity matching table, each quantized light intensity value may match a light intensity adjustment value, and different quantized light intensity values may match different light intensity adjustment values. One possible representation of the light intensity matching table may be shown, for example, in fig. 3-b.
506. And the shooting terminal determines the color temperature grade to which the current color temperature value belongs.
507. And the shooting terminal acquires a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs.
For example, a color temperature matching table may be preset in the camera terminal according to experience values or test data, for example, in the color temperature matching table, each color temperature level may match one color temperature adjustment value, and different color temperature levels may match different color temperature adjustment values. One possible representation of the color temperature matching table may be shown, for example, in fig. 2-c.
508. And the shooting terminal adjusts the color temperature value of a flash lamp used by the camera for shooting according to the acquired color temperature adjusting value.
Optionally, in some possible embodiments of the present invention, adjusting a color temperature value of a flash used for shooting by a camera according to the obtained color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
For example, a matching table of current values and color temperature values may be preset in the shooting terminal according to empirical values or test data, and each color temperature value in the matching table may be matched with a high color temperature led current value and a low color temperature led current value at the same time. When the color temperature values are different, the current values of the high-color-temperature light-emitting diodes matched with the color temperature values are different, and the current values of the low-color-temperature light-emitting diodes matched with the color temperature values are also different. One possible expression of the matching table of current values and color temperature values can be shown in fig. 2-d, for example.
509. The shooting terminal shoots the shot object.
It can be seen that, in the technical scheme of this embodiment, the light intensity value and the color temperature value of the flash lamp used for shooting by the camera are adjusted by monitoring the current light intensity value and the current color temperature value of the shooting environment and according to the quantized light intensity value of the current light intensity value and the color temperature level to which the current color temperature value belongs of the monitored shooting environment, and test practices find that, because the influence of the light intensity and the color temperature on shooting is considered at the same time, the probability of explosion of the shot picture is favorably reduced by adaptively adjusting the light intensity value and the color temperature value of the flash lamp used for shooting by the camera, and the quality of the shot picture is improved.
Referring to fig. 6, an embodiment of the present invention further provides a shooting terminal 600, including:
a monitoring unit 610, a first obtaining unit 620, a second obtaining unit 630, a first adjusting unit 640 and a second adjusting unit 650.
The monitoring unit 610 is configured to monitor a current light intensity value and a current color temperature value of the shooting environment.
The first obtaining unit 620 is configured to obtain a pre-stored light intensity adjustment value matching the current light intensity value.
The second obtaining unit 630 is configured to obtain a pre-stored color temperature adjustment value that matches the current color temperature value.
And the first adjusting unit 640 is used for adjusting the light intensity value of a flash lamp used for shooting by the camera according to the acquired light intensity adjusting value.
And the second adjusting unit 650 is configured to adjust a color temperature value of a flash used by the camera for shooting according to the acquired color temperature adjustment value.
Optionally, in some possible embodiments of the present invention, the first obtaining unit 620 is configured to obtain a pre-stored light intensity adjustment value matching the current light intensity value if the current light intensity value is smaller than the light intensity threshold value.
Optionally, in some possible embodiments of the present invention, the first obtaining unit 620 is specifically configured to determine a light intensity level to which the current light intensity value belongs, and obtain a light intensity adjustment value that is recorded in a pre-stored light intensity matching table and matches the light intensity level to which the current light intensity value belongs; or, calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
Optionally, in some possible embodiments of the present invention, the second obtaining unit 620 is specifically configured to determine a color temperature class to which the current color temperature value belongs, and obtain a color temperature adjustment value, recorded in a pre-stored color temperature matching table, that matches the color temperature class to which the current color temperature value belongs; or, calculating a quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
Optionally, in some possible embodiments of the present invention, the second adjusting unit 650 is specifically configured to query a target current value matched with the color temperature adjusting value from a pre-stored matching table of current values and color temperature values, where the target current value includes a high color temperature light emitting diode target current value and a low color temperature light emitting diode target current value; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
It can be understood that the functions of the functional modules of the shooting terminal 600 in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the technical scheme of this embodiment, the shooting terminal 600 adjusts the light intensity value and the color temperature value of the flash lamp used for shooting by the camera according to the monitored current light intensity value and the monitored current color temperature value of the shooting environment, and the test practice finds that, because the influence of the light intensity and the color temperature on the shooting is considered at the same time, the probability of the shot photo with explosion is favorably reduced by adaptively adjusting the light intensity value and the color temperature value of the flash lamp used for shooting by the camera, and the quality of the shot photo is improved.
Referring to fig. 7, fig. 7 is a schematic diagram of a photographing terminal 700 according to an embodiment of the present invention,
the photographing terminal 700 may include at least 1 bus 701, at least 1 processor 702 coupled to the bus 701, at least 1 memory 703 coupled to the bus 701, and at least 1 camera 704 coupled to the bus 701.
The processor 702 mainly controls the operation of the photographing terminal 700, wherein the processor 702 may also be referred to as a Central Processing Unit (CPU). Memory 703 may include both read-only memory and random-access memory, and provides instructions and data to processor 702. A portion of the memory 703 may also include non-volatile random access memory (NVRAM). In a specific application, the various components of the camera terminal 700 are coupled together by a bus 701, wherein the bus 701 may include a power bus, a control bus, a status signal bus, and the like, in addition to a data bus. But for clarity of illustration the various busses are labeled as busses 701 in the drawings.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 702 or implemented by the processor 702. The processor 702 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 702. The processor 702 described above may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 703, and for example, the processor 702 may read information in the memory 703 and complete the steps of the method in combination with hardware thereof.
For example, the processor 702 may be configured to execute the shooting parameter adjustment method provided by the above-described embodiment of the present invention by executing codes or instructions in the memory. Specifically, the processor 702 is configured to monitor a current light intensity value and a current color temperature value of the shooting environment; acquiring a prestored light intensity adjusting value matched with the current light intensity value; acquiring a prestored color temperature adjusting value matched with the current color temperature value; adjusting the light intensity value of a flash lamp used by the camera for shooting according to the obtained light intensity adjusting value; and adjusting the color temperature value of a flash lamp used for shooting by the camera according to the acquired color temperature adjusting value.
Optionally, in some possible embodiments of the present invention, the obtaining, by the processor 702, a prestored light intensity adjustment value matching the current light intensity value may include: and acquiring a prestored light intensity adjusting value matched with the current light intensity value under the condition that the current light intensity value is monitored to be smaller than the light intensity threshold value.
Optionally, in some possible embodiments of the present invention, the processor 702 obtaining the prestored light intensity adjustment value matching the current light intensity value includes: determining the light intensity grade to which the current light intensity value belongs, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs; or calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
For example, in the light intensity matching table, each light intensity level or quantized light intensity value may match a light intensity adjustment value, and different light intensity levels or quantized light intensity values may match different light intensity adjustment values.
Optionally, in some possible embodiments of the present invention, the obtaining, by the processor 702, a pre-stored color temperature adjustment value matching the current color temperature value includes: determining the color temperature grade to which the current color temperature value belongs, and acquiring a color temperature adjusting value which is recorded in a prestored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs; or calculating the quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
For example, a color temperature matching table may be preset in the camera terminal according to experience values or test data, for example, in the color temperature matching table, each color temperature level or quantized color temperature value may match one color temperature adjustment value, and different color temperature levels or quantized color temperature values may match different color temperature adjustment values.
Optionally, in some possible embodiments of the present invention, the adjusting, by the processor 702, the color temperature value of a flash used for shooting by the camera according to the acquired color temperature adjustment value includes: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
For example, a matching table of current values and color temperature values may be preset in the shooting terminal according to empirical values or test data, and each color temperature value in the matching table may be matched with a high color temperature led current value and a low color temperature led current value at the same time. When the color temperature values are different, the current values of the high-color-temperature light-emitting diodes matched with the color temperature values are different, and the current values of the low-color-temperature light-emitting diodes matched with the color temperature values are also different.
It can be understood that the functions of the functional modules of the shooting terminal 700 in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
It can be seen that, in the technical scheme of this embodiment, the shooting terminal 700 adjusts the light intensity value and the color temperature value of the flash lamp used for shooting by the camera according to the monitored current light intensity value and the monitored current color temperature value of the shooting environment, and the test practice finds that, because the influence of the light intensity and the color temperature on the shooting is considered at the same time, the probability of the shot photo with explosion is favorably reduced by adaptively adjusting the light intensity value and the color temperature value of the flash lamp used for shooting by the camera, and the quality of the shot photo is improved.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program includes, when executed, some or all of the steps of any one of the shooting parameter adjustment methods described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A shooting parameter adjustment method is characterized by comprising the following steps:
monitoring the current light intensity value and the current color temperature value of the shooting environment;
acquiring a prestored light intensity adjusting value matched with the current light intensity value;
acquiring a prestored color temperature adjusting value matched with the current color temperature value;
adjusting the light intensity value of a flash lamp used by the camera for shooting according to the obtained light intensity adjusting value;
adjusting the color temperature value of a flash lamp used for shooting by a camera according to the acquired color temperature adjusting value;
before the current color temperature value of the shooting environment is obtained by monitoring with the color temperature sensor, the method further comprises executing a color temperature sensor calibration method;
the color temperature sensor calibration method comprises the following steps: testing the color temperature value of the standard light source i by using a color temperature sensor of the shooting terminal for N times to obtain N tested color temperature values; calculating the color temperature error between the average value of the N test color temperature values and the standard color temperature value of the standard light source i;
correcting bottom noise of the color temperature sensor by using the color temperature error;
the color temperature values of P standard light sources are tested by the color temperature sensor after bottom noise correction to obtain P test color temperature values, a functional relation y ═ f (x) between the test color temperature values and the standard color temperature values is deduced by the P test color temperature values and the standard color temperature values of the P standard light sources, the P standard color temperature values and the P test color temperature values are in one-to-one correspondence, wherein the functional relation y ═ f (x) is used for correcting the color temperature values detected by the color temperature sensor of the shooting terminal in the shooting process of the shooting terminal, x represents the test color temperature values, y represents the standard color temperature values, and P and N are integers larger than 1.
2. The method of claim 1, wherein said obtaining a prestored light intensity adjustment value that matches the current light intensity value comprises: and acquiring a prestored light intensity adjusting value matched with the current light intensity value under the condition that the current light intensity value is monitored to be smaller than the light intensity threshold value.
3. The method of claim 2,
the obtaining of the prestored light intensity adjusting value matched with the current light intensity value includes:
determining the light intensity grade to which the current light intensity value belongs, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the light intensity grade to which the current light intensity value belongs; or, calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
4. The method according to any one of claims 1 to 3,
the acquiring of the pre-stored color temperature adjusting value matched with the current color temperature value comprises:
determining the color temperature grade to which the current color temperature value belongs, and acquiring a color temperature adjusting value which is recorded in a prestored color temperature matching table and is matched with the color temperature grade to which the current color temperature value belongs; or, calculating a quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
5. The method according to any one of claims 1 to 4, wherein adjusting the color temperature value of a flash used for shooting by a camera according to the acquired color temperature adjustment value comprises: inquiring a target current value matched with the color temperature regulating value from a prestored matching table of the current value and the color temperature value, wherein the target current value comprises a target current value of a high-color-temperature light-emitting diode and a target current value of a low-color-temperature light-emitting diode; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
6. A photographing terminal, comprising:
the monitoring unit is used for monitoring the current light intensity value and the current color temperature value of the shooting environment;
the first acquisition unit is used for acquiring a prestored light intensity adjusting value matched with the current light intensity value;
the second acquisition unit is used for acquiring a prestored color temperature adjusting value matched with the current color temperature value;
the first adjusting unit is used for adjusting the light intensity value of a flash lamp used for shooting by the camera according to the acquired light intensity adjusting value;
the second adjusting unit is used for adjusting the color temperature value of a flash lamp used for shooting by the camera according to the acquired color temperature adjusting value;
before the current color temperature value of the shooting environment is obtained by monitoring with a color temperature sensor, a color temperature sensor calibration method is also executed;
the color temperature sensor calibration method comprises the following steps: testing the color temperature value of the standard light source i by using a color temperature sensor of the shooting terminal for N times to obtain N tested color temperature values; calculating the color temperature error between the average value of the N test color temperature values and the standard color temperature value of the standard light source i;
correcting bottom noise of the color temperature sensor by using the color temperature error;
the color temperature values of P standard light sources are tested by the color temperature sensor after bottom noise correction to obtain P test color temperature values, a functional relation y ═ f (x) between the test color temperature values and the standard color temperature values is deduced by the P test color temperature values and the standard color temperature values of the P standard light sources, the P standard color temperature values and the P test color temperature values are in one-to-one correspondence, wherein the functional relation y ═ f (x) is used for correcting the color temperature values detected by the color temperature sensor of the shooting terminal in the shooting process of the shooting terminal, x represents the test color temperature values, y represents the standard color temperature values, and P and N are integers larger than 1.
7. The shooting terminal of claim 6, wherein the first adjusting unit is specifically configured to obtain a pre-stored light intensity adjusting value matching the current light intensity value if the current light intensity value is smaller than a light intensity threshold value.
8. The shooting terminal according to claim 7, wherein the first obtaining unit is specifically configured to determine a light intensity level to which the current light intensity value belongs, and obtain a light intensity adjustment value that is recorded in a pre-stored light intensity matching table and matches the light intensity level to which the current light intensity value belongs; or, calculating the quantized light intensity value of the current light intensity value, and acquiring a light intensity adjusting value which is recorded in a prestored light intensity matching table and is matched with the quantized light intensity value.
9. The camera terminal according to any one of claims 6 to 8, wherein the second obtaining unit is specifically configured to determine a color temperature class to which the current color temperature value belongs, and obtain a color temperature adjustment value that is recorded in a pre-stored color temperature matching table and matches the color temperature class to which the current color temperature value belongs; or, calculating a quantized color temperature value of the current color temperature value, and acquiring a color temperature adjusting value which is recorded in a pre-stored color temperature matching table and is matched with the quantized color temperature value.
10. The camera terminal according to any one of claims 6 to 9, wherein the second adjusting unit is specifically configured to query a target current value matching the color temperature adjusting value from a pre-stored matching table of current values and color temperature values, where the target current value includes a high color temperature light emitting diode target current value and a low color temperature light emitting diode target current value; and adjusting the current value of the high-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the high-color-temperature light-emitting diode, and adjusting the current value of the low-color-temperature light-emitting diode of the flash lamp used for shooting by the camera to the inquired target current value of the low-color-temperature light-emitting diode, so as to adjust the color temperature value of the flash lamp used for shooting by the camera.
11. A photographing terminal, comprising: the camera, the processor and the memory are coupled and interconnected through a bus;
wherein the processor is configured to perform the method of any one of claims 1 to 5 by executing code or instructions in the memory.
12. A computer storage medium comprising, in combination,
the computer storage medium stores a program that, when executed, implements the method of any one of claims 1 to 5.
CN201910301131.6A 2016-01-11 2016-01-11 Shooting parameter adjusting method and shooting terminal Expired - Fee Related CN110022443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910301131.6A CN110022443B (en) 2016-01-11 2016-01-11 Shooting parameter adjusting method and shooting terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910301131.6A CN110022443B (en) 2016-01-11 2016-01-11 Shooting parameter adjusting method and shooting terminal
CN201610019465.0A CN105530436B (en) 2016-01-11 2016-01-11 Acquisition parameters adjusting method and camera terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610019465.0A Division CN105530436B (en) 2016-01-11 2016-01-11 Acquisition parameters adjusting method and camera terminal

Publications (2)

Publication Number Publication Date
CN110022443A CN110022443A (en) 2019-07-16
CN110022443B true CN110022443B (en) 2021-01-15

Family

ID=55772384

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610019465.0A Expired - Fee Related CN105530436B (en) 2016-01-11 2016-01-11 Acquisition parameters adjusting method and camera terminal
CN201910301131.6A Expired - Fee Related CN110022443B (en) 2016-01-11 2016-01-11 Shooting parameter adjusting method and shooting terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610019465.0A Expired - Fee Related CN105530436B (en) 2016-01-11 2016-01-11 Acquisition parameters adjusting method and camera terminal

Country Status (1)

Country Link
CN (2) CN105530436B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412449A (en) * 2016-05-19 2017-02-15 深圳天珑无线科技有限公司 Method for shooting light supplement and equipment
CN106370398B (en) * 2016-09-23 2019-02-22 北京小米移动软件有限公司 Flash lamp acceptance method and device
US10154256B1 (en) * 2017-06-13 2018-12-11 Qualcomm Incorporated Flash color calibration
CN107734318A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 A kind of color conditioning method, terminal and computer-readable recording medium
CN107613222B (en) * 2017-10-31 2020-10-16 努比亚技术有限公司 Light supplement adjusting method of terminal, terminal and computer readable storage medium
CN108156391A (en) * 2017-12-28 2018-06-12 上海传英信息技术有限公司 The brightness adjusting method and terminal of flash lamp
CN110113538B (en) * 2019-06-12 2021-07-16 北京百度网讯科技有限公司 Intelligent shooting equipment, intelligent control method and device
CN111246173A (en) * 2020-01-20 2020-06-05 北京云端文化传媒股份有限公司 Self-adaptive adjusting system for photographic studio
CN111277699B (en) * 2020-03-25 2021-08-17 Oppo(重庆)智能科技有限公司 Flash lamp color temperature calibration method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN201450532U (en) * 2009-06-04 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Movable terminal
CN104834152A (en) * 2014-02-08 2015-08-12 深圳富泰宏精密工业有限公司 System and method of controlling camera flash lamp shooting
CN104967776A (en) * 2015-06-11 2015-10-07 广东欧珀移动通信有限公司 Photographing setting method and user terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2771851C (en) * 2011-04-12 2018-07-24 Research In Motion Limited Camera flash for improved color balance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815341A (en) * 2005-02-06 2006-08-09 亚洲光学股份有限公司 Method and system for automatically adjusting flash strength for camera
CN201450532U (en) * 2009-06-04 2010-05-05 宇龙计算机通信科技(深圳)有限公司 Movable terminal
CN104834152A (en) * 2014-02-08 2015-08-12 深圳富泰宏精密工业有限公司 System and method of controlling camera flash lamp shooting
CN104967776A (en) * 2015-06-11 2015-10-07 广东欧珀移动通信有限公司 Photographing setting method and user terminal

Also Published As

Publication number Publication date
CN105530436A (en) 2016-04-27
CN110022443A (en) 2019-07-16
CN105530436B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN110022443B (en) Shooting parameter adjusting method and shooting terminal
US9628687B2 (en) Electronic device and method for controlling flash
CN108805103B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN108805198B (en) Image processing method, image processing device, computer-readable storage medium and electronic equipment
US8675091B2 (en) Image data processing with multiple cameras
RU2428811C2 (en) Photographic camera and method realised by photographic camera
KR102281256B1 (en) Method for controlling white balance and an electronic device thereof
CN108234971B (en) White balance parameter determines method, white balance adjustment method and device, storage medium, terminal
CN105721845B (en) For the auto white balance system of Electrofax
US10313601B2 (en) Image capturing device and brightness adjusting method
BR102014028583A2 (en) image processing using reference images
CN111277699B (en) Flash lamp color temperature calibration method and device, electronic equipment and readable storage medium
CN113329550A (en) Method and device for controlling illumination of real-time environment of lamp, terminal equipment and medium
CN110648296B (en) Pupil color correction method, correction device, terminal device and storage medium
CN113177438B (en) Image processing method, device and storage medium
CN108093183B (en) Camera day and night mode switching method and terminal equipment
US20140307153A1 (en) Electronic device and method for adjusting photographic lamp
CN110956679A (en) Image processing method and device, electronic equipment and computer readable storage medium
US9774839B2 (en) Systems and methods for color correction of images captured using a mobile computing device
CN106713775A (en) Method and apparatus for shooting based on mobile device
CN113545028A (en) Gain control for face authentication
CN105763861A (en) Automatic white balance system for electronic cameras
CN109447927B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN109461201B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN113793291B (en) Image fusion method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210115

CF01 Termination of patent right due to non-payment of annual fee