WO2021083173A1 - Exposure control method and device, and storage medium - Google Patents

Exposure control method and device, and storage medium Download PDF

Info

Publication number
WO2021083173A1
WO2021083173A1 PCT/CN2020/124269 CN2020124269W WO2021083173A1 WO 2021083173 A1 WO2021083173 A1 WO 2021083173A1 CN 2020124269 W CN2020124269 W CN 2020124269W WO 2021083173 A1 WO2021083173 A1 WO 2021083173A1
Authority
WO
WIPO (PCT)
Prior art keywords
brightness information
environmental
brightness
current
parameter
Prior art date
Application number
PCT/CN2020/124269
Other languages
French (fr)
Chinese (zh)
Inventor
孙少辉
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021083173A1 publication Critical patent/WO2021083173A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Definitions

  • the embodiments of the present application relate to the field of image processing technology, and in particular, to an exposure control method and device, and a storage medium.
  • At least one high-brightness information and at least one low-brightness information are selected from the plurality of environmental brightness information; each high-brightness information in the at least one high-brightness information is larger than each of the at least one low-brightness information.
  • an exposure control device including:
  • the exposure control device may select at least one high-brightness information and at least one low-brightness information from a plurality of collected environmental brightness information. Wherein, each high-brightness information in the at least one high-brightness information is larger than each low-brightness information in the at least one low-brightness information.
  • S303 Determine the current light uniformity parameter according to the at least one high-brightness information and the at least one low-brightness information.
  • the exposure control device determines the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter, including: from the corresponding relationship between the preset environmental parameter and the exposure parameter To find the exposure parameter corresponding to the current environment parameter; determine the found exposure parameter as the current exposure parameter.
  • S104 When the image sensor collects an image of the scene to be shot, perform exposure control on the image sensor according to the current exposure parameter.

Abstract

Embodiments of the present application disclose an exposure control method and device, and a storage medium. The method comprises: acquiring multiple pieces of environmental brightness information of a scene to be captured; determining current environmental parameters using the multiple pieces of environmental brightness information, wherein the current environmental parameters comprise a current brightness weighted mean value and a current light uniformity parameter; determining a current exposure parameter according to the current environmental parameters and preset correspondences between environmental parameters and exposure parameters; and when an image sensor acquires an image of the scene, performing exposure control on the image sensor according to the current exposure parameter.

Description

