CN105049681B - A lens shadow calibration method and user terminal - Google Patents
A lens shadow calibration method and user terminal Download PDFInfo
- Publication number
- CN105049681B CN105049681B CN201510397271.XA CN201510397271A CN105049681B CN 105049681 B CN105049681 B CN 105049681B CN 201510397271 A CN201510397271 A CN 201510397271A CN 105049681 B CN105049681 B CN 105049681B
- Authority
- CN
- China
- Prior art keywords
- sensitivity value
- calibration parameter
- camera lens
- target
- parameter set
- 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
Links
Landscapes
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种镜头阴影校准方法及用户终端。The present invention relates to the field of electronic technology, in particular to a lens shadow calibration method and a user terminal.
背景技术Background technique
在实际生活中,用户经常会使用智能终端(如智能手机、平板电脑等)进行拍照,并且在环境光线不好时,用户经常会开启闪光灯进行拍照。虽然开启闪光灯能够增加环境的光线,但也容易导致拍摄的图片中心过曝而四周欠曝,使图片中心的颜色和四周不一样(例如中心为蓝色,四周为红色),这种现象叫做shading现象,即镜头阴影现象。在现有技术中,为了改善这种现象,会使用一组镜头阴影校准参数对图片进行镜头阴影校准。但是,当使用的镜头阴影校准参数的校准强度大时,对近景图片虽然有很好的校准效果,但对远景图片进行校准时,将导致远景图片的噪点很大。当镜头阴影校准参数的校准强度小时,近景图片和远景图片的校准效果都不理想。因此,使用一组镜头阴影校准参数很难适应不同拍摄距离的图片。In real life, users often use smart terminals (such as smart phones, tablet computers, etc.) to take pictures, and when the ambient light is not good, users often turn on the flash to take pictures. Although turning on the flash can increase the light in the environment, it is also easy to cause the center of the captured picture to be overexposed and the surrounding areas to be underexposed, so that the color of the center of the picture is different from that of the surrounding areas (for example, the center is blue and the surrounding area is red). This phenomenon is called shading phenomenon, the lens shading phenomenon. In the prior art, in order to improve this phenomenon, a set of lens shading calibration parameters are used to perform lens shading calibration on the picture. However, when the calibration intensity of the lens shading calibration parameters used is high, although a good calibration effect is obtained for close-range pictures, the noise of the distant-view pictures will be large when the calibration is performed on distant-view pictures. When the calibration intensity of the lens shading calibration parameter is small, the calibration effect of the close-range picture and the distant-view picture is not satisfactory. Therefore, it is difficult to use a set of lens shading calibration parameters to adapt to pictures at different shooting distances.
发明内容Contents of the invention
本发明实施例公开了一种镜头阴影校准方法及用户终端,能够使用不同的镜头阴影校准参数组对不同拍摄距离的图片进行校准,达到更好地校准效果。The embodiment of the present invention discloses a lens shadow calibration method and a user terminal, which can use different lens shadow calibration parameter groups to calibrate pictures at different shooting distances to achieve a better calibration effect.
本发明实施例第一方面公开了一种镜头阴影校准方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a lens shadow calibration method, the method comprising:
接收输入的拍摄指令;Receive input shooting instructions;
响应所述拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片;Responding to the shooting instruction, start the flashlight and take pictures, so as to obtain the pictures;
获取进行图片拍摄时使用的目标感光度值;Obtain the target sensitivity value used when taking pictures;
根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组;Acquiring a target lens shading calibration parameter set corresponding to the sensitivity value range to which the target sensitivity value belongs according to the preset corresponding relationship between the sensitivity value range and the lens shadow calibration parameter set;
使用所述目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的所述拍摄图片进行镜头阴影校准。Using the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the photographed picture.
在本发明实施例第一方面的第一种可能的实现方式中,所述感光度值范围包括第一感光度值范围、第二感光度值范围和第三感光度值范围,其中,第二感光度值范围包括的感光度值均大于第一感光度值范围包括的感光度值,第三感光度值范围包括的感光度值均大于第二感光度值范围包括的感光度值。In a first possible implementation manner of the first aspect of the embodiment of the present invention, the sensitivity value range includes a first sensitivity value range, a second sensitivity value range and a third sensitivity value range, wherein the second The sensitivity values included in the sensitivity value range are all greater than the sensitivity values included in the first sensitivity value range, and the sensitivity values included in the third sensitivity value range are all greater than the sensitivity values included in the second sensitivity value range.
结合本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,在预设的感光度值范围与镜头阴影校准参数组的对应关系中,所述第一感光度值范围对应镜头阴影校准参数组R1,所述第二感光度值范围对应镜头阴影校准参数组R2,所述第三感光度值范围对应镜头阴影校准参数组R3,其中,所述镜头阴影校准参数组R2包括的镜头阴影校准参数r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1),所述S2为所述第三感光度值范围的最小感光度值,所述S1为所述第一感光度值范围的最大感光度值,所述S为所述目标感光度值,所述r1为所述镜头阴影校准参数组R1包括的镜头阴影校准参数,所述r3为所述镜头阴影校准参数组R3包括的镜头阴影校准参数。With reference to the first possible implementation of the first aspect of the embodiment of the present invention, in the second possible implementation of the first aspect of the embodiment of the present invention, in the preset sensitivity value range and the lens shading calibration parameter set In the corresponding relationship, the first sensitivity value range corresponds to the lens shading calibration parameter set R1, the second sensitivity value range corresponds to the lens shading calibration parameter set R2, and the third sensitivity value range corresponds to the lens shading calibration parameter set R3, wherein, the lens shading calibration parameter r2 included in the lens shading calibration parameter group R2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1), the S2 is the first The minimum sensitivity value of the three sensitivity value ranges, the S1 is the maximum sensitivity value of the first sensitivity value range, the S is the target sensitivity value, and the r1 is the lens shadow calibration parameter The lens shading calibration parameters included in the group R1, and the r3 is the lens shading calibration parameters included in the lens shading calibration parameter group R3.
结合本发明实施例第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组,包括:With reference to the second possible implementation of the first aspect of the embodiments of the present invention, in the third possible implementation of the first aspect of the embodiments of the present invention, the calibration parameters based on the preset range of sensitivity values and lens shading The corresponding relationship of the group, to obtain the target lens shadow calibration parameter group corresponding to the sensitivity value range to which the target sensitivity value belongs, including:
判断所述目标感光度值是否小于或等于所述S1;judging whether the target sensitivity value is less than or equal to the S1;
当所述目标感光度值小于或等于所述S1时,确定所述目标感光度值所属的感光度值范围为第一感光度值范围;When the target sensitivity value is less than or equal to the S1, determine that the sensitivity value range to which the target sensitivity value belongs is the first sensitivity value range;
根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第一感光度值范围对应的镜头阴影校准参数组R1作为目标镜头阴影校准参数组。According to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set, the lens shading calibration parameter set R1 corresponding to the first sensitivity value range is acquired as the target lens shading calibration parameter set.
结合本发明实施例第一方面的第三种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述方法还包括:With reference to the third possible implementation manner of the first aspect of the embodiments of the present invention, in the fourth possible implementation manner of the first aspect of the embodiments of the present invention, the method further includes:
当所述目标感光度值大于所述S1时,判断所述目标感光度值是否大于或等于所述S2;When the target sensitivity value is greater than the S1, determine whether the target sensitivity value is greater than or equal to the S2;
当所述目标感光度值大于或等于所述S2时,确定所述目标感光度值所属的感光度值范围为第三感光度值范围;When the target sensitivity value is greater than or equal to the S2, determine that the sensitivity value range to which the target sensitivity value belongs is a third sensitivity value range;
根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第三感光度值范围对应的镜头阴影校准参数组R3作为目标镜头阴影校准参数组;According to the correspondence between the preset sensitivity value range and the lens shading calibration parameter group, obtain the lens shading calibration parameter group R3 corresponding to the third sensitivity value range as the target lens shading calibration parameter group;
当所述目标感光度值小于所述S2时,确定所述目标感光度值所属的感光度值范围为第二感光度值范围;When the target sensitivity value is less than the S2, determine that the sensitivity value range to which the target sensitivity value belongs is a second sensitivity value range;
根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第二感光度值范围对应的镜头阴影校准参数组R2作为目标镜头阴影校准参数组。According to the preset corresponding relationship between the sensitivity value range and the lens shading calibration parameter set, the lens shading calibration parameter set R2 corresponding to the second sensitivity value range is obtained as the target lens shading calibration parameter set.
本发明实施例第二方面公开了一种用户终端,所述用户终端包括:The second aspect of the embodiment of the present invention discloses a user terminal, and the user terminal includes:
接收模块,用于接收输入的拍摄指令;A receiving module, configured to receive input shooting instructions;
拍摄模块,用于响应所述拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片;The photographing module is used to respond to the photographing instruction, start the flashlight and take pictures, so as to obtain photographs;
第一获取模块,用于获取进行图片拍摄时使用的目标感光度值;The first acquisition module is used to acquire the target sensitivity value used when taking pictures;
第二获取模块,用于根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组;The second acquisition module is used to acquire the target lens shading calibration parameter group corresponding to the sensitivity value range to which the target sensitivity value belongs according to the preset corresponding relationship between the sensitivity value range and the lens shadow calibration parameter group;
校准模块,用于使用所述目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的所述拍摄图片进行镜头阴影校准。A calibration module, configured to use the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the photographed picture.
在本发明实施例第二方面的第一种可能的实现方式中,所述感光度值范围包括第一感光度值范围、第二感光度值范围和第三感光度值范围,其中,第二感光度值范围包括的感光度值均大于第一感光度值范围包括的感光度值,第三感光度值范围包括的感光度值均大于第二感光度值范围包括的感光度值。In a first possible implementation manner of the second aspect of the embodiment of the present invention, the sensitivity value range includes a first sensitivity value range, a second sensitivity value range and a third sensitivity value range, wherein the second The sensitivity values included in the sensitivity value range are all greater than the sensitivity values included in the first sensitivity value range, and the sensitivity values included in the third sensitivity value range are all greater than the sensitivity values included in the second sensitivity value range.
结合本发明实施例第二方面的第一种可能的实现方式,在本发明实施例第二方面的第二种可能的实现方式中,在预设的感光度值范围与镜头阴影校准参数组的对应关系中,所述第一感光度值范围对应镜头阴影校准参数组R1,所述第二感光度值范围对应镜头阴影校准参数组R2,所述第三感光度值范围对应镜头阴影校准参数组R3,其中,所述镜头阴影校准参数组R2包括的镜头阴影校准参数r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1),所述S2为所述第三感光度值范围的最小感光度值,所述S1为所述第一感光度值范围的最大感光度值,所述S为所述目标感光度值,所述r1为所述镜头阴影校准参数组R1包括的镜头阴影校准参数,所述r3为所述镜头阴影校准参数组R3包括的镜头阴影校准参数。With reference to the first possible implementation of the second aspect of the embodiment of the present invention, in the second possible implementation of the second aspect of the embodiment of the present invention, the preset sensitivity value range and the lens shading calibration parameter set In the corresponding relationship, the first sensitivity value range corresponds to the lens shading calibration parameter set R1, the second sensitivity value range corresponds to the lens shading calibration parameter set R2, and the third sensitivity value range corresponds to the lens shading calibration parameter set R3, wherein, the lens shading calibration parameter r2 included in the lens shading calibration parameter group R2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1), the S2 is the first The minimum sensitivity value of the three sensitivity value ranges, the S1 is the maximum sensitivity value of the first sensitivity value range, the S is the target sensitivity value, and the r1 is the lens shadow calibration parameter The lens shading calibration parameters included in the group R1, and the r3 is the lens shading calibration parameters included in the lens shading calibration parameter group R3.
结合本发明实施例第二方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述第二获取模块包括:With reference to the second possible implementation manner of the second aspect of the embodiments of the present invention, in the third possible implementation manner of the first aspect of the embodiments of the present invention, the second obtaining module includes:
第一判断单元,用于判断所述目标感光度值是否小于或等于所述S1;A first judging unit, configured to judge whether the target sensitivity value is less than or equal to the S1;
确定单元,用于当所述第一判断单元判断所述目标感光度值小于或等于所述S1时,确定所述目标感光度值所属的感光度值范围为第一感光度值范围;A determining unit, configured to determine that the target sensitivity value range belongs to the first sensitivity value range when the first judging unit determines that the target sensitivity value is less than or equal to the S1;
获取单元,用于根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第一感光度值范围对应的镜头阴影校准参数组R1作为目标镜头阴影校准参数组。The acquiring unit is configured to acquire the lens shading calibration parameter set R1 corresponding to the first sensitivity value range as the target lens shading calibration parameter set according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set.
结合本发明实施例第二方面的第三种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,所述第二获取模块还包括:With reference to the third possible implementation manner of the second aspect of the embodiments of the present invention, in the fourth possible implementation manner of the first aspect of the embodiments of the present invention, the second obtaining module further includes:
第二判断单元,用于当所述第一判断单元判断所述目标感光度值大于所述S1时,判断所述目标感光度值是否大于或等于所述S2;A second judgment unit, configured to judge whether the target sensitivity value is greater than or equal to the S2 when the first judgment unit judges that the target sensitivity value is greater than the S1;
所述确定单元,还用于当所述第二判断单元判断所述目标感光度值大于或等于所述S2时,确定所述目标感光度值所属的感光度值范围为第三感光度值范围;The determination unit is further configured to determine that the target sensitivity value range to which the target sensitivity value belongs is a third sensitivity value range when the second judgment unit determines that the target sensitivity value is greater than or equal to the S2 ;
所述获取单元,还用于根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第三感光度值范围对应的镜头阴影校准参数组R3作为目标镜头阴影校准参数组;The acquisition unit is further configured to acquire the lens shading calibration parameter group R3 corresponding to the third sensitivity value range as the target lens shading calibration parameter according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter group Group;
所述确定单元,还用于当所述第二判断单元判断所述目标感光度值小于所述S2时,确定所述目标感光度值所属的感光度值范围为第二感光度值范围;The determining unit is further configured to, when the second judging unit judges that the target sensitivity value is smaller than the S2, determine that the sensitivity value range to which the target sensitivity value belongs is the second sensitivity value range;
所述获取单元,还用于根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第二感光度值范围对应的镜头阴影校准参数组R2作为目标镜头阴影校准参数组。The acquiring unit is further configured to acquire the lens shading calibration parameter set R2 corresponding to the second sensitivity value range as the target lens shading calibration parameter according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set Group.
在本发明实施例中,用户终端接收输入的拍摄指令之后,将响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片;用户终端将获取进行图片拍摄时使用的目标感光度值,并根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组;用户终端使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的该拍摄图片进行镜头阴影校准。可见,实施本发明实施例能够使用不同的镜头阴影校准参数组对不同拍摄距离的图片进行校准,达到更好地校准效果。In the embodiment of the present invention, after the user terminal receives the input shooting instruction, it will respond to the shooting instruction, start the flashlight and take a picture to obtain a picture; the user terminal will obtain the target sensitivity value used when taking the picture, and Obtain a target lens shading calibration parameter set corresponding to the sensitivity value range to which the target sensitivity value belongs according to the preset corresponding relationship between the sensitivity value range and the lens shading calibration parameter set; the user terminal uses the target lens shading calibration parameter set The included lens shading calibration parameters are used to perform lens shading calibration on the photographed picture. It can be seen that, implementing the embodiment of the present invention can use different lens shadow calibration parameter sets to calibrate pictures at different shooting distances to achieve a better calibration effect.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本发明实施例公开的一种镜头阴影校准方法的流程示意图;Fig. 1 is a schematic flow chart of a lens shading calibration method disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种镜头阴影校准方法的流程示意图;FIG. 2 is a schematic flowchart of another lens shading calibration method disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种用户终端的结构示意图;FIG. 3 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种用户终端的结构示意图。Fig. 4 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 some of the embodiments of the present invention, but 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 present invention discloses a lens shadow calibration method and a user terminal, which can use different lens shadow calibration parameter groups to calibrate pictures at different shooting distances to achieve a better calibration effect. Each will be described in detail below.
请参见图1,图1为本发明实施例公开的一种镜头阴影校准方法的流程示意图。如图1所示,该镜头阴影校准方法可以包括以下步骤。Please refer to FIG. 1 , which is a schematic flowchart of a method for calibrating lens shading disclosed in an embodiment of the present invention. As shown in FIG. 1 , the lens shading calibration method may include the following steps.
S101、接收输入的拍摄指令。S101. Receive an input shooting instruction.
本发明实施例中,由用户终端接收输入的拍摄指令。其中,该用户终端可包括但不限于智能手机、平板电脑、笔记本电脑、台式电脑等具有拍照功能的用户终端。该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the input shooting instruction is received by the user terminal. Wherein, the user terminal may include but not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, and other user terminals with a camera function. The operating system of the user terminal may include but not limited to Android operating system, IOS operating system, Symbian (Symbian) operating system, Black Berry (Blackberry) operating system, Windows operating system, etc., which are not limited in the embodiment of the present invention.
可选的,用户可以通过对用户终端上提供的硬件按钮、应用图标进行操作来输入拍摄指令。可选的,拍摄指令也可以是通过第三方应用程序发送的,例如,发表图片的应用、说说等,具体的,本发明实施例不做限定。Optionally, the user may input a shooting instruction by operating hardware buttons and application icons provided on the user terminal. Optionally, the shooting instruction may also be sent through a third-party application program, for example, an application for posting pictures, talk about it, etc., which is not limited in this embodiment of the present invention.
S102、响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片。S102. In response to the shooting instruction, start a flash and take a picture, so as to obtain a picture.
本发明实施例中,用户终端接收输入的拍摄指令之后,将响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片。In the embodiment of the present invention, after receiving an input shooting instruction, the user terminal will respond to the shooting instruction, start a flashlight and take a picture, so as to obtain a shot picture.
S103、获取进行图片拍摄时使用的目标感光度值。S103. Acquire a target sensitivity value used when taking pictures.
本发明实施例中,用户终端将获取进行图片拍摄时使用的目标感光度值。In the embodiment of the present invention, the user terminal will acquire the target sensitivity value used when taking pictures.
S104、根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组。S104. Acquire a target lens shading calibration parameter set corresponding to the sensitivity value range to which the target sensitivity value belongs according to the preset correspondence between the sensitivity value range and the lens shadow calibration parameter set.
本发明实施例中,用户终端获取进行图片拍摄时使用的目标感光度值之后,将根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组。In the embodiment of the present invention, after the user terminal acquires the target sensitivity value used when taking pictures, it will acquire the sensitivity value to which the target sensitivity value belongs according to the corresponding relationship between the preset sensitivity value range and the lens shadow calibration parameter group. Target lens shadow calibration parameter group corresponding to the degree value range.
本发明实施例中,用户终端预设有感光度值范围与镜头阴影校准参数组的对应关系。其中,一个感光度值范围对应一个镜头阴影校准参数组。In the embodiment of the present invention, the user terminal is preset with a corresponding relationship between the sensitivity value range and the lens shading calibration parameter set. Wherein, a sensitivity value range corresponds to a lens shading calibration parameter set.
在实际应用中,当用户终端进行拍摄时,拍摄物离用户终端的距离不同,用户终端拍摄时所使用的感光度值不同。拍摄物越远,用户终端所使用的感光度值越大;拍摄物越近,用户终端所使用的感光度值越小。因此,根据用户终端进行拍摄时所使用的感光度值就可以判断用户终端是拍摄近景图片还是远景图片。In practical applications, when the user terminal is shooting, the distances between the shooting object and the user terminal are different, and the sensitivity values used by the user terminal are different when shooting. The farther the subject is, the greater the sensitivity value used by the user terminal is; the closer the subject is, the smaller the sensitivity value used by the user terminal. Therefore, it can be judged whether the user terminal is taking a close-range picture or a distant-view picture according to the sensitivity value used when the user terminal takes pictures.
例如,若感光度值S1为拍摄近景图片所使用的最大感光度值,则当用户终端进行图片拍摄时,若使用的感光度值小于或等于感光度值S1,则可判定用户终端所拍摄的图片为近景图片。若感光度值S2为拍摄远景图片所使用的最小感光度值,则当用户终端进行图片拍摄时,若使用的感光度值大于或等于感光度值S2,则可判定用户终端所拍摄的图片为远景图片。For example, if the sensitivity value S1 is the maximum sensitivity value used for taking close-up pictures, then when the user terminal takes pictures, if the sensitivity value used is less than or equal to the sensitivity value S1, it can be determined that the photos taken by the user terminal The picture is a close-up picture. If the sensitivity value S2 is the minimum sensitivity value used for taking pictures of distant scenery, then when the user terminal takes a picture, if the sensitivity value used is greater than or equal to the sensitivity value S2, it can be determined that the picture taken by the user terminal is Vision picture.
本发明实施例中,一个感光度值范围对应一个镜头阴影校准参数组,因为拍摄距离与感光度值具有对应关系,因此,不同拍摄距离的图片可以使用不同的镜头阴影校准参数组进行镜头阴影校准。In the embodiment of the present invention, a sensitivity value range corresponds to a lens shading calibration parameter set, because the shooting distance has a corresponding relationship with the sensitivity value, therefore, different lens shading calibration parameter sets can be used for lens shading calibration for pictures at different shooting distances .
在实践中发现,使用的镜头阴影校准参数的校准强度越大,校准的效果越好。然而当用户终端拍摄远景图片时,因为使用的是较大的感光度值,所以导致了拍摄的远景图片彩色噪点很多;若使用校准强度大的镜头阴影校准参数对远景图片进行镜头阴影校准,将造成更多的彩色噪点。It has been found in practice that the greater the calibration strength of the lens shading calibration parameters used, the better the calibration. However, when the user terminal takes a distant view picture, because it uses a large sensitivity value, the captured distant view picture has a lot of color noise; Causes more colored noise.
因此,本发明实施例中,若第一感光度值范围包括的感光度值为拍摄近景图片所使用的感光度值,则用户终端可设置第一感光度值范围对应校准强度较大的镜头阴影校准参数组,以使用校准强度较大的镜头阴影校准参数对近景图片进行镜头阴影校准,以对近景图片达到好的校准效果;同时,若第二感光度值范围包括的感光度值为拍摄远景图片所使用的感光度值,则用户终端可设置第二感光度值范围对应校准强度较小的镜头阴影校准参数组,以使用校准强度较小的镜头阴影校准参数对远景图片进行镜头阴影校准,以避免造成远景图片更多的彩色噪点。Therefore, in the embodiment of the present invention, if the sensitivity value included in the first sensitivity value range is the sensitivity value used for shooting close-up pictures, the user terminal can set the first sensitivity value range to correspond to the lens shadow with higher calibration intensity. Calibration parameter group, to use lens shadow calibration parameters with higher calibration intensity to perform lens shadow calibration on close-range pictures, so as to achieve a good calibration effect on close-range pictures; at the same time, if the sensitivity value included in the second sensitivity value range is The sensitivity value used by the picture, the user terminal can set the second sensitivity value range corresponding to the lens shading calibration parameter group with a smaller calibration intensity, so as to use the lens shading calibration parameters with a lower calibration intensity to perform lens shading calibration on the distant view picture, In order to avoid causing more color noise in the distant picture.
本发明实施例中,一组镜头阴影校准参数组包括多个镜头阴影校准参数。由于一个像素有4个颜色通道,分别为R、GR、GB和B颜色通道,因此,本发明实施例将一个镜头阴影校准参数组包括的镜头阴影校准参数分为四个部分。其中,第一部分镜头阴影校准参数用于校准R通道的数值,第二部分镜头阴影校准参数用于校准GR通道的数值,第三部分镜头阴影校准参数用于校准GB通道的数值,第四部分镜头阴影校准参数用于校准B通道的数值。每一部分拥有的镜头阴影校准参数的数量相同。In the embodiment of the present invention, a set of lens shading calibration parameters includes a plurality of lens shading calibration parameters. Since a pixel has four color channels, namely R, GR, GB and B color channels, the embodiment of the present invention divides the lens shading calibration parameters included in one lens shading calibration parameter set into four parts. Among them, the first part of the lens shading calibration parameters is used to calibrate the value of the R channel, the second part of the lens shading calibration parameters is used to calibrate the value of the GR channel, the third part of the lens shading calibration parameters is used to calibrate the value of the GB channel, and the fourth part of the lens The shadow calibration parameter is used to calibrate the value of the B channel. Each part has the same number of lens shading calibration parameters.
本发明实施例中,可选的,用户终端将拍摄得到的图片分为130块。因此,一个镜头阴影校准参数组由520个镜头阴影校准参数组成,其中,130个镜头阴影校准参数用于校准R通道的数值,130个镜头阴影校准参数用于校准GR通道的数值,130个镜头阴影校准参数用于校准GB通道的数值,130个镜头阴影校准参数用于校准B通道的数值。In the embodiment of the present invention, optionally, the user terminal divides the photographed picture into 130 blocks. Therefore, a lens shading calibration parameter set consists of 520 lens shading calibration parameters, among which 130 lens shading calibration parameters are used to calibrate the value of the R channel, 130 lens shading calibration parameters are used to calibrate the value of the GR channel, and 130 lens shading calibration parameters are used to calibrate the value of the GR channel. The shadow calibration parameters are used to calibrate the value of the GB channel, and the 130 lens shadow calibration parameters are used to calibrate the value of the B channel.
S105、使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的该拍摄图片进行镜头阴影校准。S105. Use the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the captured picture.
本发明实施例中,用户终端获取目标镜头阴影校准参数组之后,将使用目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的拍摄图片进行镜头阴影校准。In the embodiment of the present invention, after acquiring the target lens shading calibration parameter set, the user terminal will use the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the captured pictures.
举例来说,当用户终端将拍摄得到的图片分为130块时,每一块对应四个颜色通道R、GR、GB和B。每一块对应目标镜头阴影校准参数组包括的四个阴影校准参数,这四个阴影校准参数分别用于对四个通道的数值进行校准。若用户终端检测图片的第一块时发现R通道的数值大于正常数值,则用户终端可使用与图片的第一块对应的用于对R通道的数值进行校准的镜头阴影校准参数对R通道的数值进行校准,将R通道的数值改变为正常数值。或,用户终端可以使用与图片的第一块对应的用于对其他通道的数值进行校准的镜头阴影校准参数提升其他通道的数值,以使各通道的数值达到平衡。以此类推,130块,每一块都这样校准。For example, when the user terminal divides the captured picture into 130 blocks, each block corresponds to four color channels R, GR, GB and B. Each block corresponds to four shadow calibration parameters included in the target lens shadow calibration parameter group, and these four shadow calibration parameters are respectively used to calibrate the values of the four channels. If the user terminal detects the first block of the picture and finds that the value of the R channel is greater than the normal value, the user terminal can use the lens shading calibration parameters corresponding to the first block of the picture for calibrating the value of the R channel to calibrate the value of the R channel. The value is calibrated, and the value of the R channel is changed to a normal value. Or, the user terminal may use the lens shading calibration parameters corresponding to the first block of the picture for calibrating the values of other channels to increase the values of other channels, so that the values of each channel are balanced. By analogy, 130 blocks, each of which is calibrated in this way.
本发明实施例中,可选的,用户终端使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的拍摄图片进行镜头阴影校准之后,将输出校准完成的拍摄图片,以使用户查看校准完成的拍摄图片;或用户终端使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的拍摄图片进行镜头阴影校准之后,可将校准完成的拍摄图片进行储存。In this embodiment of the present invention, optionally, after the user terminal uses the lens shading calibration parameters included in the target lens shading calibration parameter group to perform lens shading calibration on the captured pictures, it will output the calibrated pictures so that the user can view The calibrated captured picture; or the user terminal may store the calibrated captured picture after performing lens shading calibration on the captured captured picture using the lens shading calibration parameters included in the target lens shading calibration parameter set.
在图1所描述的方法中,用户终端接收输入的拍摄指令之后,将响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片;用户终端将获取进行图片拍摄时使用的目标感光度值,并根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组;用户终端使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的该拍摄图片进行镜头阴影校准。可见,实施本发明实施例能够使用不同的镜头阴影校准参数组对不同拍摄距离的图片进行校准,达到更好地校准效果。In the method described in Figure 1, after the user terminal receives the input shooting instruction, it will respond to the shooting instruction, start the flashlight and take a picture to obtain a picture; the user terminal will obtain the target sensitivity value used when taking the picture , and according to the preset corresponding relationship between the sensitivity value range and the lens shading calibration parameter group, obtain the target lens shading calibration parameter group corresponding to the sensitivity value range to which the target sensitivity value belongs; the user terminal uses the target lens shading calibration The lens shading calibration parameters included in the parameter group are used to calibrate the lens shading of the photographed picture. It can be seen that, implementing the embodiment of the present invention can use different lens shadow calibration parameter sets to calibrate pictures at different shooting distances to achieve a better calibration effect.
请参见图2,图2为本发明实施例公开的另一种镜头阴影校准方法的流程示意图。如图2所示,该镜头阴影校准方法可以包括以下步骤。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for calibrating lens shading disclosed by an embodiment of the present invention. As shown in FIG. 2 , the lens shading calibration method may include the following steps.
S201、接收输入的拍摄指令。S201. Receive an input shooting instruction.
S202、响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片。S202. In response to the photographing instruction, start a flashlight and take a picture, so as to obtain a photographed picture.
S203、获取进行图片拍摄时使用的目标感光度值。S203. Acquire a target sensitivity value used when taking pictures.
S204、判断该目标感光度值是否小于或等于感光度值S1。S204. Determine whether the target sensitivity value is less than or equal to the sensitivity value S1.
本发明实施例中,用户终端预设有三个感光度值范围,分别为第一感光度值范围、第二感光度值范围和第三感光度值范围,其中,第二感光度值范围包括的感光度值均大于第一感光度值范围包括的感光度值,第三感光度值范围包括的感光度值均大于第二感光度值范围包括的感光度值。其中,感光度值S1为第一感光度值范围的最大值,感光度值S2为第三感光度值范围的最小值。其中,第一感光度值范围包括的感光度值为拍摄近景图片所使用的感光度值,第三感光度值范围包括的感光度值为拍摄远景图片所使用的感光度值。In the embodiment of the present invention, the user terminal is preset with three sensitivity value ranges, namely the first sensitivity value range, the second sensitivity value range and the third sensitivity value range, wherein the second sensitivity value range includes The sensitivity values are all greater than the sensitivity values included in the first sensitivity value range, and the sensitivity values included in the third sensitivity value range are all greater than the sensitivity values included in the second sensitivity value range. Wherein, the sensitivity value S1 is the maximum value of the first sensitivity value range, and the sensitivity value S2 is the minimum value of the third sensitivity value range. Wherein, the sensitivity value included in the first sensitivity value range is the sensitivity value used for shooting the close-range picture, and the sensitivity value included in the third sensitivity value range is the sensitivity value used for shooting the distant view picture.
本发明实施例中,用户终端获取进行图片拍摄时使用的目标感光度值之后,将确定目标感光度值所属的预设感光度值范围。具体地,用户终端将判断目标感光度值是否小于或等于感光度值S1。In the embodiment of the present invention, after the user terminal acquires the target sensitivity value used when taking pictures, it will determine the preset sensitivity value range to which the target sensitivity value belongs. Specifically, the user terminal will determine whether the target sensitivity value is less than or equal to the sensitivity value S1.
本发明实施例中,当用户终端判断目标感光度值小于或等于感光度值S1时,执行步骤S205。当用户终端判断目标感光度值大于感光度值S1时,执行步骤S207。In the embodiment of the present invention, when the user terminal determines that the target sensitivity value is less than or equal to the sensitivity value S1, step S205 is executed. When the user terminal determines that the target sensitivity value is greater than the sensitivity value S1, step S207 is performed.
S205、确定该目标感光度值所属的感光度值范围为第一感光度值范围。S205. Determine that the sensitivity value range to which the target sensitivity value belongs is the first sensitivity value range.
S206、根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与第一感光度值范围对应的镜头阴影校准参数组R1作为目标镜头阴影校准参数组。S206. Acquire a lens shading calibration parameter set R1 corresponding to the first sensitivity value range as a target lens shading calibration parameter set according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set.
本发明实施例中,用户终端预设有感光度值范围与镜头阴影校准参数组的对应关系。其中,第一感光度值范围对应镜头阴影校准参数组R1,第二感光度值范围对应镜头阴影校准参数组R2,第三感光度值范围对应镜头阴影校准参数组R3。其中,镜头阴影校准参数组R2包括的镜头阴影校准参数r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1)。其中,S为目标感光度值,r1为镜头阴影校准参数组R1包括的镜头阴影校准参数,r3为镜头阴影校准参数组R3包括的镜头阴影校准参数。In the embodiment of the present invention, the user terminal is preset with a corresponding relationship between the sensitivity value range and the lens shading calibration parameter set. Wherein, the first sensitivity value range corresponds to the lens shading calibration parameter set R1, the second sensitivity value range corresponds to the lens shading calibration parameter set R2, and the third sensitivity value range corresponds to the lens shading calibration parameter set R3. Wherein, the lens shading calibration parameter set R2 includes lens shading calibration parameters r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1). Wherein, S is the target sensitivity value, r1 is the lens shading calibration parameter included in the lens shading calibration parameter group R1, and r3 is the lens shading calibration parameter included in the lens shading calibration parameter group R3.
S207、判断该目标感光度值是否大于或等于感光度值S2。S207. Determine whether the target sensitivity value is greater than or equal to the sensitivity value S2.
本发明实施例中,当用户终端判断目标感光度值大于感光度值S1时,用户终端判断目标感光度值是否大于或等于感光度值S2。当用户终端判断目标感光度值大于或等于感光度值S2时,执行步骤S208。当用户终端判断目标感光度值小于感光度值S2时,执行步骤S210。In the embodiment of the present invention, when the user terminal determines that the target sensitivity value is greater than the sensitivity value S1, the user terminal determines whether the target sensitivity value is greater than or equal to the sensitivity value S2. When the user terminal determines that the target sensitivity value is greater than or equal to the sensitivity value S2, step S208 is executed. When the user terminal determines that the target sensitivity value is smaller than the sensitivity value S2, step S210 is executed.
S208、确定该目标感光度值所属的感光度值范围为第三感光度值范围。S208. Determine that the sensitivity value range to which the target sensitivity value belongs is a third sensitivity value range.
S209、根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该第三感光度值范围对应的镜头阴影校准参数组R3作为目标镜头阴影校准参数组。S209. Acquire a lens shading calibration parameter set R3 corresponding to the third sensitivity value range as a target lens shading calibration parameter set according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set.
S210、确定该目标感光度值所属的感光度值范围为第二感光度值范围。S210. Determine that the sensitivity value range to which the target sensitivity value belongs is a second sensitivity value range.
本发明实施例中,当用户终端判断目标感光度值小于感光度值S2时,用户终端确定目标感光度值所属的感光度值范围为第二感光度值范围。In the embodiment of the present invention, when the user terminal judges that the target sensitivity value is less than the sensitivity value S2, the user terminal determines that the sensitivity value range to which the target sensitivity value belongs is the second sensitivity value range.
S211、根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第二感光度值范围对应的镜头阴影校准参数组R2作为目标镜头阴影校准参数组。S211. Acquire a lens shading calibration parameter set R2 corresponding to the second sensitivity value range as a target lens shading calibration parameter set according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set.
本发明实施例中,用户终端将根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第二感光度值范围对应的镜头阴影校准参数组R2作为目标镜头阴影校准参数组。具体的,用户终端将根据镜头阴影校准参数组R1包括的镜头阴影校准参数r1和镜头阴影校准参数组R3包括的镜头阴影校准参数r3,来计算获得镜头阴影校准参数组R2包括的镜头阴影校准参数r2。具体的计算公式可以为:r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1)。其中,S为目标感光度值,r1为镜头阴影校准参数组R1包括的镜头阴影校准参数,r3为镜头阴影校准参数组R3包括的镜头阴影校准参数。In the embodiment of the present invention, the user terminal will obtain the lens shading calibration parameter group R2 corresponding to the second sensitivity value range as the target lens shading calibration according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter group parameter group. Specifically, the user terminal will calculate and obtain the lens shading calibration parameters included in the lens shading calibration parameter group R2 according to the lens shading calibration parameter r1 included in the lens shading calibration parameter group R1 and the lens shading calibration parameter r3 included in the lens shading calibration parameter group R3 r2. A specific calculation formula may be: r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1). Wherein, S is the target sensitivity value, r1 is the lens shading calibration parameter included in the lens shading calibration parameter group R1, and r3 is the lens shading calibration parameter included in the lens shading calibration parameter group R3.
S212、使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的该拍摄图片进行镜头阴影校准。S212. Use the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the captured picture.
本发明实施例中,不同的感光度值范围将对应不同的镜头阴影校准参数组,用户终端获取拍摄时使用的感光度值所属感光度值范围,并根据感光度值范围来确定拍摄图片所要使用的镜头阴影校准参数。在实际应用中,拍摄距离与感光度值具有对应关系,拍摄距离越远,所使用的感光度值越大,拍摄距离越近,所使用的感光度值越小。因此,通过实施本发明实施例,用户终端能够使用不同的镜头阴影校准参数组对不同拍摄距离的图片进行校准,达到了更好地校准效果。In the embodiment of the present invention, different sensitivity value ranges will correspond to different lens shadow calibration parameter groups. The user terminal obtains the sensitivity value range to which the sensitivity value used when shooting belongs, and determines the range of sensitivity values to be used for taking pictures according to the sensitivity value range. The lens shading calibration parameters for . In practical applications, there is a corresponding relationship between the shooting distance and the sensitivity value. The farther the shooting distance is, the larger the sensitivity value is, and the shorter the shooting distance is, the smaller the sensitivity value is. Therefore, by implementing the embodiments of the present invention, the user terminal can use different lens shading calibration parameter sets to calibrate pictures at different shooting distances, achieving a better calibration effect.
请参阅图3,图3是本发明实施例公开的一种用户终端的结构示意图。其中,图3所示的用户终端可以包括接收模块301、拍摄模块302、第一获取模块303、第二获取模块304和校准模块305。其中:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention. Wherein, the user terminal shown in FIG. 3 may include a receiving module 301 , a photographing module 302 , a first obtaining module 303 , a second obtaining module 304 and a calibration module 305 . in:
接收模块301,用于接收输入的拍摄指令。The receiving module 301 is configured to receive an input shooting instruction.
本发明实施例中,由用户终端的接收模块301接收输入的拍摄指令。其中,该用户终端可包括但不限于智能手机、平板电脑、笔记本电脑、台式电脑等具有拍照功能的用户终端。该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the receiving module 301 of the user terminal receives an input shooting instruction. Wherein, the user terminal may include but not limited to a smart phone, a tablet computer, a notebook computer, a desktop computer, and other user terminals with a camera function. The operating system of the user terminal may include but not limited to Android operating system, IOS operating system, Symbian (Symbian) operating system, Black Berry (Blackberry) operating system, Windows operating system, etc., which are not limited in the embodiment of the present invention.
可选的,用户可以通过对用户终端上提供的硬件按钮、应用图标进行操作来输入拍摄指令。可选的,拍摄指令也可以是通过第三方应用程序发送的,例如,发表图片的应用、说说等,具体的,本发明实施例不做限定。Optionally, the user may input a shooting instruction by operating hardware buttons and application icons provided on the user terminal. Optionally, the shooting instruction may also be sent through a third-party application program, for example, an application for posting pictures, talk about it, etc., which is not limited in this embodiment of the present invention.
拍摄模块302,用于响应所述拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片。The photographing module 302 is configured to respond to the photographing instruction, start a flash and take pictures, so as to obtain photographed pictures.
本发明实施例中,接收模块301接收输入的拍摄指令之后,拍摄模块302将响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片。In the embodiment of the present invention, after the receiving module 301 receives the input shooting instruction, the shooting module 302 will respond to the shooting instruction, start the flashlight and take pictures, so as to obtain the shooting pictures.
第一获取模块303,用于获取拍摄模块302进行图片拍摄时使用的目标感光度值。The first obtaining module 303 is configured to obtain a target sensitivity value used when the shooting module 302 takes pictures.
第二获取模块304,用于根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组。The second acquisition module 304 is configured to acquire a target lens shading calibration parameter set corresponding to the sensitivity value range to which the target sensitivity value belongs according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set.
本发明实施例中,第一获取模块303获取进行图片拍摄时使用的目标感光度值之后,第二获取模块304将根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组。In the embodiment of the present invention, after the first acquisition module 303 acquires the target sensitivity value used when taking pictures, the second acquisition module 304 will acquire the corresponding relationship with The target lens shadow calibration parameter group corresponding to the sensitivity value range to which the target sensitivity value belongs.
本发明实施例中,用户终端预设有感光度值范围与镜头阴影校准参数组的对应关系。其中,一个感光度值范围对应一个镜头阴影校准参数组。In the embodiment of the present invention, the user terminal is preset with a corresponding relationship between the sensitivity value range and the lens shading calibration parameter set. Wherein, a sensitivity value range corresponds to a lens shading calibration parameter set.
在实际应用中,当拍摄模块302进行拍摄时,拍摄物离用户终端的距离不同,用户终端拍摄时所使用的感光度值不同。拍摄物越远,用户终端所使用的感光度值越大;拍摄物越近,用户终端所使用的感光度值越小。因此,根据拍摄模块302进行拍摄时所使用的感光度值就可以判断拍摄模块302是拍摄近景图片还是远景图片。In practical applications, when the photographing module 302 is photographing, the distance between the photographed object and the user terminal is different, and the sensitivity value used by the user terminal is different when photographing. The farther the subject is, the greater the sensitivity value used by the user terminal is; the closer the subject is, the smaller the sensitivity value used by the user terminal. Therefore, according to the photosensitivity value used by the photographing module 302 when photographing, it can be judged whether the photographing module 302 is capturing a close-up picture or a long-range picture.
例如,若感光度值S1为拍摄近景图片所使用的最大感光度值,则当拍摄模块302进行图片拍摄时,若使用的感光度值小于或等于感光度值S1,则可判定用户终端所拍摄的图片为近景图片。若感光度值S2为拍摄远景图片所使用的最小感光度值,则当拍摄模块302进行图片拍摄时,若使用的感光度值大于或等于感光度值S2,则可判定用户终端所拍摄的图片为远景图片。For example, if the sensitivity value S1 is the maximum sensitivity value used to take a close-up picture, then when the photographing module 302 takes pictures, if the sensitivity value used is less than or equal to the sensitivity value S1, it can be determined that the image captured by the user terminal is The pictures are close-up pictures. If the sensitivity value S2 is the minimum sensitivity value used for taking pictures of distant scenery, then when the photographing module 302 takes a picture, if the sensitivity value used is greater than or equal to the sensitivity value S2, the picture taken by the user terminal can be determined. For the perspective picture.
本发明实施例中,一个感光度值范围对应一个镜头阴影校准参数组,因为拍摄距离与感光度值具有对应关系,因此,不同拍摄距离的图片可以使用不同的镜头阴影校准参数组进行镜头阴影校准。In the embodiment of the present invention, a sensitivity value range corresponds to a lens shading calibration parameter set, because the shooting distance has a corresponding relationship with the sensitivity value, therefore, different lens shading calibration parameter sets can be used for lens shading calibration for pictures at different shooting distances .
在实践中发现,使用的镜头阴影校准参数的校准强度越大,校准的效果越好。然而当用户终端拍摄远景图片时,因为使用的是较大的感光度值,所以导致了拍摄的远景图片彩色噪点很多;若使用校准强度大的镜头阴影校准参数对远景图片的镜头阴影进行校准,将造成更多的彩色噪点。It has been found in practice that the greater the calibration strength of the lens shading calibration parameters used, the better the calibration. However, when the user terminal takes a distant view picture, because it uses a larger sensitivity value, the captured distant view picture has a lot of color noise; Will cause more colored noise.
因此,本发明实施例中,若第一感光度值范围包括的感光度值为拍摄近景图片所使用的感光度值,则用户终端可设置第一感光度值范围对应校准强度较大的镜头阴影校准参数组,以使用校准强度较大的镜头阴影校准参数对近景图片进行镜头阴影校准,以对近景图片达到好的校准效果;同时,若第二感光度值范围包括的感光度值为拍摄远景图片所使用的感光度值,则用户终端可设置第二感光度值范围对应校准强度较小的镜头阴影校准参数组,以使用校准强度较小的镜头阴影校准参数对远景图片进行镜头阴影校准,以避免造成远景图片更多的彩色噪点。Therefore, in the embodiment of the present invention, if the sensitivity value included in the first sensitivity value range is the sensitivity value used for shooting close-up pictures, the user terminal can set the first sensitivity value range to correspond to the lens shadow with higher calibration intensity. Calibration parameter group, to use lens shadow calibration parameters with higher calibration intensity to perform lens shadow calibration on close-range pictures, so as to achieve a good calibration effect on close-range pictures; at the same time, if the sensitivity value included in the second sensitivity value range is The sensitivity value used by the picture, the user terminal can set the second sensitivity value range corresponding to the lens shading calibration parameter group with a smaller calibration intensity, so as to use the lens shading calibration parameters with a lower calibration intensity to perform lens shading calibration on the distant view picture, In order to avoid causing more color noise in the distant picture.
本发明实施例中,一组镜头阴影校准参数组包括多个镜头阴影校准参数。由于一个像素有4个颜色通道,分别为R、GR、GB和B颜色通道,因此,本发明实施例将一个镜头阴影校准参数组包括的镜头阴影校准参数分为四个部分。其中,第一部分镜头阴影校准参数用于校准R通道的数值,第二部分镜头阴影校准参数用于校准GR通道的数值,第三部分镜头阴影校准参数用于校准GB通道的数值,第四部分镜头阴影校准参数用于校准B通道的数值。每一部分拥有的镜头阴影校准参数的数量相同。In the embodiment of the present invention, a set of lens shading calibration parameters includes a plurality of lens shading calibration parameters. Since a pixel has four color channels, namely R, GR, GB and B color channels, the embodiment of the present invention divides the lens shading calibration parameters included in one lens shading calibration parameter set into four parts. Among them, the first part of the lens shading calibration parameters is used to calibrate the value of the R channel, the second part of the lens shading calibration parameters is used to calibrate the value of the GR channel, the third part of the lens shading calibration parameters is used to calibrate the value of the GB channel, and the fourth part of the lens The shadow calibration parameter is used to calibrate the value of the B channel. Each part has the same number of lens shading calibration parameters.
本发明实施例中,可选的,用户终端将拍摄得到的图片分为130块。因此,一个镜头阴影校准参数组由520个镜头阴影校准参数组成,其中,130个镜头阴影校准参数用于校准R通道的数值,130个镜头阴影校准参数用于校准GR通道的数值,130个镜头阴影校准参数用于校准GB通道的数值,130个镜头阴影校准参数用于校准B通道的数值。In the embodiment of the present invention, optionally, the user terminal divides the photographed picture into 130 blocks. Therefore, a lens shading calibration parameter set consists of 520 lens shading calibration parameters, among which 130 lens shading calibration parameters are used to calibrate the value of the R channel, 130 lens shading calibration parameters are used to calibrate the value of the GR channel, and 130 lens shading calibration parameters are used to calibrate the value of the GR channel. The shadow calibration parameters are used to calibrate the value of the GB channel, and the 130 lens shadow calibration parameters are used to calibrate the value of the B channel.
校准模块305,用于使用所述目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄模块302拍摄得到的所述拍摄图片进行镜头阴影校准。The calibration module 305 is configured to use the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the photographed picture obtained by the photographing module 302 .
本发明实施例中,第二获取模块304获取目标镜头阴影校准参数组之后,校准模块305将使用目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄模块302拍摄得到的拍摄图片进行镜头阴影校准。In the embodiment of the present invention, after the second acquisition module 304 acquires the target lens shading calibration parameter set, the calibration module 305 will use the lens shading calibration parameters included in the target lens shading calibration parameter set to perform lens shading calibration on the pictures captured by the shooting module 302 .
举例来说,当用户终端将拍摄得到的图片分为130块时,每一块对应四个颜色通道R、GR、GB和B。每一块对应目标镜头阴影校准参数组包括的四个阴影校准参数,这四个阴影校准参数分别用于对四个通道的数值进行校准。若用户终端检测图片的第一块时发现R通道的数值大于正常数值,则校准模块305可使用与图片的第一块对应的用于对R通道的数值进行校准的镜头阴影校准参数对R通道的数值进行校准,将R通道的数值改变为正常数值。或,校准模块305可以使用与图片的第一块对应的用于对其他通道的数值进行校准的镜头阴影校准参数提升其他通道的数值,以使各通道的数值达到平衡。以此类推,130块,每一块都这样校准。For example, when the user terminal divides the captured picture into 130 blocks, each block corresponds to four color channels R, GR, GB and B. Each block corresponds to four shadow calibration parameters included in the target lens shadow calibration parameter group, and these four shadow calibration parameters are respectively used to calibrate the values of the four channels. If the user terminal detects the first block of the picture and finds that the value of the R channel is greater than the normal value, then the calibration module 305 can use the lens shading calibration parameters corresponding to the first block of the picture for calibrating the value of the R channel to correct the R channel Calibrate the value of the R channel and change the value of the R channel to a normal value. Or, the calibration module 305 may use the lens shading calibration parameters corresponding to the first block of the picture for calibrating the values of other channels to increase the values of other channels, so that the values of each channel are balanced. By analogy, 130 blocks, each of which is calibrated in this way.
本发明实施例中,可选的,校准模块305使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的拍摄图片进行镜头阴影校准之后,用户终端将输出校准完成的拍摄图片,以使用户查看校准完成的拍摄图片;或校准模块305使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的拍摄图片进行镜头阴影校准之后,用户终端可将校准完成的拍摄图片进行储存。In the embodiment of the present invention, optionally, after the calibration module 305 uses the lens shading calibration parameters included in the target lens shading calibration parameter group to perform lens shading calibration on the captured pictures, the user terminal will output the calibrated pictures to Allow the user to view the calibrated pictures; or the calibration module 305 uses the lens shading calibration parameters included in the target lens shading calibration parameter group to perform lens shading calibration on the captured pictures, and the user terminal can store the calibrated pictures .
请一并参阅图4,图4是本发明实施例公开的另一种用户终端的结构示意图。其中,图4所示的用户终端是由图3所示的用户终端进行优化得到的。与图3所示的用户终端相比较,图4所示的用户终端除包括图3所示的用户终端的所有模块外,图4所示的用户终端的第二获取模块304可包括:第一判断单元3041、确定单元3042、获取单元3043和第二判断单元3044。Please also refer to FIG. 4 . FIG. 4 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention. Wherein, the user terminal shown in FIG. 4 is obtained by optimizing the user terminal shown in FIG. 3 . Compared with the user terminal shown in FIG. 3, the user terminal shown in FIG. 4 includes all modules of the user terminal shown in FIG. 3, and the second acquisition module 304 of the user terminal shown in FIG. 4 may include: the first A judging unit 3041 , a determining unit 3042 , an acquiring unit 3043 and a second judging unit 3044 .
第一判断单元3041,用于判断所述目标感光度值是否小于或等于感光度值S1。The first judging unit 3041 is configured to judge whether the target sensitivity value is less than or equal to the sensitivity value S1.
本发明实施例中,用户终端预先设置三个感光度值范围,分别为第一感光度值范围、第二感光度值范围和第三感光度值范围,其中,第二感光度值范围包括的感光度值均大于第一感光度值范围包括的感光度值,第三感光度值范围包括的感光度值均大于第二感光度值范围包括的感光度值。其中,感光度值S1为第一感光度值范围的最大值,感光度值S2为第三感光度值范围的最小值。其中,第一感光度值范围包括的感光度值为拍摄近景图片所使用的感光度值,第三感光度值范围包括的感光度值为拍摄远景图片所使用的感光度值。In the embodiment of the present invention, the user terminal presets three sensitivity value ranges, namely the first sensitivity value range, the second sensitivity value range and the third sensitivity value range, wherein the second sensitivity value range includes The sensitivity values are all greater than the sensitivity values included in the first sensitivity value range, and the sensitivity values included in the third sensitivity value range are all greater than the sensitivity values included in the second sensitivity value range. Wherein, the sensitivity value S1 is the maximum value of the first sensitivity value range, and the sensitivity value S2 is the minimum value of the third sensitivity value range. Wherein, the sensitivity value included in the first sensitivity value range is the sensitivity value used for shooting the close-range picture, and the sensitivity value included in the third sensitivity value range is the sensitivity value used for shooting the distant view picture.
本发明实施例中,第一获取模块303获取进行图片拍摄时使用的目标感光度值之后,第一判断单元3041将判断目标感光度值所属的预设感光度值范围。具体地,第一判断单元3041将判断目标感光度值是否小于或等于感光度值S1。In the embodiment of the present invention, after the first acquisition module 303 acquires the target sensitivity value used when taking pictures, the first determination unit 3041 will determine the preset sensitivity value range to which the target sensitivity value belongs. Specifically, the first judging unit 3041 will judge whether the target sensitivity value is less than or equal to the sensitivity value S1.
确定单元3042,用于当所述第一判断单元3041判断所述目标感光度值小于或等于感光度值S1时,确定所述目标感光度值所属的感光度值范围为第一感光度值范围。A determination unit 3042, configured to determine that the target sensitivity value range to which the target sensitivity value belongs is the first sensitivity value range when the first judging unit 3041 determines that the target sensitivity value is less than or equal to the sensitivity value S1 .
获取单元3043,用于根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第一感光度值范围对应的镜头阴影校准参数组R1作为目标镜头阴影校准参数组。The acquiring unit 3043 is configured to acquire the lens shading calibration parameter set R1 corresponding to the first sensitivity value range as the target lens shading calibration parameter set according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set.
本发明实施例中,用户终端预设有感光度值范围与镜头阴影校准参数组的对应关系。其中,第一感光度值范围对应镜头阴影校准参数组R1,第二感光度值范围对应镜头阴影校准参数组R2,第三感光度值范围对应镜头阴影校准参数组R3。其中,镜头阴影校准参数组R2包括的镜头阴影校准参数r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1)。其中,S为目标感光度值,r1为镜头阴影校准参数组R1包括的镜头阴影校准参数,r3为镜头阴影校准参数组R3包括的镜头阴影校准参数。In the embodiment of the present invention, the user terminal is preset with a corresponding relationship between the sensitivity value range and the lens shading calibration parameter set. Wherein, the first sensitivity value range corresponds to the lens shading calibration parameter set R1, the second sensitivity value range corresponds to the lens shading calibration parameter set R2, and the third sensitivity value range corresponds to the lens shading calibration parameter set R3. Wherein, the lens shading calibration parameter set R2 includes lens shading calibration parameters r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1). Wherein, S is the target sensitivity value, r1 is the lens shading calibration parameter included in the lens shading calibration parameter group R1, and r3 is the lens shading calibration parameter included in the lens shading calibration parameter group R3.
本发明实施例中,确定单元3042确定目标感光度值所属的感光度值范围为第一感光度值范围之后,获取单元3043根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第一感光度值范围对应的镜头阴影校准参数组R1作为目标镜头阴影校准参数组。In the embodiment of the present invention, after the determination unit 3042 determines that the sensitivity value range to which the target sensitivity value belongs is the first sensitivity value range, the acquisition unit 3043 according to the correspondence between the preset sensitivity value range and the lens shading calibration parameter group, A lens shading calibration parameter set R1 corresponding to the first sensitivity value range is acquired as a target lens shading calibration parameter set.
第二判断单元3044,用于当所述第一判断单元3041判断所述目标感光度值大于感光度值S1时,判断所述目标感光度值是否大于或等于感光度值S2。The second determining unit 3044 is configured to determine whether the target sensitivity value is greater than or equal to the sensitivity value S2 when the first determining unit 3041 determines that the target sensitivity value is greater than the sensitivity value S1.
所述确定单元3042,还用于当所述第二判断单元3044判断所述目标感光度值大于或等于感光度值S2时,确定所述目标感光度值所属的感光度值范围为第三感光度值范围。The determination unit 3042 is further configured to determine that the target sensitivity value belongs to the third sensitivity value range when the second determination unit 3044 determines that the target sensitivity value is greater than or equal to the sensitivity value S2. degree value range.
所述获取单元3043,还用于在确定单元3042确定目标感光度值所属的感光度值范围为第三感光度值范围之后,根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第三感光度值范围对应的镜头阴影校准参数组R3作为目标镜头阴影校准参数组。The acquisition unit 3043 is further configured to, after the determination unit 3042 determines that the sensitivity value range to which the target sensitivity value belongs is the third sensitivity value range, according to the correspondence between the preset sensitivity value range and the lens shading calibration parameter group and acquiring a lens shading calibration parameter set R3 corresponding to the third sensitivity value range as a target lens shading calibration parameter set.
所述确定单元3042,还用于当所述第二判断单元3044判断所述目标感光度值小于感光度值S2时,确定所述目标感光度值所属的感光度值范围为第二感光度值范围。The determination unit 3042 is further configured to determine that the range of sensitivity values to which the target sensitivity value belongs is the second sensitivity value when the second determination unit 3044 determines that the target sensitivity value is less than the sensitivity value S2 scope.
所述获取单元3043,还用于在确定单元3042确定目标感光度值所属的感光度值范围为第二感光度值范围之后,根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第二感光度值范围对应的镜头阴影校准参数组R2作为目标镜头阴影校准参数组。The acquisition unit 3043 is further configured to, after the determination unit 3042 determines that the sensitivity value range to which the target sensitivity value belongs is the second sensitivity value range, according to the correspondence between the preset sensitivity value range and the lens shading calibration parameter group and acquiring a lens shading calibration parameter set R2 corresponding to the second sensitivity value range as a target lens shading calibration parameter set.
本发明实施例中,获取单元3043将根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与所述第二感光度值范围对应的镜头阴影校准参数组R2作为目标镜头阴影校准参数组。具体的,获取单元3043将根据镜头阴影校准参数组R1包括的镜头阴影校准参数r1和镜头阴影校准参数组R3包括的镜头阴影校准参数r3,来计算获得镜头阴影校准参数组R2包括的镜头阴影校准参数r2。具体的计算公式可以为:r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1)。其中,S为目标感光度值,r1为镜头阴影校准参数组R1包括的镜头阴影校准参数,r3为镜头阴影校准参数组R3包括的镜头阴影校准参数。In the embodiment of the present invention, the acquisition unit 3043 will acquire the lens shading calibration parameter set R2 corresponding to the second sensitivity value range as the target lens shading according to the preset correspondence between the sensitivity value range and the lens shading calibration parameter set Calibration parameter set. Specifically, the obtaining unit 3043 will calculate and obtain the lens shading calibration included in the lens shading calibration parameter set R2 according to the lens shading calibration parameter r1 included in the lens shading calibration parameter set R1 and the lens shading calibration parameter r3 included in the lens shading calibration parameter set R3 Parameter r2. A specific calculation formula may be: r2=[(S2-S)*r1+(S-S1)*r3]/(S2-S1). Wherein, S is the target sensitivity value, r1 is the lens shading calibration parameter included in the lens shading calibration parameter group R1, and r3 is the lens shading calibration parameter included in the lens shading calibration parameter group R3.
在图3~图4所描述的终端中,接收模块接收输入的拍摄指令之后,拍摄模块将响应该拍摄指令,启动闪光灯并进行图片拍摄,以获得拍摄图片;第一获取模块将获取进行图片拍摄时使用的目标感光度值;第二获取模块根据预设的感光度值范围与镜头阴影校准参数组的对应关系,获取与该目标感光度值所属的感光度值范围对应的目标镜头阴影校准参数组;校准模块使用该目标镜头阴影校准参数组包括的镜头阴影校准参数对拍摄得到的该拍摄图片进行镜头阴影校准。可见,实施本发明实施例能够使用不同的镜头阴影校准参数组对不同拍摄距离的图片进行校准,达到更好地校准效果。In the terminals described in Figures 3 to 4, after the receiving module receives the input shooting instruction, the shooting module will respond to the shooting instruction, start the flashlight and take pictures to obtain pictures; The target sensitivity value used in the process; the second acquisition module acquires the target lens shading calibration parameter corresponding to the sensitivity value range to which the target sensitivity value belongs according to the corresponding relationship between the preset sensitivity value range and the lens shading calibration parameter group group; the calibration module uses the lens shading calibration parameters included in the target lens shading calibration parameter group to perform lens shading calibration on the captured picture. It can be seen that, implementing the embodiment of the present invention can use different lens shadow calibration parameter sets to calibrate pictures at different shooting distances to achieve a better calibration effect.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the foregoing embodiments, descriptions of each embodiment have their own emphases, and for parts that are not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例用户终端中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the user terminal in the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(RandomAccess Memory,RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can be Including: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
以上对本发明实施例公开的一种镜头阴影校准方法及用户终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A lens shadow calibration method disclosed in the embodiments of the present invention and the user terminal are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The descriptions of the above embodiments are only used to help understand the present invention. The method of the invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.
Claims (6)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810054957.2A CN108053384B (en) | 2015-07-07 | 2015-07-07 | Lens shadow calibration method, user terminal and related media products |
| CN201510397271.XA CN105049681B (en) | 2015-07-07 | 2015-07-07 | A lens shadow calibration method and user terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510397271.XA CN105049681B (en) | 2015-07-07 | 2015-07-07 | A lens shadow calibration method and user terminal |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810054957.2A Division CN108053384B (en) | 2015-07-07 | 2015-07-07 | Lens shadow calibration method, user terminal and related media products |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105049681A CN105049681A (en) | 2015-11-11 |
| CN105049681B true CN105049681B (en) | 2018-01-23 |
Family
ID=54455854
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510397271.XA Expired - Fee Related CN105049681B (en) | 2015-07-07 | 2015-07-07 | A lens shadow calibration method and user terminal |
| CN201810054957.2A Expired - Fee Related CN108053384B (en) | 2015-07-07 | 2015-07-07 | Lens shadow calibration method, user terminal and related media products |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810054957.2A Expired - Fee Related CN108053384B (en) | 2015-07-07 | 2015-07-07 | Lens shadow calibration method, user terminal and related media products |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN105049681B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108156454A (en) * | 2017-12-26 | 2018-06-12 | 北京传嘉科技有限公司 | Image processing method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102281389A (en) * | 2010-06-11 | 2011-12-14 | 三星电子株式会社 | Apparatus and method for creating lens shading compensation table suitable for photography environment |
| CN102870422A (en) * | 2011-02-15 | 2013-01-09 | 富士胶片株式会社 | Image capturing device, image capturing device main body, and shading correction method |
| CN104104946A (en) * | 2014-07-30 | 2014-10-15 | 广东欧珀移动通信有限公司 | Method and electronic device for camera consistency correction |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008085388A (en) * | 2006-09-25 | 2008-04-10 | Fujifilm Corp | Imaging device |
| US9070195B2 (en) * | 2012-06-10 | 2015-06-30 | Apple Inc. | Method and system for auto-enhancing photographs with saturation adjustments |
-
2015
- 2015-07-07 CN CN201510397271.XA patent/CN105049681B/en not_active Expired - Fee Related
- 2015-07-07 CN CN201810054957.2A patent/CN108053384B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102281389A (en) * | 2010-06-11 | 2011-12-14 | 三星电子株式会社 | Apparatus and method for creating lens shading compensation table suitable for photography environment |
| CN102870422A (en) * | 2011-02-15 | 2013-01-09 | 富士胶片株式会社 | Image capturing device, image capturing device main body, and shading correction method |
| CN104104946A (en) * | 2014-07-30 | 2014-10-15 | 广东欧珀移动通信有限公司 | Method and electronic device for camera consistency correction |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108053384A (en) | 2018-05-18 |
| CN105049681A (en) | 2015-11-11 |
| CN108053384B (en) | 2020-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108337433B (en) | A kind of photographing method, mobile terminal and computer readable storage medium | |
| US11368615B2 (en) | Modifying image parameters using wearable device input | |
| US9451173B2 (en) | Electronic device and control method of the same | |
| US9813635B2 (en) | Method and apparatus for auto exposure value detection for high dynamic range imaging | |
| CN106067953B (en) | Method and apparatus for determining lens shading correction for multi-camera device with various fields of view | |
| CN107071272B (en) | Method and device for controlling brightness of camera fill-in light and terminal | |
| CN105306806B (en) | A kind of mobile terminal and its method taken pictures | |
| CN104618643B (en) | A shooting method and device | |
| CN106657805A (en) | Shooting method in motion and mobile terminal | |
| WO2018200067A1 (en) | Depth assisted auto white balance | |
| CN107623819B (en) | A method for taking pictures, mobile terminal and related media products | |
| CN116634279A (en) | Image processing method, device, electronic equipment and storage medium | |
| CN106249508A (en) | Atomatic focusing method and system, filming apparatus | |
| CN105578062A (en) | Method for selecting light metering mode and its image acquisition device | |
| CN108419009A (en) | Image definition enhancing method and device | |
| CN113347352B (en) | Shooting parameter adjusting method and device, electronic equipment and computer storage medium | |
| WO2020124374A1 (en) | Image processing method, terminal device and storage medium | |
| US10778903B2 (en) | Imaging apparatus, imaging method, and program | |
| CN104535178A (en) | A light intensity value detection method and terminal | |
| US20190349535A1 (en) | Intelligent photographing method and apparatus, and intelligent terminal | |
| CN107635124A (en) | White balance processing method, device and equipment for face shooting | |
| CN104994288B (en) | A kind of photographic method and user terminal | |
| CN105007410B (en) | A kind of big visual angle camera control method and user terminal | |
| CN102804227B (en) | Use the lenses attenuate correct operation of the value corrected based on monochrome information | |
| CN105049681B (en) | A lens shadow calibration method and user terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| CP01 | Change in the name or title of a patent holder | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180123 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |