CN104767984A - Method and terminal for adjusting color temperature of flash light - Google Patents
Method and terminal for adjusting color temperature of flash light Download PDFInfo
- Publication number
- CN104767984A CN104767984A CN201510134848.8A CN201510134848A CN104767984A CN 104767984 A CN104767984 A CN 104767984A CN 201510134848 A CN201510134848 A CN 201510134848A CN 104767984 A CN104767984 A CN 104767984A
- Authority
- CN
- China
- Prior art keywords
- color temperature
- flashlight
- value
- preview image
- temperature threshold
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000013507 mapping Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 14
- 238000012795 verification Methods 0.000 description 41
- 230000004913 activation Effects 0.000 description 11
- 230000008859 change Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 210000001525 retina Anatomy 0.000 description 6
- 239000003086 colorant Substances 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical compound [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 4
- 229910052721 tungsten Inorganic materials 0.000 description 4
- 239000010937 tungsten Substances 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 231100000289 photo-effect Toxicity 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- 235000017848 Rubus fruticosus Nutrition 0.000 description 1
- 244000078534 Vaccinium myrtillus Species 0.000 description 1
- 235000021029 blackberry Nutrition 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Color Television Image Signal Generators (AREA)
Abstract
本发明实施例公开了一种闪光灯色温调节方法及终端。其中,该方法包括:在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值;若获取到的所述色温值介于高色温阈值和低色温阈值之间,调节闪光灯为中色温闪光灯,其中,所述高色温阈值大于所述低色温阈值,并且所述中色温闪光灯的色温值介于所述高色温阈值和所述低色温阈值之间。实施本发明实施例可以调节闪光灯的色温,提高拍照效果。
The embodiment of the invention discloses a method for adjusting the color temperature of a flash lamp and a terminal. Wherein, the method includes: in the photographing mode, when the flash is turned on, acquiring the color temperature value of the current light environment of the preview image; if the acquired color temperature value is between the high color temperature threshold and the low color temperature threshold, adjusting the flash It is a medium color temperature flashlight, wherein the high color temperature threshold is greater than the low color temperature threshold, and the color temperature of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold. The implementation of the embodiment of the present invention can adjust the color temperature of the flashlight and improve the photographing effect.
Description
技术领域technical field
本发明涉及智能终端技术领域,尤其涉及一种闪光灯色温调节方法及终端。The present invention relates to the technical field of intelligent terminals, in particular to a method for adjusting the color temperature of a flashlight and a terminal.
背景技术Background technique
随着终端的拍照配置越来越高,用户越来越喜欢使用终端来拍照,其中,拍照配置中的闪光灯,是拍照必不可少的关键配置,在环境光线强度不足的情况下,用户可以使用闪光灯来辅助拍照,以获得较好的拍照效果。目前,最常见的闪光灯为高色温闪光灯。实践中发现,高色温闪光灯在高色温场景下可以拍摄出较好的效果,但是,当高色温闪光灯处于低色温场景下时,拍照出来的照片要么部分区域偏蓝,要么部分区域偏红,这是因为高色温闪光灯在低色温场景下时,相当于一个混合光源,该混合光源无法模拟出当前拍照场景的光环境,以致拍照效果不好。As the camera configuration of the terminal is getting higher and higher, users are more and more fond of using the terminal to take pictures. Among them, the flashlight in the camera configuration is an essential key configuration for taking pictures. When the ambient light intensity is insufficient, the user can use The flash is used to assist in taking pictures to obtain better photo effects. Currently, the most common flash is a high color temperature flash. In practice, it has been found that high color temperature flash can produce better results in high color temperature scenes, but when the high color temperature flash is in low color temperature scenes, the photos taken are either blue in some areas or red in some areas. It is because the high color temperature flash is equivalent to a mixed light source when it is in a low color temperature scene. This mixed light source cannot simulate the light environment of the current shooting scene, so that the photo effect is not good.
发明内容Contents of the invention
本发明实施例提供了一种闪光灯色温调节方法及终端,可以调节闪光灯的色温,提高拍照效果。Embodiments of the present invention provide a method for adjusting the color temperature of a flashlight and a terminal, which can adjust the color temperature of the flashlight and improve the photographing effect.
本发明实施例第一方面公开了一种闪光灯色温调节方法,包括:The first aspect of the embodiment of the present invention discloses a method for adjusting the color temperature of a flashlight, including:
在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值;In photo mode, when the flash is on, get the color temperature value of the current light environment of the preview image;
若获取到的所述色温值介于高色温阈值和低色温阈值之间,调节闪光灯为中色温闪光灯,其中,所述高色温阈值大于所述低色温阈值,并且所述中色温闪光灯的色温值介于所述高色温阈值和所述低色温阈值之间。If the obtained color temperature value is between the high color temperature threshold and the low color temperature threshold, adjust the flashlight to be a medium color temperature flashlight, wherein the high color temperature threshold is greater than the low color temperature threshold, and the color temperature value of the medium color temperature flashlight between the high color temperature threshold and the low color temperature threshold.
本发明实施例第二方面公开了一种终端,包括:The second aspect of the embodiment of the present invention discloses a terminal, including:
获取单元,用于在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值;The acquiring unit is used to acquire the color temperature value of the current light environment of the preview image when the flash is turned on in the photographing mode;
调节单元,用于当所述获取单元获取到的所述色温值介于高色温阈值和低色温阈值之间时,调节闪光灯为中色温闪光灯,其中,所述高色温阈值大于所述低色温阈值,并且所述中色温闪光灯的色温值介于所述高色温阈值和所述低色温阈值之间。An adjustment unit, configured to adjust the flashlight to be a medium color temperature flashlight when the color temperature value acquired by the acquisition unit is between a high color temperature threshold and a low color temperature threshold, wherein the high color temperature threshold is greater than the low color temperature threshold , and the color temperature value of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold.
本发明实施例中,终端在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值,当获取到的色温值介于高色温阈值和低色温阈值之间时,终端调节闪光灯为中色温闪光灯,其中,该高色温阈值大于该低色温阈值,并且中色温闪光灯的色温值介于该高色温阈值和该低色温阈值之间。通过本发明实施例,当预览图像当前光环境的色温为正常色温时,终端可以调节闪光灯为中色温闪光灯,以使闪光灯的色温与当前光环境的色温保持一致,从而可以提高拍照效果。In the embodiment of the present invention, when the terminal is in the photographing mode, when the flashlight is turned on, it acquires the color temperature value of the current light environment of the preview image, and when the acquired color temperature value is between the high color temperature threshold and the low color temperature threshold, the terminal adjusts the The flashlight is a medium color temperature flashlight, wherein the high color temperature threshold is greater than the low color temperature threshold, and the color temperature of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold. Through the embodiment of the present invention, when the color temperature of the current light environment of the preview image is a normal color temperature, the terminal can adjust the flashlight to a medium color temperature flashlight, so that the color temperature of the flashlight is consistent with the color temperature of the current light environment, thereby improving the photographing effect.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例公开的一种闪光灯色温调节方法的流程示意图;Fig. 1 is a schematic flowchart of a method for adjusting the color temperature of a flashlight disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种闪光灯色温调节方法的流程示意图;Fig. 2 is a schematic flowchart of another method for adjusting the color temperature of a flashlight disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种闪光灯色温调节方法的流程示意图;Fig. 3 is a schematic flowchart of another method for adjusting the color temperature of a flashlight disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种终端的结构示意图;FIG. 5 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种终端的结构示意图。Fig. 6 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种闪光灯色温调节方法及终端,可以调节闪光灯的色温,提高拍照效果。以下分别进行详细说明。The embodiment of the invention discloses a method for adjusting the color temperature of a flashlight and a terminal, which can adjust the color temperature of the flashlight and improve the photographing effect. Each will be described in detail below.
本发明实施例中,终端可以包括任何具有闪光灯配置的拍照终端,如智能手机、平板电脑、笔记本电脑、掌上电脑等等终端。其中,该终端的操作系统可以包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows Phone8操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the terminal may include any camera terminal equipped with a flashlight, such as a smart phone, a tablet computer, a notebook computer, a palmtop computer, and the like. Wherein, the operating system of the terminal may include but not limited to Android operating system, IOS operating system, Symbian (Symbian) operating system, Black Berry (Blackberry) operating system, Windows Phone8 operating system, etc., which are not limited by the embodiments of the present invention .
请参见图1,图1是本发明实施例公开的一种闪光灯色温调节方法的流程示意图。如图1所示,该方法可以包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for adjusting the color temperature of a flashlight disclosed in an embodiment of the present invention. As shown in Figure 1, the method may include the following steps:
S101、在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值。S101. In the photographing mode, when the flash is turned on, acquire the color temperature value of the current light environment of the preview image.
本发明实施例中,色温为光发出的颜色,即光源光谱成份的颜色。色温的单位用(K)表示,当光线的颜色偏青、蓝或蓝紫色时,通常称它为高色温,当光线的颜色偏红、橙、黄色时,通常称它为低色温,当光线的颜色是白色时,通常称它为正常色温(即中色温),其中,任何一种色彩只有在白色的光线照射下才能得到自身的正常颜色。In the embodiment of the present invention, the color temperature is the color of the light emitted, that is, the color of the spectral components of the light source. The unit of color temperature is represented by (K). When the color of light is blue, blue or blue-purple, it is usually called high color temperature. When the color of light is red, orange, or yellow, it is usually called low color temperature. When the color is white, it is usually called normal color temperature (that is, medium color temperature). Among them, any color can only get its own normal color when it is irradiated by white light.
通常,高色温的色温值一般不小于5000K,低色温的色温值一般不大于3100K,中色温的色温值介于3100K与5000K之间。Generally, the color temperature value of high color temperature is generally not less than 5000K, the color temperature value of low color temperature is generally not greater than 3100K, and the color temperature value of medium color temperature is between 3100K and 5000K.
作为一种可选的实施方式,步骤S101的具体实现方式可以包括以下步骤:As an optional implementation manner, the specific implementation manner of step S101 may include the following steps:
11)获取预览图像当前光环境的RGB值;11) Obtain the RGB value of the current light environment of the preview image;
12)确定所述预览图像当前光环境的RGB值对应的色温值。12) Determine the color temperature value corresponding to the RGB value of the current light environment of the preview image.
在该实施方式中,终端可以通过特定算法(如白平衡算法)计算出预览图像当前光环境的RGB(红、绿、蓝)值,并进一步通过该RGB值,确定预览图像当前光环境的RGB值对应的色温值。其中,该RGB(红、绿、蓝)值各有256级亮度,用数字表示为从0、1、2......255,任何光源的颜色都可以由这三种色光按照不同的比例混合而成。In this embodiment, the terminal can calculate the RGB (red, green, blue) value of the current light environment of the preview image through a specific algorithm (such as a white balance algorithm), and further determine the RGB value of the current light environment of the preview image through the RGB value. The value corresponds to the color temperature value. Among them, the RGB (red, green, blue) values each have 256 levels of brightness, expressed as numbers from 0, 1, 2...255, the color of any light source can be determined by these three colors according to different Mixed proportions.
作为另一种可选的实施方式,上述步骤12)的具体实现方式可以为:As another optional implementation, the specific implementation of the above step 12) may be:
根据预先获取的RGB与色温的映射关系,从所述映射关系中选择所述预览图像当前光环境的RGB值对应的色温值。According to the pre-acquired mapping relationship between RGB and color temperature, select the color temperature value corresponding to the RGB value of the current light environment of the preview image from the mapping relationship.
在该实施例中,上述映射关系可以预先通过实验计算出来,也可以通过用户输入的操作指令生成的,本发明实施例不作限定。In this embodiment, the foregoing mapping relationship may be calculated in advance through experiments, or may be generated through an operation instruction input by a user, which is not limited in this embodiment of the present invention.
作为另一种可选的实施方式,上述步骤12)的具体实现方式可以为:As another optional implementation, the specific implementation of the above step 12) may be:
通过白平衡算法,计算所述预览图像当前光环境的RGB值对应的色温值。Calculate the color temperature value corresponding to the RGB value of the current light environment of the preview image through a white balance algorithm.
在该实施例中,白平衡是描述红、绿、蓝三基色混合生成后白色精确度的一项指标,而白平衡算法可以用来解决色彩还原和色调处理的一系列问题。白平衡常用的算法可以包括但不限于灰色世界法、完美反色法以及基于自动阈值处理白平衡的算法等等。In this embodiment, the white balance is an index describing the white accuracy after the three primary colors of red, green and blue are mixed, and the white balance algorithm can be used to solve a series of problems of color restoration and tone processing. Algorithms commonly used for white balance may include, but are not limited to, the gray world method, the perfect inverse color method, and algorithms for white balance based on automatic threshold processing.
作为一种可选的实施方式,在步骤S101之前,所述方法还可以包括以下步骤:As an optional implementation manner, before step S101, the method may further include the following steps:
21)接收拍照模式开启指令;21) Receive an instruction to start the camera mode;
22)响应拍照模式开启指令,开启拍照模式。22) Respond to the command to start the camera mode, and start the camera mode.
在该实施例中,该拍照模式开启指令可以是接收用户输入的拍照模式开启指令,比如:用户点击终端的拍照模式开启按钮,或者,上述拍照模式开启指令可以是终端自动生成的拍照模式开启指令,比如:在特定时间自动进入拍照模式的拍照模式开启指令。In this embodiment, the photographing mode activation command may be a photographing mode activation command input by the user, for example, the user clicks the photographing mode activation button of the terminal, or the above-mentioned photographing mode activation command may be a photographing mode activation command automatically generated by the terminal , for example: an instruction to start the camera mode that automatically enters the camera mode at a specific time.
作为另一种可选的实施方式,上述步骤21)和步骤22)的具体实施方式可包括以下步骤:As another optional implementation, the specific implementation of the above step 21) and step 22) may include the following steps:
21)接收拍照模式开启指令;21) Receive an instruction to start the camera mode;
22)输出提示信息,该提示信息用于提示输入待验证信息;22) Output prompt information, which is used to prompt input of information to be verified;
23)接收响应该提示信息输入的待验证信息;23) receiving the information to be verified inputted in response to the prompt information;
24)验证该待验证信息是否与预先设置的预设验证信息一致;24) Verifying whether the information to be verified is consistent with the preset verification information set in advance;
25)若验证该待验证信息与预设验证信息一致,则响应该拍照模式开启指令,开启拍照模式。25) If it is verified that the information to be verified is consistent with the preset verification information, responding to the command to enable the photographing mode and enabling the photographing mode.
在该实施例中,在终端接收到拍照模式开启指令之后,终端将输出用于提示输入待验证信息的提示信息;并且终端可以输出用于输入待验证信息的待验证信息输入口。In this embodiment, after the terminal receives the command to enable the photographing mode, the terminal will output prompt information for prompting input of information to be verified; and the terminal may output an information input port for input of information to be verified.
在该实施方式中,该待验证信息可包括但不限于待验证密码、待验证指纹信息、待验证脸形信息、待验证虹膜信息、待验证视网膜信息以及待验证声纹信息中的任意一种或几种的组合。In this embodiment, the information to be verified may include but not limited to password to be verified, fingerprint information to be verified, face shape information to be verified, iris information to be verified, retina information to be verified, and voiceprint information to be verified. Several combinations.
在该实施方式中,该预先设置的预设验证信息可包括但不限于预设验证密码、预设验证指纹信息、预设验证脸形信息、预设验证虹膜信息、预设验证视网膜信息以及预设验证声纹信息中的任意一种或几种的组合。In this embodiment, the preset verification information may include but not limited to a preset verification password, a preset verification fingerprint information, a preset verification face shape information, a preset verification iris information, a preset verification retina information, and a preset Verify any one or a combination of voiceprint information.
可选的,在该实施方式中,上述的预设验证信息可以包括指纹串信息以及每一个指纹对应的输入时间;那么相应地,验证待验证信息是否与预设验证信息一致可以包括以下步骤:Optionally, in this embodiment, the above-mentioned preset verification information may include fingerprint string information and the input time corresponding to each fingerprint; then correspondingly, verifying whether the information to be verified is consistent with the preset verification information may include the following steps:
验证指纹串是否与预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值是否均小于预设值,如果验证指纹串与预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值均小于预设值,那么可以验证待验证信息与预设验证信息一致;反之,验证待验证信息与预设验证信息不一致。其中,通过实施该实施方式,可以防止非法用户在终端上开启拍照模式,从而可以有效地防止终端被非法用户肆意操作。Verify whether the fingerprint string is the same as the fingerprint string included in the preset verification information, and whether the difference between the input time of the same fingerprint is less than the preset value, if the verification fingerprint string is the same as the fingerprint string included in the preset verification information, and the same fingerprint If the difference between the input times is smaller than the preset value, it can be verified that the information to be verified is consistent with the preset verification information; otherwise, it can be verified that the information to be verified is inconsistent with the preset verification information. Wherein, by implementing this implementation manner, it is possible to prevent an illegal user from enabling the camera mode on the terminal, thereby effectively preventing the terminal from being arbitrarily operated by the illegal user.
可选的,在该实施方式中,上述的预设验证信息可以包括密码信息和生物信息(指纹信息、脸形信息、虹膜信息、视网膜信息以及声纹信息中的任一种或几种的组合),那么相应地,验证待验证信息是否与预设验证信息一致可以包括以下步骤:Optionally, in this embodiment, the aforementioned preset verification information may include password information and biometric information (any one or a combination of fingerprint information, face shape information, iris information, retina information, and voiceprint information) , then correspondingly, verifying whether the information to be verified is consistent with the preset verification information may include the following steps:
验证输入的密码信息与预设的密码信息是否相同,当验证输入的密码信息与预设的密码信息相同时,验证输入的生物信息与预设的生物信息是否相同,如果验证输入的生物信息与预设的生物信息相同,那么可以验证待验证信息与预设验证信息一致;反之,如果验证输入的生物信息与预设的生物信息不相同,那么可以验证待验证信息与预设验证信息不一致。其中,通过实施该实施方式,可以防止非法用户盗用密码信息开启拍照模式,从而可以有效地防止终端被非法用户肆意操作。Verifying whether the input password information is the same as the preset password information, when verifying that the input password information is the same as the preset password information, verifying whether the input biological information is the same as the preset biological information, if verifying that the input biological information is the same If the preset biological information is the same, it can be verified that the information to be verified is consistent with the preset verification information; on the contrary, if the biological information input for verification is different from the preset biological information, it can be verified that the information to be verified is inconsistent with the preset verification information. Wherein, by implementing this implementation manner, it is possible to prevent an illegal user from stealing password information to enable a camera mode, thereby effectively preventing the terminal from being arbitrarily operated by an illegal user.
S102、若获取到的色温值介于高色温阈值和低色温阈值之间,调节闪光灯为中色温闪光灯。S102. If the acquired color temperature value is between the high color temperature threshold and the low color temperature threshold, adjust the flashlight to be a medium color temperature flashlight.
本发明实施例中,由于色温分为高色温、中色温以及低色温三种,因此终端获取到的光环境的色温也会有三种。当获取到的色温值介于高色温阈值和低色温阈值之间时,为了使闪光灯提供的光源的色温与光环境的色温保持一致,需要开启中色温闪光灯。其中,上述高色温阈值大于上述低色温阈值,如:高色温阈值为5000K,低色温阈值为3100K,并且该中色温闪光灯的色温值介于该高色温阈值和该低色温阈值之间,假设高色温阈值为A,低色温阈值为B,中色温闪光灯的色温值为C,那么相应地,就有关系式A>C>B,其中,A、B、C均为大于0的正整数。In the embodiment of the present invention, since the color temperature is divided into three types: high color temperature, medium color temperature, and low color temperature, there are also three types of color temperatures of the light environment acquired by the terminal. When the obtained color temperature value is between the high color temperature threshold and the low color temperature threshold, in order to keep the color temperature of the light source provided by the flash consistent with the color temperature of the light environment, it is necessary to turn on the medium color temperature flash. Wherein, the above-mentioned high color temperature threshold is greater than the above-mentioned low color temperature threshold, for example: the high color temperature threshold is 5000K, the low color temperature threshold is 3100K, and the color temperature of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold, assuming a high The color temperature threshold is A, the low color temperature threshold is B, and the color temperature of the medium color temperature flash is C, then correspondingly, there is a relationship A>C>B, where A, B, and C are all positive integers greater than 0.
需要说明的是,本发明实施例中提供的闪光灯可以涵盖三种色温(高色温、中色温以及低色温),因此对应的闪光灯就有高色温闪光灯、中色温闪光灯以及低色温闪光灯,终端可以根据外界光环境的色温的变化来选择相应色温的闪光灯,以保证闪光灯拍照的效果。It should be noted that the flashlights provided in the embodiments of the present invention can cover three color temperatures (high color temperature, medium color temperature, and low color temperature). Therefore, the corresponding flashlights include high color temperature flashlights, medium color temperature flashlights, and low color temperature flashlights. According to the change of the color temperature of the external light environment, select the flash with the corresponding color temperature to ensure the effect of the flash photo.
S103、根据预先获取的色温与白平衡的对应关系,确定调节后的闪光灯的色温值对应的白平衡值。S103. Determine a white balance value corresponding to the adjusted color temperature value of the flashlight according to the pre-acquired correspondence between the color temperature and the white balance.
本发明实施例中,在各种不同的光线状况下,物体颜色会因投射光线颜色产生改变,在不同光线的场合下拍摄出的照片会有不同的色温。在这方面,白色物体变化得最为明显:在室内钨丝灯光下,白色物体看起来会带有橘黄色色调,在这样的光照条件下拍摄出来的景物就会偏黄;但如果是在蔚蓝天空下,则会带有蓝色色调,在这样的光照条件下拍摄出来的景物会偏蓝。为了尽可能减少外来光线对目标颜色造成的影响,在不同的色温条件下都能还原出被摄目标本来的色彩,就需要进行色彩校正,以达成正确的色彩平衡,这就称为白平衡调节。In the embodiment of the present invention, under various light conditions, the color of the object will change due to the color of the projected light, and photos taken under different light conditions will have different color temperatures. In this regard, white objects change most obviously: under indoor tungsten lighting, white objects will look orange-yellow, and the scene shot under such lighting conditions will be yellowish; but if it is in a blue sky Under these conditions, there will be a bluish tinge, and the scene shot under such lighting conditions will be bluish. In order to reduce the influence of external light on the target color as much as possible, and to restore the original color of the subject under different color temperature conditions, color correction is required to achieve the correct color balance, which is called white balance adjustment. .
可见,白平衡调节关系到色彩的正常还原与色调的运用,可以认为白平衡就是色温的管理器,因此,需要获取调节后的闪光灯的色温值对应的白平衡值。It can be seen that white balance adjustment is related to the normal restoration of color and the use of hue. It can be considered that white balance is the manager of color temperature. Therefore, it is necessary to obtain the white balance value corresponding to the adjusted color temperature of the flash.
本发明实施例中,该对应关系可以是预先通过实验计算出的,或者通过用户输入的操作指令生成的,本发明实施例不作限定。In this embodiment of the present invention, the corresponding relationship may be calculated in advance through experiments, or generated through an operation instruction input by a user, which is not limited in this embodiment of the present invention.
S104、根据白平衡值,对预览图像进行白平衡调节。S104. Adjust the white balance of the preview image according to the white balance value.
本发明实施例中,白平衡一般有多种模式,用来适应不同的场景拍摄,如自动白平衡、钨光白平衡、荧光白平衡、室内白平衡、手动调节等。不管哪种模式的白平衡,它都有一个对应的白平衡值。终端可以根据用户选择的白平衡模式对应的白平衡值,对预览图像进行白平衡调节,以使预览图像的色彩得到正常还原,提高拍摄照片的效果,满足用户的审美要求。In the embodiment of the present invention, there are generally multiple modes of white balance to adapt to shooting in different scenes, such as automatic white balance, tungsten light white balance, fluorescent white balance, indoor white balance, manual adjustment, etc. No matter which mode of white balance, it has a corresponding white balance value. The terminal can adjust the white balance of the preview image according to the white balance value corresponding to the white balance mode selected by the user, so that the color of the preview image can be restored normally, improve the effect of taking photos, and meet the aesthetic requirements of the user.
在图1所描述的方法流程中,终端在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值,当获取到的色温值介于高色温阈值和低色温阈值之间时,终端调节闪光灯为中色温闪光灯,其中,该高色温阈值大于该低色温阈值,并且中色温闪光灯的色温值介于该高色温阈值和该低色温阈值之间。通过本发明实施例,当预览图像当前光环境的色温为正常色温时,终端可以调节闪光灯为中色温闪光灯,以使闪光灯的色温与当前光环境的色温保持一致,从而可以提高拍照效果。In the method flow described in FIG. 1, when the terminal is in the photographing mode, when the flash is turned on, the color temperature value of the current light environment of the preview image is obtained, and when the obtained color temperature value is between the high color temperature threshold and the low color temperature threshold , the terminal adjusts the flashlight to be a medium color temperature flashlight, wherein the high color temperature threshold is greater than the low color temperature threshold, and the color temperature of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold. Through the embodiment of the present invention, when the color temperature of the current light environment of the preview image is a normal color temperature, the terminal can adjust the flashlight to a medium color temperature flashlight, so that the color temperature of the flashlight is consistent with the color temperature of the current light environment, thereby improving the photographing effect.
请参见图2,图2是本发明实施例公开的另一种闪光灯色温调节方法的流程示意图。如图2所示,该方法可以包括以下步骤:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for adjusting the color temperature of a flashlight disclosed in an embodiment of the present invention. As shown in Figure 2, the method may include the following steps:
S201、终端在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值。S201. The terminal acquires the color temperature value of the current light environment of the preview image when the flashlight is turned on in the photographing mode.
S202、若获取到的色温值大于或等于高色温阈值,终端调节闪光灯为高色温闪光灯。S202. If the acquired color temperature value is greater than or equal to the high color temperature threshold, the terminal adjusts the flashlight to be a high color temperature flashlight.
本发明实施例中,由于色温分为高色温、中色温以及低色温三种,因此终端获取到的光环境的色温也会有三种。当获取到的色温值大于或等于高色温阈值时,为了使闪光灯提供的光源的色温与光环境的色温保持一致,终端需要调节闪光灯为高色温闪光灯。其中,该高色温闪光灯的色温值大于或等于高色温阈值,假设高色温阈值为A,高色温闪光灯的色温值为B,那么相应地,就有关系式B>A,其中,A、B均为大于0的正整数,通常情况下,A可以为5000K。In the embodiment of the present invention, since the color temperature is divided into three types: high color temperature, medium color temperature, and low color temperature, there are also three types of color temperatures of the light environment acquired by the terminal. When the obtained color temperature value is greater than or equal to the high color temperature threshold, in order to keep the color temperature of the light source provided by the flash consistent with the color temperature of the light environment, the terminal needs to adjust the flash to a high color temperature flash. Wherein, the color temperature value of the high color temperature flash lamp is greater than or equal to the high color temperature threshold value, assuming that the high color temperature threshold value is A, and the color temperature value of the high color temperature flash lamp is B, then correspondingly, there is a relationship B>A, where A and B are both It is a positive integer greater than 0. Normally, A can be 5000K.
需要说明的是,本发明实施例中提供的闪光灯可以涵盖三种色温(高色温、中色温以及低色温),因此对应的闪光灯就有高色温闪光灯、中色温闪光灯以及低色温闪光灯,终端可以根据外界光环境的色温的变化来选择相应色温的闪光灯,以保证闪光灯拍照的效果。It should be noted that the flashlights provided in the embodiments of the present invention can cover three color temperatures (high color temperature, medium color temperature, and low color temperature). Therefore, the corresponding flashlights include high color temperature flashlights, medium color temperature flashlights, and low color temperature flashlights. According to the change of the color temperature of the external light environment, select the flash with the corresponding color temperature to ensure the effect of the flash photo.
S203、终端根据预先获取的色温与白平衡的对应关系,确定调节后的闪光灯的色温值对应的白平衡值。S203. The terminal determines a white balance value corresponding to the adjusted color temperature value of the flashlight according to the pre-acquired correspondence between the color temperature and the white balance.
S204、终端根据白平衡值,对预览图像进行白平衡调节。S204. The terminal adjusts the white balance of the preview image according to the white balance value.
需要说明的是,本发明实施例中的步骤S201、S203以及S204可以分别参照实施例一中的步骤S101、S103以及S104的描述,在此不再重复赘述。It should be noted that, for steps S201, S203, and S204 in the embodiment of the present invention, reference may be made to the description of steps S101, S103, and S104 in Embodiment 1, respectively, and details are not repeated here.
在图2所描述的方法流程中,终端在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值,当获取到的色温值大于或等于高色温阈值时,调节闪光灯为高色温闪光灯,其中,该高色温闪光灯的色温值大于或等于该高色温阈值。通过本发明实施例,当预览图像当前光环境的色温为高色温时,终端可以调节闪光灯为高色温闪光灯,以使闪光灯的色温与当前光环境的色温保持一致,从而可以提高拍照效果。In the method flow described in FIG. 2, when the terminal is in the photographing mode, when the flashlight is turned on, the color temperature value of the current light environment of the preview image is obtained, and when the obtained color temperature value is greater than or equal to the high color temperature threshold, the flashlight is adjusted to A high color temperature flashlight, wherein the color temperature of the high color temperature flashlight is greater than or equal to the high color temperature threshold. Through the embodiment of the present invention, when the color temperature of the current light environment of the preview image is a high color temperature, the terminal can adjust the flashlight to a high color temperature flashlight, so that the color temperature of the flashlight is consistent with the color temperature of the current light environment, thereby improving the photographing effect.
请参见图3,图3是本发明实施例公开的另一种闪光灯色温调节方法的流程示意图。如图3所示,该方法可以包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another method for adjusting the color temperature of a flashlight disclosed in an embodiment of the present invention. As shown in Figure 3, the method may include the following steps:
S301、终端在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值。S301. The terminal acquires the color temperature value of the current light environment of the preview image when the flashlight is turned on in the photographing mode.
S302、若获取到的色温值小于或等于低色温阈值,终端调节闪光灯为低色温闪光灯。S302. If the acquired color temperature value is less than or equal to the low color temperature threshold, the terminal adjusts the flashlight to be a low color temperature flashlight.
本发明实施例中,由于色温分为高色温、中色温以及低色温三种,因此终端获取到的光环境的色温也会有三种。当获取到的色温值小于或等于低色温阈值,为了使闪光灯提供的光源的色温与光环境的色温保持一致,终端需要调节闪光灯为低色温闪光灯。其中,该低色温闪光灯的色温值小于或等于低色温阈值,假设低色温阈值为A,低色温闪光灯的色温值为B,那么相应地,就有关系式B<A,其中,A、B均为大于0的正整数,通常情况下,B可以为3100K。In the embodiment of the present invention, since the color temperature is divided into three types: high color temperature, medium color temperature, and low color temperature, there are also three types of color temperatures of the light environment acquired by the terminal. When the obtained color temperature value is less than or equal to the low color temperature threshold, in order to keep the color temperature of the light source provided by the flash consistent with the color temperature of the light environment, the terminal needs to adjust the flash to a low color temperature flash. Wherein, the color temperature value of the low color temperature flashlight is less than or equal to the low color temperature threshold, assuming that the low color temperature threshold is A, and the color temperature value of the low color temperature flashlight is B, then correspondingly, there is a relationship B<A, where A and B are both It is a positive integer greater than 0. Normally, B can be 3100K.
需要说明的是,本发明实施例中提供的闪光灯可以涵盖三种色温(高色温、中色温以及低色温),因此对应的闪光灯就有高色温闪光灯、中色温闪光灯以及低色温闪光灯,终端可以根据外界光环境的色温的变化来选择相应色温的闪光灯,以保证闪光灯拍照的效果。It should be noted that the flashlights provided in the embodiments of the present invention can cover three color temperatures (high color temperature, medium color temperature, and low color temperature). Therefore, the corresponding flashlights include high color temperature flashlights, medium color temperature flashlights, and low color temperature flashlights. According to the change of the color temperature of the external light environment, select the flash with the corresponding color temperature to ensure the effect of the flash photo.
S303、终端根据预先获取的色温与白平衡的对应关系,确定调节后的闪光灯的色温值对应的白平衡值。S303. The terminal determines a white balance value corresponding to the adjusted color temperature value of the flashlight according to the pre-acquired correspondence between the color temperature and the white balance.
S304、终端根据白平衡值,对预览图像进行白平衡调节。S304. The terminal adjusts the white balance of the preview image according to the white balance value.
需要说明的是,本发明实施例中的步骤S301、S303以及S304可以分别参照实施例一中的步骤S101、S103以及S104的描述,在此不再重复赘述。It should be noted that, for steps S301, S303, and S304 in the embodiment of the present invention, reference may be made to the description of steps S101, S103, and S104 in Embodiment 1, and details are not repeated here.
在图3所描述的方法流程中,终端在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值,当获取到的色温值小于或等于低色温阈值时,调节闪光灯为低色温闪光灯,其中,该低色温闪光灯的色温值小于或等于该低色温阈值。通过本发明实施例,当预览图像当前光环境的色温为低色温时,终端可以调节闪光灯为低色温闪光灯,以使闪光灯的色温与当前光环境的色温保持一致,从而可以提高拍照效果。In the method flow described in FIG. 3, when the terminal is in the photographing mode, when the flashlight is turned on, the color temperature value of the current light environment of the preview image is obtained, and when the obtained color temperature value is less than or equal to the low color temperature threshold, the flashlight is adjusted to A low color temperature flashlight, wherein the color temperature value of the low color temperature flashlight is less than or equal to the low color temperature threshold. Through the embodiment of the present invention, when the color temperature of the current light environment of the preview image is a low color temperature, the terminal can adjust the flashlight to a low color temperature flashlight, so that the color temperature of the flashlight is consistent with the color temperature of the current light environment, thereby improving the photographing effect.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例一至三实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例一、实施例二以及实施例三。The following are the device embodiments of the present invention, which are used to implement the methods implemented in the first to third method embodiments of the present invention. For the convenience of description, only the parts related to the embodiments of the present invention are shown, and the specific technical details are not disclosed. , please refer to Embodiment 1, Embodiment 2 and Embodiment 3 of the present invention.
请参见图4,图4是本发明实施例公开的一种终端的结构示意图,如图4所示,该终端400可以包括:获取单元401以及调节单元402,其中:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a terminal disclosed in an embodiment of the present invention. As shown in FIG. 4, the terminal 400 may include: an acquisition unit 401 and an adjustment unit 402, wherein:
获取单元401,用于在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值。The acquiring unit 401 is configured to acquire the color temperature value of the current light environment of the preview image when the flash is turned on in the photographing mode.
本发明实施例中,色温为光发出的颜色,即光源光谱成份的颜色。色温的单位用(K)表示,当光线的颜色偏青、蓝或蓝紫色时,通常称它为高色温,当光线的颜色偏红、橙、黄色时,通常称它为低色温,当光线的颜色是白色时,通常称它为正常色温(即中色温),其中,任何一种色彩只有在白色的光线照射下才能得到自身的正常颜色。In the embodiment of the present invention, the color temperature is the color of the light emitted, that is, the color of the spectral components of the light source. The unit of color temperature is represented by (K). When the color of light is blue, blue or blue-purple, it is usually called high color temperature. When the color of light is red, orange, or yellow, it is usually called low color temperature. When the color is white, it is usually called normal color temperature (that is, medium color temperature). Among them, any color can only get its own normal color when it is irradiated by white light.
通常,高色温的色温值一般不小于5000K,低色温的色温值一般不大于3100K,中色温的色温值介于3100K与5000K之间。Generally, the color temperature value of high color temperature is generally not less than 5000K, the color temperature value of low color temperature is generally not greater than 3100K, and the color temperature value of medium color temperature is between 3100K and 5000K.
调节单元402,用于当获取单元401获取到的色温值介于高色温阈值和低色温阈值之间时,调节闪光灯为中色温闪光灯,其中,该高色温阈值大于该低色温阈值,并且该中色温闪光灯的色温值介于该高色温阈值和该低色温阈值之间。The adjusting unit 402 is configured to adjust the flashlight to be a flashlight with a medium color temperature when the color temperature value acquired by the acquiring unit 401 is between a high color temperature threshold and a low color temperature threshold, wherein the high color temperature threshold is greater than the low color temperature threshold, and the medium color temperature threshold is greater than the low color temperature threshold. The color temperature value of the color temperature flashlight is between the high color temperature threshold and the low color temperature threshold.
本发明实施例中,由于色温分为高色温、中色温以及低色温三种,因此获取单元401获取到的光环境的色温也会有三种。当获取单元401获取到的色温值介于高色温阈值和低色温阈值之间时,为了使闪光灯提供的光源的色温与光环境的色温保持一致,调节单元402需要调节闪光灯为中色温闪光灯。其中,上述高色温阈值大于上述低色温阈值,如:高色温阈值为5000K,低色温阈值为3100K,并且该中色温闪光灯的色温值介于该高色温阈值和该低色温阈值之间,假设高色温阈值为A,低色温阈值为B,中色温闪光灯的色温值为C,那么相应地,就有关系式A>C>B,其中,A、B、C均为大于0的正整数。In the embodiment of the present invention, since the color temperature is divided into three types: high color temperature, medium color temperature and low color temperature, the color temperature of the light environment acquired by the acquisition unit 401 also has three types. When the color temperature value acquired by the acquisition unit 401 is between the high color temperature threshold and the low color temperature threshold, in order to keep the color temperature of the light source provided by the flash consistent with the color temperature of the light environment, the adjustment unit 402 needs to adjust the flash to a medium color temperature flash. Wherein, the above-mentioned high color temperature threshold is greater than the above-mentioned low color temperature threshold, for example: the high color temperature threshold is 5000K, the low color temperature threshold is 3100K, and the color temperature of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold, assuming a high The color temperature threshold is A, the low color temperature threshold is B, and the color temperature of the medium color temperature flash is C, then correspondingly, there is a relationship A>C>B, where A, B, and C are all positive integers greater than 0.
需要说明的是,本发明实施例中提供的闪光灯可以涵盖三种色温(高色温、中色温以及低色温),因此对应的闪光灯就有高色温闪光灯、中色温闪光灯以及低色温闪光灯,终端可以根据外界光环境的色温的变化来选择相应色温的闪光灯,以保证闪光灯拍照的效果。It should be noted that the flashlights provided in the embodiments of the present invention can cover three color temperatures (high color temperature, medium color temperature, and low color temperature). Therefore, the corresponding flashlights include high color temperature flashlights, medium color temperature flashlights, and low color temperature flashlights. According to the change of the color temperature of the external light environment, select the flash with the corresponding color temperature to ensure the effect of the flash photo.
作为一种可选的实施方式,上述调节单元402,还用于当获取单元401获取到的色温值大于或等于高色温阈值时,调节闪光灯为高色温闪光灯,其中,该高色温闪光灯的色温值大于或等于高色温阈值。As an optional implementation, the adjustment unit 402 is further configured to adjust the flashlight to be a high color temperature flashlight when the color temperature value acquired by the acquisition unit 401 is greater than or equal to the high color temperature threshold, wherein the color temperature value of the high color temperature flashlight Greater than or equal to the high color temperature threshold.
在该实施例中,当获取单元401获取到的色温值大于或等于高色温阈值时,为了使闪光灯提供的光源的色温与光环境的色温保持一致,调节单元402需要将闪光灯调节为高色温闪光灯。其中,该高色温闪光灯的色温值大于或等于高色温阈值,假设高色温阈值为A,高色温闪光灯的色温值为B,那么相应地,就有关系式B>A,其中,A、B均为大于0的正整数,通常情况下,A可以为5000K。In this embodiment, when the color temperature value acquired by the acquisition unit 401 is greater than or equal to the high color temperature threshold, in order to keep the color temperature of the light source provided by the flash consistent with the color temperature of the light environment, the adjustment unit 402 needs to adjust the flash to a high color temperature flash . Wherein, the color temperature value of the high color temperature flash lamp is greater than or equal to the high color temperature threshold value, assuming that the high color temperature threshold value is A, and the color temperature value of the high color temperature flash lamp is B, then correspondingly, there is a relationship B>A, where A and B are both It is a positive integer greater than 0. Normally, A can be 5000K.
作为另一种可选的实施方式,上述调节单元402,还用于当获取单元401获取到的色温值小于或等于低色温阈值时,调节闪光灯为低色温闪光灯,其中,低色温闪光灯的色温值小于或等于低色温阈值。As another optional implementation, the adjustment unit 402 is further configured to adjust the flashlight to a low color temperature flashlight when the color temperature value acquired by the acquisition unit 401 is less than or equal to the low color temperature threshold, wherein the color temperature value of the low color temperature flashlight Less than or equal to the low color temperature threshold.
在该实施例中,当获取单元401获取到的色温值小于或等于低色温阈值,为了使闪光灯提供的光源的色温与光环境的色温保持一致,调节单元402需要将闪光灯调节为低色温闪光灯。其中,该低色温闪光灯的色温值小于或等于低色温阈值,假设低色温阈值为A,低色温闪光灯的色温值为B,那么相应地,就有关系式B<A,其中,A、B均为大于0的正整数,通常情况下,B可以为3100K。In this embodiment, when the color temperature value acquired by the acquisition unit 401 is less than or equal to the low color temperature threshold, in order to keep the color temperature of the light source provided by the flash consistent with the color temperature of the light environment, the adjustment unit 402 needs to adjust the flash to a low color temperature flash. Wherein, the color temperature value of the low color temperature flashlight is less than or equal to the low color temperature threshold, assuming that the low color temperature threshold is A, and the color temperature value of the low color temperature flashlight is B, then correspondingly, there is a relationship B<A, where A and B are both It is a positive integer greater than 0. Normally, B can be 3100K.
请参见图5,图5是本发明实施例公开的另一种终端的结构示意图,其中,图5所示的终端是在图4所示终端的基础上进一步优化得到的,与图4所示的终端相比,图5所示的终端除了包括图4所示终端的所有单元外,图5所示的获取单元401可以包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention, wherein the terminal shown in FIG. 5 is further optimized on the basis of the terminal shown in FIG. Compared with the terminal shown in FIG. 5, except that the terminal shown in FIG. 5 includes all the units of the terminal shown in FIG. 4, the acquisition unit 401 shown in FIG. 5 may include:
获取子单元4011,用于获取预览图像当前光环境的RGB值;An acquisition subunit 4011, configured to acquire the RGB value of the current light environment of the preview image;
确定子单元4012,用于确定预览图像当前光环境的RGB值对应的色温值。The determination subunit 4012 is configured to determine the color temperature value corresponding to the RGB value of the current light environment of the preview image.
在该实施方式中,获取子单元4011可以通过特定算法(如白平衡算法)计算出预览图像当前光环境的RGB(红、绿、蓝)值,并进一步由确定子单元4012通过该RGB值,确定预览图像当前光环境的RGB值对应的色温值。其中,该RGB(红、绿、蓝)值各有256级亮度,用数字表示为从0、1、2......255,任何光源的颜色都可以由这三种色光按照不同的比例混合而成。In this embodiment, the acquisition subunit 4011 can calculate the RGB (red, green, blue) value of the current light environment of the preview image through a specific algorithm (such as a white balance algorithm), and further use the RGB value through the determination subunit 4012, Determine the color temperature value corresponding to the RGB value of the current light environment of the preview image. Among them, the RGB (red, green, blue) values each have 256 levels of brightness, expressed as numbers from 0, 1, 2...255, the color of any light source can be determined by these three colors according to different Mixed proportions.
可选地,确定子单元4012确定预览图像当前光环境的RGB值对应的色温值的具体实现方式可以为:Optionally, the specific implementation manner of determining the color temperature value corresponding to the RGB value of the current light environment of the preview image by the determining subunit 4012 may be as follows:
根据预先获取的RGB与色温的映射关系,从映射关系中选择预览图像当前光环境的RGB值对应的色温值。According to the pre-acquired mapping relationship between RGB and color temperature, select the color temperature value corresponding to the RGB value of the current light environment of the preview image from the mapping relationship.
在该实施例中,上述映射关系可以预先通过实验计算出来,也可以通过用户输入的操作指令生成的,本发明实施例不作限定。In this embodiment, the foregoing mapping relationship may be calculated in advance through experiments, or may be generated through an operation instruction input by a user, which is not limited in this embodiment of the present invention.
可选地,确定子单元4012确定预览图像当前光环境的RGB值对应的色温值的具体实现方式可以为:Optionally, the specific implementation manner of determining the color temperature value corresponding to the RGB value of the current light environment of the preview image by the determining subunit 4012 may be as follows:
通过白平衡算法,计算预览图像当前光环境的RGB值对应的色温值。Through the white balance algorithm, calculate the color temperature value corresponding to the RGB value of the current light environment of the preview image.
在该实施例中,白平衡是描述红、绿、蓝三基色混合生成后白色精确度的一项指标,而白平衡算法可以用来解决色彩还原和色调处理的一系列问题。白平衡常用的算法可以包括但不限于灰色世界法、完美反色法以及基于自动阈值处理白平衡的算法等等。In this embodiment, the white balance is an index describing the white accuracy after the three primary colors of red, green and blue are mixed, and the white balance algorithm can be used to solve a series of problems of color restoration and tone processing. Algorithms commonly used for white balance may include, but are not limited to, the gray world method, the perfect inverse color method, and algorithms for white balance based on automatic threshold processing.
请参见图6,图6是本发明实施例公开的另一种终端的结构示意图,其中,图6所示的终端是在图4所示终端的基础上进一步优化得到的,与图4所示的终端相比,图6所示的终端除了包括图4所示终端的所有单元外,图6所示的终端400还可以包括:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention, wherein the terminal shown in FIG. 6 is further optimized on the basis of the terminal shown in FIG. Compared with the terminal shown in FIG. 6, in addition to including all the units of the terminal shown in FIG. 6, the terminal 400 shown in FIG. 6 may also include:
确定单元403,用于根据预先获取的色温与白平衡的对应关系,确定调节后的闪光灯的色温值对应的白平衡值。The determination unit 403 is configured to determine a white balance value corresponding to the adjusted color temperature value of the flashlight according to the pre-acquired correspondence between the color temperature and the white balance.
本发明实施例中,在各种不同的光线状况下,物体颜色会因投射光线颜色产生改变,在不同光线的场合下拍摄出的照片会有不同的色温。在这方面,白色物体变化得最为明显:在室内钨丝灯光下,白色物体看起来会带有橘黄色色调,在这样的光照条件下拍摄出来的景物就会偏黄;但如果是在蔚蓝天空下,则会带有蓝色色调,在这样的光照条件下拍摄出来的景物会偏蓝。为了尽可能减少外来光线对目标颜色造成的影响,在不同的色温条件下都能还原出被摄目标本来的色彩,就需要进行色彩校正,以达成正确的色彩平衡,这就称为白平衡调节。In the embodiment of the present invention, under various light conditions, the color of the object will change due to the color of the projected light, and photos taken under different light conditions will have different color temperatures. In this regard, white objects change most obviously: under indoor tungsten lighting, white objects will look orange-yellow, and the scene shot under such lighting conditions will be yellowish; but if it is in a blue sky Under these conditions, there will be a bluish tinge, and the scene shot under such lighting conditions will be bluish. In order to reduce the influence of external light on the target color as much as possible, and to restore the original color of the subject under different color temperature conditions, color correction is required to achieve the correct color balance, which is called white balance adjustment. .
可见,白平衡调节关系到色彩的正常还原与色调的运用,可以认为白平衡就是色温的管理器,因此,确定单元403需要根据预先获取的色温与白平衡的对应关系,确定调节后的闪光灯的色温值对应的白平衡值。It can be seen that the white balance adjustment is related to the normal restoration of the color and the use of the color tone. It can be considered that the white balance is the manager of the color temperature. Therefore, the determination unit 403 needs to determine the adjusted flash light according to the pre-acquired correspondence between the color temperature and the white balance. The white balance value corresponding to the color temperature value.
本发明实施例中,该对应关系可以是预先通过实验计算出的,或者通过用户输入的操作指令生成的,本发明实施例不作限定。In this embodiment of the present invention, the corresponding relationship may be calculated in advance through experiments, or generated through an operation instruction input by a user, which is not limited in this embodiment of the present invention.
上述调节单元402,还用于根据白平衡值,对预览图像进行白平衡调节。The adjustment unit 402 is further configured to adjust the white balance of the preview image according to the white balance value.
本发明实施例中,白平衡一般有多种模式,用来适应不同的场景拍摄,如自动白平衡、钨光白平衡、荧光白平衡、室内白平衡、手动调节等。不管哪种模式的白平衡,它都有一个对应的白平衡值。调节单元402可以根据用户选择的白平衡模式对应的白平衡值,对预览图像进行白平衡调节,以使预览图像的色彩得到正常还原,提高拍摄照片的效果,满足用户的审美要求。In the embodiment of the present invention, there are generally multiple modes of white balance to adapt to shooting in different scenes, such as automatic white balance, tungsten light white balance, fluorescent white balance, indoor white balance, manual adjustment, etc. No matter which mode of white balance, it has a corresponding white balance value. The adjustment unit 402 can adjust the white balance of the preview image according to the white balance value corresponding to the white balance mode selected by the user, so that the color of the preview image can be restored normally, improve the effect of taking photos, and meet the aesthetic requirements of the user.
作为一种可选的实施方式,图6所示的终端400还可以包括:As an optional implementation manner, the terminal 400 shown in FIG. 6 may further include:
接收单元404,用于在获取单元401在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值之前,接收拍照模式开启指令。The receiving unit 404 is configured to receive a photographing mode start instruction before the acquiring unit 401 acquires the color temperature value of the current light environment of the preview image when the flash is turned on in the photographing mode.
开启单元405,用于响应拍照模式开启指令,开启拍照模式。The enabling unit 405 is configured to enable the photographing mode in response to the photographing mode enabling instruction.
在该实施例中,该拍照模式开启指令可以是接收用户输入的拍照模式开启指令,比如:用户点击终端的拍照模式开启按钮,或者,上述拍照模式开启指令可以是终端自动生成的拍照模式开启指令,比如:在特定时间自动进入拍照模式的拍照模式开启指令。In this embodiment, the photographing mode activation command may be a photographing mode activation command input by the user, for example, the user clicks the photographing mode activation button of the terminal, or the above-mentioned photographing mode activation command may be a photographing mode activation command automatically generated by the terminal , for example: an instruction to start the camera mode that automatically enters the camera mode at a specific time.
作为另一种可选的实施方式,图6所示的终端400还可以包括:As another optional implementation manner, the terminal 400 shown in FIG. 6 may further include:
输出单元406,用于在接收单元404接收拍照模式开启指令之后,输出提示信息,该提示信息用于提示输入待验证信息;The output unit 406 is configured to output prompt information after the receiving unit 404 receives the photographing mode activation instruction, and the prompt information is used to prompt input of information to be verified;
上述接收单元404,还用于接收响应该提示信息输入的待验证信息;The above-mentioned receiving unit 404 is further configured to receive information to be verified inputted in response to the prompt information;
验证单元407,用于验证该待验证信息是否与预先设置的预设验证信息一致;A verification unit 407, configured to verify whether the information to be verified is consistent with the preset verification information set in advance;
上述开启单元405,具体用于当验证单元407验证该待验证信息与预设验证信息一致时,响应该拍照模式开启指令,开启拍照模式。The enabling unit 405 is specifically configured to enable the photographing mode in response to the photographing mode enabling instruction when the verifying unit 407 verifies that the information to be verified is consistent with the preset verification information.
在该实施例中,在接收单元404接收到拍照模式开启指令之后,输出单元406将输出用于提示输入待验证信息的提示信息;并且输出单元406可以输出用于输入待验证信息的待验证信息输入口。In this embodiment, after the receiving unit 404 receives the camera mode start instruction, the output unit 406 will output prompt information for prompting input of the information to be verified; and the output unit 406 may output the information to be verified for input of the information to be verified input port.
在该实施方式中,该待验证信息可包括但不限于待验证密码、待验证指纹信息、待验证脸形信息、待验证虹膜信息、待验证视网膜信息以及待验证声纹信息中的任意一种或几种的组合。In this embodiment, the information to be verified may include but not limited to password to be verified, fingerprint information to be verified, face shape information to be verified, iris information to be verified, retina information to be verified, and voiceprint information to be verified. Several combinations.
在该实施方式中,该预先设置的预设验证信息可包括但不限于预设验证密码、预设验证指纹信息、预设验证脸形信息、预设验证虹膜信息、预设验证视网膜信息以及预设验证声纹信息中的任意一种或几种的组合。In this embodiment, the preset verification information may include but not limited to a preset verification password, a preset verification fingerprint information, a preset verification face shape information, a preset verification iris information, a preset verification retina information, and a preset Verify any one or a combination of voiceprint information.
可选的,在该实施方式中,上述的预设验证信息可以包括指纹串信息以及每一个指纹对应的输入时间;那么相应地,验证单元407验证待验证信息是否与预设验证信息一致可以包括以下步骤:Optionally, in this embodiment, the above-mentioned preset verification information may include fingerprint string information and the input time corresponding to each fingerprint; then correspondingly, the verification unit 407 verifying whether the information to be verified is consistent with the preset verification information may include The following steps:
验证指纹串是否与预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值是否均小于预设值,如果验证指纹串与预设验证信息包括的指纹串相同,并且相同指纹的输入时间的差值均小于预设值,那么可以验证待验证信息与预设验证信息一致;反之,验证待验证信息与预设验证信息不一致。其中,通过实施该实施方式,可以防止非法用户在终端上开启拍照模式,从而可以有效地防止终端被非法用户肆意操作。Verify whether the fingerprint string is the same as the fingerprint string included in the preset verification information, and whether the difference between the input time of the same fingerprint is less than the preset value, if the verification fingerprint string is the same as the fingerprint string included in the preset verification information, and the same fingerprint If the difference between the input times is smaller than the preset value, it can be verified that the information to be verified is consistent with the preset verification information; otherwise, it can be verified that the information to be verified is inconsistent with the preset verification information. Wherein, by implementing this implementation manner, it is possible to prevent an illegal user from enabling the camera mode on the terminal, thereby effectively preventing the terminal from being arbitrarily operated by the illegal user.
可选的,在该实施方式中,上述的预设验证信息可以包括密码信息和生物信息(指纹信息、脸形信息、虹膜信息、视网膜信息以及声纹信息中的任一种或几种的组合),那么相应地,验证单元407验证待验证信息是否与预设验证信息一致可以包括以下步骤:Optionally, in this embodiment, the aforementioned preset verification information may include password information and biometric information (any one or a combination of fingerprint information, face shape information, iris information, retina information, and voiceprint information) , then correspondingly, the verifying unit 407 verifying whether the information to be verified is consistent with the preset verification information may include the following steps:
验证输入的密码信息与预设的密码信息是否相同,当验证输入的密码信息与预设的密码信息相同时,验证输入的生物信息与预设的生物信息是否相同,如果验证输入的生物信息与预设的生物信息相同,那么可以验证待验证信息与预设验证信息一致;反之,验证待验证信息与预设验证信息不一致。其中,通过实施该实施方式,可以防止非法用户盗用密码信息开启拍照模式,从而可以有效地防止终端被非法用户肆意操作。Verifying whether the input password information is the same as the preset password information, when verifying that the input password information is the same as the preset password information, verifying whether the input biological information is the same as the preset biological information, if verifying that the input biological information is the same If the preset biological information is the same, it can be verified that the information to be verified is consistent with the preset verification information; otherwise, it can be verified that the information to be verified is inconsistent with the preset verification information. Wherein, by implementing this implementation manner, it is possible to prevent an illegal user from stealing password information to enable a camera mode, thereby effectively preventing the terminal from being arbitrarily operated by an illegal user.
在图4、图5以及图6所示的终端中,获取单元401在拍照模式下,当闪光灯处于开启状态时,获取预览图像当前光环境的色温值,当获取单元401获取到的色温值介于高色温阈值和低色温阈值之间时,调节单元402调节闪光灯为中色温闪光灯,其中,该高色温阈值大于该低色温阈值,并且中色温闪光灯的色温值介于该高色温阈值和该低色温阈值之间。通过本发明实施例,当预览图像当前光环境的色温为正常色温时,终端可以调节闪光灯为中色温闪光灯,以使闪光灯的色温与当前光环境的色温保持一致,从而可以提高拍照效果。In the terminal shown in Fig. 4, Fig. 5 and Fig. 6, the acquisition unit 401 acquires the color temperature value of the current light environment of the preview image when the flashlight is on in the photographing mode, and when the color temperature value acquired by the acquisition unit 401 is between When it is between the high color temperature threshold and the low color temperature threshold, the adjustment unit 402 adjusts the flashlight to a medium color temperature flashlight, wherein the high color temperature threshold is greater than the low color temperature threshold, and the color temperature of the medium color temperature flashlight is between the high color temperature threshold and the low color temperature threshold. between color temperature thresholds. Through the embodiment of the present invention, when the color temperature of the current light environment of the preview image is a normal color temperature, the terminal can adjust the flashlight to a medium color temperature flashlight, so that the color temperature of the flashlight is consistent with the color temperature of the current light environment, thereby improving the photographing effect.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。It should be noted that, for the sake of simple description, all the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because according to the application, certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and units involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510134848.8A CN104767984B (en) | 2015-03-25 | 2015-03-25 | A kind of flash lamp color temperature adjusting method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510134848.8A CN104767984B (en) | 2015-03-25 | 2015-03-25 | A kind of flash lamp color temperature adjusting method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104767984A true CN104767984A (en) | 2015-07-08 |
CN104767984B CN104767984B (en) | 2019-04-02 |
Family
ID=53649555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510134848.8A Expired - Fee Related CN104767984B (en) | 2015-03-25 | 2015-03-25 | A kind of flash lamp color temperature adjusting method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104767984B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105391831A (en) * | 2015-12-08 | 2016-03-09 | 深圳天珑无线科技有限公司 | Mobile terminal and method for calibrating photographing color effect |
CN105704467A (en) * | 2016-01-22 | 2016-06-22 | 贵阳海信电子有限公司 | White balance adjustment method and device for large-screen LCM image |
CN106101569A (en) * | 2016-08-22 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method of light filling of taking pictures and mobile terminal |
CN106370398A (en) * | 2016-09-23 | 2017-02-01 | 北京小米移动软件有限公司 | Flashlight check and acceptance method and device |
CN107846550A (en) * | 2016-09-21 | 2018-03-27 | 杭州海康威视数字技术股份有限公司 | Illumination range adjusting method, system and light filling equipment and electronic equipment |
CN108229372A (en) * | 2017-12-29 | 2018-06-29 | 努比亚技术有限公司 | Fingerprint identification method, mobile terminal and computer readable storage medium |
CN109151259A (en) * | 2017-06-16 | 2019-01-04 | 上海传英信息技术有限公司 | Picture-taking flash lamp device and mobile terminal |
CN109286808A (en) * | 2017-07-21 | 2019-01-29 | 北京小米移动软件有限公司 | White balance calibration method and device |
CN111050162A (en) * | 2019-12-27 | 2020-04-21 | 深圳Tcl新技术有限公司 | Color temperature test method, device, equipment and computer readable storage medium |
CN111182217A (en) * | 2020-01-07 | 2020-05-19 | 徐梦影 | Image white balance processing method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7071989B2 (en) * | 2001-09-14 | 2006-07-04 | Casio Computer Co., Ltd. | Flash device, camera apparatus having the flash device, method of causing the flash device to emit colored rays of light therefrom, and recording medium in which program to control the flash device so as to emit desired colored rays of light is stored |
CN1324398C (en) * | 2000-07-25 | 2007-07-04 | 富士胶片株式会社 | Flashlight unit of camera, electronic camera and lighting head |
CN201163831Y (en) * | 2008-02-01 | 2008-12-10 | 华晶科技股份有限公司 | Flash module of electronic device |
CN103354601A (en) * | 2013-07-31 | 2013-10-16 | 广东欧珀移动通信有限公司 | Method and system for improving flash photography effect |
CN103377364A (en) * | 2012-04-16 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Fingerprint verification method for electronic device and system |
CN103686100A (en) * | 2012-09-24 | 2014-03-26 | 宏达国际电子股份有限公司 | Mobile communication device and flash control method |
CN101803470B (en) * | 2007-09-10 | 2014-07-09 | 博龙电子股份公司 | Colour temperature control of flash units |
-
2015
- 2015-03-25 CN CN201510134848.8A patent/CN104767984B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1324398C (en) * | 2000-07-25 | 2007-07-04 | 富士胶片株式会社 | Flashlight unit of camera, electronic camera and lighting head |
US7071989B2 (en) * | 2001-09-14 | 2006-07-04 | Casio Computer Co., Ltd. | Flash device, camera apparatus having the flash device, method of causing the flash device to emit colored rays of light therefrom, and recording medium in which program to control the flash device so as to emit desired colored rays of light is stored |
CN101803470B (en) * | 2007-09-10 | 2014-07-09 | 博龙电子股份公司 | Colour temperature control of flash units |
CN201163831Y (en) * | 2008-02-01 | 2008-12-10 | 华晶科技股份有限公司 | Flash module of electronic device |
CN103377364A (en) * | 2012-04-16 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Fingerprint verification method for electronic device and system |
CN103686100A (en) * | 2012-09-24 | 2014-03-26 | 宏达国际电子股份有限公司 | Mobile communication device and flash control method |
CN103354601A (en) * | 2013-07-31 | 2013-10-16 | 广东欧珀移动通信有限公司 | Method and system for improving flash photography effect |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105391831B (en) * | 2015-12-08 | 2018-06-05 | 深圳天珑无线科技有限公司 | Mobile terminal and the method for calibrating color effect of taking pictures |
CN105391831A (en) * | 2015-12-08 | 2016-03-09 | 深圳天珑无线科技有限公司 | Mobile terminal and method for calibrating photographing color effect |
CN105704467A (en) * | 2016-01-22 | 2016-06-22 | 贵阳海信电子有限公司 | White balance adjustment method and device for large-screen LCM image |
CN105704467B (en) * | 2016-01-22 | 2017-06-23 | 贵阳海信电子有限公司 | A kind of white balance adjustment method and device for large-size screen monitors LCM images |
CN106101569A (en) * | 2016-08-22 | 2016-11-09 | 维沃移动通信有限公司 | A kind of method of light filling of taking pictures and mobile terminal |
CN107846550B (en) * | 2016-09-21 | 2020-05-08 | 杭州海康威视数字技术股份有限公司 | Illumination range adjusting method and system, light supplementing device and electronic device |
CN107846550A (en) * | 2016-09-21 | 2018-03-27 | 杭州海康威视数字技术股份有限公司 | Illumination range adjusting method, system and light filling equipment and electronic equipment |
CN106370398B (en) * | 2016-09-23 | 2019-02-22 | 北京小米移动软件有限公司 | Flash lamp acceptance method and device |
CN106370398A (en) * | 2016-09-23 | 2017-02-01 | 北京小米移动软件有限公司 | Flashlight check and acceptance method and device |
CN109151259A (en) * | 2017-06-16 | 2019-01-04 | 上海传英信息技术有限公司 | Picture-taking flash lamp device and mobile terminal |
CN109286808A (en) * | 2017-07-21 | 2019-01-29 | 北京小米移动软件有限公司 | White balance calibration method and device |
CN108229372A (en) * | 2017-12-29 | 2018-06-29 | 努比亚技术有限公司 | Fingerprint identification method, mobile terminal and computer readable storage medium |
CN108229372B (en) * | 2017-12-29 | 2021-08-10 | 努比亚技术有限公司 | Fingerprint identification method, mobile terminal and computer readable storage medium |
CN111050162A (en) * | 2019-12-27 | 2020-04-21 | 深圳Tcl新技术有限公司 | Color temperature test method, device, equipment and computer readable storage medium |
CN111050162B (en) * | 2019-12-27 | 2022-07-29 | 深圳Tcl新技术有限公司 | Color temperature test method, device, equipment and computer readable storage medium |
CN111182217A (en) * | 2020-01-07 | 2020-05-19 | 徐梦影 | Image white balance processing method and device |
CN111182217B (en) * | 2020-01-07 | 2021-08-10 | 上海海鸥数码照相机有限公司 | Image white balance processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104767984B (en) | 2019-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104767984A (en) | Method and terminal for adjusting color temperature of flash light | |
CN107948539B (en) | Flash lamp control method and terminal | |
US10397486B2 (en) | Image capture apparatus and method executed by image capture apparatus | |
US10120267B2 (en) | System and method for re-configuring a lighting arrangement | |
US9118876B2 (en) | Automatic skin tone calibration for camera images | |
CN106210334B (en) | Intelligent flash lamp control method and system and mobile terminal | |
US20170054886A1 (en) | Electronic device and method for controlling flash | |
CN104796683B (en) | A kind of method and system of calibration image color | |
JP3889017B2 (en) | System and method for correcting captured images | |
KR102281256B1 (en) | Method for controlling white balance and an electronic device thereof | |
US8189909B2 (en) | Color temperature conversion method and apparatus having luminance correction conversion function | |
US10382734B2 (en) | Electronic device and color temperature adjusting method | |
US20170141847A1 (en) | High-dynamic-range coded light detection | |
WO2019019870A1 (en) | Image white balance processing method and apparatus, and terminal device | |
JP4434976B2 (en) | Image processing apparatus, program, and image processing method | |
CN104853097B (en) | A kind of panning mode image pickup method and device | |
US10595016B2 (en) | Camera color adjusting method and apparatus | |
CN107454345A (en) | White balancing treatment method, device and the terminal device of image | |
CN110149471A (en) | Control method, imaging apparatus, electronic device, computer device, and storage medium | |
CN111027489A (en) | Image processing method, terminal and storage medium | |
CN113452980A (en) | Image processing method, terminal and storage medium | |
CN107396079A (en) | Method and device for adjusting white balance | |
JP2017152866A (en) | Image processing system and image processing method | |
EP3140982B1 (en) | Device with a camera and a screen | |
US20090129626A1 (en) | Method and apparatus for determining whether backlight exists |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190402 |