一种曝光控制方法及装置、存储介质Exposure control method and device, and storage medium
相关申请的交叉引用Cross-references to related applications
本申请基于申请号201911052798.3、申请日为2019年10月31日,申请名称为“一种曝光控制方法及装置、存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式结合在本申请中。This application is filed based on the Chinese patent application with the application number 201911052798.3, the filing date is October 31, 2019, and the application title is "an exposure control method and device, storage medium", and the priority of the Chinese patent application is claimed. The entire content of the patent application is hereby incorporated into this application by way of introduction.
技术领域Technical field
本申请实施例涉及图像处理技术领域,尤其涉及一种曝光控制方法及装置、存储介质。The embodiments of the present application relate to the field of image processing technology, and in particular, to an exposure control method and device, and a storage medium.
背景技术Background technique
图像传感器,也称感光元件,是一种将光信号转换成电子信号的设备,被广泛应用于数码相机和其他电子光学设备中。An image sensor, also called a photosensitive element, is a device that converts light signals into electronic signals, and is widely used in digital cameras and other electro-optical devices.
图像传感器在成像过程中,合适的曝光设置,可以准确的获取到图像亮度信息,从而最终获得质量较好的图像。图像传感器的自动曝光算法主要依赖于当前曝光设置和采集的亮度信息,以对当前的环境亮度进行评估,进一步决定下一次的曝光设置。然而,环境亮度并不是对环境条件的充分反映,单纯依赖环境亮度来对初始曝光参数,或者任意情况下曝光参数进行评估设置,在光照不均的场景下存在一定的曝光误差,从而导致最终成像效果不佳。During the imaging process of the image sensor, proper exposure settings can accurately obtain image brightness information, so as to finally obtain a better quality image. The automatic exposure algorithm of the image sensor mainly relies on the current exposure setting and the brightness information collected to evaluate the current environmental brightness and further decide the next exposure setting. However, the environmental brightness is not a sufficient reflection of the environmental conditions. The initial exposure parameters, or the exposure parameters in any case, are evaluated and set by simply relying on the environmental brightness. There is a certain exposure error in the unevenly lit scene, which leads to the final imaging. not effectively.
发明内容Summary of the invention
本申请实施例提供一种曝光控制方法及装置、存储介质,通过分析待 拍摄场景的亮度加权均值和光线均匀参数,确定当前曝光参数以进行曝光控制,提高了图像传感器的成像效果。The embodiments of the present application provide an exposure control method and device, and a storage medium. By analyzing the weighted average brightness and light uniformity parameters of the scene to be photographed, the current exposure parameters are determined for exposure control, and the imaging effect of the image sensor is improved.
本申请实施例的技术方案是这样实现的:The technical solutions of the embodiments of the present application are implemented as follows:
第一方面,本申请实施例提供了一种曝光控制方法,所述方法包括:In the first aspect, an embodiment of the present application provides an exposure control method, the method including:
采集待拍摄场景的多个环境亮度信息;Collect multiple environmental brightness information of the scene to be photographed;
利用所述多个环境亮度信息,确定当前环境参数;所述当前环境参数包括当前亮度加权均值和当前光线均匀参数;Determine current environmental parameters by using the multiple environmental brightness information; the current environmental parameters include current brightness weighted average and current light uniformity parameters;
根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;Determine the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter;
在图像传感器采集所述待拍摄场景的图像时,根据所述当前曝光参数对所述图像传感器进行曝光控制。When the image sensor collects the image of the scene to be shot, the image sensor is exposed to exposure control according to the current exposure parameter.
在上述曝光控制方法中,所述利用所述多个环境亮度信息,确定当前环境参数,包括:In the above exposure control method, the determining the current environmental parameters by using the multiple environmental brightness information includes:
利用多个预设权重对所述多个环境亮度信息进行加权平均,得到所述当前亮度加权均值;所述多个预设权重与所述多个环境亮度信息一一对应;Performing a weighted average on the plurality of environmental brightness information by using a plurality of preset weights to obtain the weighted average value of the current brightness; the plurality of preset weights are in a one-to-one correspondence with the plurality of environmental brightness information;
从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息;所述至少一个高亮度信息中的每一个高亮度信息均大于所述至少一个低亮度信息中的每一个低亮度信息;At least one high-brightness information and at least one low-brightness information are selected from the plurality of environmental brightness information; each high-brightness information in the at least one high-brightness information is larger than each of the at least one low-brightness information. A low-brightness message;
根据所述至少一个高亮度信息和所述至少一个低亮度信息,确定所述当前光线均匀参数。The current light uniformity parameter is determined according to the at least one high-brightness information and the at least one low-brightness information.
在上述曝光控制方法中,所述从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息,包括:In the above exposure control method, the selecting at least one high-brightness information and at least one low-brightness information from the plurality of environmental brightness information includes:
对所述多个环境亮度信息按照大小进行排序,得到亮度信息序列;Sorting the plurality of environmental brightness information according to size to obtain a brightness information sequence;
从所述亮度信息序列中,选取出所述至少一个高亮度信息和所述至少一个低亮度信息。From the brightness information sequence, the at least one high-brightness information and the at least one low-brightness information are selected.
在上述曝光控制方法中,所述根据所述至少一个高亮度信息和所述至 少一个低亮度信息,确定所述当前光线均匀参数,包括:In the above exposure control method, the determining the current light uniformity parameter according to the at least one high-brightness information and the at least one low-brightness information includes:
确定所述至少一个高亮度信息的平均值,得到高亮度平均值;Determining an average value of the at least one high-brightness information to obtain a high-brightness average value;
确定所述至少一个低亮度信息的平均值,得到低亮度平均值;Determining an average value of the at least one low-luminance information to obtain a low-luminance average value;
根据所述高亮度平均值和所述低亮度平均值,确定所述当前光线均匀参数。The current light uniformity parameter is determined according to the high-brightness average value and the low-brightness average value.
在上述曝光控制方法中,所述根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数,包括:In the above exposure control method, the determining the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter includes:
从所述预设环境参数与曝光参数的对应关系中,查找与所述当前环境参数对应的曝光参数;Searching for the exposure parameter corresponding to the current environmental parameter from the corresponding relationship between the preset environmental parameter and the exposure parameter;
将查找到的曝光参数确定为所述当前曝光参数。The found exposure parameter is determined as the current exposure parameter.
在上述曝光控制方法中,所述采集待拍摄场景的多个环境亮度信息,包括:In the above exposure control method, the collecting multiple environmental brightness information of the scene to be photographed includes:
利用环境亮度传感模块包括的多个感光单元中的每一个感光单元,采集所述待拍摄场景的一个环境亮度信息,得到所述多个环境亮度信息。Using each of the multiple photosensitive units included in the environmental brightness sensing module, collect one piece of environmental brightness information of the scene to be photographed to obtain the multiple pieces of environmental brightness information.
第二方面,本申请实施例提供了一种曝光控制装置,所述装置包括:In a second aspect, an embodiment of the present application provides an exposure control device, the device including:
环境亮度传感模块,配置为采集待拍摄场景的多个环境亮度信息;The environmental brightness sensing module is configured to collect multiple environmental brightness information of the scene to be photographed;
第一确定模块,配置为利用所述多个环境亮度信息,确定当前环境参数;所述当前环境参数包括当前亮度加权均值和当前光线均匀参数;The first determining module is configured to use the plurality of environmental brightness information to determine current environmental parameters; the current environmental parameters include current brightness weighted average and current light uniformity parameters;
第二确定模块,配置为根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;The second determining module is configured to determine the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter;
曝光控制模块,配置为在图像传感器采集所述待拍摄场景的图像时,根据所述当前曝光参数对所述图像传感器进行曝光控制。The exposure control module is configured to perform exposure control on the image sensor according to the current exposure parameter when the image sensor collects an image of the scene to be photographed.
在上述曝光控制装置中,所述第一确定模块,具体配置为利用多个预设权重对所述多个环境亮度信息进行加权平均,得到所述当前亮度加权均值;所述多个预设权重与所述多个环境亮度信息一一对应;从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息;所述 至少一个高亮度信息中的每一个高亮度信息均大于所述至少一个低亮度信息中的每一个低亮度信息;根据所述至少一个高亮度信息和所述至少一个低亮度信息,确定所述当前光线均匀参数。In the above exposure control device, the first determining module is specifically configured to use a plurality of preset weights to perform a weighted average on the plurality of environmental brightness information to obtain the current brightness weighted average; the plurality of preset weights One-to-one correspondence with the plurality of environmental brightness information; from the plurality of environmental brightness information, at least one high-brightness information and at least one low-brightness information are selected; each high-brightness information in the at least one high-brightness information Are greater than each of the low-brightness information in the at least one low-brightness information; and the current light uniformity parameter is determined according to the at least one high-brightness information and the at least one low-brightness information.
在上述曝光控制装置中,所述第一确定模块,具体配置为对所述多个环境亮度信息按照大小进行排序,得到亮度信息序列;从所述亮度信息序列中,选取出所述至少一个高亮度信息和所述至少一个低亮度信息。In the above exposure control device, the first determining module is specifically configured to sort the plurality of environmental brightness information according to the size to obtain a brightness information sequence; from the brightness information sequence, select the at least one high Brightness information and the at least one low brightness information.
在上述曝光控制装置中,所述第一确定模块,具体配置为确定所述至少一个高亮度信息的平均值,得到高亮度平均值;确定所述至少一个低亮度信息的平均值,得到低亮度平均值;根据所述高亮度平均值和所述低亮度平均值,确定所述当前光线均匀参数。In the above exposure control device, the first determining module is specifically configured to determine the average value of the at least one high brightness information to obtain the high brightness average value; determine the average value of the at least one low brightness information to obtain the low brightness Average value: Determine the current light uniformity parameter according to the high brightness average value and the low brightness average value.
在上述曝光控制装置中,所述第二确定模块,具体配置为从所述预设环境参数与曝光参数的对应关系中,查找与所述当前环境参数对应的曝光参数;将查找到的曝光参数确定为所述当前曝光参数。In the above exposure control device, the second determining module is specifically configured to search for the exposure parameter corresponding to the current environmental parameter from the corresponding relationship between the preset environmental parameter and the exposure parameter; Determined as the current exposure parameter.
在上述曝光控制装置中,所述环境亮度传感模块包括多个感光单元,In the above exposure control device, the environmental brightness sensor module includes a plurality of photosensitive units,
所述环境亮度传感模块,具体配置为利用所述多个感光单元中的每一个感光单元,采集所述待拍摄场景的一个环境亮度信息,得到所述多个环境亮度信息。The environmental brightness sensing module is specifically configured to use each of the multiple photosensitive units to collect one piece of environmental brightness information of the scene to be photographed to obtain the multiple pieces of environmental brightness information.
第三方面,本申请实施例提供了一种曝光控制装置,所述装置包括由多个感光单元组成的环境亮度传感模块、处理器、存储器和通信总线;In a third aspect, an embodiment of the present application provides an exposure control device, which includes an environmental brightness sensing module composed of multiple photosensitive units, a processor, a memory, and a communication bus;
所述通信总线,配置为实现所述环境亮度传感模块、所述处理器和所述存储器之间的通信连接;The communication bus is configured to realize the communication connection between the environmental brightness sensing module, the processor and the memory;
所述处理器和所述环境亮度传感模块,配置为执行所述存储器中存储的曝光控制程序,以实现上述曝光控制方法。The processor and the environmental brightness sensing module are configured to execute an exposure control program stored in the memory to implement the above exposure control method.
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被一个或者多个处理器执行时,实现上述曝光控制方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by one or more processors, the above exposure control method is implemented.
本申请实施例提供了一种曝光控制方法,采集待拍摄场景的多个环境亮度信息;利用多个环境亮度信息,确定当前环境参数;当前环境参数包括当前亮度加权均值和当前光线均匀参数;根据当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;在图像传感器采集待拍摄场景的图像时,根据当前曝光参数对图像传感器进行曝光控制。本申请提供的技术方案,通过分析待拍摄场景的亮度加权均值和光线均匀参数,确定当前曝光参数以进行曝光控制,不仅适用于各种曝光场景,有效加速光照不均匀的复杂环境的自动曝光速度,而且曝光参数更加合理准确,提高了图像传感器的成像效果。The embodiment of the application provides an exposure control method that collects multiple environmental brightness information of a scene to be photographed; uses multiple environmental brightness information to determine current environmental parameters; current environmental parameters include current brightness weighted average and current light uniformity parameters; The current environmental parameters and the corresponding relationship between the preset environmental parameters and the exposure parameters are determined to determine the current exposure parameters; when the image sensor collects images of the scene to be shot, the image sensor is exposed to exposure control according to the current exposure parameters. The technical solution provided by this application determines the current exposure parameters for exposure control by analyzing the weighted average of brightness and light uniformity parameters of the scene to be photographed. It is not only suitable for various exposure scenes, but also effectively accelerates the automatic exposure speed in complex environments with uneven lighting. , And the exposure parameters are more reasonable and accurate, which improves the imaging effect of the image sensor.
附图说明Description of the drawings
图1为本申请实施例提供的一种曝光控制方法的流程示意图;FIG. 1 is a schematic flowchart of an exposure control method provided by an embodiment of the application;
图2为本申请实施例提供的一种示例性的环境亮度传感模块的结构示意图;2 is a schematic structural diagram of an exemplary environmental brightness sensing module provided by an embodiment of the application;
图3为本申请实施例提供的一种确定当前环境参数的流程示意图;FIG. 3 is a schematic diagram of a process for determining current environmental parameters according to an embodiment of the application;
图4为本申请实施例提供的一种曝光控制装置的结构示意图一;4 is a first structural diagram of an exposure control device provided by an embodiment of the application;
图5为本申请实施例提供的一种曝光控制装置的结构示意图二。FIG. 5 is a second structural diagram of an exposure control device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It can be understood that the specific embodiments described here are only used to explain the related application, but not to limit the application. In addition, it should be noted that, for ease of description, only the parts related to the relevant application are shown in the drawings.
实施例一Example one
本申请实施例提供了一种曝光控制方法,通过曝光控制装置实现。图1为本申请实施例提供的一种曝光控制方法的流程示意图。如图1所示,主 要包括以下步骤:The embodiment of the present application provides an exposure control method, which is implemented by an exposure control device. FIG. 1 is a schematic flowchart of an exposure control method provided by an embodiment of the application. As shown in Figure 1, it mainly includes the following steps:
S101、采集待拍摄场景的多个环境亮度信息。S101. Collect multiple environmental brightness information of a scene to be photographed.
在本申请的实施例中,曝光控制装置可以先采集待拍摄场景的多个环境亮度信息。In the embodiment of the present application, the exposure control device may first collect multiple environmental brightness information of the scene to be photographed.
具体的,在本申请的实施例中,曝光控制装置中包括环境亮度传感模块。环境亮度传感模块包括多个感光单元,多个感光单元中的每一个感光单元均可以采集到待拍摄场景的一个环境亮度信息,从而获得待拍摄场景的多个环境亮度信息。Specifically, in the embodiment of the present application, the exposure control device includes an environmental brightness sensing module. The environmental brightness sensing module includes a plurality of photosensitive units, and each photosensitive unit of the plurality of photosensitive units can collect one piece of environmental brightness information of the scene to be shot, so as to obtain multiple pieces of environmental brightness information of the scene to be shot.
需要说明的是,在本申请的实施例中,环境亮度传感模块包括的感光单元数量可以根据实际需求设计,本申请实施例不作限定。It should be noted that, in the embodiment of the present application, the number of photosensitive units included in the environmental brightness sensing module can be designed according to actual requirements, which is not limited in the embodiment of the present application.
图2为本申请实施例提供的一种示例性的环境亮度传感模块的结构示意图。如图2所示,在本申请的实施例中,环境亮度传感模块由108个感光单元组成,这108个感光单元按照12×9的阵列形式排布。当需要利用图像传感器进行成像时,曝光控制装置即可通过环境亮度传感模块采集待拍摄场景的108个环境亮度信息。FIG. 2 is a schematic structural diagram of an exemplary environmental brightness sensing module provided by an embodiment of the application. As shown in FIG. 2, in the embodiment of the present application, the environmental brightness sensing module is composed of 108 photosensitive units, and the 108 photosensitive units are arranged in a 12×9 array. When the image sensor needs to be used for imaging, the exposure control device can collect 108 environmental brightness information of the scene to be photographed through the environmental brightness sensor module.
S102、利用多个环境亮度信息,确定当前环境参数;当前环境参数包括当前亮度加权均值和当前光线均匀参数。S102. Determine current environment parameters by using multiple pieces of environment brightness information; the current environment parameters include the current brightness weighted average value and the current light uniformity parameter.
在本申请的实施例中,曝光控制装置在通过环境亮度传感模块采集到待拍摄场景的多个环境亮度信息之后,即可利用多个环境亮度信息,确定当前环境参数,其中,当前环境参数包括当前亮度加权均值和当前光线均匀参数。In the embodiment of the present application, after the exposure control device collects multiple environmental brightness information of the scene to be photographed through the environmental brightness sensor module, it can use the multiple environmental brightness information to determine the current environmental parameters, where the current environmental parameters Including the current weighted average value of brightness and the current light uniformity parameter.
图3为本申请实施例提供的一种确定当前环境参数的流程示意图。如图3所示,曝光控制装置利用多个环境亮度信息,确定当前环境参数,包括以下步骤:FIG. 3 is a schematic diagram of a process for determining current environmental parameters according to an embodiment of the application. As shown in FIG. 3, the exposure control device uses multiple environmental brightness information to determine the current environmental parameters, including the following steps:
S301、利用多个预设权重对多个环境亮度信息进行加权平均,得到当前亮度加权均值;多个预设权重与多个环境亮度信息一一对应。S301: Perform a weighted average on a plurality of ambient brightness information using a plurality of preset weights to obtain a current weighted average value of brightness; the plurality of preset weights correspond to a plurality of ambient brightness information in a one-to-one manner.
在本申请的实施例中,曝光控制装置针对多个环境亮度信息,可以利用对应的多个预设权重进行加权平均,从而得到当前亮度加权均值。In the embodiment of the present application, the exposure control device may use multiple corresponding preset weights to perform weighted average for multiple pieces of environmental brightness information, so as to obtain the current weighted average value of brightness.
可以理解的是,在本申请的实施例中,多个环境亮度信息由组成环境亮度传感模块的多个感光单元对应采集到,针对每一个感光单元,其所处的位置不同,采集到的环境亮度信息的重要程度也存在一定差异,例如,处于边缘的感光单元采集到的环境亮度信息重要程度较弱,处于中心位置的感光单元采集到的环境亮度信息重要程度较强。因此,用户可以预先针对不同位置的感光单元采集的环境亮度信息对应设置不同的权重。当然,还可以基于其他因素考量不同感光单元采集到的环境亮度信息的权重,具体的多个预设权重本申请实施例不作限定。It is understandable that, in the embodiment of the present application, multiple pieces of environmental brightness information are correspondingly collected by multiple photosensitive units that constitute the environmental brightness sensor module. For each photosensitive unit, its location is different, and the collected information is There are also certain differences in the importance of environmental brightness information. For example, the environmental brightness information collected by the photosensitive unit at the edge is less important, and the environmental brightness information collected by the photosensitive unit at the center is more important. Therefore, the user can set different weights corresponding to the environmental brightness information collected by the photosensitive units in different positions in advance. Of course, the weight of the environmental brightness information collected by different photosensitive units may also be considered based on other factors, and the specific multiple preset weights are not limited in the embodiment of the present application.
示例性的,在本申请的实施例中,环境亮度传感模块包括依次排列的3个感光单元,其中,针对处于边缘的两个感光单元所采集的环境亮度信息,其在曝光成像的过程中重要程度均次于处于中心的感光单元所采集的环境亮度信息,因此,可以为其配置预设权重均为0.25,针对处于中心的感光单元所采集的环境亮度信息,预设权重为0.5。Exemplarily, in the embodiment of the present application, the environmental brightness sensing module includes three light-sensing units arranged in sequence. Among them, the environmental brightness information collected by the two light-sensing units at the edge is used in the process of exposure and imaging. The degree of importance is inferior to the environmental brightness information collected by the photosensitive unit in the center. Therefore, the preset weight can be configured to be 0.25. For the environmental brightness information collected by the photosensitive unit in the center, the preset weight is 0.5.
S302、从多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息;至少一个高亮度信息中的每一个高亮度信息均大于至少一个低亮度信息中的每一个低亮度信息。S302. Select at least one high-brightness information and at least one low-brightness information from the multiple environmental brightness information; each high-brightness information in the at least one high-brightness information is greater than each low-brightness information in the at least one low-brightness information .
在本申请的实施例中,曝光控制装置可以从采集到的多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息。其中,至少一个高亮度信息中的每一个高亮度信息均大于至少一个低亮度信息中的每一个低亮度信息。In the embodiment of the present application, the exposure control device may select at least one high-brightness information and at least one low-brightness information from a plurality of collected environmental brightness information. Wherein, each high-brightness information in the at least one high-brightness information is larger than each low-brightness information in the at least one low-brightness information.
具体的,在本申请的实施例中,曝光控制装置从多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息,包括:对多个环境亮度信息按照大小进行排序,得到亮度信息序列;从亮度信息序列中选取出至少一个高亮度信息和至少一个低亮度信息。Specifically, in the embodiment of the present application, the exposure control device selects at least one high-brightness information and at least one low-brightness information from a plurality of environmental brightness information, including: sorting the plurality of environmental brightness information according to size to obtain Luminance information sequence; at least one high-luminance information and at least one low-luminance information are selected from the luminance information sequence.
需要说明的是,在本申请的实施例中,曝光控制装置可以将多个环境亮度信息按照从小到大进行排序,当然,也可以将多个环境亮度信息按照从大到小进行排序,本申请实施例不作限定。It should be noted that in the embodiment of the present application, the exposure control device can sort a plurality of environmental brightness information from small to large. Of course, multiple environmental brightness information can also be sorted from large to small. The embodiment is not limited.
需要说明的是,在本申请的实施例中,由于亮度信息序列是将多个环境亮度信息按照大小顺序依次排列所得到的序列,因此,曝光控制装置可以按照特定方式从其中选取出至少一个高亮度信息和至少一个低亮度信息,具体的选取方式本申请实施例不作限定。It should be noted that, in the embodiment of the present application, since the brightness information sequence is a sequence obtained by arranging a plurality of environmental brightness information in order of magnitude, the exposure control device can select at least one high value from it in a specific manner. The specific selection method of the brightness information and at least one low-brightness information is not limited in the embodiment of the present application.
示例性的,在本申请的实施例中,曝光控制装置通过环境亮度传感模块针对待拍摄场景采集到了108个环境亮度信息,从而可以将108个环境亮度信息从小到大进行排序,得到亮度信息序列。曝光控制装置从亮度信息序列中选取出序号最大的10个环境亮度信息,实际上就是亮度最大的10个环境亮度信息,将每一个环境亮度信息确定为一个高亮度信息。此外,曝光控制装置从亮度信息序列中选取出序号为1-10的10个环境亮度信息,实际上就是亮度较小的10个环境亮度信息,将每一个环境亮度信息确定为一个低亮度信息。当然,选取出的10个高亮度信息均大于10个低亮度信息。Exemplarily, in the embodiment of the present application, the exposure control device collects 108 pieces of environment brightness information for the scene to be photographed through the environment brightness sensor module, so that the 108 pieces of environment brightness information can be sorted from small to large to obtain the brightness information. sequence. The exposure control device selects the 10 environment brightness information with the largest serial number from the brightness information sequence, which is actually the 10 environment brightness information with the largest brightness, and determines each environment brightness information as a high brightness information. In addition, the exposure control device selects 10 ambient brightness information with serial numbers 1-10 from the brightness information sequence, which are actually 10 ambient brightness information with lower brightness, and determines each ambient brightness information as a low brightness information. Of course, the selected 10 high-brightness information are all greater than 10 low-brightness information.
S303、根据至少一个高亮度信息和至少一个低亮度信息,确定当前光线均匀参数。S303: Determine the current light uniformity parameter according to the at least one high-brightness information and the at least one low-brightness information.
在本申请的实施例中,曝光控制装置在从多个环境亮度信息中选取出至少一个高亮度信息和至少一个低亮度信息之后,进一步的,根据至少一个高亮度信息和至少一个低亮度信息,确定当前光线均匀参数。In the embodiment of the present application, after the exposure control device selects at least one high-brightness information and at least one low-brightness information from a plurality of environmental brightness information, further, according to the at least one high-brightness information and at least one low-brightness information, Determine the current light uniformity parameters.
具体的,在本申请的实施例中,曝光控制装置根据至少一个高亮度信息和至少一个低亮度信息,确定当前光线均匀参数,包括:确定至少一个高亮度信息的平均值,得到高亮度平均值;确定至少一个低亮度信息的平均值,得到低亮度平均值;根据高亮度平均值和低亮度平均值,确定当前光线均匀参数。Specifically, in the embodiment of the present application, the exposure control device determines the current light uniformity parameter according to at least one high-brightness information and at least one low-brightness information, including: determining the average value of the at least one high-brightness information to obtain the high-brightness average value ; Determine the average value of at least one low-brightness information to obtain the low-brightness average value; determine the current light uniformity parameter according to the high-brightness average value and the low-brightness average value.
需要说明的是,在本申请的实施例中,曝光控制装置获得至少一个高亮度信息和至少一个低亮度信息之后,可以分别计算相应的平均值,得到高亮度平均值和低亮度平均值,之后,可以按照以下公式(1)计算当前光线均匀参数:It should be noted that, in the embodiment of the present application, after the exposure control device obtains at least one high-brightness information and at least one low-brightness information, it can calculate the corresponding average values respectively to obtain the high-brightness average value and the low-brightness average value, and then , The current light uniformity parameter can be calculated according to the following formula (1):
LUX_DR=BrightVaule/DarkVaule        (1)LUX_DR=BrightVaule/DarkVaule (1)
其中,LUX_DR为当前光线均匀参数,BrightVaule为高亮度平均值,DarkVaule为低亮度平均值。Among them, LUX_DR is the current light uniformity parameter, BrightVaule is the high-brightness average value, and DarkVaule is the low-brightness average value.
需要说明的是,在本申请的实施例中,当前光线均匀参数表征在待拍摄场景中,光线的均匀程度。曝光控制装置可以按照上述公式(1)计算当前光线均匀参数,当然,还可以按照其它特定的方式,进行当前光线均匀参数的计算,本申请实施例不作限定。It should be noted that, in the embodiment of the present application, the current uniformity parameter of light represents the uniformity of the light in the scene to be shot. The exposure control device can calculate the current light uniformity parameter according to the above formula (1). Of course, it can also calculate the current light uniformity parameter in other specific ways, which is not limited in the embodiment of the present application.
S103、根据当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数。S103: Determine the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter.
在本申请的实施例中,曝光控制装置在确定出当前环境参数,即当前亮度加权均值和当前光线均匀参数之后,进一步的,根据当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数。In the embodiment of the present application, after the exposure control device determines the current environmental parameters, that is, the current weighted average brightness and the current light uniformity parameters, further, according to the current environmental parameters and the corresponding relationship between the preset environmental parameters and the exposure parameters, Determine the current exposure parameters.
具体的,在本申请的实施例中,曝光控制装置根据当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数,包括:从预设环境参数与曝光参数的对应关系中,查找与当前环境参数对应的曝光参数;将查找到的曝光参数确定为当前曝光参数。Specifically, in the embodiment of the present application, the exposure control device determines the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter, including: from the corresponding relationship between the preset environmental parameter and the exposure parameter To find the exposure parameter corresponding to the current environment parameter; determine the found exposure parameter as the current exposure parameter.
需要说明的是,在本申请的实施例中,首先,与上述步骤S101类似,在某一环境下,通过环境亮度传感模块采集多个环境亮度信息,并利用多个环境亮度信息确定对应的环境参数,即该环境下的亮度加权均值和光线均匀参数,之后,用户手动调节图像传感器的曝光控制,直至采集的图像亮度达到目标亮度为止,从而记录下达到目标亮度时的曝光参数,建立该曝光参数与亮度加权均值和光线均匀参数的对应关系。针对每一种环境均 可以按照上述方式进行对应关系的确定,从而最终建立了各种环境下的对应关系,得到预设环境参数与曝光参数的对应关系,具体的对应关系本申请实施例不作限定。It should be noted that, in the embodiment of the present application, first, similar to the above step S101, in a certain environment, multiple environmental brightness information is collected through the environmental brightness sensor module, and the multiple environmental brightness information is used to determine the corresponding Environmental parameters, that is, the weighted average of brightness and light uniformity parameters in the environment. After that, the user manually adjusts the exposure control of the image sensor until the brightness of the captured image reaches the target brightness, so as to record the exposure parameters when the target brightness is reached, and establish the Correspondence between exposure parameters and brightness weighted average and light uniformity parameters. For each environment, the corresponding relationship can be determined in the above manner, so that the corresponding relationship under various environments is finally established, and the corresponding relationship between the preset environmental parameters and the exposure parameters is obtained. The specific corresponding relationship is not limited in the embodiment of this application. .
需要说明的是,在本申请的实施例中,预设环境参数与曝光参数的对应关系,可以以映射表的方式存储在曝光控制装置中,当然,也可以以其它形式存储,本申请实施例不作限定。It should be noted that in the embodiment of the present application, the correspondence between the preset environmental parameters and the exposure parameters can be stored in the exposure control device in the form of a mapping table. Of course, it can also be stored in other forms. Not limited.
示例性的,在本申请的实施例中,预设环境参数与曝光参数的对应关系可以为如表1所示的曝光标定表:Exemplarily, in the embodiment of the present application, the corresponding relationship between the preset environmental parameters and the exposure parameters may be the exposure calibration table shown in Table 1:
表1Table 1
Figure PCTCN2020124269-appb-000001
Figure PCTCN2020124269-appb-000001
其中,LUX_DR为当前光线均匀参数,LUX为当前亮度加权均值,每一个亮度加权均值和一个光线均匀参数均存在对应的曝光参数Exp。曝光控制装置在确定当前环境参数,即当前亮度加权均值和当前光线均匀参数之后,即可在表1中查找对应的曝光参数,并将查找到的曝光参数确定为当前曝光参数。Among them, LUX_DR is the current light uniformity parameter, LUX is the current brightness weighted average value, and each brightness weighted average value and a light uniformity parameter has a corresponding exposure parameter Exp. After the exposure control device determines the current environmental parameters, that is, the current weighted average value of brightness and the current light uniformity parameter, it can search for the corresponding exposure parameter in Table 1, and determine the found exposure parameter as the current exposure parameter.
需要说明的是,在本申请的实施例中,曝光参数可以为曝光时长等与曝光相关的参数。具体的曝光参数本申请实施例不作限定。It should be noted that, in the embodiment of the present application, the exposure parameter may be an exposure-related parameter such as an exposure duration. The specific exposure parameters are not limited in the embodiment of this application.
S104、在图像传感器采集待拍摄场景的图像时,根据当前曝光参数对 图像传感器进行曝光控制。S104: When the image sensor collects an image of the scene to be shot, perform exposure control on the image sensor according to the current exposure parameter.
在本申请的实施例中,曝光控制装置在确定出当前曝光参数之后,即可在图像传感器采集待拍摄场景的图像时,根据当前曝光参数对图像传感器进行曝光控制。In the embodiment of the present application, after determining the current exposure parameter, the exposure control device can perform exposure control on the image sensor according to the current exposure parameter when the image sensor collects the image of the scene to be shot.
需要说明的是,在本申请的实施例中,曝光控制装置在确定出当前曝光参数之后,可以将当前曝光参数作为图像传感器的曝光设定,从而图像传感器在待拍摄场景进行成像时,根据当前曝光参数对图像传感器进行曝光控制。It should be noted that, in the embodiment of the present application, after determining the current exposure parameter, the exposure control device may use the current exposure parameter as the exposure setting of the image sensor, so that when the image sensor is imaging the scene to be shot, it is based on the current The exposure parameter controls the exposure of the image sensor.
可以理解的是,在本申请的实施例中,引入环境亮度传感模块,从而获得多个环境亮度信息,并利用多个环境亮度信息分析环境的亮度和光线分布均匀程度,从而快速从预设环境参数与曝光参数的对应关系中,查找到相应的曝光参数,以进行曝光控制。相比于依赖于当前曝光设置和采集的亮度信息,以对当前的环境亮度进行评估,进一步决定下一次的曝光设置,或者,仅获取环境亮度来评估曝光参数的方案而言,可以适用于各种曝光场景,有效加速光照不均匀的复杂环境的自动曝光速度,而且曝光参数更加合理准确,提高了图像传感器的成像效果。It is understandable that, in the embodiment of the present application, the environment brightness sensor module is introduced to obtain multiple pieces of environment brightness information, and the multiple pieces of environment brightness information are used to analyze the brightness and light distribution uniformity of the environment, thereby quickly starting from the preset In the corresponding relationship between environmental parameters and exposure parameters, the corresponding exposure parameters are found for exposure control. Compared with relying on the current exposure setting and the brightness information collected, to evaluate the current environmental brightness and further determine the next exposure setting, or to obtain only the environmental brightness to evaluate the exposure parameters, it can be applied to various solutions. This kind of exposure scene effectively accelerates the automatic exposure speed of the complex environment with uneven illumination, and the exposure parameters are more reasonable and accurate, which improves the imaging effect of the image sensor.
本申请实施例提供了一种曝光控制方法,采集待拍摄场景的多个环境亮度信息;利用多个环境亮度信息,确定当前环境参数;当前环境参数包括当前亮度加权均值和当前光线均匀参数;根据当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;在图像传感器采集待拍摄场景的图像时,根据当前曝光参数对图像传感器进行曝光控制。本申请提供的技术方案,通过分析待拍摄场景的亮度加权均值和光线均匀参数,确定当前曝光参数以进行曝光控制,不仅适用于各种曝光场景,有效加速光照不均匀的复杂环境的自动曝光速度,而且曝光参数更加合理准确,提高了图像传感器的成像效果。The embodiment of the application provides an exposure control method that collects multiple environmental brightness information of a scene to be photographed; uses multiple environmental brightness information to determine current environmental parameters; current environmental parameters include current brightness weighted average and current light uniformity parameters; The current environmental parameters and the corresponding relationship between the preset environmental parameters and the exposure parameters are determined to determine the current exposure parameters; when the image sensor collects images of the scene to be shot, the image sensor is exposed to exposure control according to the current exposure parameters. The technical solution provided by this application determines the current exposure parameters for exposure control by analyzing the weighted average of brightness and light uniformity parameters of the scene to be photographed. It is not only suitable for various exposure scenes, but also effectively accelerates the automatic exposure speed in complex environments with uneven lighting. , And the exposure parameters are more reasonable and accurate, which improves the imaging effect of the image sensor.
实施例二Example two
本申请实施例提供了一种曝光控制装置。图4为本申请实施例提供的一种曝光控制装置的结构示意图一。如图4所示,所述装置包括:The embodiment of the present application provides an exposure control device. FIG. 4 is a first structural diagram of an exposure control device provided by an embodiment of the application. As shown in Figure 4, the device includes:
环境亮度传感模块401,配置为采集待拍摄场景的多个环境亮度信息;The environmental brightness sensing module 401 is configured to collect multiple environmental brightness information of the scene to be photographed;
第一确定模块402,配置为利用所述多个环境亮度信息,确定当前环境参数;所述当前环境参数包括当前亮度加权均值和当前光线均匀参数;The first determining module 402 is configured to use the multiple environmental brightness information to determine current environmental parameters; the current environmental parameters include current brightness weighted average and current light uniformity parameters;
第二确定模块403,配置为根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;The second determining module 403 is configured to determine the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter;
曝光控制模块404,配置为在图像传感器采集所述待拍摄场景的图像时,根据所述当前曝光参数对所述图像传感器进行曝光控制。The exposure control module 404 is configured to perform exposure control on the image sensor according to the current exposure parameter when the image sensor collects an image of the scene to be photographed.
可选的,所述第一确定模块402,具体配置为利用多个预设权重对所述多个环境亮度信息进行加权平均,得到所述当前亮度加权均值;所述多个预设权重与所述多个环境亮度信息一一对应;从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息;所述至少一个高亮度信息中的每一个高亮度信息均大于所述至少一个低亮度信息中的每一个低亮度信息;根据所述至少一个高亮度信息和所述至少一个低亮度信息,确定所述当前光线均匀参数。Optionally, the first determining module 402 is specifically configured to use a plurality of preset weights to perform a weighted average of the plurality of environmental brightness information to obtain the current brightness weighted average; The plurality of environmental brightness information corresponds to each other; from the plurality of environmental brightness information, at least one high-brightness information and at least one low-brightness information are selected; each high-brightness information in the at least one high-brightness information is greater than Each piece of low-brightness information in the at least one piece of low-brightness information; determining the current light uniformity parameter according to the at least one piece of high-brightness information and the at least one low-brightness information.
可选的,所述第一确定模块402,具体配置为对所述多个环境亮度信息按照大小进行排序,得到亮度信息序列;从所述亮度信息序列中,选取出所述至少一个高亮度信息和所述至少一个低亮度信息。Optionally, the first determining module 402 is specifically configured to sort the plurality of ambient brightness information according to their size to obtain a brightness information sequence; from the brightness information sequence, select the at least one high-brightness information And the at least one low-brightness information.
可选的,所述第一确定模块402,具体配置为确定所述至少一个高亮度信息的平均值,得到高亮度平均值;确定所述至少一个低亮度信息的平均值,得到低亮度平均值;根据所述高亮度平均值和所述低亮度平均值,确定所述当前光线均匀参数。Optionally, the first determining module 402 is specifically configured to determine an average value of the at least one high-brightness information to obtain a high-brightness average value; determine the average value of the at least one low-brightness information to obtain a low-brightness average value ; According to the high-brightness average value and the low-brightness average value, determine the current light uniformity parameter.
可选的,所述第二确定模块403,具体配置为从所述预设环境参数与曝光参数的对应关系中,查找与所述当前环境参数对应的曝光参数;将查找到的曝光参数确定为所述当前曝光参数。Optionally, the second determining module 403 is specifically configured to search for the exposure parameter corresponding to the current environmental parameter from the corresponding relationship between the preset environmental parameter and the exposure parameter; and determine the found exposure parameter as The current exposure parameter.
可选的,所述环境亮度传感模块401包括多个感光单元,Optionally, the environmental brightness sensing module 401 includes a plurality of photosensitive units,
所述环境亮度传感模块401,具体配置为利用所述多个感光单元中的每一个感光单元,采集所述待拍摄场景的一个环境亮度信息,得到所述多个环境亮度信息。The environmental brightness sensing module 401 is specifically configured to use each of the multiple photosensitive units to collect one piece of environmental brightness information of the scene to be photographed to obtain the multiple pieces of environmental brightness information.
图5为本申请实施例提供的一种曝光控制装置的结构示意图二。如图5所示,所述装置包括由多个感光单元组成的环境亮度传感模块501、处理器502、存储器503和通信总线504;FIG. 5 is a second structural diagram of an exposure control device provided by an embodiment of the application. As shown in FIG. 5, the device includes an environmental brightness sensing module 501 composed of multiple photosensitive units, a processor 502, a memory 503, and a communication bus 504;
所述通信总线504,配置为实现所述环境亮度传感模块501、所述处理器502和所述存储器503之间的通信连接;The communication bus 504 is configured to implement a communication connection between the environmental brightness sensing module 501, the processor 502, and the memory 503;
所述处理器502和所述环境亮度传感模块501,配置为执行所述存储器503中存储的曝光控制程序,以实现上述曝光控制方法。The processor 502 and the environmental brightness sensing module 501 are configured to execute the exposure control program stored in the memory 503 to implement the above exposure control method.
需要说明的是,在本申请的实施例中,图4和图5所示的环境亮度传感模块为同样的模块,均配置为采集多个环境亮度信息。It should be noted that, in the embodiment of the present application, the environmental brightness sensing modules shown in FIG. 4 and FIG. 5 are the same modules, and both are configured to collect multiple environmental brightness information.
本申请实施例提供了一种曝光控制装置,采集待拍摄场景的多个环境亮度信息;利用多个环境亮度信息,确定当前环境参数;当前环境参数包括当前亮度加权均值和当前光线均匀参数;根据当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;在图像传感器采集待拍摄场景的图像时,根据当前曝光参数对图像传感器进行曝光控制。本申请提供的曝光控制装置,通过分析待拍摄场景的亮度加权均值和光线均匀参数,确定当前曝光参数以进行曝光控制,不仅适用于各种曝光场景,有效加速光照不均匀的复杂环境的自动曝光速度,而且曝光参数更加合理准确,提高了图像传感器的成像效果。The embodiment of the application provides an exposure control device that collects multiple environmental brightness information of a scene to be photographed; uses multiple environmental brightness information to determine current environmental parameters; current environmental parameters include current brightness weighted average and current light uniformity parameters; The current environmental parameters and the corresponding relationship between the preset environmental parameters and the exposure parameters are determined to determine the current exposure parameters; when the image sensor collects images of the scene to be shot, the image sensor is exposed to exposure control according to the current exposure parameters. The exposure control device provided by this application determines the current exposure parameters for exposure control by analyzing the weighted average of brightness and light uniformity parameters of the scene to be photographed. It is not only suitable for various exposure scenes, but also effectively accelerates automatic exposure in complex environments with uneven lighting. Speed and exposure parameters are more reasonable and accurate, which improves the imaging effect of the image sensor.
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被一个或者多个处理器执行时,实现上述曝光控制方法。计算机可读存储介质可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器 (non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State Drive,SSD);也可以是包括上述存储器之一或任意组合的各自设备,如移动电话、计算机、平板设备、个人数字助理等。The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by one or more processors, the above exposure control method is implemented. The computer-readable storage medium may be a volatile memory (volatile memory), such as a random-access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-only memory). Only Memory, ROM, flash memory, Hard Disk Drive (HDD) or Solid-State Drive (SSD); it can also be a respective device including one or any combination of the above-mentioned memories, such as Mobile phones, computers, tablet devices, personal digital assistants, etc.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of hardware embodiment, software embodiment, or a combination of software and hardware embodiments. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to the schematic diagrams and/or block diagrams of the implementation process of the methods, equipment (systems), and computer program products according to the embodiments of the application. It should be understood that each process and/or block in the schematic flow diagram and/or block diagram can be realized by computer program instructions, and a combination of processes and/or blocks in the schematic flow diagram and/or block diagram can be realized. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated A device for implementing functions specified in one process or multiple processes in the schematic flow chart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device realizes the functions specified in one or more processes in the schematic diagram and/or one block or more in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in one or more processes in the schematic diagram and/or one block or more in the block diagram.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本实用申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. , Should be covered in the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (14)

  1. 一种曝光控制方法,所述方法包括:An exposure control method, the method includes:
    采集待拍摄场景的多个环境亮度信息;Collect multiple environmental brightness information of the scene to be photographed;
    利用所述多个环境亮度信息,确定当前环境参数;所述当前环境参数包括当前亮度加权均值和当前光线均匀参数;Determine current environmental parameters by using the multiple environmental brightness information; the current environmental parameters include current brightness weighted average and current light uniformity parameters;
    根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;Determine the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter;
    在图像传感器采集所述待拍摄场景的图像时,根据所述当前曝光参数对所述图像传感器进行曝光控制。When the image sensor collects the image of the scene to be shot, the image sensor is exposed to exposure control according to the current exposure parameter.
  2. 根据权利要求1所述的方法,其中,所述利用所述多个环境亮度信息,确定当前环境参数,包括:The method according to claim 1, wherein said determining the current environmental parameters by using the plurality of environmental brightness information comprises:
    利用多个预设权重对所述多个环境亮度信息进行加权平均,得到所述当前亮度加权均值;所述多个预设权重与所述多个环境亮度信息一一对应;Performing a weighted average on the plurality of environmental brightness information by using a plurality of preset weights to obtain the weighted average value of the current brightness; the plurality of preset weights are in a one-to-one correspondence with the plurality of environmental brightness information;
    从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息;所述至少一个高亮度信息中的每一个高亮度信息均大于所述至少一个低亮度信息中的每一个低亮度信息;At least one high-brightness information and at least one low-brightness information are selected from the plurality of environmental brightness information; each high-brightness information in the at least one high-brightness information is larger than each of the at least one low-brightness information. A low-brightness message;
    根据所述至少一个高亮度信息和所述至少一个低亮度信息,确定所述当前光线均匀参数。The current light uniformity parameter is determined according to the at least one high-brightness information and the at least one low-brightness information.
  3. 根据权利要求2所述的方法,其中,所述从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息,包括:The method according to claim 2, wherein the selecting at least one high-brightness information and at least one low-brightness information from the plurality of environmental brightness information comprises:
    对所述多个环境亮度信息按照大小进行排序,得到亮度信息序列;Sorting the plurality of environmental brightness information according to size to obtain a brightness information sequence;
    从所述亮度信息序列中,选取出所述至少一个高亮度信息和所述至少一个低亮度信息。From the brightness information sequence, the at least one high-brightness information and the at least one low-brightness information are selected.
  4. 根据权利要求2所述的方法,其中,所述根据所述至少一个高亮度信息和所述至少一个低亮度信息,确定所述当前光线均匀参数,包括:The method according to claim 2, wherein the determining the current light uniformity parameter according to the at least one high-brightness information and the at least one low-brightness information comprises:
    确定所述至少一个高亮度信息的平均值,得到高亮度平均值;Determining an average value of the at least one high-brightness information to obtain a high-brightness average value;
    确定所述至少一个低亮度信息的平均值,得到低亮度平均值;Determining an average value of the at least one low-luminance information to obtain a low-luminance average value;
    根据所述高亮度平均值和所述低亮度平均值,确定所述当前光线均匀参数。The current light uniformity parameter is determined according to the high-brightness average value and the low-brightness average value.
  5. 根据权利要求1所述的方法,其中,所述根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数,包括:The method according to claim 1, wherein the determining the current exposure parameter according to the current environment parameter and the corresponding relationship between the preset environment parameter and the exposure parameter comprises:
    从所述预设环境参数与曝光参数的对应关系中,查找与所述当前环境参数对应的曝光参数;Searching for the exposure parameter corresponding to the current environmental parameter from the corresponding relationship between the preset environmental parameter and the exposure parameter;
    将查找到的曝光参数确定为所述当前曝光参数。The found exposure parameter is determined as the current exposure parameter.
  6. 根据权利要求1所述的方法,其中,所述采集待拍摄场景的多个环境亮度信息,包括:The method according to claim 1, wherein the collecting multiple environmental brightness information of the scene to be photographed comprises:
    利用环境亮度传感模块包括的多个感光单元中的每一个感光单元,采集所述待拍摄场景的一个环境亮度信息,得到所述多个环境亮度信息。Using each of the multiple photosensitive units included in the environmental brightness sensing module, collect one piece of environmental brightness information of the scene to be photographed to obtain the multiple pieces of environmental brightness information.
  7. 一种曝光控制装置,所述装置包括:An exposure control device, the device comprising:
    环境亮度传感模块,配置为采集待拍摄场景的多个环境亮度信息;The environmental brightness sensing module is configured to collect multiple environmental brightness information of the scene to be photographed;
    第一确定模块,配置为利用所述多个环境亮度信息,确定当前环境参数;所述当前环境参数包括当前亮度加权均值和当前光线均匀参数;The first determining module is configured to use the plurality of environmental brightness information to determine current environmental parameters; the current environmental parameters include current brightness weighted average and current light uniformity parameters;
    第二确定模块,配置为根据所述当前环境参数,以及预设环境参数与曝光参数的对应关系,确定当前曝光参数;The second determining module is configured to determine the current exposure parameter according to the current environmental parameter and the corresponding relationship between the preset environmental parameter and the exposure parameter;
    曝光控制模块,配置为在图像传感器采集所述待拍摄场景的图像时,根据所述当前曝光参数对所述图像传感器进行曝光控制。The exposure control module is configured to perform exposure control on the image sensor according to the current exposure parameter when the image sensor collects an image of the scene to be photographed.
  8. 根据权利要求7所述的曝光控制装置,其中,The exposure control device according to claim 7, wherein:
    所述第一确定模块,具体配置为利用多个预设权重对所述多个环境亮度信息进行加权平均,得到所述当前亮度加权均值;所述多个预设权重与所述多个环境亮度信息一一对应;从所述多个环境亮度信息中,选取出至少一个高亮度信息和至少一个低亮度信息;所述至少一个高亮度信息中的 每一个高亮度信息均大于所述至少一个低亮度信息中的每一个低亮度信息;根据所述至少一个高亮度信息和所述至少一个低亮度信息,确定所述当前光线均匀参数。The first determining module is specifically configured to use a plurality of preset weights to perform a weighted average on the plurality of environmental brightness information to obtain the current brightness weighted average; the plurality of preset weights and the plurality of environmental brightness Information one-to-one correspondence; from the plurality of environmental brightness information, at least one high-brightness information and at least one low-brightness information are selected; each high-brightness information in the at least one high-brightness information is greater than the at least one low-brightness information Each piece of low-brightness information in the brightness information; determining the current light uniformity parameter according to the at least one high-brightness information and the at least one low-brightness information.
  9. 根据权利要求8所述的曝光控制装置,其中,The exposure control device according to claim 8, wherein:
    所述第一确定模块,具体配置为对所述多个环境亮度信息按照大小进行排序,得到亮度信息序列;从所述亮度信息序列中,选取出所述至少一个高亮度信息和所述至少一个低亮度信息。The first determining module is specifically configured to sort the plurality of environmental brightness information according to their size to obtain a brightness information sequence; from the brightness information sequence, select the at least one high-brightness information and the at least one Low brightness information.
  10. 根据权利要求8所述的曝光控制装置,其中,The exposure control device according to claim 8, wherein:
    所述第一确定模块,具体配置为确定所述至少一个高亮度信息的平均值,得到高亮度平均值;确定所述至少一个低亮度信息的平均值,得到低亮度平均值;根据所述高亮度平均值和所述低亮度平均值,确定所述当前光线均匀参数。The first determining module is specifically configured to determine an average value of the at least one high-brightness information to obtain a high-brightness average value; determine the average value of the at least one low-brightness information to obtain a low-brightness average value; The brightness average value and the low brightness average value determine the current light uniformity parameter.
  11. 根据权利要求7所述的曝光控制装置,其中,The exposure control device according to claim 7, wherein:
    所述第二确定模块,具体配置为从所述预设环境参数与曝光参数的对应关系中,查找与所述当前环境参数对应的曝光参数;将查找到的曝光参数确定为所述当前曝光参数。The second determining module is specifically configured to search for an exposure parameter corresponding to the current environmental parameter from the corresponding relationship between the preset environmental parameter and the exposure parameter; and determine the found exposure parameter as the current exposure parameter .
  12. 根据权利要求7所述的曝光控制装置,其中,所述环境亮度传感模块包括多个感光单元,The exposure control device according to claim 7, wherein the environmental brightness sensing module includes a plurality of photosensitive units,
    所述环境亮度传感模块,具体配置为利用所述多个感光单元中的每一个感光单元,采集所述待拍摄场景的一个环境亮度信息,得到所述多个环境亮度信息。The environmental brightness sensing module is specifically configured to use each of the multiple photosensitive units to collect one piece of environmental brightness information of the scene to be photographed to obtain the multiple pieces of environmental brightness information.
  13. 一种曝光控制装置,所述装置包括由多个感光单元组成的环境亮度传感模块、处理器、存储器和通信总线;An exposure control device, which includes an environmental brightness sensor module composed of a plurality of photosensitive units, a processor, a memory, and a communication bus;
    所述通信总线,配置为实现所述环境亮度传感模块、所述处理器和所述存储器之间的通信连接;The communication bus is configured to realize the communication connection between the environmental brightness sensing module, the processor and the memory;
    所述处理器和所述环境亮度传感模块,配置为执行所述存储器中存储 的曝光控制程序,以实现如权利要求1-6任一项所述的曝光控制方法。The processor and the environmental brightness sensing module are configured to execute the exposure control program stored in the memory to realize the exposure control method according to any one of claims 1-6.
  14. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被一个或者多个处理器执行时,实现如权利要求1-6任一项所述的曝光控制方法。A computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by one or more processors, the exposure control method according to any one of claims 1 to 6 is realized.
