CN108810422A - Light compensation method, device and the computer readable storage medium of shooting environmental - Google Patents
Light compensation method, device and the computer readable storage medium of shooting environmental Download PDFInfo
- Publication number
- CN108810422A CN108810422A CN201810593005.8A CN201810593005A CN108810422A CN 108810422 A CN108810422 A CN 108810422A CN 201810593005 A CN201810593005 A CN 201810593005A CN 108810422 A CN108810422 A CN 108810422A
- Authority
- CN
- China
- Prior art keywords
- supplementary light
- shooting environment
- light image
- scene
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Environmental & Geological Engineering (AREA)
- Controls And Circuits For Display Device (AREA)
- Studio Devices (AREA)
Abstract
本公开是关于一种拍摄环境的补光方法、装置及计算机可读存储介质,属于终端技术领域。所述方法包括:确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度;确定所述拍摄环境对应的场景,并确定与所述场景相匹配的补光图像;将确定的补光图像显示在显示屏的补光区域,并将所述补光区域的亮度调节为所述目标屏幕亮度,以实现对所述拍摄环境的补光。本公开可以确定拍摄环境对应的场景以及与该场景匹配的补光图像,并在将补光区域的亮度调节为目标屏幕亮度时,还能将与该场景相匹配的补光图像显示在该补光区域,从而不仅实现了对拍摄环境的补光,同时增加了补光区域的显示效果,提高了用户粘度。
The present disclosure relates to a method and device for supplementing light in a shooting environment, and a computer-readable storage medium, and belongs to the technical field of terminals. The method includes: determining the target screen brightness that matches the ambient brightness of the current shooting environment; determining the scene corresponding to the shooting environment, and determining a supplementary light image that matches the scene; The image is displayed in the supplementary light area of the display screen, and the brightness of the supplementary light area is adjusted to the target screen brightness, so as to realize supplementary light for the shooting environment. The disclosure can determine the scene corresponding to the shooting environment and the supplementary light image matching the scene, and when the brightness of the supplementary light area is adjusted to the target screen brightness, the supplementary light image matching the scene can also be displayed on the supplementary light image. In this way, it not only realizes the supplementary light for the shooting environment, but also increases the display effect of the supplementary light area and improves the user viscosity.
Description
技术领域technical field
本公开涉及终端技术领域,尤其涉及一种拍摄环境的补光方法、装置及计算机可读存储介质。The present disclosure relates to the technical field of terminals, and in particular, to a method and device for supplementing light in a shooting environment, and a computer-readable storage medium.
背景技术Background technique
随着终端技术的发展,智能终端的功能越来越多。比如,用户可以通过智能终端的前置摄像头进行视频通信、相片拍摄等操作。但是,当用户当前所处环境的光线较暗时,智能终端的前置摄像头可能会因曝光不足而无法拍摄到理想的画面,因此,当用户在光线较暗的地方通过智能终端的前置摄像头拍摄时,需要对拍摄环境进行补光。With the development of terminal technology, smart terminals have more and more functions. For example, the user can perform operations such as video communication and photo shooting through the front camera of the smart terminal. However, when the light in the user's current environment is low, the front camera of the smart terminal may not be able to capture an ideal picture due to insufficient exposure. Therefore, when the user passes through the front camera of the smart terminal in a dark place When shooting, it is necessary to supplement the lighting of the shooting environment.
相关技术中,在智能终端的前置摄像头附近增加独立的柔光灯,并在需要补光时点亮柔光灯,或者可以在显示屏上设置补光区域,并在需要补光时在显示屏的补光区域显示白色图案,从而实现对拍摄环境的补光。In related technologies, an independent soft light is added near the front camera of the smart terminal, and the soft light is turned on when supplementary light is required, or a supplementary light area can be set on the display screen, and the display area can be displayed when supplementary light is required. The fill light area of the screen displays a white pattern, so as to realize the fill light of the shooting environment.
发明内容Contents of the invention
本公开提供一种拍摄环境的补光方法、装置及计算机可读存储介质,用于克服相关技术中包括的用户粘度差、补光区域图像显示效果差的问题。The present disclosure provides a method and device for supplementing light in a shooting environment, and a computer-readable storage medium, which are used to overcome the problems of poor user viscosity and poor image display effect in a supplementary light area included in the related art.
根据本公开实施例的第一方面,提供一种拍摄环境的补光方法,所述方法包括:According to the first aspect of an embodiment of the present disclosure, a method for supplementing light in a shooting environment is provided, the method comprising:
确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度;Determine the target screen brightness that matches the ambient brightness of the current shooting environment;
确定所述拍摄环境对应的场景,并确定与所述场景相匹配的补光图像;Determine the scene corresponding to the shooting environment, and determine the supplementary light image matching the scene;
将确定的补光图像显示在显示屏的补光区域,并将所述补光区域的亮度调节为所述目标屏幕亮度,以实现对所述拍摄环境的补光。Displaying the determined supplementary light image on the supplementary light area of the display screen, and adjusting the brightness of the supplementary light area to the target screen brightness, so as to realize supplementary light for the shooting environment.
可选地,所述确定所述拍摄环境对应的场景,包括:Optionally, the determining the scene corresponding to the shooting environment includes:
确定所述拍摄环境的地理位置;determining the geographic location of the shooting environment;
获取描述所述地理位置的文字信息和图像信息中的至少一个;acquiring at least one of text information and image information describing the geographic location;
从所述文字信息和所述图像信息中的至少一个中确定所述拍摄环境对应的场景。A scene corresponding to the shooting environment is determined from at least one of the text information and the image information.
可选地,所述确定所述拍摄环境的地理位置,包括:Optionally, the determining the geographic location of the shooting environment includes:
当当前接入无线保真WiFi时,获取所接入WiFi的网关地址;When currently accessing WiFi, obtain the gateway address of the accessed WiFi;
根据所述网关地址,确定对应的地理位置。Determine the corresponding geographic location according to the gateway address.
可选地,所述确定所述拍摄环境的地理位置,包括:Optionally, the determining the geographic location of the shooting environment includes:
当检测到多个基站发送的通信信号时,基于所述多个通信信号的信号强度,确定当前所处位置与所述多个基站之间的距离;When detecting communication signals sent by a plurality of base stations, based on the signal strength of the plurality of communication signals, determining the distance between the current location and the plurality of base stations;
根据与所述多个基站之间的距离以及所述多个基站的地理位置,确定当前所处的拍摄环境的地理位置。According to the distances from the multiple base stations and the geographic locations of the multiple base stations, determine the geographic location of the current shooting environment.
可选地,所述确定与所述场景相匹配的补光图像,包括:Optionally, the determining the supplementary light image matching the scene includes:
从存储的场景与补光图像之间的对应关系中,获取所述场景对应的至少一张补光图像;Obtain at least one supplementary light image corresponding to the scene from the stored correspondence between the scene and the supplementary light image;
将获取的至少一张补光图像中的任一补光图像确定为与所述场景相匹配的补光图像。Any one of the acquired at least one supplementary light image is determined as a supplementary light image matching the scene.
可选地,所述将确定的补光图像显示在显示屏的补光区域之后,还包括:Optionally, the displaying the determined supplementary light image after the supplementary light area of the display screen further includes:
当接收到图案更换指令时,显示补光图像列表,所述补光图像列表中包括与所述拍摄环境相匹配的补光图像;When a pattern replacement instruction is received, a list of supplementary light images is displayed, and the list of supplementary light images includes supplementary light images matching the shooting environment;
当基于所述补光图像列表接收到选择指令时,将所述补光区域所显示的补光图像更换为所述选择指令所选择的补光图像。When a selection instruction is received based on the supplementary light image list, the supplementary light image displayed in the supplementary light area is replaced with the supplementary light image selected by the selection instruction.
根据本公开实施例的第二方面,提供一种拍摄环境的补光装置,所述装置包括:According to the second aspect of the embodiments of the present disclosure, there is provided a supplementary light device for a shooting environment, the device comprising:
第一确定模块,用于确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度;The first determination module is used to determine the target screen brightness that matches the ambient brightness of the current shooting environment;
第二确定模块,用于确定所述拍摄环境对应的场景,并确定与所述场景相匹配的补光图像;The second determination module is configured to determine the scene corresponding to the shooting environment, and determine a supplementary light image matching the scene;
调节模块,用于将确定的补光图像显示在显示屏的补光区域,并将所述补光区域的亮度调节为所述目标屏幕亮度,以实现对所述拍摄环境的补光。The adjustment module is configured to display the determined supplementary light image in the supplementary light area of the display screen, and adjust the brightness of the supplementary light area to the target screen brightness, so as to realize supplementary light for the shooting environment.
可选地,所述第二确定模块包括:Optionally, the second determination module includes:
第一确定子模块,用于确定所述拍摄环境的地理位置;The first determining submodule is used to determine the geographic location of the shooting environment;
第一获取子模块,用于获取描述所述地理位置的文字信息和图像信息中的至少一个;A first acquiring submodule, configured to acquire at least one of text information and image information describing the geographic location;
第二确定子模块,用于从所述文字信息和所述图像信息中的至少一个中确定所述拍摄环境对应的场景。The second determining submodule is configured to determine a scene corresponding to the shooting environment from at least one of the text information and the image information.
可选地,所述第一确定子模块用于:Optionally, the first determining submodule is used for:
当当前接入无线保真WiFi时,获取所接入WiFi的网关地址;When currently accessing WiFi, obtain the gateway address of the accessed WiFi;
根据所述网关地址,确定对应的地理位置。Determine the corresponding geographic location according to the gateway address.
可选地,所述第一确定子模块用于:Optionally, the first determining submodule is used for:
当检测到多个基站发送的通信信号时,基于所述多个通信信号的信号强度,确定当前所处位置与所述多个基站之间的距离;When detecting communication signals sent by a plurality of base stations, based on the signal strength of the plurality of communication signals, determining the distance between the current location and the plurality of base stations;
根据与所述多个基站之间的距离以及所述多个基站的地理位置,确定当前所处的拍摄环境的地理位置。According to the distances from the multiple base stations and the geographic locations of the multiple base stations, determine the geographic location of the current shooting environment.
可选地,所述第二确定模块包括:Optionally, the second determination module includes:
第二获取子模块,用于从存储的场景与补光图像之间的对应关系中,获取所述场景对应的至少一张补光图像;The second acquisition sub-module is used to obtain at least one supplementary light image corresponding to the scene from the stored correspondence between the scene and the supplementary light image;
第三确定子模块,用于将获取的至少一张补光图像中的任一补光图像确定为与所述场景相匹配的补光图像。The third determining submodule is configured to determine any one of the at least one supplementary light image acquired as a supplementary light image matching the scene.
可选地,所述装置还包括:Optionally, the device also includes:
显示模块,用于当接收到图案更换指令时,显示补光图像列表,所述补光图像列表中包括与所述拍摄环境相匹配的补光图像;A display module, configured to display a supplementary light image list when a pattern replacement instruction is received, and the supplementary light image list includes supplementary light images matching the shooting environment;
更换模块,用于当基于所述补光图像列表接收到选择指令时,将所述补光区域所显示的补光图像更换为所述选择指令所选择的补光图像。The replacement module is configured to replace the supplementary light image displayed in the supplementary light area with the supplementary light image selected by the selection command when a selection instruction is received based on the supplementary light image list.
根据本公开实施例的第三方面,提供一种拍摄环境的补光装置,所述装置包括:According to a third aspect of an embodiment of the present disclosure, there is provided a device for supplementing light in a shooting environment, the device comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行上述第一方面所述的任一项方法的步骤。Wherein, the processor is configured to execute the steps of any one of the methods described in the first aspect above.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行时实现上述第一方面所述的任一项方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, the computer-readable storage medium stores instructions, and when the instructions are executed by a processor, any one of the above-mentioned first aspects is implemented. method steps.
本公开的实施例提供的技术方案可以包括以下有益效果:。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: .
在本公开实施例中,可以确定拍摄环境对应的场景以及与该场景匹配的补光图像,并将补光区域的亮度调节为与当前拍摄环境的环境亮度相匹配的目标屏幕亮度,同时,还可以将与该场景相匹配的补光图像显示在该补光区域,从而不仅实现了对拍摄环境的补光,同时增加了补光区域的显示效果,提高了用户粘度。In the embodiment of the present disclosure, the scene corresponding to the shooting environment and the supplementary light image matching the scene can be determined, and the brightness of the supplementary light area can be adjusted to the target screen brightness matching the ambient brightness of the current shooting environment. The supplementary light image matching the scene can be displayed in the supplementary light area, thereby not only realizing the supplementary light for the shooting environment, but also increasing the display effect of the supplementary light area and improving user viscosity.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种拍摄环境的补光方法的流程图。Fig. 1 is a flowchart showing a method for supplementing light in a shooting environment according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种拍摄环境的补光方法的流程图。Fig. 2 is a flow chart showing another method for supplementing light in a shooting environment according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种补光区域的示意图。Fig. 3 is a schematic diagram of a supplementary light area according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种拍摄环境的补光装置的结构框图。Fig. 4 is a structural block diagram of a supplementary light device for a shooting environment according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种第二确定模块的结构框图。Fig. 5 is a structural block diagram of a second determining module according to an exemplary embodiment.
图6是根据一示例性实施例示出的另一种第二确定模块的结构框图。Fig. 6 is a structural block diagram of another second determining module according to an exemplary embodiment.
图7是根据一示例性实施例示出的另一种拍摄环境的补光装置的结构框图。Fig. 7 is a structural block diagram of another light supplementing device for a shooting environment according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种智能终端的结构框图。Fig. 8 is a structural block diagram of an intelligent terminal according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
在对本公开实施例进行详细地解释说明之前,先对本公开实施例的应用场景予以说明。Before explaining and describing the embodiments of the present disclosure in detail, the application scenarios of the embodiments of the present disclosure will be described first.
目前,用户可以通过智能终端的前置摄像头进行视频通信、相片拍摄等操作。但是,当用户当前所处环境的光线较暗时,为了拍摄到理想的画面,通常需要对拍摄环境进行补光。但是,目前是在智能终端的前置摄像头附近增加独立的柔光灯,并在需要补光时点亮柔光灯,这样增加了补光成本。另外,也可以通过显示屏上设置的补光区域进行补光,但是,通常在补光区域内显示图案为纯白色,导致显示效果差,用户可能会觉得显示单调,导致补光区域对用户的吸引力差,从而降低了用户粘度低。At present, users can perform operations such as video communication and photo shooting through the front camera of the smart terminal. However, when the light in the user's current environment is relatively dark, in order to capture an ideal picture, it is usually necessary to supplement the shooting environment with light. However, at present, an independent soft light is added near the front camera of the smart terminal, and the soft light is turned on when supplementary light is required, which increases the cost of supplementary light. In addition, it is also possible to perform supplementary light through the supplementary light area set on the display screen. However, usually the display pattern in the supplementary light area is pure white, resulting in poor display effect. Poor attractiveness, which reduces user viscosity is low.
基于这样的场景,本公开实施例提供了一种能够提高补光区域的图像显示效果以及用户粘度的拍摄环境的补光方法。Based on such a scenario, the embodiments of the present disclosure provide a supplementary light method that can improve the image display effect of the supplementary light area and the shooting environment of user viscosity.
图1是根据一示例性实施例示出的一种拍摄环境的补光方法的流程图,该方法应用于智能终端中。如图1所示,该方法包括以下步骤。Fig. 1 is a flowchart showing a method for supplementing light in a shooting environment according to an exemplary embodiment, and the method is applied to a smart terminal. As shown in Figure 1, the method includes the following steps.
在步骤101中,确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度。In step 101, a target screen brightness matching the ambient brightness of the current shooting environment is determined.
在步骤102中,确定该拍摄环境对应的场景,并确定与该场景相匹配的补光图像。In step 102, a scene corresponding to the shooting environment is determined, and a supplementary light image matching the scene is determined.
在步骤103中,将确定的补光图像显示在显示屏的补光区域,并将该补光区域的亮度调节为该目标屏幕亮度,以实现对该拍摄环境的补光。In step 103, the determined supplementary light image is displayed in the supplementary light area of the display screen, and the brightness of the supplementary light area is adjusted to the target screen brightness, so as to realize supplementary light for the shooting environment.
在本公开实施例中,可以确定拍摄环境对应的场景以及与该场景匹配的补光图像,并将补光区域的亮度调节为与当前拍摄环境的环境亮度相匹配的目标屏幕亮度,同时,还可以将与该场景相匹配的补光图像显示在该补光区域,从而不仅实现了对拍摄环境的补光,同时增加了补光区域的显示效果,提高了用户粘度。In the embodiment of the present disclosure, the scene corresponding to the shooting environment and the supplementary light image matching the scene can be determined, and the brightness of the supplementary light area can be adjusted to the target screen brightness matching the ambient brightness of the current shooting environment. The supplementary light image matching the scene can be displayed in the supplementary light area, thereby not only realizing the supplementary light for the shooting environment, but also increasing the display effect of the supplementary light area and improving user viscosity.
可选地,确定该拍摄环境对应的场景,包括:Optionally, determining the scene corresponding to the shooting environment includes:
确定该拍摄环境的地理位置;determine the geographic location of the shooting environment;
获取描述该地理位置的文字信息和图像信息中的至少一个;Acquiring at least one of text information and image information describing the geographic location;
从该文字信息和该图像信息中的至少一个中确定该拍摄环境对应的场景。A scene corresponding to the shooting environment is determined from at least one of the text information and the image information.
可选地,确定该拍摄环境的地理位置,包括:Optionally, determining the geographic location of the shooting environment includes:
当当前接入无线保真WiFi时,获取所接入WiFi的网关地址;When currently accessing WiFi, obtain the gateway address of the accessed WiFi;
根据该网关地址,确定对应的地理位置。According to the gateway address, the corresponding geographic location is determined.
可选地,确定该拍摄环境的地理位置,包括:Optionally, determining the geographic location of the shooting environment includes:
当检测到多个基站发送的通信信号时,基于该多个通信信号的信号强度,确定当前所处位置与该多个基站之间的距离;When detecting communication signals sent by multiple base stations, based on the signal strength of the multiple communication signals, determine the distance between the current location and the multiple base stations;
根据与该多个基站之间的距离以及该多个基站的地理位置,确定当前所处的拍摄环境的地理位置。According to the distances from the multiple base stations and the geographic locations of the multiple base stations, the geographic location of the current shooting environment is determined.
可选地,确定与该场景相匹配的补光图像,包括:Optionally, determine a supplementary light image matching the scene, including:
从存储的场景与补光图像之间的对应关系中,获取该场景对应的至少一张补光图像;Obtain at least one supplementary light image corresponding to the scene from the stored correspondence between the scene and the supplementary light image;
将获取的至少一张补光图像中的任一补光图像确定为与该场景相匹配的补光图像。Any one of the acquired at least one supplementary light image is determined as a supplementary light image matching the scene.
可选地,将确定的补光图像显示在显示屏的补光区域之后,还包括:Optionally, displaying the determined supplementary light image after the supplementary light area of the display screen further includes:
当接收到图案更换指令时,显示补光图像列表,该补光图像列表中包括与该拍摄环境相匹配的补光图像;When a pattern replacement instruction is received, a list of supplementary light images is displayed, and the list of supplementary light images includes supplementary light images matching the shooting environment;
当基于该补光图像列表接收到选择指令时,将该补光区域所显示的补光图像更换为该选择指令所选择的补光图像。When a selection command is received based on the supplementary light image list, the supplementary light image displayed in the supplementary light area is replaced with the supplementary light image selected by the selection command.
上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be described in detail in the embodiments of the present disclosure.
图2是根据一示例性实施例示出的一种拍摄环境的补光方法的流程图,该方法应用于智能终端中。如图2所示,该方法包括以下步骤。Fig. 2 is a flowchart showing a method for supplementing light in a shooting environment according to an exemplary embodiment, and the method is applied to a smart terminal. As shown in Figure 2, the method includes the following steps.
在步骤201中,智能终端在接收到前置拍摄指令时,通过安装的前置摄像头进行拍摄。In step 201, when receiving a front-facing shooting instruction, the smart terminal shoots through the installed front-facing camera.
需要说明的是,该前置拍摄指令用于启动智能终端安装的前置摄像头,且该前置拍摄指令可以在多个场合中由用户通过指定操作触发。比如,用户在通过智能终端上安装的即时通信应用进行视频通信时,可以通过指定操作触发前置拍摄指令,或者,当用户通过智能终端上安装的相机应用进行自拍时,同样可以通过指定操作触发前置拍摄指令。该指定操作可以为点击操作、滑动操作、语音操作等等。It should be noted that the front-facing shooting instruction is used to activate the front-facing camera installed on the smart terminal, and the front-facing shooting instruction can be triggered by a user through a specified operation on multiple occasions. For example, when the user performs video communication through the instant messaging application installed on the smart terminal, he can trigger the front-facing shooting command through the specified operation, or when the user takes a selfie through the camera application installed on the smart terminal, he can also trigger the command through the specified operation. Pre-shooting command. The specified operation may be a click operation, a slide operation, a voice operation, and the like.
在步骤202中,智能终端确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度。In step 202, the smart terminal determines the target screen brightness that matches the ambient brightness of the current shooting environment.
由于用户在通过前置摄像头拍摄时,并不是每一次都能处在明亮的环境中,用户在拍摄时可能处于光线教暗的地方,如果此时继续拍摄则可能无法拍摄到理想的画面。因此,智能终端需要检测当前所处的拍摄环境的环境亮度,并确定是否需要对当前拍摄环境进行补光,并在需要进行补光时,确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度。而智能终端可以主动检测当前所处的拍摄环境的环境亮度,也可以被动检测当前所处的拍摄环境的环境亮度。Since the user is not always in a bright environment when shooting with the front camera, the user may be in a dark place when shooting. If you continue to shoot at this time, you may not be able to capture the ideal picture. Therefore, the smart terminal needs to detect the ambient brightness of the current shooting environment, and determine whether it is necessary to supplement the current shooting environment, and when it is necessary to perform supplementary light, determine the Target screen brightness. The smart terminal can actively detect the ambient brightness of the current shooting environment, and can also passively detect the ambient brightness of the current shooting environment.
其中,智能终端主动检测是指智能终端在接收到前置拍摄指令后主动通过传感器检测当前所处的拍摄环境的环境亮度。智能终端被动检测是指智能终端在接收到前置拍摄指令后在通过前置摄像头拍摄过程中接收到检测指令时,对当前所处的拍摄环境的环境亮度进行检测。Wherein, the active detection of the smart terminal refers to that the smart terminal actively detects the ambient brightness of the current shooting environment through the sensor after receiving the pre-shooting instruction. Passive detection of the smart terminal means that the smart terminal detects the ambient brightness of the current shooting environment when it receives the detection command during the shooting process through the front camera after receiving the front-facing shooting command.
需要说明的是,该检测指令用于对拍摄环境进行检测,且该检测指令可以由用户通过指定操作触发。It should be noted that the detection instruction is used to detect the shooting environment, and the detection instruction can be triggered by a user through a designated operation.
另外,智能终端确定是否需要对当前拍摄环境进行补光的操作可以为:将当前拍摄环境的环境亮度与预设环境亮度进行比较;当拍摄环境的环境亮度大于或等于预设环境亮度时,确定当前无需对拍摄环境进行补光;当拍摄环境的环境亮度小于预设环境亮度时,确定当前需要对拍摄环境进行补光。In addition, the operation for the smart terminal to determine whether it is necessary to supplement light for the current shooting environment may be: compare the ambient brightness of the current shooting environment with the preset ambient brightness; when the ambient brightness of the shooting environment is greater than or equal to the preset ambient brightness, determine At present, there is no need to supplement light for the shooting environment; when the ambient brightness of the shooting environment is lower than the preset ambient brightness, it is determined that the current shooting environment needs to be supplemented with light.
需要说明的是,该预设环境亮度可以事先设置,比如,该预设环境亮度可以为500坎德拉、400坎德拉等等。It should be noted that the preset ambient brightness can be set in advance, for example, the preset ambient brightness can be 500 candela, 400 candela, and so on.
再者,智能终端可以从存储的环境亮度与屏幕亮度之间的对应关系中获取当前拍摄环境的环境亮度对应的屏幕亮度,将获取的屏幕亮度确定为目标屏幕亮度。Furthermore, the smart terminal may acquire the screen brightness corresponding to the ambient brightness of the current shooting environment from the stored correspondence between the ambient brightness and the screen brightness, and determine the acquired screen brightness as the target screen brightness.
进一步地,由于智能终端可以利用显示屏中的部分区域对拍摄环境进行补光,因此智能终端检测到当前所处的拍摄环境的环境亮度之后,还可以从存储的环境亮度与区域大小之间的对应关系中获取当前拍摄环境的环境亮度对应的区域大小;在该显示屏中设置大小为该区域大小的补光区域。Further, since the smart terminal can use some areas in the display screen to supplement the light of the shooting environment, after the smart terminal detects the ambient brightness of the current shooting environment, it can also use the stored ambient brightness and the size of the area. In the corresponding relationship, the size of the area corresponding to the ambient brightness of the current shooting environment is obtained; a supplementary light area whose size is the size of the area is set in the display screen.
比如,当检测到当前拍摄环境的环境亮度为400坎德拉时,可以从如表1所示的环境亮度与区域大小之间对应关系中,获取环境亮度400坎德拉对应的区域大小为拍摄画面在水平方向上距离非显示屏各1厘米,拍摄画面在垂直方向上距离非显示屏区域1厘米),智能终端可以在显示屏中按照区域大小设置如图3所示的补光区域。For example, when it is detected that the ambient brightness of the current shooting environment is 400 candela, from the correspondence between the ambient brightness and the area size shown in Table 1, the area size corresponding to the ambient brightness of 400 candela can be obtained as the shooting picture in the horizontal direction 1 cm away from the non-display screen above, and 1 cm away from the non-display screen area in the vertical direction of the shooting picture), the smart terminal can set the supplementary light area in the display screen according to the size of the area as shown in Figure 3.
表1Table 1
需要说明的是,在本公开实施例中仅以上述环境亮度与区域大小之间的对应关系为例进行说明,并不对本公开实施例构成限定。It should be noted that, in the embodiments of the present disclosure, only the above-mentioned corresponding relationship between the ambient brightness and the area size is used as an example for illustration, which does not limit the embodiments of the present disclosure.
另外,智能终端可以按照上述方法对不同的环境亮度设置不同区域大小的补光区域,当然,也可以事先设置一个默认大小的补光区域,在需要补光时,通过显示屏上默认大小的补光区域对拍摄环境进行补光。或者,也可以由用户手动设置该补光区域的大小。In addition, the smart terminal can set different size fill light areas for different ambient brightness according to the above method. Of course, you can also set a default size fill light area in advance. When fill light is needed, the default size fill light area on the display screen The light area supplements the shooting environment. Alternatively, the size of the supplementary light area may also be manually set by the user.
再者,在本公开实施例中,显示屏可以划分为补光区域和拍摄区域,该拍摄区域可以为规则图形,比如,矩形、椭圆形、圆形等等,也可以为不规则图形,比如,蘑菇状、头盔轮廓的形状等等。Furthermore, in the embodiments of the present disclosure, the display screen can be divided into a supplementary light area and a shooting area, and the shooting area can be a regular figure, such as a rectangle, an ellipse, a circle, etc., or an irregular figure, such as , mushroom shape, the shape of the helmet outline, etc.
在步骤203中,智能终端确定拍摄环境对应的场景,并确定与该场景相匹配的补光图像。In step 203, the smart terminal determines a scene corresponding to the shooting environment, and determines a supplementary light image matching the scene.
由于用户可能在任意地点开启前置摄像头进行拍摄,比如,用户可能在海边、咖啡店、街头、商场等地点通过前置摄像头进行拍摄。但是,目前补光区域只能显示纯色的补光图像,导致补光区域的图像显示效果差,有时候用户也可能会嫌弃补光区域显示的图像内容单调,导致对用户的吸引力差。因此,为了提高补光区域的图像显示效果以及用户粘度,智能终端可以确定拍摄环境对应的场景,并确定与该场景相匹配的补光图像。下述分别对智能终端确定拍摄环境对应的场景的操作,以及确定与该场景相匹配的补光图像的操作进行解释说明。Since the user may turn on the front camera to take pictures at any place, for example, the user may take pictures by the front camera at places such as the seaside, a coffee shop, a street, or a shopping mall. However, currently, the fill light area can only display solid-color fill light images, resulting in poor image display in the fill light area. Sometimes users may also dislike the monotonous content of the image displayed in the fill light area, resulting in poor appeal to users. Therefore, in order to improve the image display effect of the supplementary light area and user viscosity, the smart terminal can determine the scene corresponding to the shooting environment, and determine the supplementary light image matching the scene. The operation of determining the scene corresponding to the shooting environment by the smart terminal and the operation of determining the supplementary light image matching the scene are respectively explained below.
智能终端确定拍摄环境对应的场景的操作The operation of the smart terminal to determine the scene corresponding to the shooting environment
其中,智能终端可以通过AI(Artificial Intelligence,人工智能)场景识别技术对拍摄环境对应的场景进行识别,也可以通过其他方式确定拍摄环境对应的场景。比如,智能终端可以确定该拍摄环境的地理位置;获取描述地理位置的文字信息和图像信息中的至少一个;从该文字信息和图像信息中的至少一个中确定拍摄环境对应的场景。Wherein, the smart terminal can identify the scene corresponding to the shooting environment through AI (Artificial Intelligence, artificial intelligence) scene recognition technology, and can also determine the scene corresponding to the shooting environment in other ways. For example, the smart terminal may determine the geographic location of the shooting environment; acquire at least one of text information and image information describing the geographic location; and determine a scene corresponding to the shooting environment from at least one of the text information and image information.
其中,智能终端可以基于拍摄环境的地理位置,从地理位置与文字信息或图像信息之间的对应关系中获取对应的文字信息和图像信息中的至少一个。Wherein, the smart terminal may acquire at least one of the corresponding text information and image information from the correspondence between the geographic location and text information or image information based on the geographic location of the shooting environment.
需要说明的是,服务器中地理位置及对应的文字信息和图像信息可以是以地图的形式存储,也可以是以表格形式存储。It should be noted that the geographic location and the corresponding text information and image information in the server may be stored in the form of a map or in the form of a table.
另外,智能终端确定拍摄环境的地理位置的操作可以包括如下两种方式:In addition, the operation of the smart terminal to determine the geographic location of the shooting environment may include the following two methods:
第一种方式,当智能终端当前接入WiFi(WIreless-FIdelity,无线保真)时,获取所接入WiFi的网关地址;根据该网关地址,确定对应的地理位置。In the first way, when the smart terminal is currently accessing WiFi (WIreless-FIdelity, wireless fidelity), the gateway address of the accessed WiFi is obtained; and the corresponding geographic location is determined according to the gateway address.
其中,由于WiFi的位置通常是固定的,且在一个位置设置WiFi时,服务器中会存储该WiFi的地理位置与该WiFi的网关地址之间的对应关系,因此,智能终端可以通过确定接入WiFi的网关地址,从服务器中确定对应的地理位置。Among them, since the location of WiFi is usually fixed, and when WiFi is set in one location, the server will store the corresponding relationship between the geographic location of the WiFi and the gateway address of the WiFi, therefore, the smart terminal can access the WiFi by determining The gateway address of , and determine the corresponding geographic location from the server.
需要说明的是,WiFi的网关地址可以为路由器地址、网卡地址信息等等。It should be noted that the gateway address of the WiFi may be a router address, network card address information, and the like.
第二种方式,当智能终端检测到多个基站发送的通信信号时,基于该多个通信信号的信号强度,确定当前所处位置与该多个基站之间的距离;根据与该多个基站之间的距离以及该多个基站的地理位置,确定当前所处的拍摄环境的地理位置。In the second way, when the smart terminal detects the communication signals sent by multiple base stations, based on the signal strength of the multiple communication signals, determine the distance between the current location and the multiple base stations; The distance between the multiple base stations and the geographic locations of the plurality of base stations determine the geographic location of the current shooting environment.
由于通常情况下,基站的位置是固定的,智能终端可以从服务器中轻松的获取各个基站的地理位置,因此,智能终端可以根据与该多个基站之间的距离以及该多个基站的地理位置,确定当前所处的拍摄环境的地理位置。Usually, the positions of the base stations are fixed, and the smart terminal can easily obtain the geographic location of each base station from the server. Therefore, the smart terminal can to determine the geographic location of the current shooting environment.
另外,智能终端不仅可以通过上述两种方式确定拍摄环境的地理位置,还可以通过其他方式确定,比如,通过GPS(Global Positioning System,全球定位系统)技术对智能终端进行定位等等。In addition, the smart terminal can determine the geographic location of the shooting environment not only through the above two methods, but also through other ways, for example, positioning the smart terminal through GPS (Global Positioning System, Global Positioning System) technology and so on.
智能终端确定与场景相匹配的补光图像的操作The operation of the smart terminal to determine the supplementary light image that matches the scene
其中,智能终端可以从存储的场景与补光图像之间的对应关系中,获取该场景对应的至少一张补光图像;将获取的至少一张补光图像中的任一补光图像确定为与该场景相匹配的补光图像。Wherein, the intelligent terminal can obtain at least one supplementary light image corresponding to the scene from the stored correspondence between the scene and the supplementary light image; Matching fill light image.
在步骤204中,智能终端将确定的补光图像显示在显示屏的补光区域,并将该补光区域的亮度调节为该目标屏幕亮度,以实现对拍摄环境的补光。In step 204, the smart terminal displays the determined supplementary light image in the supplementary light area of the display screen, and adjusts the brightness of the supplementary light area to the target screen brightness, so as to realize supplementary light for the shooting environment.
进一步地,智能终端将确定的补光图像显示在显示屏的补光区域之后,还可以接收图案更换指令,当接收到图案更换指令时,显示补光图像列表,该补光图像列表中包括与该拍摄环境相匹配的补光图像;当基于该补光图像列表接收到选择指令时,将该补光区域所显示的补光图像更换为该选择指令所选择的补光图像。Further, after the smart terminal displays the determined supplementary light image on the supplementary light area of the display screen, it can also receive a pattern replacement instruction, and when receiving the pattern replacement instruction, display a supplementary light image list, the supplementary light image list includes and The supplementary light image matching the shooting environment; when a selection command is received based on the supplementary light image list, the supplementary light image displayed in the supplementary light area is replaced with the supplementary light image selected by the selection command.
需要说明的是,该选择指令用于从多张补光图像中选择需要显示到补光区域的图像,该选择指令可以是用户在不喜欢智能终端显示在补光区域的补光图像时,通过指定操作触发。It should be noted that the selection instruction is used to select the image that needs to be displayed in the light supplement area from multiple supplement light images. trigger.
其中,为了使用户能够清楚的了解到多张补光图像中哪些补光图像已经在补光区域中进行显示,智能终端可以将已经显示过的补光图像进行标记,比如,可以将显示过的补光图像颜色置灰,或者,在显示过的补光图像上显示诸如对号、字母、图标等标记。Among them, in order to enable the user to clearly understand which of the supplementary light images has been displayed in the supplementary light area, the smart terminal can mark the supplementary light images that have been displayed, for example, the displayed supplementary light images can be The color of the image is grayed out, or marks such as checkmarks, letters, icons, etc. are displayed on the displayed fill light image.
在本公开实施例中,智能终端可以在需要对拍摄环境进行补光时,确定与拍摄环境相匹配的目标屏幕亮度,并确定拍摄环境对应的场景以及与该场景匹配的补光图像,之后将补光区域的亮度调节为与目标屏幕亮度,同时,还可以将与该场景相匹配的补光图像显示在该补光区域,从而不仅实现了对拍摄环境的补光,同时增加了补光区域的显示效果,提高了用户粘度。In the embodiment of the present disclosure, the smart terminal can determine the target screen brightness matching the shooting environment when it needs to supplement the shooting environment, and determine the scene corresponding to the shooting environment and the supplementary light image matching the scene, and then The brightness of the supplementary light area is adjusted to match the brightness of the target screen. At the same time, the supplementary light image matching the scene can also be displayed in the supplementary light area, which not only realizes the supplementary light of the shooting environment, but also increases the supplementary light area. The display effect improves user viscosity.
图4是根据一示例性实施例示出的一种拍摄环境的补光装置的框图。参见图4,该装置包括:第一确定模块401、第二确定模块402和调节模块403。Fig. 4 is a block diagram of a supplementary light device for a shooting environment according to an exemplary embodiment. Referring to FIG. 4 , the device includes: a first determination module 401 , a second determination module 402 and an adjustment module 403 .
第一确定模块401,用于确定与当前所处的拍摄环境的环境亮度相匹配的目标屏幕亮度;The first determination module 401 is configured to determine the target screen brightness that matches the ambient brightness of the current shooting environment;
第二确定模块402,用于确定所述拍摄环境对应的场景,并确定与所述场景相匹配的补光图像;The second determining module 402 is configured to determine a scene corresponding to the shooting environment, and determine a supplementary light image matching the scene;
调节模块403,用于将确定的补光图像显示在显示屏的补光区域,并将所述补光区域的亮度调节为所述目标屏幕亮度,以实现对所述拍摄环境的补光。The adjustment module 403 is configured to display the determined supplementary light image in the supplementary light area of the display screen, and adjust the brightness of the supplementary light area to the target screen brightness, so as to realize supplementary light for the shooting environment.
可选地,参见图5,该第二确定模块402包括:Optionally, referring to FIG. 5, the second determining module 402 includes:
第一确定子模块4021,用于确定所述拍摄环境的地理位置;The first determination sub-module 4021 is configured to determine the geographic location of the shooting environment;
第一获取子模块4022,用于获取描述该地理位置的文字信息和图像信息中的至少一个;The first obtaining sub-module 4022 is used to obtain at least one of text information and image information describing the geographic location;
第二确定子模块4023,用于从该文字信息和该图像信息中的至少一个中确定该拍摄环境对应的场景。The second determination sub-module 4023 is configured to determine the scene corresponding to the shooting environment from at least one of the text information and the image information.
可选地,该第一确定子模块4021用于:Optionally, the first determining submodule 4021 is used to:
当当前接入无线保真WiFi时,获取所接入WiFi的网关地址;When currently accessing WiFi, obtain the gateway address of the accessed WiFi;
根据该网关地址,确定对应的地理位置。According to the gateway address, the corresponding geographic location is determined.
可选地,该第一确定子模块4021用于:Optionally, the first determining submodule 4021 is used to:
当检测到多个基站发送的通信信号时,基于该多个通信信号的信号强度,确定当前所处位置与该多个基站之间的距离;When detecting communication signals sent by multiple base stations, based on the signal strength of the multiple communication signals, determine the distance between the current location and the multiple base stations;
根据与该多个基站之间的距离以及该多个基站的地理位置,确定当前所处的拍摄环境的地理位置。According to the distances from the multiple base stations and the geographic locations of the multiple base stations, the geographic location of the current shooting environment is determined.
可选地,参见图6,该第二确定模块402包括:Optionally, referring to FIG. 6, the second determining module 402 includes:
第二获取子模块4024,用于从存储的场景与补光图像之间的对应关系中,获取该场景对应的至少一张补光图像;The second acquisition sub-module 4024 is configured to acquire at least one supplementary light image corresponding to the scene from the stored correspondence between the scene and the supplementary light image;
第三确定子模块4025,用于将获取的至少一张补光图像中的任一补光图像确定为与该场景相匹配的补光图像。The third determining sub-module 4025 is configured to determine any one of the at least one supplementary light image acquired as a supplementary light image matching the scene.
可选地,参见图7,该装置还包括:Optionally, referring to Figure 7, the device also includes:
显示模块404,用于当接收到图案更换指令时,显示补光图像列表,该补光图像列表中包括与该拍摄环境相匹配的补光图像;The display module 404 is configured to display a supplementary light image list when a pattern replacement instruction is received, and the supplementary light image list includes supplementary light images matching the shooting environment;
更换模块405,当基于该补光图像列表接收到选择指令时,将该补光区域所显示的补光图像更换为该选择指令所选择的补光图像。The replacement module 405, when receiving a selection command based on the supplementary light image list, replaces the supplementary light image displayed in the supplementary light area with the supplementary light image selected by the selection command.
综上所述,在本公开实施例中,智能终端可以在需要对拍摄环境进行补光时,确定与拍摄环境相匹配的目标屏幕亮度,并确定拍摄环境对应的场景以及与该场景匹配的补光图像,之后将补光区域的亮度调节为与目标屏幕亮度,同时,还可以将与该场景相匹配的补光图像显示在该补光区域,从而不仅实现了对拍摄环境的补光,同时增加了补光区域的显示效果,提高了用户粘度。To sum up, in the embodiments of the present disclosure, the smart terminal can determine the target screen brightness that matches the shooting environment when it needs to supplement light for the shooting environment, and determine the scene corresponding to the shooting environment and the supplementary light that matches the scene. Then adjust the brightness of the supplementary light area to match the brightness of the target screen. At the same time, the supplementary light image matching the scene can also be displayed in the supplementary light area, thus not only realizing the supplementary light of the shooting environment, but also Increased the display effect of the fill light area, improving user viscosity.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图8是根据一示例性实施例示出的一种智能终端800的框图。例如,智能终端可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 8 is a block diagram of a smart terminal 800 according to an exemplary embodiment. For example, a smart terminal can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图8,智能终端可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 8 , the smart terminal may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and communication component 816 .
处理组件802通常控制智能终端的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the smart terminal, such as those associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
存储器804被配置为存储各种类型的数据以支持在智能终端的操作。这些数据的示例包括用于在智能终端上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations on the smart terminal. Examples of such data include instructions for any application or method operating on the smart terminal, contact data, phonebook data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为智能终端的各种组件提供电源。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为智能终端生成、管理和分配电源相关联的组件。The power supply component 806 provides power for various components of the smart terminal. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for a smart terminal.
多媒体组件808包括在所述智能终端和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当智能终端处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen providing an output interface between the smart terminal and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the smart terminal is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当智能终端处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive an external audio signal when the smart terminal is in an operation mode, such as a calling mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为智能终端提供各个方面的状态评估。例如,传感器组件814可以检测到智能终端的打开/关闭状态,组件的相对定位,例如所述组件为智能终端的显示器和小键盘,传感器组件814还可以检测智能终端或智能终端一个组件的位置改变,用户与智能终端接触的存在或不存在,智能终端方位或加速/减速和智能终端的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 814 includes one or more sensors for providing various aspects of status assessment for the smart terminal. For example, the sensor component 814 can detect the open/closed state of the smart terminal, the relative positioning of components, such as the display and keypad of the smart terminal, and the sensor component 814 can also detect the position change of the smart terminal or a component of the smart terminal , the presence or absence of contact between the user and the smart terminal, the orientation or acceleration/deceleration of the smart terminal and the temperature change of the smart terminal. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件816被配置为便于智能终端和其他设备之间有线或无线方式的通信。智能终端可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the smart terminal and other devices. Smart terminals can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination of them. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,智能终端可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述图1或图2实施例提供的一种拍摄环境的补光方法。In an exemplary embodiment, the smart terminal may be programmed by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Realized by a gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, it is used to implement a method for supplementing light in a shooting environment provided by the embodiment in FIG. 1 or FIG. 2 above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由智能终端的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the smart terminal to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由终端的处理器执行时,使得终端能够执行上述图1或2实施例提供的一种拍摄环境的补光方法。A non-transitory computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute the method for supplementing light in the shooting environment provided by the above-mentioned embodiment in FIG. 1 or 2 .
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in this disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810593005.8A CN108810422B (en) | 2018-06-11 | 2018-06-11 | Lighting method, device and computer-readable storage medium for shooting environment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810593005.8A CN108810422B (en) | 2018-06-11 | 2018-06-11 | Lighting method, device and computer-readable storage medium for shooting environment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108810422A true CN108810422A (en) | 2018-11-13 |
| CN108810422B CN108810422B (en) | 2020-11-20 |
Family
ID=64088255
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810593005.8A Active CN108810422B (en) | 2018-06-11 | 2018-06-11 | Lighting method, device and computer-readable storage medium for shooting environment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108810422B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110113536A (en) * | 2019-05-17 | 2019-08-09 | Oppo广东移动通信有限公司 | Screen light supplementing method and device, storage medium and intelligent terminal |
| CN111246111A (en) * | 2020-02-10 | 2020-06-05 | 维沃移动通信有限公司 | Photographing method, electronic device, and medium |
| CN111246121A (en) * | 2020-02-10 | 2020-06-05 | 维沃移动通信有限公司 | Shooting fill light method, electronic equipment and medium |
| CN113473008A (en) * | 2021-06-25 | 2021-10-01 | 维沃移动通信(杭州)有限公司 | Shooting method and device |
| CN114363448A (en) * | 2020-09-29 | 2022-04-15 | 北京小米移动软件有限公司 | Brightness control method and device for small screen window, terminal and storage medium |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2692854B2 (en) * | 1988-05-20 | 1997-12-17 | キヤノン株式会社 | Automatic exposure control device |
| US20090284647A1 (en) * | 2008-05-19 | 2009-11-19 | Nikon Corporation | Electronic flash apparatus and camera provided with the same |
| CN105049741A (en) * | 2015-08-14 | 2015-11-11 | 上海与德通讯技术有限公司 | Light supplementing method in photographing and electronic equipment |
| CN105260466A (en) * | 2015-10-16 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Picture pushing method and apparatus |
| CN105338479A (en) * | 2014-06-09 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Place-based information processing method and apparatus |
| CN106303280A (en) * | 2016-09-09 | 2017-01-04 | 广东欧珀移动通信有限公司 | A method, device and terminal for supplementary light for photographing |
| CN106383628A (en) * | 2016-08-30 | 2017-02-08 | 广东欧珀移动通信有限公司 | A lock screen picture display method and terminal |
| CN106534706A (en) * | 2015-09-10 | 2017-03-22 | 小米科技有限责任公司 | Method and device of realizing screen light supplement, and mobile terminal |
| CN106909280A (en) * | 2015-12-22 | 2017-06-30 | 深圳富泰宏精密工业有限公司 | Electronic equipment and method, photo taking |
| CN107734267A (en) * | 2017-09-11 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method and device |
-
2018
- 2018-06-11 CN CN201810593005.8A patent/CN108810422B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2692854B2 (en) * | 1988-05-20 | 1997-12-17 | キヤノン株式会社 | Automatic exposure control device |
| US20090284647A1 (en) * | 2008-05-19 | 2009-11-19 | Nikon Corporation | Electronic flash apparatus and camera provided with the same |
| CN105338479A (en) * | 2014-06-09 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Place-based information processing method and apparatus |
| CN105049741A (en) * | 2015-08-14 | 2015-11-11 | 上海与德通讯技术有限公司 | Light supplementing method in photographing and electronic equipment |
| CN106534706A (en) * | 2015-09-10 | 2017-03-22 | 小米科技有限责任公司 | Method and device of realizing screen light supplement, and mobile terminal |
| CN105260466A (en) * | 2015-10-16 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Picture pushing method and apparatus |
| CN106909280A (en) * | 2015-12-22 | 2017-06-30 | 深圳富泰宏精密工业有限公司 | Electronic equipment and method, photo taking |
| CN106383628A (en) * | 2016-08-30 | 2017-02-08 | 广东欧珀移动通信有限公司 | A lock screen picture display method and terminal |
| CN106303280A (en) * | 2016-09-09 | 2017-01-04 | 广东欧珀移动通信有限公司 | A method, device and terminal for supplementary light for photographing |
| CN107734267A (en) * | 2017-09-11 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image processing method and device |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110113536A (en) * | 2019-05-17 | 2019-08-09 | Oppo广东移动通信有限公司 | Screen light supplementing method and device, storage medium and intelligent terminal |
| CN110113536B (en) * | 2019-05-17 | 2021-03-02 | Oppo广东移动通信有限公司 | Screen light supplementing method and device, storage medium and intelligent terminal |
| CN111246111A (en) * | 2020-02-10 | 2020-06-05 | 维沃移动通信有限公司 | Photographing method, electronic device, and medium |
| CN111246121A (en) * | 2020-02-10 | 2020-06-05 | 维沃移动通信有限公司 | Shooting fill light method, electronic equipment and medium |
| CN111246121B (en) * | 2020-02-10 | 2021-12-24 | 维沃移动通信有限公司 | Shooting light supplement method, electronic equipment and medium |
| CN111246111B (en) * | 2020-02-10 | 2022-03-15 | 维沃移动通信有限公司 | Photographing method, electronic device, and medium |
| CN114363448A (en) * | 2020-09-29 | 2022-04-15 | 北京小米移动软件有限公司 | Brightness control method and device for small screen window, terminal and storage medium |
| CN114363448B (en) * | 2020-09-29 | 2024-05-24 | 北京小米移动软件有限公司 | Screen widget brightness control method and device, terminal and storage medium |
| CN113473008A (en) * | 2021-06-25 | 2021-10-01 | 维沃移动通信(杭州)有限公司 | Shooting method and device |
| WO2022268079A1 (en) * | 2021-06-25 | 2022-12-29 | 维沃移动通信(杭州)有限公司 | Photographing method and device |
| CN113473008B (en) * | 2021-06-25 | 2023-01-24 | 维沃移动通信(杭州)有限公司 | Shooting method and device |
| US12513387B2 (en) | 2021-06-25 | 2025-12-30 | Vivo Mobile Communication Co., Ltd | Shooting method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108810422B (en) | 2020-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9674395B2 (en) | Methods and apparatuses for generating photograph | |
| CN108810422B (en) | Lighting method, device and computer-readable storage medium for shooting environment | |
| CN108289169A (en) | Image pickup method, device, electronic equipment and storage medium | |
| KR20190088001A (en) | Screen display control method, apparatus, program and recording medium | |
| US10110800B2 (en) | Method and apparatus for setting image capturing parameters | |
| CN111261081B (en) | Screen display method and device | |
| CN108462833B (en) | Photographing method, photographing device and computer-readable storage medium | |
| US11024264B2 (en) | Controlling field of view | |
| US20180276474A1 (en) | Method, apparatus for controlling a smart device and computer storge medium | |
| CN105744133A (en) | Video fill-in light method and apparatus | |
| EP3147802A1 (en) | Method and apparatus for processing information | |
| CN108334799A (en) | Fingerprint identification method and device | |
| CN107426489A (en) | Processing method, device and terminal during shooting image | |
| CN107347136A (en) | Photographic method, device and terminal device | |
| CN107529699A (en) | Control method of electronic device and device | |
| CN105049763B (en) | Trigger the method and device of projection | |
| CN106296775B (en) | Icon generation method and device | |
| CN111405109A (en) | Brightness control method, brightness control device and electronic equipment | |
| US10827156B2 (en) | Light filling method and apparatus for photographing environment, and computer-readable storage medium | |
| CN112331158A (en) | Terminal display adjustment method, device, device and storage medium | |
| US20150279001A1 (en) | Method and device for displaying image | |
| CN106128415B (en) | Screen luminance adjustment method and device | |
| CN106773750A (en) | Equipment method for displaying image and device | |
| CN108769513B (en) | Camera photographing method and device | |
| CN106375744B (en) | Information projecting method and 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |