CN110784661A - Image shooting method and electronic equipment - Google Patents
Image shooting method and electronic equipment Download PDFInfo
- Publication number
- CN110784661A CN110784661A CN201911117940.8A CN201911117940A CN110784661A CN 110784661 A CN110784661 A CN 110784661A CN 201911117940 A CN201911117940 A CN 201911117940A CN 110784661 A CN110784661 A CN 110784661A
- Authority
- CN
- China
- Prior art keywords
- light source
- electronic device
- target
- surface light
- screen
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000004590 computer program Methods 0.000 claims description 12
- 238000005282 brightening Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 13
- 238000009432 framing Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 9
- 230000001795 light effect Effects 0.000 description 7
- 231100000040 eye damage Toxicity 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 206010034960 Photophobia Diseases 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 208000013469 light sensitivity Diseases 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 230000002087 whitening effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0264—Details of the structure or mounting of specific components for a camera module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
- H04M1/0266—Details of the structure or mounting of specific components for a display module assembly
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Studio Devices (AREA)
Abstract
本发明实施例提供一种图像拍摄方法及电子设备,应用于通信领域,以解决图像整体变亮导致图像的噪点较多,进而导致图像整体质量较差的问题。该方法应用于包括面光源的电子设备,该方法包括:控制面光源处于开启状态;通过与该面光源对应的目标摄像头拍摄图像;其中,该面光源用于为目标摄像头的拍摄对象补光;该面光源通过电子设备中的第一屏幕实现,或者,通过电子设备中的壳体实现;第一屏幕与电子设备中用于显示拍摄预览图像的第二屏幕不同。该方法具体应用于为拍摄对象补光的场景中。
Embodiments of the present invention provide an image capturing method and an electronic device, which are applied in the field of communications to solve the problem that the overall brightening of the image results in more noise in the image, which in turn leads to poor overall image quality. The method is applied to an electronic device including a surface light source, and the method includes: controlling the surface light source to be in an on state; capturing an image through a target camera corresponding to the surface light source; wherein the surface light source is used to fill light for a photographed object of the target camera; The surface light source is realized by a first screen in the electronic device, or realized by a casing in the electronic device; the first screen is different from the second screen in the electronic device for displaying the shot preview image. The method is specifically applied to scenes in which light is supplemented for the shooting object.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种图像拍摄方法及电子设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to an image capturing method and an electronic device.
背景技术Background technique
随着手机、平板电脑等电子设备的拍摄功能应用越来越普遍,用户对拍摄的图像的质量要求越来越高,如对拍摄的图像的质量要求越来越高。然而,在逆光、背景光线弱或者明暗反差大的环境中,电子设备拍摄的图像中的拍摄对象(如拍摄的人物)的画面往往模糊不清或画面暗淡,导致拍摄对象的画面的质量较差,进而导致拍摄的图像质量较差。As the application of the shooting function of electronic devices such as mobile phones and tablet computers becomes more and more common, users have higher and higher requirements for the quality of the captured images, for example, higher and higher requirements for the quality of the captured images. However, in an environment with backlight, weak background light, or high contrast between light and dark, the picture of the subject (such as the person being photographed) in the image captured by the electronic device is often blurred or dim, resulting in poor quality of the picture of the subject. , resulting in poor image quality.
相关技术中,为了提高图像中拍摄对象的画面的质量,电子设备一般通过使用高动态范围图像HDR参数或者通过提高感光值ISO参数的方式拍摄图像,而这些方式会使得拍摄的图像整体变亮。然而,图像整体变亮将会导致图像的噪点较多,进而导致图像整体质量较差。In the related art, in order to improve the picture quality of the subject in the image, the electronic device generally captures the image by using the high dynamic range image HDR parameter or by increasing the ISO parameter of the light sensitivity value, and these methods will brighten the captured image as a whole. However, the overall brightening of the image will result in more noise in the image, resulting in a poorer overall image quality.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种图像拍摄方法及电子设备,以解决图像整体变亮导致图像的噪点较多,进而导致图像整体质量较差的问题。Embodiments of the present invention provide an image capturing method and electronic device, so as to solve the problem that the overall brightening of the image results in more noise in the image, thereby causing the overall image quality to be poor.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供一种图像拍摄方法,应用于包括面光源的电子设备,该方法包括:控制面光源处于开启状态;通过与该面光源对应的目标摄像头拍摄图像;其中,该面光源用于为目标摄像头的拍摄对象补光;该面光源通过电子设备中的第一屏幕实现,或者,通过电子设备中的壳体实现;第一屏幕与电子设备中用于显示拍摄预览图像的第二屏幕不同。In a first aspect, an embodiment of the present invention provides an image capturing method, which is applied to an electronic device including a surface light source. The method includes: controlling the surface light source to be in an on state; capturing an image through a target camera corresponding to the surface light source; wherein the The surface light source is used to fill light for the shooting object of the target camera; the surface light source is realized by the first screen in the electronic device, or realized by the casing in the electronic device; the first screen and the electronic device are used to display the shooting preview image The second screen is different.
第二方面,本发明实施例还提供了一种电子设备,该电子设备包括面光源,还包括:控制模块和拍摄模块;控制模块,用于控制该面光源处于开启状态;拍摄模块,用于通过与控制模块开启的该面光源对应的目标摄像头拍摄图像;其中,该面光源用于为目标摄像头的拍摄对象补光;该面光源通过电子设备中的第一屏幕实现,或者,通过电子设备中的壳体实现;第一屏幕与电子设备中用于显示拍摄预览图像的第二屏幕不同。In a second aspect, an embodiment of the present invention further provides an electronic device, the electronic device includes a surface light source, and further includes: a control module and a shooting module; a control module for controlling the surface light source to be in an on state; a shooting module for The image is captured by the target camera corresponding to the surface light source turned on by the control module; wherein, the surface light source is used to fill light for the shooting object of the target camera; the surface light source is realized by the first screen in the electronic device, or, through the electronic device The first screen is different from the second screen in the electronic device for displaying the shot preview image.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的图像拍摄方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to achieve the The steps of the image capturing method described in one aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的图像拍摄方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, implements the steps of the image capturing method according to the first aspect .
在本发明实施例中,可以控制面光源处于开启状态,并通过与该面光源对应的目标摄像头拍摄图像,以实现通过该面光源为目标摄像头的拍摄对象补光。其中,由于为拍摄对象补光的光源为面光源的发光模式,而面光源具有发光范围大、出光柔和、不伤眼、省电、光线自然等特点,因此可以提高对拍摄对象补光的补光效果,使得拍摄的图像中拍摄对象的画面的质量较好。再者,由于面光源的光线通常不会照射目标摄像头的取景范围中除了拍摄对象之外的拍摄背景,因此不会影响拍摄的图像中拍摄背景的画面,可以避免出现图像整体变亮而导致图像噪点变多的问题,提高了电子设备拍摄的图像整体的质量。另外,由于电子设备中的面光源可以通过第一屏幕或壳体实现,且第一屏幕与用于显示拍摄预览图像的第二屏幕不同。如此,当拍摄对象靠近第一屏幕时,电子设备可以通过第一屏幕为拍摄对象补光;当拍摄对象靠近电子设备的壳体时,电子设备可以通过该壳体为拍摄对象补光,从而在不影响显示拍摄预览图像的同时,可以提高补光的灵活性和准确性。In the embodiment of the present invention, the surface light source can be controlled to be in an on state, and images are captured by a target camera corresponding to the surface light source, so that the surface light source can be used to fill light for the shooting object of the target camera. Among them, since the light source that fills the light for the subject is the light-emitting mode of the surface light source, and the surface light source has the characteristics of a large luminous range, soft light output, no eye damage, power saving, and natural light, etc., it can improve the fill light of the shooting object. The light effect makes the picture quality of the subject in the captured image better. Furthermore, since the light of the surface light source usually does not illuminate the shooting background other than the shooting object in the framing range of the target camera, it will not affect the shooting background picture in the shot image, which can avoid the overall brightening of the image and the resulting image. The problem of increased noise improves the overall quality of images captured by electronic devices. In addition, since the surface light source in the electronic device can be realized by the first screen or the casing, and the first screen is different from the second screen used for displaying the shot preview image. In this way, when the subject is close to the first screen, the electronic device can fill the light for the subject through the first screen; when the subject is close to the housing of the electronic device, the electronic device can fill the light for the subject through the housing, so that the It can improve the flexibility and accuracy of fill light without affecting the display of the shooting preview image.
附图说明Description of drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种图像拍摄方法的流程示意图;FIG. 2 is a schematic flowchart of an image capturing method according to an embodiment of the present invention;
图3为本发明实施例提供电子设备中的面光源与摄像头的分布示意图之一;3 is one of the schematic diagrams of the distribution of surface light sources and cameras in an electronic device provided by an embodiment of the present invention;
图4为本发明实施例提供电子设备中的面光源与摄像头的分布示意图之二;4 is a second schematic diagram of the distribution of surface light sources and cameras in an electronic device provided by an embodiment of the present invention;
图5为本发明实施例提供电子设备显示内容的示意图之一;FIG. 5 is one of the schematic diagrams of providing display content of an electronic device according to an embodiment of the present invention;
图6为本发明实施例提供电子设备显示内容的示意图之二;FIG. 6 is a second schematic diagram of providing display content of an electronic device according to an embodiment of the present invention;
图7为本发明实施例提供电子设备显示内容的示意图之三;FIG. 7 is a third schematic diagram of providing display content of an electronic device according to an embodiment of the present invention;
图8为本发明实施例提供电子设备显示内容的示意图之四;FIG. 8 is a fourth schematic diagram of providing display content of an electronic device according to an embodiment of the present invention;
图9为本发明实施例提供的一种可能的电子设备的结构示意图;9 is a schematic structural diagram of a possible electronic device provided by an embodiment of the present invention;
图10为本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“多个”是指两个或多于两个。It should be noted that “/” in this document means or, for example, A/B can mean A or B; “and/or” in this document is only an association relationship that describes an associated object, indicating that there may be three A relationship, for example, A and/or B, can mean the existence of A alone, the existence of both A and B, and the existence of B alone. "Plural" means two or more.
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to represent examples, illustrations, or descriptions. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一表面和第二表面等是用于区别不同的表面,而不是用于描述表面的特定顺序。The terms "first" and "second" and the like in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first surface and the second surface etc. are used to distinguish different surfaces, not to describe a specific order of the surfaces.
本发明实施例提供的图像拍摄方法,可以控制面光源处于开启状态,并通过与该面光源对应的目标摄像头拍摄图像,以实现通过该面光源为目标摄像头的拍摄对象补光。其中,由于为拍摄对象补光的光源为面光源的发光模式,而面光源具有发光范围大、出光柔和、不伤眼、省电、光线自然等特点,因此可以提高对拍摄对象补光的补光效果,使得拍摄的图像中拍摄对象的画面的质量较好。再者,由于面光源的光线通常不会照射目标摄像头的取景范围中除了拍摄对象之外的拍摄背景,因此不会影响拍摄的图像中拍摄背景的画面,可以避免出现图像整体变亮而导致图像噪点变多的问题,提高了电子设备拍摄的图像整体的质量。另外,由于电子设备中的面光源可以通过第一屏幕或壳体实现,且第一屏幕与用于显示拍摄预览图像的第二屏幕不同。如此,当拍摄对象靠近第一屏幕时,电子设备可以通过第一屏幕为拍摄对象补光;当拍摄对象靠近电子设备的壳体时,电子设备可以通过该壳体为拍摄对象补光,从而在不影响显示拍摄预览图像的同时,可以提高补光的灵活性和准确性。The image capturing method provided by the embodiment of the present invention can control the surface light source to be in an on state, and capture an image through a target camera corresponding to the surface light source, so as to realize supplementary light for the shooting object of the target camera through the surface light source. Among them, since the light source that fills the light for the subject is the light-emitting mode of the surface light source, and the surface light source has the characteristics of a large luminous range, soft light output, no eye damage, power saving, and natural light, etc., it can improve the fill light of the shooting object. The light effect makes the picture quality of the subject in the captured image better. Furthermore, since the light of the surface light source usually does not illuminate the shooting background other than the shooting object in the framing range of the target camera, it will not affect the shooting background picture in the shot image, which can avoid the overall brightening of the image and the resulting image. The problem of increased noise improves the overall quality of images captured by electronic devices. In addition, since the surface light source in the electronic device can be realized by the first screen or the casing, and the first screen is different from the second screen used for displaying the shot preview image. In this way, when the subject is close to the first screen, the electronic device can fill the light for the subject through the first screen; when the subject is close to the housing of the electronic device, the electronic device can fill the light for the subject through the housing, so that the It can improve the flexibility and accuracy of fill light without affecting the display of the shooting preview image.
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. The mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. ; The non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present invention are not specifically limited.
需要说明的是,本发明实施例提供的图像拍摄方法,执行主体可以为电子设备,或者,该电子设备的中央处理器(Central Processing Unit,CPU),或者该电子设备中的用于执行图像拍摄方法的控制模块。本发明实施例中以电子设备执行图像拍摄方法为例,说明本发明实施例提供的图像拍摄方法。It should be noted that, in the image capturing method provided by the embodiment of the present invention, the execution subject may be an electronic device, or, a central processing unit (Central Processing Unit, CPU) of the electronic device, or a central processing unit (Central Processing Unit, CPU) of the electronic device for executing image capturing. The method's control module. In the embodiment of the present invention, an image capturing method performed by an electronic device is used as an example to describe the image capturing method provided by the embodiment of the present invention.
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be an electronic device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的图像拍摄方法所应用的软件环境。The following takes the Android operating system as an example to introduce a software environment to which the image capturing method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。例如,系统设置应用、系统聊天应用和系统相机应用等应用程序。第三方设置应用、第三方相机应用和第三方聊天应用等应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application. For example, applications such as the system settings app, the system chat app, and the system camera app. Apps such as third-party settings apps, third-party camera apps, and third-party chat apps.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的图像拍摄方法的软件程序,从而使得该图像拍摄方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的图像拍摄方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer may develop a software program for implementing the image capturing method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The shooting method can be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the image capturing method provided by the embodiment of the present invention by running the software program in the Android operating system.
下面结合图2所示的图像拍摄方法的流程图对本发明实施例提供的图像拍摄方法进行详细描述。其中,虽然在图像拍摄方法流程图中示出了本发明实施例提供的图像拍摄方法的逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。例如,图2中示出的图像拍摄方法可以包括S201和S202:The image capturing method provided by the embodiment of the present invention will be described in detail below with reference to the flowchart of the image capturing method shown in FIG. 2 . Wherein, although the logical sequence of the image capturing method provided by the embodiment of the present invention is shown in the flowchart of the image capturing method, in some cases, the steps shown or described may be performed in a sequence different from that here. For example, the image capturing method shown in FIG. 2 may include S201 and S202:
S201、电子设备控制面光源处于开启状态。S201, the electronic device controls the surface light source to be in an on state.
其中,面光源处于开启状态指的是该面光源发光,反之,该面光源处于关闭状态指的是该面光源停止发光。Wherein, that the surface light source is in an on state means that the surface light source emits light, and conversely, that the surface light source is in an off state means that the surface light source stops emitting light.
可选的,电子设备执行S201与开启目标摄像头的时序可以为任一时序,例如,电子设备先开启目标摄像头再执行S201。Optionally, the sequence of executing S201 by the electronic device and turning on the target camera may be any sequence. For example, the electronic device first turns on the target camera and then executes S201.
S202、电子设备通过与面光源对应的目标摄像头拍摄图像。S202, the electronic device captures an image through a target camera corresponding to the surface light source.
其中,与目标摄像头对应的面光源用于为目标摄像头的拍摄对象补光。Wherein, the surface light source corresponding to the target camera is used to fill light for the shooting object of the target camera.
需要说明的是,本发明实施例中,电子设备中可以包括一个或多个摄像头,以及一个或多个面光源,一个面光源对应一个摄像头。其中,每个面光源用于为对应的摄像头的拍摄对象补光,即为对应摄像头的取景范围中的拍摄对象补光。也就是说,每个面光源可以作为一个拍摄的补光板。It should be noted that, in this embodiment of the present invention, the electronic device may include one or more cameras and one or more surface light sources, and one surface light source corresponds to one camera. Wherein, each surface light source is used to fill light for the shooting object of the corresponding camera, that is, fill light for the shooting object in the framing range of the corresponding camera. That is to say, each surface light source can be used as a supplementary light board for shooting.
示例性的,在拍摄对象为人物的情况下,电子设备拍摄的图像为包括人像的人物图像。此时,面光源用于为拍摄的人物(如人物的面部)补光。Exemplarily, when the photographed object is a person, the image photographed by the electronic device is a person image including a portrait. At this time, the surface light source is used to fill in the light for the photographed person (such as the person's face).
可以理解的是,当用户对人像拍摄的美白效果要求较高时,在逆光、背景光线弱或者明暗反差大的暗光环境中,若对拍摄的人物不补光或者补光的效果不佳,则将导致拍摄出的人物图像中的人像模糊不清或人像暗淡,即导致拍摄的图像的质量较差。It is understandable that when the user has high requirements for the whitening effect of portrait shooting, in a dark light environment with backlight, weak background light, or high contrast between light and dark, if the person photographed is not filled with light or the effect of fill light is not good, As a result, the portraits in the photographed portraits will be blurred or dim, that is, the quality of the photographed images will be poor.
需要说明的是,光源为自身能够发光且正在发光的物体,例如太阳、打开的电灯、燃烧着的蜡烛、点亮的屏幕等都是光源。It should be noted that the light source is an object that can emit light by itself and is emitting light, for example, the sun, an electric light that is turned on, a burning candle, and a lit screen are all light sources.
可选的,按照发光的模式,光源可以分为点光源和面光源。Optionally, according to the lighting mode, the light source can be divided into a point light source and a surface light source.
其中,点光源为集中的一个点状发光的光源。例如,点光源可以为发光二极管(Light Emitting Diode,LED)点光源及普通灯具光源等。具体的,在点光源发出光线照射物体时,光线到物体的不同部分(如被拍摄的人物的不同部位)的角度差较大,或者光线到不同物体的角度差较大。The point light source is a concentrated point-like light source. For example, the point light source may be a light emitting diode (Light Emitting Diode, LED) point light source, a common lamp light source, and the like. Specifically, when the point light source emits light to illuminate the object, the angle difference between the light beam and different parts of the object (such as different parts of the person being photographed) is relatively large, or the angle difference between the light beam and different objects is relatively large.
相关技术中,电子设备上设置了前置柔光灯,用于解决暗光环境下光线不足等因素导致拍摄的图像质量较差的问题。然而,由于前置柔光灯为点光源,因此该光源的辐射并不全面(即光源的发光范围较小),从而导致对拍摄的对象的补光效果不佳,进而导致拍摄的图像的质量仍然较差。另外,在前置柔光灯作为光源时,光源的色彩和亮度通常固定不变。In the related art, a front soft light is set on the electronic device to solve the problem of poor image quality caused by factors such as insufficient light in a dark environment. However, since the front soft light is a point light source, the radiation of the light source is not comprehensive (that is, the light source has a small luminous range), resulting in poor lighting effect on the photographed object, which in turn leads to the quality of the photographed image. still poor. In addition, when the front soft light is used as the light source, the color and brightness of the light source are usually fixed.
需要强调的是,相比于点光源,面光源具有发光范围大、出光柔和、不伤眼、省电、光线自然等特点。具体的,面光源为可以整体发光大范围照明的光源。例如,面光源可以为平板光源,如点亮的屏幕等。具体的,在面光源发出光线照射物体时,照射到物体的不同部分(如被拍摄的人物的不同部位)的光线可以认为是平行的。一般而言,面光源与被照射物体的距离较远,被照射物体接收的不同光线可以为平行线。It should be emphasized that, compared with point light sources, surface light sources have the characteristics of large luminous range, soft light output, no eye damage, power saving, and natural light. Specifically, the surface light source is a light source that can emit light in a wide range as a whole. For example, the surface light source may be a flat light source, such as a lighted screen or the like. Specifically, when the surface light source emits light to irradiate an object, the light irradiated to different parts of the object (eg, different parts of a person being photographed) can be considered to be parallel. Generally speaking, the distance between the surface light source and the irradiated object is relatively far, and the different light rays received by the irradiated object can be parallel lines.
本发明实施例中,电子设备中与目标摄像头对应的面光源,具体用于在逆光、背景光线弱,或者明暗反差大的环境(或称暗环境)中为目标摄像头的拍摄的对象补光。具体的,电子设备使用面光源照射拍摄对象,可以使得拍摄对象的较大区域处于照射光线下,以实现为拍摄对象补光。In the embodiment of the present invention, the surface light source corresponding to the target camera in the electronic device is specifically used to fill light for the object photographed by the target camera in an environment with backlight, weak background light, or a large contrast between light and dark (or a dark environment). Specifically, the electronic device uses a surface light source to illuminate the photographed object, so that a large area of the photographed object can be exposed to the irradiated light, so as to realize the supplementary light for the photographed object.
可以理解的是,电子设备提供的面光源的发光范围通常比点光源大,但是也不会过大。如此,面光源主要用于照射拍摄对象,而不会照射目标摄像头的整个取景范围中除了拍摄对象之外的拍摄背景。It can be understood that the luminous range of the surface light source provided by the electronic device is generally larger than that of the point light source, but not too large. In this way, the surface light source is mainly used for illuminating the shooting object, and will not illuminate the shooting background other than the shooting object in the entire framing range of the target camera.
需要说明的是,图像通常包括前景和背景。其中,图像的前景可以为拍摄对象(如人物)的画面,图像的背景可以为该图像中的除了拍摄对象的画面之外的拍摄背景的画面。It should be noted that images usually include foreground and background. The foreground of the image may be a picture of a photographed object (such as a person), and the background of the image may be a picture of a photographed background other than the picture of the photographed object in the image.
一般而言,当电子设备在暗环境下拍摄图像时,用户通常需求图像中拍摄对象的前景画面质量较好,如需求前景画面亮度较高、清晰度较高以及画面较为柔和等,而对该图像中除了该前景画面之外的背景画面的质量没有过高要求。如此,只要针对拍摄的对象补光的效果较好,如补光出光范围大、补光光线自然以及补光光线柔和等,便可以使得电子设备拍摄得到质量较好的图像,如人像清晰的人物图像。Generally speaking, when an electronic device captures an image in a dark environment, the user usually requires a better foreground image quality of the subject in the image, such as higher brightness, higher definition, and softer image in the foreground image. The quality of the background pictures other than the foreground picture in the image is not too high. In this way, as long as the effect of filling light for the photographed object is good, such as a large range of fill light output, natural fill light and soft fill light, etc., the electronic device can shoot better images, such as people with clear portraits. image.
另外,电子设备中不同摄像头的取景范围相同或不同。In addition, the viewing ranges of different cameras in the electronic device are the same or different.
其中,电子设备中可以包括不同种类的摄像头。例如,按照摄像头在电子设备中的安装位置,摄像头可以分为前置摄像头和后置摄像头。按照摄像头的功能,摄像头可以分为常规摄像头、鱼眼摄像头、长焦摄像头和广角摄像头等。按照摄像头的安装方式,摄像头可以分为弹出式摄像头、可旋转摄像头和固定摄像头等。Wherein, different types of cameras may be included in the electronic device. For example, according to the installation position of the camera in the electronic device, the camera can be divided into a front camera and a rear camera. According to the function of the camera, the camera can be divided into conventional camera, fisheye camera, telephoto camera and wide-angle camera. According to the installation method of the camera, the camera can be divided into pop-up camera, rotatable camera and fixed camera.
需要说明的是,弹出式摄像头在电子设备中所处的位置不同,摄像头的取景范围不同,如弹出式摄像头位于电子设备内部时的取景范围与位于电子设备外部时的取景范围不同。可旋转摄像头的旋转角度不同,摄像头的取景范围不同。固定摄像头的取景范围一般固定不变。It should be noted that the location of the pop-up camera in the electronic device is different, and the viewing range of the camera is different. For example, the viewing range when the pop-up camera is located inside the electronic device is different from that when it is located outside the electronic device. The rotation angle of the rotatable camera is different, and the viewing range of the camera is different. The viewing range of a fixed camera is generally fixed.
可选的,在目标摄像头的取景范围变化时,与目标摄像头对应的面光源的照射方向可以随之变化,以使得该面光源可以持续为目标摄像头的取景范围中的拍摄对象补光。Optionally, when the framing range of the target camera changes, the irradiation direction of the surface light source corresponding to the target camera can be changed accordingly, so that the surface light source can continue to fill light for the shooting object in the framing range of the target camera.
本发明实施例中,与目标摄像头对应的面光源通过电子设备中的第一屏幕实现,或者,通过电子设备中的壳体实现;第一屏幕与电子设备中用于显示拍摄预览图像的第二屏幕不同。In the embodiment of the present invention, the surface light source corresponding to the target camera is realized by the first screen in the electronic device, or realized by the casing in the electronic device; the first screen and the second screen in the electronic device for displaying the shooting preview image are realized. The screen is different.
可选的,本发明实施例中,电子设备可以为折叠屏式电子设备。具体的,电子设备中的折叠屏幕可以折叠,如折叠屏中折叠的两个屏幕(或一个屏幕的两个部分)之间的夹角值可以为0度到360度之间的角度。可以理解的是,两个屏幕之间的夹角值,指的是这两个屏幕中的一个屏幕的显示界面所在的表面与另一个屏幕的显示界面所在的表面之间的夹角值。Optionally, in this embodiment of the present invention, the electronic device may be a folding-screen electronic device. Specifically, the folding screen in the electronic device can be folded, for example, the angle between two screens (or two parts of one screen) folded in the folding screen can be an angle between 0 degrees and 360 degrees. It can be understood that the angle value between the two screens refers to the angle value between the surface on which the display interface of one screen is located and the surface on which the display interface of the other screen is located.
以下实施例中,以电子设备中的第一屏幕和第二屏幕为折叠式屏幕为例进行说明。In the following embodiments, the first screen and the second screen in the electronic device are foldable screens as an example for description.
另外,电子设备中可以包括屏幕的数量可以为一个或多个。具体的,第一屏幕和第二屏幕可以通过一个柔性屏实现,或者通过两个刚性屏实现。In addition, the number of screens that may be included in the electronic device may be one or more. Specifically, the first screen and the second screen may be implemented by one flexible screen, or implemented by two rigid screens.
需要说明的是,本发明实施例提供的图像拍摄方法,可以控制面光源处于开启状态,并通过与该面光源对应的目标摄像头拍摄图像,以实现通过该面光源为目标摄像头的拍摄对象补光。其中,由于为拍摄对象补光的光源为面光源的发光模式,而面光源具有发光范围大、出光柔和、不伤眼、省电、光线自然等特点,因此可以提高对拍摄对象补光的补光效果,使得拍摄的图像中拍摄对象的画面的质量较好。再者,由于面光源的光线通常不会照射目标摄像头的取景范围中除了拍摄对象之外的拍摄背景,因此不会影响拍摄的图像中拍摄背景的画面,可以避免出现图像整体变亮而导致图像噪点变多的问题,提高了电子设备拍摄的图像整体的质量。另外,由于电子设备中的面光源可以通过第一屏幕或壳体实现,且第一屏幕与用于显示拍摄预览图像的第二屏幕不同。如此,当拍摄对象靠近第一屏幕时,电子设备可以通过第一屏幕为拍摄对象补光;当拍摄对象靠近电子设备的壳体时,电子设备可以通过该壳体为拍摄对象补光,从而在不影响显示拍摄预览图像的同时,可以提高补光的灵活性和准确性。It should be noted that, in the image capturing method provided by the embodiment of the present invention, the surface light source can be controlled to be in an on state, and images are captured by the target camera corresponding to the surface light source, so as to realize the supplementary light for the shooting object of the target camera through the surface light source . Among them, since the light source that fills the light for the subject is the light-emitting mode of the surface light source, and the surface light source has the characteristics of a large luminous range, soft light output, no eye damage, power saving, and natural light, etc., it can improve the fill light of the shooting object. The light effect makes the picture quality of the subject in the captured image better. Furthermore, since the light of the surface light source usually does not illuminate the shooting background other than the shooting object in the framing range of the target camera, it will not affect the shooting background picture in the shot image, which can avoid the overall brightening of the image and the resulting image. The problem of increased noise improves the overall quality of images captured by electronic devices. In addition, since the surface light source in the electronic device can be realized by the first screen or the casing, and the first screen is different from the second screen used for displaying the shot preview image. In this way, when the subject is close to the first screen, the electronic device can fill the light for the subject through the first screen; when the subject is close to the housing of the electronic device, the electronic device can fill the light for the subject through the housing, so that the It can improve the flexibility and accuracy of fill light without affecting the display of the shooting preview image.
在一种可能的实现方式中,本发明实施例提供的图像拍摄方法,在上述S202之前还可以包括S203:In a possible implementation manner, the image capturing method provided by the embodiment of the present invention may further include S203 before the above-mentioned S202:
S203、电子设备控制面光源的光源参数为目标参数。S203, the electronic device controls the light source parameters of the surface light source as target parameters.
可选的,在用户触发电子设备开启目标摄像头的情况下,电子设备可以开始控制与目标摄像头的光源参数为目标参数。或者,在用户对电子设备执行特定的触发输入之后,电子设备可以控制该面光源的光源参数为目标参数。Optionally, when the user triggers the electronic device to turn on the target camera, the electronic device may start to control the light source parameter of the target camera as the target parameter. Alternatively, after the user performs a specific trigger input to the electronic device, the electronic device can control the light source parameter of the surface light source as the target parameter.
其中,目标参数为电子设备根据环境光线调整的,或者用户自定义的。The target parameters are adjusted by the electronic device according to the ambient light, or user-defined.
在示例1中,目标参数为电子设备根据环境光线调整的。其中,电子设备可以检测环境光线的参数,通过比对环境光线的参数与预设参数,调整与目标摄像头对应的面光源的光源参数为目标参数,以使得环境光线的参数与预设参数相近或相等。In Example 1, the target parameter is adjusted by the electronic device according to ambient light. Among them, the electronic device can detect the parameters of the ambient light, and adjust the light source parameters of the surface light source corresponding to the target camera as the target parameters by comparing the parameters of the ambient light with the preset parameters, so that the parameters of the ambient light are similar to the preset parameters or equal.
需要说明的是,环境光线的参数为预设参数,表示目标摄像头的取景范围中的拍摄对象所在位置的环境光线较好。此时,电子设备拍摄的图像中拍摄对象的画面的质量较好,如亮度较高、清晰度较高等。It should be noted that the parameters of the ambient light are preset parameters, indicating that the ambient light at the location of the shooting object in the framing range of the target camera is better. At this time, the image quality of the photographed object in the image photographed by the electronic device is better, such as higher brightness and higher definition.
可选的,在示例2中,目标参数为用户自定义的。此时,在与目标摄像头对应的面光源以目标参数工作的情况下,目标摄像头的取景范围中的拍摄对象的补光效果为用户需求的效果,从而,电子设备拍摄的图像中拍摄对象的画面为符合用户需求的画面。Optionally, in Example 2, the target parameter is user-defined. At this time, when the surface light source corresponding to the target camera works with the target parameters, the supplementary light effect of the shooting object in the framing range of the target camera is the effect required by the user, so that the image of the shooting object in the image captured by the electronic device is A screen that meets user needs.
需要说明的是,本发明实施例提供的图像拍摄方法,可以调整与目标摄像头对应的面光源的光源参数为目标参数,使得该面光源对目标摄像头的拍摄对象的补光效果为用户需求的效果,进而使得拍摄的图像中拍摄对象的画面的效果为用户需求的效果。另外,由于目标参数不仅可以根据环境光线调整得到,还可以由用户自定义,因此支持用户灵活地从这两种方式中选择任一种方式控制电子设备调整与目标摄像头对应的面光源的光源参数,从而,提高了通过补光的灵活性。It should be noted that, in the image capturing method provided by the embodiment of the present invention, the light source parameter of the surface light source corresponding to the target camera can be adjusted as the target parameter, so that the fill light effect of the surface light source on the shooting object of the target camera is the effect required by the user. , so that the effect of the picture of the object in the captured image is the effect required by the user. In addition, since the target parameters can not only be adjusted according to the ambient light, but also can be customized by the user, so the user can flexibly choose any one of the two methods to control the electronic device to adjust the light source parameters of the surface light source corresponding to the target camera. , thereby improving the flexibility of passing the fill light.
在一种可能的实现方式中,光源参数包括以下至少一项:光源亮度,光源颜色,光源形状,光源角度。其中,光源角度为第一表面与第二表面之间的角度,第一表面为电子设备中包括与目标摄像头对应的面光源的表面,第二表面为电子设备中包括目标摄像头的表面。In a possible implementation manner, the light source parameters include at least one of the following: light source brightness, light source color, light source shape, and light source angle. The light source angle is the angle between the first surface and the second surface, the first surface is the surface of the electronic device that includes the surface light source corresponding to the target camera, and the second surface is the surface of the electronic device that includes the target camera.
示例性的,光源亮度的数值可以归一化至0~100中的数值,以支持电子设备调整光源亮度。光源颜色可以为三原色样板中任意一种颜色。光源形状可以为矩形、三角形、条状或星形等。当然,光源形状包括但不限于上述列举的形状。Exemplarily, the value of the brightness of the light source can be normalized to a value between 0 and 100, so as to support the electronic device to adjust the brightness of the light source. The light source color can be any one of the three primary color templates. The shape of the light source can be rectangle, triangle, bar or star, etc. Of course, the shape of the light source includes, but is not limited to, the shapes listed above.
另外,第一表面和第二表面电子设备中的不同表面,即与目标摄像头对应的面光源与目标摄像头位于电子设备中的不同表面。In addition, the different surfaces in the electronic device on the first surface and the second surface, that is, the surface light source corresponding to the target camera and the target camera are located on different surfaces in the electronic device.
可以理解的是,随着光源角度的变化,与目标摄像头对应的面光源对目标拍摄对象的照射角度发生变化。It can be understood that, as the angle of the light source changes, the illumination angle of the surface light source corresponding to the target camera to the target photographing object changes.
示例性的,在示例1,电子设备可以检测环境光线的色温,通过调整与目标摄像头对应的面光源的光源参数实现环境中的色温平衡。例如,在电子设备检测到环境光线偏黄的情况下,电子设备可以调整该面光源的光源颜色,使得目标摄像头的拍摄对象所处位置的环境光线趋向白色。或者,电子设备可以检测环境光线的亮度,通过调整该面光源的光源参数实现环境中的亮度平衡。例如,在电子设备检测到环境光线偏暗的情况下,电子设备可以调高该面光源的光源亮度,使得目标摄像头的拍摄对象所处位置的环境光线变亮。Exemplarily, in Example 1, the electronic device can detect the color temperature of the ambient light, and realize the color temperature balance in the environment by adjusting the light source parameters of the surface light source corresponding to the target camera. For example, when the electronic device detects that the ambient light is yellowish, the electronic device can adjust the color of the light source of the surface light source so that the ambient light at the location where the object of the target camera is located tends to be white. Alternatively, the electronic device can detect the brightness of the ambient light, and realize the brightness balance in the environment by adjusting the light source parameters of the surface light source. For example, when the electronic device detects that the ambient light is too dark, the electronic device can increase the brightness of the light source of the surface light source, so that the ambient light at the location where the object of the target camera is located becomes brighter.
可选的,本发明实施例中,电子设备中可以提供一个或多个设置选项,用于支持用户触发电子设备将与目标摄像头对应的面光源的光源参数调整为目标参数。Optionally, in this embodiment of the present invention, one or more setting options may be provided in the electronic device to support the user to trigger the electronic device to adjust the light source parameters of the surface light source corresponding to the target camera to the target parameters.
示例性的,电子设备可以提供“自动模式”选项、“调节亮度”选项、“调节色彩”选项以及“调节光源形状”选项。其中,“自动模式”选项用于触发电子设备根据环境光线调整与目标摄像头对应的面光源参数。“调节亮度”选项用于触发电子设备调整该面光源的光源亮度。“调节色彩”选项用于触发电子设备调整该面光源的光源颜色。“调节光源形状”选项用于触发电子设备调整该面光源的光源形状。Exemplarily, the electronic device may provide an "Auto Mode" option, an "Adjust Brightness" option, an "Adjust Color" option, and an "Adjust Light Source Shape" option. Among them, the "Auto Mode" option is used to trigger the electronic device to adjust the surface light source parameters corresponding to the target camera according to the ambient light. The "Adjust Brightness" option is used to trigger the electronic device to adjust the light source brightness of the surface light source. The "Adjust Color" option is used to trigger the electronic device to adjust the light source color of the surface light source. The "Adjust light source shape" option is used to trigger the electronic device to adjust the light source shape of the area light source.
另外,电子设备还可以提供一个“角度调整”选项,用于触发电子设备调整该面光源的光源角度,即调整第一表面和第二表面之间的角度。In addition, the electronic device may also provide an "angle adjustment" option for triggering the electronic device to adjust the light source angle of the surface light source, that is, to adjust the angle between the first surface and the second surface.
可选的,电子设备可以支持用户手动折叠第一表面和第二表面,以实现调整该面光源的光源角度。Optionally, the electronic device may support the user to manually fold the first surface and the second surface, so as to adjust the light source angle of the surface light source.
需要说明的是,本发明实施例提供的图像拍摄方法,由于光源参数可以包括光源亮度,光源颜色,光源形状,光源角度中的一项或多项,因此使得电子设备可以灵活地调整与目标摄像头对应的面光源的光源亮度,光源颜色,光源形状,光源角度中的一项或多项,提高了补光的灵活性和准确性。It should be noted that, in the image capturing method provided by the embodiment of the present invention, since the light source parameters may include one or more of the light source brightness, light source color, light source shape, and light source angle, the electronic device can flexibly adjust and match the target camera. One or more of the light source brightness, light source color, light source shape, and light source angle of the corresponding surface light source improve the flexibility and accuracy of the fill light.
可选的,在目标摄像头为电子设备的前置摄像头的情况下,与目标摄像头对应的面光源通过第一屏幕实现;在目标摄像头为电子设备的后置摄像头的情况下,该面光源通过电子设中的后壳实现。Optionally, when the target camera is the front camera of the electronic device, the surface light source corresponding to the target camera is realized through the first screen; when the target camera is the rear camera of the electronic device, the surface light source is passed through the electronic device. The rear shell is realized in the design.
其中,电子设备的后壳可以为电子设备的背面的壳体。Wherein, the rear shell of the electronic device may be a shell on the back of the electronic device.
示例性的,如图3所示,为本发明实施例提供电子设备中的面光源与摄像头的分布示意图。图3示出了电子设备的正视图。其中,图3示出电子设备的正面包括屏幕A1和屏幕A2,屏幕A1位于电子设备的表面B1上,屏幕A2位于电子设备的表面B2上。具体的,表面B2上还包括前置摄像头C。表面B1与表面B2之间的夹角为α。Exemplarily, as shown in FIG. 3 , a schematic diagram of the distribution of surface light sources and cameras in an electronic device is provided for an embodiment of the present invention. Figure 3 shows a front view of the electronic device. 3 shows that the front of the electronic device includes a screen A1 and a screen A2, the screen A1 is located on the surface B1 of the electronic device, and the screen A2 is located on the surface B2 of the electronic device. Specifically, the front camera C is also included on the surface B2. The angle between surface B1 and surface B2 is α.
例如,在前置摄像头C为目标摄像头的情况下,屏幕A1为与目标摄像头对应的面光源,表面B1为第一表面,表面B2为第二表面。此时,该面光源的光源亮度为屏幕A1中亮屏区域的亮度,光源颜色为屏幕A1中的亮屏区域的颜色,光源形状为屏幕A1中亮屏区域的形状,光源角度为α。例如,α可以为150度。For example, when the front camera C is the target camera, the screen A1 is the surface light source corresponding to the target camera, the surface B1 is the first surface, and the surface B2 is the second surface. At this time, the light source brightness of the surface light source is the brightness of the bright screen area in screen A1, the light source color is the color of the bright screen area in screen A1, the light source shape is the shape of the bright screen area in screen A1, and the light source angle is α. For example, a may be 150 degrees.
示例性的,如图4所示,为本发明实施例提供的电子设备中的面光源与摄像头的分布示意图。图4示出了电子设备的后视图。其中,图4示出电子设备的包括背面D1和背面D2,该背面D1中包括面光源E,该背面D2中包括后置摄像头F,背面D1和背面D2之间的夹角为β。例如,β可以为150度。Exemplarily, as shown in FIG. 4 , it is a schematic diagram of the distribution of surface light sources and cameras in an electronic device according to an embodiment of the present invention. Figure 4 shows a rear view of the electronic device. 4 shows that the electronic device includes a back D1 and a back D2, the back D1 includes a surface light source E, the back D2 includes a rear camera F, and the included angle between the back D1 and the back D2 is β. For example, β may be 150 degrees.
例如,在后置摄像头F为目标摄像头的情况下,面光源E为与目标摄像头对应的面光源,背面D1为第一表面,背面D2为第二表面。此时,该面光源的光源亮度为面光源E的亮度,光源颜色为面光源E的颜色,光源形状为面光源E中发光区域的形状,光源角度为β。For example, when the rear camera F is the target camera, the surface light source E is the surface light source corresponding to the target camera, the back surface D1 is the first surface, and the back surface D2 is the second surface. At this time, the light source brightness of the surface light source is the brightness of the surface light source E, the light source color is the color of the surface light source E, the light source shape is the shape of the light emitting area in the surface light source E, and the light source angle is β.
其中,结合图3和图4,表面B1与背面D1相对设置,表面B2与背面D2相对设置。3 and 4, the surface B1 and the back surface D1 are arranged opposite to each other, and the surface B2 is arranged opposite to the back surface D2.
本发明实施例中,由于与目标摄像头对应的面光源不仅可以是电子设备的屏幕,还可以是电子设备中除屏幕之外的表面上设置的面光源,因此有利于为电子设备中处于不同位置的摄像头设置对应的面光源。即可以实现为目标摄像头设置对应的面光源,进而实现通过与目标摄像头对应的面光源为目标摄像头的拍摄对象补光。In the embodiment of the present invention, since the surface light source corresponding to the target camera can be not only the screen of the electronic device, but also the surface light source set on the surface of the electronic device other than the screen, it is beneficial for the electronic device to be located in different positions. The camera is set to the corresponding surface light source. That is, it is possible to set the corresponding surface light source for the target camera, and further realize that the surface light source corresponding to the target camera is used to fill light for the shooting object of the target camera.
在一种可能的实现方式中,本发明实施例提供的图像拍摄方法在步骤202之前还可以包括S204:In a possible implementation, the image capturing method provided by the embodiment of the present invention may further include S204 before step 202:
S204、电子设备在第一屏幕上显示目标设置选项和/或目标控件,在第二屏幕上显示目标摄像头的拍摄预览界面。S204. The electronic device displays the target setting option and/or the target control on the first screen, and displays the shooting preview interface of the target camera on the second screen.
其中,目标设置选项用于设置光源参数,目标控件用于触发面光源开启或关闭,拍摄预览界面用于预览显示目标摄像头采集的图像。Among them, the target setting option is used to set the light source parameters, the target control is used to trigger the surface light source to be turned on or off, and the shooting preview interface is used to preview and display the image captured by the target camera.
可以理解的是,在电子设备中的某个摄像头运行的时候,目标设置选项、目标控件和拍摄预览界面均为针对与该摄像头对应的面光源设置的。It can be understood that when a certain camera in the electronic device is running, the target setting options, target controls and shooting preview interface are all set for the surface light source corresponding to the camera.
示例性的,图3示出的屏幕A1中包括“自动模式”选项K1、“调节亮度”选项K2、“调节色彩”选项K3以及“调节光源形状”选项K4,屏幕A2中包括预览界面M1。其中,预览界面M1为前置摄像头C的预览界面,预览界面M1中包括拍摄控件M11,该拍摄控件M11用于触发电子设备通过前置摄像头C拍摄图像。Exemplarily, the screen A1 shown in FIG. 3 includes the “Auto Mode” option K1, the “Adjust Brightness” option K2, the “Adjust Color” option K3 and the “Adjust Light Source Shape” option K4, and the screen A2 includes the preview interface M1. The preview interface M1 is a preview interface of the front camera C, and the preview interface M1 includes a shooting control M11 , and the shooting control M11 is used to trigger the electronic device to shoot an image through the front camera C.
其中,在用户对图3示出的“调节亮度”选项K2进行输入(如点击输入)之后,如图5所示电子设备可以在屏幕A1中显示亮度调节控件K21,用于支持用户触发在数值0~100之间调节亮度。Wherein, after the user inputs the “adjust brightness” option K2 shown in FIG. 3 (such as click input), the electronic device as shown in FIG. 5 can display the brightness adjustment control K21 on the screen A1 to support the user to trigger the value Adjust the brightness between 0 and 100.
在用户对图3示出的“调节色彩”选项K3进行输入(如点击输入)之后,如图6所示的电子设备可以在屏幕A1中显示亮度三原色样板K31,用于支持用户触发在各种颜色中选择一种颜色作为光源颜色。After the user inputs the “adjust color” option K3 shown in FIG. 3 (eg, click input), the electronic device as shown in FIG. Choose a color from Color as the light source color.
在用户对图3示出的“调节光源形状”选项K4进行输入(如点击输入)之后,如图7所示电子设备可以在屏幕A1中显示圆形控件K41、正方形控件K42、三角形控件K43、长方形控件K44和星形控件K45,用于支持用户触发在各种形状中选择一种作为光源形状。After the user inputs the “adjust light source shape” option K4 shown in FIG. 3 (eg, click input), as shown in FIG. 7 , the electronic device may display a circular control K41 , a square control K42 , a triangular control K43 , The rectangular control K44 and the star control K45 are used to support the user to trigger the selection of one of various shapes as the light source shape.
示例性的,图8示出的屏幕A1中包括“自动模式”选项K1、“调节亮度”选项K2、“调节色彩”选项K3以及“调节光源形状”选项K4,屏幕A2中包括预览界面M2。其中,预览界面M2为后置摄像头F的预览界面,预览界面M2中包括拍摄控件M22,该拍摄控件M22用于触发电子设备通过后置摄像头F拍摄图像。Exemplarily, the screen A1 shown in FIG. 8 includes the “Auto Mode” option K1, the “Adjust Brightness” option K2, the “Adjust Color” option K3 and the “Adjust Light Source Shape” option K4, and the screen A2 includes the preview interface M2. The preview interface M2 is a preview interface of the rear camera F, and the preview interface M2 includes a shooting control M22, which is used to trigger the electronic device to shoot an image through the rear camera F.
类似的,对图8示出的屏幕A1中包括“自动模式”选项K1、“调节亮度”选项K2、“调节色彩”选项K3以及“调节光源形状”选项K4的描述,可以参照上述实施例中对图3至图6的相关描述,本发明实施例对此不再赘述。Similarly, for the description that the screen A1 shown in FIG. 8 includes the “Automatic Mode” option K1, the “Adjust Brightness” option K2, the “Adjust Color” option K3, and the “Adjust Light Source Shape” option K4, reference may be made to the above-mentioned embodiment. The related descriptions in FIGS. 3 to 6 are not repeated in this embodiment of the present invention.
本发明实施例中,由于电子设备可以在第一屏幕中显示针对与目标摄像头对应的面光源的目标设置选项,因此可以支持用户实时根据自身需求调整该面光源的光源参数。并且,由于电子设备可以在第二屏幕中显示针对目标摄像头的拍摄预览界面,因此可以支持用户实时查看经过与目标摄像头对应的面光源补光后的图像。如此,有利于提高电子设备拍摄图像过程中的人机交互性能。In this embodiment of the present invention, since the electronic device can display the target setting options for the surface light source corresponding to the target camera on the first screen, users can adjust the light source parameters of the surface light source in real time according to their own needs. In addition, since the electronic device can display a shooting preview interface for the target camera on the second screen, it can support the user to view the image after the surface light source corresponding to the target camera fills the light in real time. In this way, it is beneficial to improve the human-computer interaction performance in the process of capturing images by the electronic device.
如图9所示,为本发明实施例提供的一种电子设备的结构示意图。图9示出的电子设备90包括与目标摄像头对应的面光源,电子设备90还包括:控制模块91,用于控制面光源处于开启状态;拍摄模块92,用于通过与控制模块91开启的面光源对应的目标摄像头拍摄图像;其中,该面光源用于为目标摄像头的拍摄对象补光;该面光源通过电子设备中的第一屏幕实现,或者,通过电子设备中的壳体实现;第一屏幕与电子设备中用于显示拍摄预览图像的第二屏幕不同。As shown in FIG. 9 , it is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The
可选的,电子设备90还包括:调整模块;调整模块,用于拍摄模块92通过与面光源对应的目标摄像头拍摄图像之前,调整该面光源的光源参数为目标参数;其中,目标参数为电子设备根据环境光线调整的,或者用户自定义的。Optionally, the
可选的,光源参数包括以下至少一项:光源亮度,光源颜色,光源形状,光源角度;其中,光源角度为第一表面与第二表面之间的角度,第一表面为电子设备中包括与目标摄像头对应的面光源的表面,第二表面为电子设备中设置目标摄像头的表面。Optionally, the light source parameters include at least one of the following: brightness of the light source, color of the light source, shape of the light source, and angle of the light source; wherein, the angle of the light source is the angle between the first surface and the second surface, and the first surface is the electronic device including the The surface of the surface light source corresponding to the target camera, and the second surface is the surface on which the target camera is set in the electronic device.
可选的,在目标摄像头为电子设备的前置摄像头的情况下,与目标摄像头对应的面光源通过第一屏幕实现;在目标摄像头为电子设备的后置摄像头的情况下,该面光源通过电子设中的后壳实现。Optionally, when the target camera is the front camera of the electronic device, the surface light source corresponding to the target camera is realized through the first screen; when the target camera is the rear camera of the electronic device, the surface light source is passed through the electronic device. The rear shell is realized in the design.
可选的,电子设备90还包括:显示模块;显示模块,用于拍摄模块92通过与面光源对应的目标摄像头拍摄图像之前,在第一屏幕上显示目标设置选项和/或目标控件,在第二屏幕上显示目标摄像头的拍摄预览界面;其中,目标设置选项用于设置光源参数,目标控件用于触发面光源开启或关闭。Optionally, the
本发明实施例提供的电子设备90能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The
本发明实施例提供的电子设备,可以控制面光源处于开启状态,并通过与该面光源对应的目标摄像头拍摄图像,以实现通过该面光源为目标摄像头的拍摄对象补光。其中,由于为拍摄对象补光的光源为面光源的发光模式,而面光源具有发光范围大、出光柔和、不伤眼、省电、光线自然等特点,因此可以提高对拍摄对象补光的补光效果,使得拍摄的图像中拍摄对象的画面的质量较好。再者,由于面光源的光线通常不会照射目标摄像头的取景范围中除了拍摄对象之外的拍摄背景,因此不会影响拍摄的图像中拍摄背景的画面,可以避免出现图像整体变亮而导致图像噪点变多的问题,提高了电子设备拍摄的图像整体的质量。另外,由于电子设备中的面光源可以通过第一屏幕或壳体实现,且第一屏幕与用于显示拍摄预览图像的第二屏幕不同。如此,当拍摄对象靠近第一屏幕时,电子设备可以通过第一屏幕为拍摄对象补光;当拍摄对象靠近电子设备的壳体时,电子设备可以通过该壳体为拍摄对象补光,从而在不影响显示拍摄预览图像的同时,可以提高补光的灵活性和准确性。The electronic device provided by the embodiment of the present invention can control the surface light source to be in an on state, and shoot images through a target camera corresponding to the surface light source, so as to realize the supplementary light for the shooting object of the target camera through the surface light source. Among them, since the light source that fills the light for the subject is the light-emitting mode of the surface light source, and the surface light source has the characteristics of a large luminous range, soft light output, no eye damage, power saving, and natural light, etc., it can improve the fill light of the shooting object. The light effect makes the picture quality of the subject in the captured image better. Furthermore, since the light of the surface light source usually does not illuminate the shooting background other than the shooting object in the framing range of the target camera, it will not affect the shooting background picture in the shot image, which can avoid the overall brightening of the image and the resulting image. The problem of increased noise improves the overall quality of images captured by electronic devices. In addition, since the surface light source in the electronic device can be realized by the first screen or the casing, and the first screen is different from the second screen used for displaying the shot preview image. In this way, when the subject is close to the first screen, the electronic device can fill the light for the subject through the first screen; when the subject is close to the housing of the electronic device, the electronic device can fill the light for the subject through the housing, so that the It can improve the flexibility and accuracy of fill light without affecting the display of the shooting preview image.
图10为本发明实施例提供的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。10 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present invention. The
其中,处理器110,控制模块91,用于控制面光源处于开启状态;通过与面光源对应的目标摄像头拍摄图像;其中,该面光源用于为目标摄像头的拍摄对象补光;该面光源通过电子设备中的第一屏幕实现,或者,通过电子设备中的壳体实现;第一屏幕与电子设备中用于显示拍摄预览图像的第二屏幕不同。Among them, the
本发明实施例提供的电子设备,可以控制面光源处于开启状态,并通过与该面光源对应的目标摄像头拍摄图像,以实现通过该面光源为目标摄像头的拍摄对象补光。其中,由于为拍摄对象补光的光源为面光源的发光模式,而面光源具有发光范围大、出光柔和、不伤眼、省电、光线自然等特点,因此可以提高对拍摄对象补光的补光效果,使得拍摄的图像中拍摄对象的画面的质量较好。再者,由于面光源的光线通常不会照射目标摄像头的取景范围中除了拍摄对象之外的拍摄背景,因此不会影响拍摄的图像中拍摄背景的画面,可以避免出现图像整体变亮而导致图像噪点变多的问题,提高了电子设备拍摄的图像整体的质量。另外,由于电子设备中的面光源可以通过第一屏幕或壳体实现,且第一屏幕与用于显示拍摄预览图像的第二屏幕不同。如此,当拍摄对象靠近第一屏幕时,电子设备可以通过第一屏幕为拍摄对象补光;当拍摄对象靠近电子设备的壳体时,电子设备可以通过该壳体为拍摄对象补光,从而在不影响显示拍摄预览图像的同时,可以提高补光的灵活性和准确性。The electronic device provided by the embodiment of the present invention can control the surface light source to be in an on state, and shoot images through a target camera corresponding to the surface light source, so as to realize the supplementary light for the shooting object of the target camera through the surface light source. Among them, since the light source that fills the light for the subject is the light-emitting mode of the surface light source, and the surface light source has the characteristics of a large luminous range, soft light output, no eye damage, power saving, and natural light, etc., it can improve the fill light of the shooting object. The light effect makes the picture quality of the subject in the captured image better. Furthermore, since the light of the surface light source usually does not illuminate the shooting background other than the shooting object in the framing range of the target camera, it will not affect the shooting background picture in the shot image, which can avoid the overall brightening of the image and the resulting image. The problem of increased noise improves the overall quality of images captured by electronic devices. In addition, since the surface light source in the electronic device can be realized by the first screen or the casing, and the first screen is different from the second screen used for displaying the shot preview image. In this way, when the subject is close to the first screen, the electronic device can fill the light for the subject through the first screen; when the subject is close to the housing of the electronic device, the electronic device can fill the light for the subject through the housing, so that the It can improve the flexibility and accuracy of fill light without affecting the display of the shooting preview image.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals in the process of sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图10中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
电子设备100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种电子设备,包括处理器110,存储器109,存储在存储器109上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述图像拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图像拍摄方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above image capturing method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、图像拍摄方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、图像拍摄方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、图像拍摄方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, image capturing method, article or device comprising a series of elements includes not only those elements, but also other elements not expressly listed or inherent to such a process, image capturing method, article or apparatus. Without further limitation, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, image capturing method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例图像拍摄方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的图像拍摄方法。From the description of the above embodiments, those skilled in the art can clearly understand that the image capturing method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the image capturing methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911117940.8A CN110784661A (en) | 2019-11-15 | 2019-11-15 | Image shooting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911117940.8A CN110784661A (en) | 2019-11-15 | 2019-11-15 | Image shooting method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110784661A true CN110784661A (en) | 2020-02-11 |
Family
ID=69391366
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911117940.8A Pending CN110784661A (en) | 2019-11-15 | 2019-11-15 | Image shooting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110784661A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112929542A (en) * | 2021-02-04 | 2021-06-08 | 广东小天才科技有限公司 | Image shooting method and device, terminal equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106402732A (en) * | 2016-09-08 | 2017-02-15 | 惠州Tcl移动通信有限公司 | Electronic equipment provided with luminous rear housing |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
US20180109713A1 (en) * | 2016-10-15 | 2018-04-19 | SMPL Inc. | System and method for evenly-scattered adaptable subject lighting for mobile device photography |
CN109618053A (en) * | 2018-12-12 | 2019-04-12 | 维沃移动通信(杭州)有限公司 | A kind of screen light compensation method and terminal device |
CN110049224A (en) * | 2018-01-15 | 2019-07-23 | 中兴通讯股份有限公司 | Terminal is taken pictures, screen display method and device, terminal |
-
2019
- 2019-11-15 CN CN201911117940.8A patent/CN110784661A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106402732A (en) * | 2016-09-08 | 2017-02-15 | 惠州Tcl移动通信有限公司 | Electronic equipment provided with luminous rear housing |
US20180109713A1 (en) * | 2016-10-15 | 2018-04-19 | SMPL Inc. | System and method for evenly-scattered adaptable subject lighting for mobile device photography |
CN107786817A (en) * | 2017-10-20 | 2018-03-09 | 维沃移动通信有限公司 | A kind of photographic method and mobile terminal |
CN110049224A (en) * | 2018-01-15 | 2019-07-23 | 中兴通讯股份有限公司 | Terminal is taken pictures, screen display method and device, terminal |
CN109618053A (en) * | 2018-12-12 | 2019-04-12 | 维沃移动通信(杭州)有限公司 | A kind of screen light compensation method and terminal device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112929542A (en) * | 2021-02-04 | 2021-06-08 | 广东小天才科技有限公司 | Image shooting method and device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11445097B2 (en) | Apparatus and method for providing illumination of camera in electronic device | |
CN110602321B (en) | Application switching method, device, electronic device and storage medium | |
CN111246121B (en) | Shooting light supplement method, electronic equipment and medium | |
US20220268567A1 (en) | Screen display control method and electronic device | |
CN110266930A (en) | Lighting method for image shooting, mobile terminal and lighting adjustment method | |
WO2022028241A1 (en) | Preview cover generation method and electronic device | |
CN109788174B (en) | Light supplementing method and terminal | |
CN110661949A (en) | Display panel control method and electronic device | |
WO2021063099A1 (en) | Photographing method and electronic device | |
US20240267637A1 (en) | Electronic device having structure in which camera is disposed under display | |
CN110557575A (en) | method for eliminating glare and electronic equipment | |
CN108307109A (en) | A kind of high dynamic range images method for previewing and terminal device | |
CN108833753A (en) | Image acquisition and application method, terminal and computer-readable storage medium | |
CN109257463B (en) | Terminal device, control method thereof and computer-readable storage medium | |
WO2022134632A1 (en) | Work processing method and apparatus | |
CN108717365A (en) | The method and apparatus for executing function in the application | |
CN108965728A (en) | A kind of brightness adjusting method and terminal | |
CN108040209A (en) | A kind of image pickup method and mobile terminal | |
CN108848256A (en) | A kind of key control method and double screen terminal of double screen terminal | |
CN107623818A (en) | A kind of image exposure method and mobile terminal | |
WO2021027890A1 (en) | License plate image generation method and device, and computer storage medium | |
CN110223237A (en) | Adjust the method and terminal device of image parameter | |
CN111897465B (en) | Popup display method, device, equipment and storage medium | |
CN107959755B (en) | A kind of photographing method, mobile terminal and computer readable storage medium | |
WO2022258025A1 (en) | Electronic device and method for controlling electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200211 |
|
RJ01 | Rejection of invention patent application after publication |