PCT/CN2020/124269 2019-10-31 2020-10-28 Exposure control method and device, and storage medium WO2021083173A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911052798.3 2019-10-31
CN201911052798.3A CN110784659B (en) 2019-10-31 2019-10-31 Exposure control method and device and storage medium

Publications (1)

Publication Number Publication Date
WO2021083173A1 true WO2021083173A1 (en) 2021-05-06

Family

ID=69388087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124269 WO2021083173A1 (en) 2019-10-31 2020-10-28 Exposure control method and device, and storage medium

Country Status (2)

Country Link
CN (1) CN110784659B (en)
WO (1) WO2021083173A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520882A (en) * 2022-04-06 2022-05-20 佛山市霖罕崞信息科技有限公司 System and method for adjusting camera exposure parameters according to environmental parameters

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784659B (en) * 2019-10-31 2022-01-11 Oppo广东移动通信有限公司 Exposure control method and device and storage medium
CN114339060A (en) * 2020-09-30 2022-04-12 宇龙计算机通信科技(深圳)有限公司 Exposure adjusting method and device, storage medium and electronic equipment
CN114520881B (en) * 2020-11-18 2023-08-18 成都极米科技股份有限公司 Exposure parameter adjustment method, device, computer equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7092029B1 (en) * 2000-03-24 2006-08-15 Ess Technology, Inc. Strobe lighting system for digital images
CN101872106A (en) * 2010-05-21 2010-10-27 深圳市艾威视数码科技有限公司 Intelligent infrared camera and intelligent infrared light intensity adjustment method thereof
CN108716653A (en) * 2018-06-27 2018-10-30 苏州欧普照明有限公司 Asymmetric light-distribution lens, illuminating module and panel light
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN110099222A (en) * 2019-05-17 2019-08-06 睿魔智能科技(深圳)有限公司 A kind of exposure adjustment method of capture apparatus, device, storage medium and equipment
CN110784659A (en) * 2019-10-31 2020-02-11 Oppo广东移动通信有限公司 Exposure control method and device and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018066454A1 (en) * 2016-10-04 2018-04-12 富士フイルム株式会社 Imaging device, imaging method, and program
CN106773453B (en) * 2017-01-22 2020-03-31 奇酷互联网络科技(深圳)有限公司 Camera exposure method and device and mobile terminal
CN108174118B (en) * 2018-01-04 2020-01-17 珠海格力电器股份有限公司 Image processing method and device and electronic equipment
CN108922478B (en) * 2018-07-02 2020-09-29 Oppo(重庆)智能科技有限公司 Backlight brightness adjusting method and system and display device
CN108683861A (en) * 2018-08-06 2018-10-19 Oppo广东移动通信有限公司 Shoot exposal control method, device, imaging device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7092029B1 (en) * 2000-03-24 2006-08-15 Ess Technology, Inc. Strobe lighting system for digital images
CN101872106A (en) * 2010-05-21 2010-10-27 深圳市艾威视数码科技有限公司 Intelligent infrared camera and intelligent infrared light intensity adjustment method thereof
CN108716653A (en) * 2018-06-27 2018-10-30 苏州欧普照明有限公司 Asymmetric light-distribution lens, illuminating module and panel light
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN110099222A (en) * 2019-05-17 2019-08-06 睿魔智能科技(深圳)有限公司 A kind of exposure adjustment method of capture apparatus, device, storage medium and equipment
CN110784659A (en) * 2019-10-31 2020-02-11 Oppo广东移动通信有限公司 Exposure control method and device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520882A (en) * 2022-04-06 2022-05-20 佛山市霖罕崞信息科技有限公司 System and method for adjusting camera exposure parameters according to environmental parameters

Also Published As

Publication number Publication date
CN110784659B (en) 2022-01-11
CN110784659A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
WO2021083173A1 (en) Exposure control method and device, and storage medium
US8994845B2 (en) System and method of adjusting a camera based on image data
US9013592B2 (en) Method, apparatus, and computer program product for presenting burst images
CN100553301C (en) The modification method of brightness
CN104301624A (en) Image shooting brightness control method and device
US9591231B2 (en) Image processing apparatus capable of properly emphasizing differences in brightness between bright spots, image processing method, and storage medium
CN101030016A (en) Image pickup apparatus having a help function, method for controlling the same, and recording medium
CN104349068A (en) Shooting method and electronic equipment
CN112673311B (en) Method, software product, camera arrangement and system for determining artificial lighting settings and camera settings
US20160019681A1 (en) Image processing method and electronic device using the same
JP2007096995A5 (en)
JPWO2012093519A1 (en) Imaging apparatus and light emission amount control method thereof
WO2021175116A1 (en) Image capture scene recognition control method and apparatus and image capture device
CN101472076B (en) Device for filming image and filming control method thereof
CN111741214A (en) Image processing method and device and electronic equipment
CN111405185B (en) Zoom control method and device for camera, electronic equipment and storage medium
US9674496B2 (en) Method for selecting metering mode and image capturing device thereof
CN107071282B (en) Photo processing method and mobile terminal
WO2018161568A1 (en) Photographing method and device based on two cameras
TWI505233B (en) Image processing method and image processing device
WO2024051697A1 (en) Image fusion method and apparatus, electronic device, and storage medium
CN113484868A (en) Focusing method and device for TOF camera, control equipment and focusing equipment
US10972676B2 (en) Image processing method and electronic device capable of optimizing hdr image by using depth information
JP2013168723A (en) Image processing device, imaging device, image processing program, and image processing method
US20160050361A1 (en) Apparatus and method for automatically adjusting focus in image capturing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20880860

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20880860

Country of ref document: EP

Kind code of ref document: A1