CN114765681A - Method, device, terminal, system and storage medium for detecting color temperature - Google Patents
Method, device, terminal, system and storage medium for detecting color temperature Download PDFInfo
- Publication number
- CN114765681A CN114765681A CN202110043442.4A CN202110043442A CN114765681A CN 114765681 A CN114765681 A CN 114765681A CN 202110043442 A CN202110043442 A CN 202110043442A CN 114765681 A CN114765681 A CN 114765681A
- Authority
- CN
- China
- Prior art keywords
- color temperature
- comprehensive
- information
- image sensor
- photosensitive
- 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.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Color Television Image Signal Generators (AREA)
Abstract
本申请涉及色温检测处理技术领域,提供一种检测色温方法、装置、终端、系统和存储介质。本申请获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同;基于预设的综合感光信息与色温之间的对应关系,确定所述综合感光信息对应的色温作为所述图像传感器对所述环境光测量的色温。可见,上述检测色温的方法中,将色温检测功能转移至图像传感器,通过图像传感器的不同色彩通道的多种对焦像素测量环境光的色温,在保证图像传感器实现对焦功能的情况下,实现对环境光的色温检测,不用另外安装色温传感器,节约安装空间,适应设备的小型化发展。
The present application relates to the technical field of color temperature detection and processing, and provides a color temperature detection method, device, terminal, system and storage medium. The present application obtains the comprehensive photosensitive information collected by various focusing pixels in the image sensor to ambient light; the color channels used by different focusing pixels are different; based on the preset corresponding relationship between the comprehensive photosensitive information and the color temperature, the The color temperature corresponding to the comprehensive photosensitive information is used as the color temperature measured by the image sensor for the ambient light. It can be seen that in the above method for detecting color temperature, the color temperature detection function is transferred to the image sensor, and the color temperature of the ambient light is measured through a variety of focusing pixels in different color channels of the image sensor. The color temperature detection of light does not need to install additional color temperature sensors, which saves installation space and adapts to the development of miniaturization of equipment.
Description
技术领域technical field
本申请涉及色温检测处理技术领域,特别是涉及一种检测色温的方法、装置、终端、系统和存储介质。The present application relates to the technical field of color temperature detection processing, and in particular, to a method, device, terminal, system and storage medium for detecting color temperature.
背景技术Background technique
随着传感器处理技术的发展,出现了利用传感器检测色温的技术。该技术被广泛用于手机、平板电脑等终端,终端可以基于所安装的色温传感器得到色温,进而基于检测到的色温实现智能调节。With the development of sensor processing technology, a technology for detecting color temperature using a sensor has emerged. This technology is widely used in terminals such as mobile phones and tablet computers. The terminal can obtain the color temperature based on the installed color temperature sensor, and then realize intelligent adjustment based on the detected color temperature.
但是,随着终端的小型化发展趋势,终端用于安装各器件的空间逐渐较少。保证终端基于检测到的色温进行智能调节的情况下,有必要进一步节约终端安装空间,以适应终端的小型化发展趋势。However, with the development trend of miniaturization of terminals, there is gradually less space for installing various devices in the terminal. In the case of ensuring that the terminal performs intelligent adjustment based on the detected color temperature, it is necessary to further save the installation space of the terminal to adapt to the development trend of miniaturization of the terminal.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种检测色温的方法、装置、终端、系统和存储介质,可以在保证图像传感器的对焦功能基础上实现色温检测。The embodiments of the present application provide a method, device, terminal, system and storage medium for detecting color temperature, which can realize color temperature detection on the basis of ensuring the focusing function of an image sensor.
一种检测色温的方法,所述方法包括:A method for detecting color temperature, the method comprising:
获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同;Obtain the comprehensive photosensitive information collected by various focusing pixels in the image sensor to the ambient light; the color channels used by different focusing pixels are different;
基于预设的综合感光信息与色温之间的对应关系,确定所述综合感光信息对应的色温作为所述图像传感器对所述环境光测量的色温。Based on the preset correspondence between the comprehensive light-sensing information and the color temperature, the color temperature corresponding to the comprehensive light-sensing information is determined as the color temperature measured by the image sensor for the ambient light.
在其中一个实施例中,所述多种对焦像素的其中一种对焦像素所采用的色彩通道是白色通道。In one of the embodiments, the color channel used by one of the focus pixels of the plurality of focus pixels is a white channel.
在其中一个实施例中,所述获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息之前,所述方法还包括:In one of the embodiments, before acquiring the comprehensive light-sensing information obtained by multiple focusing pixels in the image sensor collected from the ambient light, the method further includes:
所述图像传感器处于非成像模式下,控制所述图像传感器中的各成像像素处于感光测量关闭状态,并控制所述多种对焦像素处于感光测量开启状态。When the image sensor is in a non-imaging mode, each imaging pixel in the image sensor is controlled to be in a photosensitive measurement off state, and the various focusing pixels are controlled to be in a photosensitive measurement on state.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
确定预设的综合感光信息与光强之间的对应关系,Determine the corresponding relationship between the preset comprehensive photosensitive information and light intensity,
基于所述预设的综合感光信息与光强之间的对应关系,确定所述综合感光信息对应的光强,并将所述综合感光信息对应的光强作为参考光强;所述参考光强用于调节处于所述环境光下的终端屏幕的屏幕亮度。Based on the preset correspondence between the comprehensive light-sensing information and light intensity, the light intensity corresponding to the comprehensive light-sensing information is determined, and the light intensity corresponding to the comprehensive light-sensing information is used as a reference light intensity; the reference light intensity It is used to adjust the screen brightness of the terminal screen under the ambient light.
在其中一个实施例中,所述方法还包括:In one embodiment, the method further includes:
所述图像传感器处于成像模式下,基于所述综合感光信息对应的光强和所述综合感光信息对应的色温,调节针对所述图像传感器的白平衡。When the image sensor is in the imaging mode, based on the light intensity corresponding to the comprehensive light-sensing information and the color temperature corresponding to the comprehensive light-sensing information, the white balance for the image sensor is adjusted.
在其中一个实施例中,In one of the embodiments,
所述方法还包括:The method also includes:
获取对多个测试环境光的标定色温;所述多个测试环境光在测试场景下给定的环境光;Obtaining the calibrated color temperature of multiple test ambient lights; the multiple test ambient lights are given ambient lights in the test scene;
获取所述多种对焦像素对所述多个测试环境光采集得到的综合感光信息,得到多组色温感光测试结果;其中,同组色温感光测试结果中的标定色温和综合感光信息对应同个测试环境光;Obtain the comprehensive photosensitive information collected by the multiple focusing pixels on the multiple test ambient lights, and obtain multiple sets of color temperature photosensitive test results; wherein, the calibration color temperature and comprehensive photosensitive information in the color temperature photosensitive test results of the same group corresponds to the same test. ambient light;
基于所述多组色温感光测试结果,确定综合感光信息与色温之间的对应关系;Based on the multiple sets of color temperature sensitivity test results, determine the corresponding relationship between the comprehensive photosensitive information and the color temperature;
和/或,and / or,
所述方法还包括:The method also includes:
获取对多个测试环境光的标定光强;所述多个测试环境光在测试场景下给定的环境光;Acquiring the calibrated light intensities of multiple test ambient lights; the multiple test ambient lights are given ambient lights in the test scene;
获取多种对焦像素对所述多个测试环境光采集得到的综合感光信息,得到多组光强感光测试结果;其中,同组光强感光测试结果中的标定光强和综合感光信息对应同个测试环境光;Acquire comprehensive photosensitive information collected by multiple focusing pixels for the multiple test ambient lights, and obtain multiple sets of light intensity photosensitive test results; wherein, the calibrated light intensity and comprehensive photosensitive information in the same group of light intensity photosensitive test results correspond to the same test ambient light;
基于所述多组光强感光测试结果,确定综合感光信息与光强之间的对应关系。Based on the multiple sets of light-intensity photosensitive test results, the corresponding relationship between the comprehensive photosensitive information and the light intensity is determined.
在其中一个实施例中,所述获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息,包括:In one embodiment, the acquiring comprehensive photosensitive information obtained by multiple focusing pixels in the image sensor collected from ambient light includes:
获取各个对焦像素对所述环境光采集得到的感光信息;Acquiring the photosensitive information collected by each focusing pixel on the ambient light;
统计采用同种色彩通道的多个对焦像素的感光信息,得到同种对焦像素的统计感光信息;Statistically adopt the photosensitive information of multiple focusing pixels of the same color channel to obtain the statistical photosensitive information of the same focusing pixel;
基于各种对焦像素的统计感光信息,得到所述综合感光信息。Based on statistical photosensitive information of various focusing pixels, the comprehensive photosensitive information is obtained.
在其中一个实施例中,所述图像传感器的像素感光区域被划分为多个标定区域,各标定区域均包括所述多种对焦像素;In one of the embodiments, the pixel photosensitive area of the image sensor is divided into a plurality of calibration areas, and each calibration area includes the plurality of focusing pixels;
所述基于所述预设的综合感光信息与色温之间的对应关系,确定所述综合感光信息对应的色温作为所述图像传感器对所述环境光测量的色温,包括:The determining the color temperature corresponding to the comprehensive light-sensing information as the color temperature of the ambient light measured by the image sensor based on the corresponding relationship between the preset comprehensive light-sensing information and the color temperature includes:
基于所述预设的综合感光信息与色温之间的对应关系,确定所述各标定区域的色温;determining the color temperature of each calibration area based on the corresponding relationship between the preset comprehensive photosensitive information and the color temperature;
基于对所述多个所述标定区域的色温统计,得到所述图像传感器对所述环境光测量的色温。Based on the color temperature statistics of the plurality of calibration regions, the color temperature measured by the image sensor for the ambient light is obtained.
在其中一个实施例中,针对同一标定区域,采用不同色彩通道的对焦像素的数量一致;和/或,针对任两个标定区域,采用同一色彩通道的对焦像素的数量一致。In one embodiment, for the same calibration area, the number of focus pixels using different color channels is the same; and/or, for any two calibration areas, the number of focus pixels using the same color channel is the same.
一种检测色温的装置,所述装置包括:A device for detecting color temperature, the device comprising:
综合感光信息获取模块,用于获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同;The comprehensive photosensitive information acquisition module is used to obtain the comprehensive photosensitive information collected by various focusing pixels in the image sensor to ambient light; the color channels used by different kinds of focusing pixels are different;
色温测量模块,用于基于预设的综合感光信息与色温之间的对应关系,确定所述综合感光信息对应的色温作为所述图像传感器对所述环境光测量的色温。A color temperature measurement module, configured to determine the color temperature corresponding to the comprehensive light-sensing information as the color temperature measured by the image sensor for the ambient light based on the preset correspondence between the comprehensive light-sensing information and the color temperature.
一种终端,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述的方法。A terminal includes a memory and a processor, the memory stores a computer program, and the processor implements the above method when executing the computer program.
一种色温检测系统,所述系统包括图像传感器和处理器;A color temperature detection system, the system includes an image sensor and a processor;
所述图像传感器,用于将采用不同色彩通道的各种对焦像素对环境光采集得到的综合感光信息发送至所述处理器;The image sensor is configured to send the comprehensive photosensitive information obtained by collecting ambient light with various focusing pixels of different color channels to the processor;
所述处理器,用于基于所述综合感光信息执行上述的方法。The processor is configured to execute the above method based on the comprehensive photosensitive information.
在其中一个实施例中,所述图像传感器包括采用白色通道的白色对焦像素。In one embodiment, the image sensor includes white focus pixels with a white channel.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the above-mentioned method.
上述检测色温的方法、装置、终端、系统和存储介质,终端获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同;基于预设的综合感光信息与色温之间的对应关系,确定所述综合感光信息对应的色温作为所述图像传感器对所述环境光测量的色温。可见,上述检测色温的方法中,将色温检测功能转移至图像传感器,通过图像传感器上采用不同色彩通道的多种对焦像素测量环境光的色温,保证图像传感器在实现对焦功能的情况下,实现对环境光的色温检测,使得终端可以不用另外安装色温传感器,节约终端的安装空间,适应终端的小型化发展。In the above method, device, terminal, system and storage medium for detecting color temperature, the terminal obtains comprehensive photosensitive information obtained by collecting ambient light from various focusing pixels in the image sensor; the color channels used by different focusing pixels are different; The corresponding relationship between the comprehensive photosensitive information and the color temperature is determined, and the color temperature corresponding to the comprehensive photosensitive information is determined as the color temperature measured by the image sensor for the ambient light. It can be seen that in the above method of detecting color temperature, the color temperature detection function is transferred to the image sensor, and the color temperature of the ambient light is measured by using a variety of focusing pixels with different color channels on the image sensor, so as to ensure that the image sensor realizes the focusing function. The color temperature detection of ambient light makes the terminal unnecessary to install a color temperature sensor, saves the installation space of the terminal, and adapts to the miniaturization development of the terminal.
附图说明Description of drawings
图1为一个实施例中检测色温的方法的应用环境图;1 is an application environment diagram of a method for detecting color temperature in one embodiment;
图2为一个实施例中检测色温的方法的流程示意图;2 is a schematic flowchart of a method for detecting color temperature in one embodiment;
图3为一个实施例中检测色温的方法的流程示意图;3 is a schematic flowchart of a method for detecting color temperature in one embodiment;
图4为一个实施例中检测色温的装置的结构框图;4 is a structural block diagram of an apparatus for detecting color temperature in one embodiment;
图5为一个实施例中的白色对焦成像阵列单元的示意图;5 is a schematic diagram of a white focus imaging array unit in one embodiment;
图6为一个实施例中的绿色对焦成像阵列单元的示意图;6 is a schematic diagram of a green focus imaging array unit in one embodiment;
图7为一个实施例中的红色对焦成像阵列单元的示意图;7 is a schematic diagram of a red focus imaging array unit in one embodiment;
图8为一个实施例中的蓝色对焦成像阵列单元的示意图;8 is a schematic diagram of a blue focus imaging array unit in one embodiment;
图9为一个实施例中的对焦像素与色温检测器连接的示意图;9 is a schematic diagram of the connection between a focusing pixel and a color temperature detector in one embodiment;
图10为一个实施例中的成像阵列单元的示意图;10 is a schematic diagram of an imaging array unit in one embodiment;
图11为一个实施例中的对焦成像阵列单元与成像阵列单元的组合示意图;11 is a schematic diagram of a combination of a focus imaging array unit and an imaging array unit in one embodiment;
图12为一个实施例中的对焦成像阵列单元与成像阵列单元的组合示意图;12 is a schematic diagram of a combination of a focus imaging array unit and an imaging array unit in one embodiment;
图13为一个实施例中的对焦成像阵列单元与成像阵列单元的组合示意图;13 is a schematic diagram of a combination of a focus imaging array unit and an imaging array unit in one embodiment;
图14为一个实施例中的对焦成像阵列单元与成像阵列单元的组合示意图;14 is a schematic diagram of a combination of a focus imaging array unit and an imaging array unit in one embodiment;
图15为一个实施例中的对焦成像阵列单元与成像阵列单元的组合示意图;15 is a schematic diagram of a combination of a focus imaging array unit and an imaging array unit in one embodiment;
图16为一个实施例中终端的内部结构图。FIG. 16 is an internal structure diagram of a terminal in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
在本申请中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本申请所描述的实施例可以与其它实施例相结合。Reference in this application to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
本申请提供的检测色温的方法,可以应用于手机、平板电脑、笔记本电脑和便携式可穿戴设备等终端中。The method for detecting color temperature provided in this application can be applied to terminals such as mobile phones, tablet computers, notebook computers, and portable wearable devices.
在一个实施例中,结合图1和图2,介绍本申请提供的检测色温的方法,并以该方法应用于终端为例进行介绍:In one embodiment, with reference to FIG. 1 and FIG. 2 , the method for detecting color temperature provided by the present application is introduced, and the method is applied to a terminal as an example for introduction:
步骤S201,获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同。Step S201 , acquiring comprehensive light-sensing information obtained by multiple types of focusing pixels in the image sensor collected from ambient light; different color channels used by different types of focusing pixels.
如图1所示,图像传感器上设有多种对焦像素(如对焦像素A、对焦像素B、对焦像素C和对焦像素D);不同种的对焦像素所采用的色彩通道不同,例如,对焦像素A所采用的色彩通道为白色通道、对焦像素B所采用的色彩通道为绿色通道、对焦像素C所采用的色彩通道为蓝色通道、对焦像素D所采用的色彩通道为红色通道。As shown in Figure 1, the image sensor is provided with a variety of focus pixels (such as focus pixel A, focus pixel B, focus pixel C, and focus pixel D); different types of focus pixels use different color channels, for example, focus pixels The color channel used by A is the white channel, the color channel used by the focus pixel B is the green channel, the color channel used by the focus pixel C is the blue channel, and the color channel used by the focus pixel D is the red channel.
对焦像素对环境光测量得到感光信息,该感光信息的表征形式可以是亮度信息,也可以是光强信息,亮度信息与光强信息之间存在正相关关系,光强越大,亮度越大。The focusing pixel measures the ambient light to obtain photosensitive information. The representation form of the photosensitive information can be brightness information or light intensity information. There is a positive correlation between the brightness information and the light intensity information. The greater the light intensity, the greater the brightness.
各种对焦像素对环境光测量得到对应的感光信息,如对焦像素A测量得到感光信息a、对焦像素B测量得到感光信息b、对焦像素C测量得到感光信息c、对焦像素D测量得到感光信息d。Various focusing pixels measure ambient light to obtain corresponding photosensitive information, such as focusing pixel A to obtain photosensitive information a, focusing pixel B to measure photosensitive information b, focusing pixel C to measure photosensitive information c, and focus pixel D to measure photosensitive information d .
步骤S202,基于预设的综合感光信息与色温之间的对应关系,确定综合感光信息对应的色温作为图像传感器对环境光测量的色温。Step S202 , based on the preset correspondence between the comprehensive light-sensing information and the color temperature, determine the color temperature corresponding to the comprehensive light-sensing information as the color temperature measured by the image sensor for ambient light.
其中,包括上述感光信息a、感光信息b、感光信息c和感光信息d的感光信息集合,可以理解为综合感光信息;也就是说,综合感光信息是不同色彩通道对应的感光信息的集合。The photosensitive information set including the above-mentioned photosensitive information a, photosensitive information b, photosensitive information c, and photosensitive information d can be understood as comprehensive photosensitive information; that is, comprehensive photosensitive information is a collection of photosensitive information corresponding to different color channels.
由于随着环境光色温的变化,各种对焦像素测量得到的感光信息也会发生相应的变化;因此,对各种色彩通道对应的感光信息形成的综合感光信息随色温的变化情况进行归纳分析,可以确定综合感光信息与色温的对应关系。在该对应关系中,可以是多种色彩通道的感光信息对应一个色温。As the color temperature of the ambient light changes, the photosensitive information measured by various focusing pixels will also change accordingly; therefore, the comprehensive photosensitive information formed by the photosensitive information corresponding to various color channels is summarized and analyzed with the change of color temperature. The corresponding relationship between the comprehensive photosensitive information and the color temperature can be determined. In the corresponding relationship, the light-sensing information of multiple color channels may correspond to one color temperature.
终端在得到综合感光信息后,基于预设的综合感光信息与色温之间的对应关系,可以确定对应的色温,并将该色温作为图像传感器对环境光测量的色温。After obtaining the comprehensive photosensitive information, the terminal can determine the corresponding color temperature based on the preset corresponding relationship between the comprehensive photosensitive information and the color temperature, and use the color temperature as the color temperature measured by the image sensor for ambient light.
可见,本申请提供的上述检测色温的方法中,获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同;基于预设的综合感光信息与色温之间的对应关系,确定综合感光信息对应的色温作为图像传感器对环境光测量的色温。也就是说,将色温检测功能转移至图像传感器,通过图像传感器上不同色彩通道的多种对焦像素测量环境光的色温,保证图像传感器在实现对焦功能的情况下,实现对环境光的色温检测,使得终端可以不用另外安装色温传感器,节约终端的安装空间,适应终端的小型化发展。It can be seen that, in the above-mentioned method for detecting color temperature provided by the present application, the comprehensive light-sensing information collected by various focusing pixels in the image sensor to the ambient light is obtained; the color channels used by different kinds of focusing pixels are different; based on the preset comprehensive light-sensing information The corresponding relationship between the information and the color temperature is determined, and the color temperature corresponding to the comprehensive photosensitive information is determined as the color temperature measured by the image sensor for the ambient light. That is to say, the color temperature detection function is transferred to the image sensor, and the color temperature of the ambient light is measured through a variety of focusing pixels in different color channels on the image sensor, so as to ensure that the image sensor can detect the color temperature of the ambient light when the focusing function is realized. Therefore, the terminal does not need to install the color temperature sensor separately, saves the installation space of the terminal, and adapts to the miniaturization development of the terminal.
在一些实施例中,为保证色温检测的准确性,需要引入白色通道对应的感光信息;由于图像传感器并没有与白色通道对应的像素,如果在图像传感器的成像像素上引入白色通道,则会降低成像像素的成像色彩恢复,影响图像传感器的成像功能。In some embodiments, in order to ensure the accuracy of color temperature detection, it is necessary to introduce the photosensitive information corresponding to the white channel; since the image sensor does not have pixels corresponding to the white channel, if the white channel is introduced into the imaging pixels of the image sensor, it will reduce the The imaging color recovery of the imaging pixel affects the imaging function of the image sensor.
因此,在一个实施例中,可以在对焦像素上引入白色通道,即不影响图像传感器的成像功能和对焦功能,也可以实现色温检测。具体而言,多种对焦像素的其中一种对焦像素所采用的色彩通道是白色通道。Therefore, in one embodiment, a white channel can be introduced on the focusing pixel, that is, the imaging function and focusing function of the image sensor are not affected, and color temperature detection can also be realized. Specifically, the color channel used by one of the multiple focus pixels is a white channel.
在一个实施例中,步骤S201具体可以包括如下步骤:获取各个对焦像素对环境光采集得到的感光信息;统计采用同种色彩通道的多个对焦像素的感光信息,得到同种对焦像素的统计感光信息;基于各种对焦像素的统计感光信息,得到综合感光信息。In one embodiment, step S201 may specifically include the following steps: acquiring the light-sensing information collected by each focusing pixel for ambient light; counting the light-sensing information of a plurality of focusing pixels using the same color channel to obtain the statistical light-sensing information of the same focusing pixel information; based on the statistical photosensitive information of various focusing pixels, comprehensive photosensitive information is obtained.
示例性地,如果图像传感器包括400个对焦像素,其中,白色对焦像素(即采用白色通道的对焦像素)为100个,红色对焦像素为100个,绿色对焦像素为100个,蓝色对焦像素为100个;那么终端在获取到上述400个对焦像素对环境光采集得到的感光信息后,统计同一种色彩通道的感光信息得到对应的统计感光信息,如统计白色对焦像素的感光信息,得到白色通道对应的统计感光信息;该统计方式可以是求同种色彩通道的感光信息的和值。Exemplarily, if the image sensor includes 400 focus pixels, there are 100 white focus pixels (ie, focus pixels using a white channel), 100 red focus pixels, 100 green focus pixels, and 100 blue focus pixels. 100; then after the terminal obtains the photosensitive information collected by the above 400 focusing pixels for ambient light, it counts the photosensitive information of the same color channel to obtain the corresponding statistical photosensitive information, such as counting the photosensitive information of the white focusing pixels, and obtains the white channel Corresponding statistical photosensitive information; the statistical method can be the sum of photosensitive information of the same color channel.
基于白色通道对应的统计感光信息、红色通道对应的统计感光信息、绿色通道对应的统计感光信息和蓝色通道对应的统计感光信息,可以形成统计感光信息集合,即综合感光信息。Based on the statistical light-sensing information corresponding to the white channel, the statistical light-sensing information corresponding to the red channel, the statistical light-sensing information corresponding to the green channel, and the statistical light-sensing information corresponding to the blue channel, a set of statistical light-sensing information, ie, comprehensive light-sensing information, can be formed.
上述实施方式中,在各种色彩通道存在多个对焦像素的情况下,对不同种色彩通道的感光信息进行分类统计,可以保证色温检测的准确性。In the above-mentioned embodiment, in the case where there are multiple focusing pixels in various color channels, the accuracy of color temperature detection can be ensured by classifying and counting the photosensitive information of different color channels.
进一步地,图像传感器的像素感光区域被划分为多个标定区域,各标定区域均包括多种对焦像素。上述步骤S203被执行时,可以包括如下步骤:基于预设的综合感光信息与色温之间的对应关系,确定各标定区域的色温;基于对多个标定区域的色温统计,得到图像传感器对环境光测量的色温。Further, the pixel photosensitive area of the image sensor is divided into a plurality of calibration areas, and each calibration area includes a plurality of focusing pixels. When the above-mentioned step S203 is executed, the following steps may be included: determining the color temperature of each calibration area based on the preset corresponding relationship between the comprehensive photosensitive information and the color temperature; Measured color temperature.
示例性地,如果图像传感器的像素感光区域被划分为标定区域①至⑥,其中,每个标定区域所包括的对焦像素的种类相同,例如,均包括白色对焦像素、红色对焦像素、蓝色对焦像素和绿色对焦像素。终端可以分别统计各标定区域的综合感光信息,并确定对应的色温;若终端确定标定区域①至⑥的色温分别为2500K(开尔文)、2600K、3000K、2600K、2650K、2600K,由于上述各标定区域中,检测到色温为2600K的标定区域较多,因此,可以将2600K作为图像传感器对环境光测量的色温。Exemplarily, if the pixel photosensitive area of the image sensor is divided into calibration areas ① to ⑥, wherein, the focus pixels included in each calibration area are of the same type, for example, all include white focus pixels, red focus pixels, and blue focus pixels. pixel and green focus pixel. The terminal can count the comprehensive photosensitive information of each calibration area and determine the corresponding color temperature; if the terminal determines that the color temperatures of the calibration areas ① to ⑥ are 2500K (Kelvin), 2600K, 3000K, 2600K, 2650K, and 2600K respectively, because the above calibration areas are Among them, there are many calibration areas with a color temperature of 2600K. Therefore, 2600K can be used as the color temperature measured by the image sensor for ambient light.
在上述方式中,将图像传感器的像素感光区域划分为不同的标定区域,统计各标定区域的色温,确定最终的色温,可以提升色温检测的准确性。In the above manner, the pixel photosensitive area of the image sensor is divided into different calibration areas, the color temperature of each calibration area is counted, and the final color temperature is determined, which can improve the accuracy of color temperature detection.
进一步地,针对同一标定区域,采用不同色彩通道的对焦像素的数量一致;例如,针对标定区域①,白色对焦像素、红色对焦像素、绿色对焦像素和蓝色对焦像素的数量均为100个,可以保证色温检测的准确性。Further, for the same calibration area, the number of focusing pixels using different color channels is the same; for example, for the calibration area ①, the numbers of white focusing pixels, red focusing pixels, green focusing pixels and blue focusing pixels are all 100, which can be Ensure the accuracy of color temperature detection.
进一地,针对任两个标定区域,采用同一色彩通道的对焦像素的数量一致;例如,针对标定区域①和标定区域②,白色对焦像素的数量均为100个,以保证色温检测的准确性。Further, for any two calibration areas, the number of focusing pixels using the same color channel is the same; for example, for the calibration area ① and the calibration area ②, the number of white focusing pixels is 100 to ensure the accuracy of color temperature detection. .
在一个实施例中,终端在执行步骤S201之前,还可以执行如下步骤:图像传感器处于非成像模式下,控制图像传感器中的各成像像素处于感光测量关闭状态,并控制多种对焦像素处于感光测量开启状态。In one embodiment, before performing step S201, the terminal may further perform the following steps: the image sensor is in a non-imaging mode, each imaging pixel in the image sensor is controlled to be in a photosensitive measurement off state, and multiple focusing pixels are controlled to be in a photosensitive measurement mode On state.
也就是说,如果图像传感器处于非成像模式,那么图像传感器的成像像素可以处于感光测量关闭状态,仅打开各种对焦像素,进而根据打开的各种对焦像素对环境光采集得到的综合感光信息,确定环境光的色温,可以进一步节省终端的能耗,并且延长图像传感器的使用寿命。That is to say, if the image sensor is in the non-imaging mode, the imaging pixels of the image sensor can be in the photosensitive measurement off state, and only various focusing pixels are turned on, and then according to the comprehensive photosensitive information collected from the ambient light by the various focusing pixels that are turned on, Determining the color temperature of the ambient light can further save the power consumption of the terminal and prolong the service life of the image sensor.
进一步地,如果图像传感器处于非成像模式,且图像传感器的像素感光区域被划分为多个标定区域;那么为了进一步节省终端能耗,可以控制各标定区域的对焦像素交错处于感光测量开启状态,即不同时段处于感光测量开启状态。例如,标定区域①、③和④的对焦像素在第一时段内处于感光测量开启状态,标定区域②、⑤和⑥的对焦像素在第一时段内处于感光测量关闭状态;针对与第一时段相邻的第二时段,标定区域①、③和④的对焦像素在第二时段内处于进入感光测量关闭状态,标定区域②、⑤和⑥的对焦像素在第一时段内处于感光测量开启状态。Further, if the image sensor is in the non-imaging mode, and the pixel photosensitive area of the image sensor is divided into multiple calibration areas; then in order to further save the power consumption of the terminal, the focus pixels of each calibration area can be controlled to be in the photosensitive measurement open state, that is, The photosensitive measurement is turned on at different time periods. For example, the focusing pixels in the calibration areas ①, ③ and ④ are in the photosensitive measurement on state during the first period, and the focusing pixels in the calibration areas ②, ⑤ and ⑥ are in the photosensitive measurement off state during the first period; In the adjacent second period, the focusing pixels in the calibration areas ①, ③ and ④ are in the photosensitive measurement off state during the second period, and the focusing pixels in the calibration areas ②, ⑤ and ⑥ are in the photosensitive measurement on state in the first period.
在一个实施例中,终端还可以执行步骤S201后,还可以执行如下步骤:确定预设的综合感光信息与光强之间的对应关系,基于预设的综合感光信息与光强之间的对应关系,确定综合感光信息对应的光强,并将综合感光信息对应的光强作为参考光强;参考光强用于调节处于环境光下的终端屏幕的屏幕亮度。In one embodiment, after performing step S201, the terminal may further perform the following steps: determine the correspondence between the preset comprehensive light-sensing information and the light intensity, based on the correspondence between the preset comprehensive light-sensing information and light intensity relationship, determine the light intensity corresponding to the comprehensive photosensitive information, and use the light intensity corresponding to the comprehensive photosensitive information as the reference light intensity; the reference light intensity is used to adjust the screen brightness of the terminal screen under ambient light.
在上述实施例中,终端还可以基于多种对焦像素对环境光采集得到的综合感光信息,确定对应的光强,该光强可以作为管理终端屏幕的屏幕亮度,以使终端可以不用额外安装光强检测器,进一步节约安装空间,有利于终端的小型化。In the above-mentioned embodiment, the terminal can also determine the corresponding light intensity based on the comprehensive photosensitive information collected by various focusing pixels for ambient light, and the light intensity can be used as the screen brightness of the management terminal screen, so that the terminal does not need to install additional light The strong detector further saves the installation space and is beneficial to the miniaturization of the terminal.
在一个实施例中,终端还可以执行如下步骤,以确定综合感光信息与色温之间的对应关系。终端所执行的步骤具体包括:获取对多个测试环境光的标定色温;多个测试环境光在测试场景下给定的环境光;获取多种对焦像素对多个测试环境光采集得到的综合感光信息,得到多组色温感光测试结果;其中,同组色温感光测试结果中的标定色温和综合感光信息对应同个测试环境光;基于多组色温感光测试结果,确定综合感光信息与色温之间的对应关系。In one embodiment, the terminal may further perform the following steps to determine the correspondence between the comprehensive light-sensing information and the color temperature. The steps performed by the terminal specifically include: acquiring the calibrated color temperature of multiple test ambient lights; multiple test ambient lights given ambient light in the test scene; information, and obtain multiple sets of color temperature sensitivity test results; among them, the calibrated color temperature and comprehensive sensitivity information in the same group of color temperature sensitivity test results correspond to the same test ambient light; Correspondence.
可见,通过给定不同色温的测试环境光,得到对应的综合感光信息;并根据对应同一测试环境光的标定色温和对应的综合感光信息,得到多组色温感光测试结果;根据该多组色温感光测试结果所确定的综合感光信息与色温之间的对应关系更加准确,提高色温检测的准确性。It can be seen that by giving test ambient light with different color temperatures, the corresponding comprehensive photosensitive information is obtained; and according to the corresponding comprehensive photosensitive information corresponding to the calibrated color temperature of the same test ambient light, multiple sets of color temperature photosensitive test results are obtained; The corresponding relationship between the comprehensive photosensitive information and the color temperature determined by the test result is more accurate, and the accuracy of the color temperature detection is improved.
进一步地,在图像传感器的像素感光区域被划分为多个标定区域的情况下,可以分别确定各标定区域的综合感光信息与色温之间的对应关系。例如,针对给定的测试环境光的色温为3000K时,获取标定区域①的白色/绿色/红色/蓝色对焦像素对测试环境光采集得到的感光信息,并统计同种色彩通道对应的统计感光信息,形成综合感光信息,进而得到包括该综合感光信息与标定色温3000K的一组色温感光测试结果;按照上述方式,得到多组色温感光测试结果,确定标定区域①的综合感光信息与色温之间的对应关系。Further, when the pixel photosensitive area of the image sensor is divided into a plurality of calibration areas, the corresponding relationship between the comprehensive photosensitive information and the color temperature of each calibration area can be determined respectively. For example, when the color temperature of a given test ambient light is 3000K, obtain the sensitivity information collected by the white/green/red/blue focusing pixels in the calibration area ① for the test ambient light, and count the statistical sensitivity corresponding to the same color channel information to form comprehensive photosensitive information, and then obtain a set of color temperature photosensitive test results including the comprehensive photosensitive information and the calibrated color temperature of 3000K; according to the above method, obtain multiple sets of color temperature photosensitive test results, and determine the calibration area ① The difference between the comprehensive photosensitive information and the color temperature corresponding relationship.
在一个实施例中,终端还可以执行如下步骤,以确定综合感光信息与光强之间的对应关系。终端所执行的步骤具体包括:获取对多个测试环境光的标定光强;多个测试环境光在测试场景下给定的环境光;获取多种对焦像素对多个测试环境光采集得到的综合感光信息,得到多组光强感光测试结果;其中,同组光强感光测试结果中的标定光强和综合感光信息对应同个测试环境光;基于多组光强感光测试结果,确定综合感光信息与光强之间的对应关系。In one embodiment, the terminal may further perform the following steps to determine the correspondence between the comprehensive light-sensing information and the light intensity. The steps performed by the terminal specifically include: acquiring the calibrated light intensity of multiple test ambient lights; multiple test ambient lights given ambient light in the test scene; Sensitivity information to obtain multiple sets of light intensity sensitization test results; among them, the calibrated light intensity and comprehensive sensitization information in the same group of luminous intensity sensitization test results correspond to the same test ambient light; based on the multiple sets of light intensity sensitization test results, determine the comprehensive sensitization information Correspondence between light intensity.
可见,通过给定不同光强的测试环境光,得到对应的综合感光信息;并根据对应同一测试环境光的标定光强和对应的综合感光信息,得到多组光强感光测试结果;根据该多组光强感光测试结果确定的综合感光信息与光强之间的对应关系更加准确,提高光强检测的准确性。It can be seen that the corresponding comprehensive photosensitive information is obtained by giving test ambient light of different light intensities; and according to the calibration light intensity corresponding to the same test ambient light and the corresponding comprehensive photosensitive information, multiple sets of light-intensity photosensitive test results are obtained; The corresponding relationship between the comprehensive photosensitive information and the light intensity determined by the group light intensity photosensitive test results is more accurate, and the accuracy of light intensity detection is improved.
进一步地,在图像传感器的像素感光区域被划分为多个标定区域的情况下,可以分别确定各标定区域的综合感光信息与光强之间的对应关系。具体方式可以参照上述获取标定区域①的综合感光信息与色温之间的对应关系的内容,这里不赘述。Further, when the pixel photosensitive area of the image sensor is divided into a plurality of calibration areas, the corresponding relationship between the comprehensive photosensitive information and the light intensity of each calibration area can be determined respectively. For a specific method, reference may be made to the above content of obtaining the correspondence between the comprehensive photosensitive information of the calibration area ① and the color temperature, which will not be repeated here.
在一个实施例中,终端还可以执行如下步骤:图像传感器处于成像模式下,基于综合感光信息对应的光强和综合感光信息对应的色温,调节针对图像传感器的白平衡。In one embodiment, the terminal may further perform the following steps: when the image sensor is in the imaging mode, adjust the white balance for the image sensor based on the light intensity corresponding to the comprehensive light-sensing information and the color temperature corresponding to the comprehensive light-sensing information.
也就是说,终端可以利用不同通道的各种对焦像素测量得到的综合感光信息,得到对应的色温和光强,并根据所得到的色温和光强调节图像传感器的白平衡,以改善成像质量。That is to say, the terminal can use the comprehensive photosensitive information measured by various focusing pixels of different channels to obtain the corresponding color temperature and light intensity, and adjust the white balance of the image sensor according to the obtained color temperature and light intensity to improve the imaging quality.
在一个实施例中,对焦像素的结构为金属遮挡光电二极管结构、双光电二极管(dual PD像素)结构或片上微透镜光电二极管结构(2×1OCL像素或2×2OCL像素;OCL:OnChip Lens,片上微透镜)。In one embodiment, the structure of the focusing pixel is a metal shielding photodiode structure, a dual photodiode (dual PD pixel) structure, or an on-chip microlens photodiode structure (2×1 OCL pixels or 2×2 OCL pixels; OCL: OnChip Lens, on-chip microlenses).
为了更好地理解上述方法,结合图3介绍本申请检测色温的方法的应用实例。该应用实例可以应用于终端,具体执行如下步骤:In order to better understand the above method, an application example of the method for detecting color temperature of the present application is introduced with reference to FIG. 3 . This application example can be applied to a terminal, and the specific steps are as follows:
步骤S301,获取对多个测试环境光的标定色温;多个测试环境光在测试场景下给定的环境光;Step S301, obtaining the calibration color temperature of multiple test ambient lights; multiple test ambient lights given ambient light in the test scene;
步骤S302,获取图像传感器中的多种对焦像素对多个测试环境光采集得到的综合感光信息,得到多组色温感光测试结果;其中,不同种的对焦像素所采用的色彩通道不同,同组色温感光测试结果中的标定色温和综合感光信息对应同个测试环境光;Step S302, acquiring comprehensive light-sensing information collected by multiple focusing pixels in the image sensor for multiple test ambient lights, and obtaining multiple sets of color temperature sensing test results; wherein, different color channels are used by different focusing pixels, and the color temperature of the same group is different. The calibrated color temperature and comprehensive photosensitive information in the photosensitive test results correspond to the same test ambient light;
步骤S303,基于多组色温感光测试结果,确定综合感光信息与色温之间的对应关系;Step S303, based on the multiple sets of color temperature sensitivity test results, determine the corresponding relationship between the comprehensive photosensitive information and the color temperature;
步骤S304,图像传感器处于非成像模式下,控制图像传感器中的各成像像素处于感光测量关闭状态,并控制多种对焦像素处于感光测量开启状态;Step S304, the image sensor is in a non-imaging mode, each imaging pixel in the image sensor is controlled to be in a photosensitive measurement off state, and multiple focusing pixels are controlled to be in a photosensitive measurement on state;
步骤S305,获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;Step S305, acquiring comprehensive photosensitive information obtained by collecting ambient light from various focusing pixels in the image sensor;
步骤S306,基于预设的综合感光信息与色温之间的对应关系,确定综合感光信息对应的色温并作为图像传感器对环境光测量的色温。Step S306 , based on the preset correspondence between the comprehensive light-sensing information and the color temperature, determine the color temperature corresponding to the comprehensive light-sensing information and use it as the color temperature measured by the image sensor for ambient light.
在上述应用实例中,通过给定不同光强的测试环境光,得到对应的综合感光信息;并根据对应同一测试环境光的标定光强和对应的综合感光信息,得到多组光强感光测试结果;根据该多组光强感光测试结果确定的综合感光信息与光强之间的对应关系更加准确,提高光强检测的准确性。并且,将色温检测功能转移至图像传感器,通过图像传感器的不同色彩通道的多种对焦像素测量环境光的色温,在保证图像传感器的成像功能和对焦功能的情况下,实现图像传感器对环境光的色温检测,使得终端可以不用另外安装色温传感器,节约终端的安装空间,适应终端的小型化发展。In the above application example, the corresponding comprehensive photosensitive information is obtained by giving test ambient lights of different light intensities; and multiple sets of light-intensity photosensitive test results are obtained according to the calibrated light intensity corresponding to the same test ambient light and the corresponding comprehensive photosensitive information ; The corresponding relationship between the comprehensive photosensitive information and the light intensity determined according to the multiple groups of light intensity photosensitive test results is more accurate, and the accuracy of the light intensity detection is improved. In addition, the color temperature detection function is transferred to the image sensor, and the color temperature of the ambient light is measured through a variety of focusing pixels in different color channels of the image sensor, so as to ensure the imaging function and focusing function of the image sensor. Color temperature detection makes it unnecessary to install a color temperature sensor on the terminal, saves the installation space of the terminal, and adapts to the miniaturization development of the terminal.
应该理解的是,虽然图1至图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1至图3中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIG. 1 to FIG. 3 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and the steps may be executed in other orders. Moreover, at least a part of the steps in FIG. 1 to FIG. 3 may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. The order of execution is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of a step or phase within the other steps.
在一个实施例中,如图4所示,提供了一种检测色温的装置,包括:In one embodiment, as shown in Figure 4, a device for detecting color temperature is provided, comprising:
综合感光信息获取模块401,用于获取图像传感器中的多种对焦像素对环境光采集得到的综合感光信息;不同种的对焦像素所采用的色彩通道不同;The comprehensive light-sensing
色温测量模块402,用于基于预设的综合感光信息与色温之间的对应关系,确定所述综合感光信息对应的色温作为所述图像传感器对所述环境光测量的色温。The color
在一个实施例中,所述多种对焦像素的其中一种对焦像素所采用的色彩通道是白色通道。In one embodiment, the color channel employed by one of the plurality of focus pixels is a white channel.
在一个实施例中,所述装置还包括:感光测量状态控制模块,用于所述图像传感器处于非成像模式下,控制所述图像传感器中的各成像像素处于感光测量关闭状态,并控制所述多种对焦像素处于感光测量开启状态。In one embodiment, the device further includes: a photosensitive measurement state control module, configured to control each imaging pixel in the image sensor to be in a photosensitive measurement off state when the image sensor is in a non-imaging mode, and control the Various focusing pixels are in the photometric ON state.
在一个实施例中,所述装置还包括:屏幕亮度控制模块,用于确定预设的综合感光信息与光强之间的对应关系,基于所述预设的综合感光信息与光强之间的对应关系,确定所述综合感光信息对应的光强,并将所述综合感光信息对应的光强作为参考光强;所述参考光强用于调节处于所述环境光下的终端屏幕的屏幕亮度。In one embodiment, the device further includes: a screen brightness control module, configured to determine the corresponding relationship between the preset comprehensive photosensitive information and the light intensity, based on the preset comprehensive photosensitive information and the light intensity Corresponding relationship, determine the light intensity corresponding to the comprehensive photosensitive information, and use the light intensity corresponding to the comprehensive photosensitive information as the reference light intensity; the reference light intensity is used to adjust the screen brightness of the terminal screen under the ambient light .
在一个实施例中,所述装置还包括:白平衡调节模块,用于所述图像传感器处于成像模式下,基于所述综合感光信息对应的光强和所述综合感光信息对应的色温,调节针对所述图像传感器的白平衡。In one embodiment, the device further includes: a white balance adjustment module, configured to adjust the target based on the light intensity corresponding to the comprehensive light-sensing information and the color temperature corresponding to the comprehensive light-sensing information when the image sensor is in an imaging mode. White balance of the image sensor.
在一个实施例中,所述装置还包括:第一对应关系确定模块,用于获取对多个测试环境光的标定色温;所述多个测试环境光在测试场景下给定的环境光;获取所述多种对焦像素对所述多个测试环境光采集得到的综合感光信息,得到多组色温感光测试结果;其中,同组色温感光测试结果中的标定色温和综合感光信息对应同个测试环境光;基于所述多组色温感光测试结果,确定综合感光信息与色温之间的对应关系。In one embodiment, the device further includes: a first correspondence determination module, configured to acquire the calibrated color temperature of multiple test ambient lights; the ambient lights given by the multiple test ambient lights in the test scene; acquire The multiple types of focusing pixels collect comprehensive photosensitive information from the multiple test ambient lights to obtain multiple sets of color temperature photosensitive test results; wherein, the calibrated color temperature and comprehensive photosensitive information in the color temperature photosensitive test results of the same group corresponds to the same test environment light; based on the multiple sets of color temperature sensitivity test results, determine the corresponding relationship between the comprehensive photosensitive information and the color temperature.
在一个实施例中,所述装置还包括:第二对应关系确定模块,用于获取对多个测试环境光的标定光强;所述多个测试环境光在测试场景下给定的环境光;获取多种对焦像素对所述多个测试环境光采集得到的综合感光信息,得到多组光强感光测试结果;其中,同组光强感光测试结果中的标定光强和综合感光信息对应同个测试环境光;基于所述多组光强感光测试结果,确定综合感光信息与光强之间的对应关系。In one embodiment, the device further includes: a second correspondence determination module, configured to acquire the calibrated light intensities of multiple test ambient lights; the multiple test ambient lights are given ambient lights in the test scene; Acquire comprehensive photosensitive information collected by multiple focusing pixels for the multiple test ambient lights, and obtain multiple sets of light intensity photosensitive test results; wherein, the calibrated light intensity and comprehensive photosensitive information in the same group of light intensity photosensitive test results correspond to the same Test the ambient light; determine the correspondence between the comprehensive photosensitive information and the light intensity based on the multiple sets of light intensity photosensitive test results.
在一个实施例中,所述综合感光信息获取模块401,还用于获取各个对焦像素对所述环境光采集得到的感光信息;统计采用同种色彩通道的多个对焦像素的感光信息,得到同种对焦像素的统计感光信息;基于各种对焦像素的统计感光信息,得到所述综合感光信息。In one embodiment, the comprehensive photosensitive
在一个实施例中,所述图像传感器的像素感光区域被划分为多个标定区域,各标定区域均包括所述多种对焦像素;所述色温测量模块402,还用于基于所述预设的综合感光信息与色温之间的对应关系,确定所述各标定区域的色温;基于对所述多个所述标定区域的色温统计,得到所述图像传感器对所述环境光测量的色温。In one embodiment, the pixel photosensitive area of the image sensor is divided into multiple calibration areas, and each calibration area includes the multiple types of focusing pixels; the color
在一个实施例中,针对同一标定区域,采用不同色彩通道的对焦像素的数量一致;和/或,针对任两个标定区域,采用同一色彩通道的对焦像素的数量一致。In one embodiment, for the same calibration area, the number of focus pixels using different color channels is the same; and/or, for any two calibration areas, the number of focus pixels using the same color channel is the same.
关于检测色温的装置的具体限定可以参见上文中对于检测色温的方法的限定,在此不再赘述。上述检测色温的装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the device for detecting color temperature, please refer to the limitation on the method for detecting color temperature above, which will not be repeated here. Each module in the above-mentioned apparatus for detecting color temperature may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
本申请还提供一种色温检测系统,该系统包括图像传感器和处理器;所述图像传感器,用于将采用不同色彩通道的各种对焦像素对环境光采集得到的综合感光信息发送至所述处理器;所述处理器,用于基于所述综合感光信息执行其他任一实施例所述的方法。The present application also provides a color temperature detection system, which includes an image sensor and a processor; the image sensor is used to send the comprehensive photosensitive information obtained by collecting ambient light by various focusing pixels with different color channels to the processing a processor; the processor is configured to execute the method described in any of the other embodiments based on the integrated light-sensing information.
进一步地,上述图像传感器包括采用白色通道的白色对焦像素。Further, the above-mentioned image sensor includes white focus pixels using a white channel.
在一些实施例中,结合图5介绍本申请提供一种图像传感器,该图像传感器包括采用白色通道的白色对焦像素Wa和Wb;其中,白色对焦像素Wa和Wb对环境光采集得到的感光信息用于对环境光进行色温检测。In some embodiments, an image sensor provided by the present application is described with reference to FIG. 5 . The image sensor includes white focus pixels Wa and Wb using a white channel; wherein, the white focus pixels Wa and Wb use the light-sensing information collected by ambient light for For color temperature detection of ambient light.
结合图5介绍白色对焦像素Wa,白色对焦像素Wa包括感光区域和非感光区域,白色对焦像素Wa中的黑色部分表示非感光区域,白色部分为感应白光区域,;同理,白色对焦像素Wb可参照上述内容,这里不赘述。且白色对焦像素Wa和Wb的位置可以互换。The white focus pixel Wa is introduced in conjunction with FIG. 5. The white focus pixel Wa includes a photosensitive area and a non-photosensitive area. The black part in the white focus pixel Wa represents the non-photosensitive area, and the white part is the sensing white light area. Similarly, the white focus pixel Wb can be Referring to the above content, it will not be repeated here. And the positions of the white focus pixels Wa and Wb can be interchanged.
也就是说,在图像传感器的对焦像素上引入白色通道,形成白色对焦像素,白色对焦像素对环境光采集得到的感光信息既可以用于成像对焦,又可以用于色温检测,在不影响图像传感器对焦功能的基础上,实现图像传感器对环境光的色温检测。That is to say, a white channel is introduced into the focusing pixels of the image sensor to form white focusing pixels. The photosensitive information collected by the white focusing pixels from ambient light can be used for both imaging focusing and color temperature detection without affecting the image sensor. Based on the focusing function, the image sensor can detect the color temperature of the ambient light.
上述实施例中,在色温检测的过程中,如果需要其他色彩通道对应的感光信息,如红色通道对应的感光信息,那么可以利用红色成像像素(如图5所示的R)对环境光采集得到的感光信息;可以理解的是,图5所示的蓝色成像像素(B)和绿色成像像素(G)对环境光采集得到的感光信息也可以用于色温检测。其中,上述各色彩通道的成像像素不设有类似对焦像素的非感光区域,仅包括感光区域,用于成像。In the above embodiment, in the process of color temperature detection, if the photosensitive information corresponding to other color channels, such as the photosensitive information corresponding to the red channel, is required, the red imaging pixel (R as shown in Figure 5) can be used to collect ambient light. It can be understood that the photosensitive information collected by the blue imaging pixels (B) and green imaging pixels (G) shown in FIG. 5 to ambient light can also be used for color temperature detection. Wherein, the imaging pixels of the above-mentioned color channels do not have non-photosensitive areas similar to focusing pixels, but only include photosensitive areas for imaging.
也就是说,上述方式中,在色温检测所需的白色通道对应的感光信息是利用对焦像素采集得到,色温检测所需的红色通道/蓝色通道/绿色通道对应的感光信息是利用成像像素采集得到,从而保证色温检测的准确性。但是这种方式中,即使图像传感器处于非成像模式,若需要色温检测,则需控制对焦像素和成像像素处于感光测量开启状态,存在功耗较大的问题。That is to say, in the above method, the photosensitive information corresponding to the white channel required for color temperature detection is acquired by focusing pixels, and the photosensitive information corresponding to the red channel/blue channel/green channel required for color temperature detection is acquired by imaging pixels. obtained, thereby ensuring the accuracy of color temperature detection. However, in this method, even if the image sensor is in the non-imaging mode, if color temperature detection is required, it is necessary to control the focusing pixels and the imaging pixels to be in the photosensitive measurement open state, which has a problem of large power consumption.
因此,在一些实施例中,图像传感器还包括采用红色通道的红色对焦像素、采用蓝色通道的蓝色对焦像素或者采用绿色通道的绿色对焦像素中的至少一种。红色对焦像素对环境光采集得到的感光信息、蓝色对焦像素对环境光采集得到的感光信息和绿色对焦像素对环境光采集得到的感光信息中的至少一种用于色温检测。Thus, in some embodiments, the image sensor further includes at least one of red focus pixels with a red channel, blue focus pixels with a blue channel, or green focus pixels with a green channel. At least one of the light-sensing information collected by the red focusing pixels for ambient light, the light-sensing information collected by the blue focusing pixels for ambient light, and the light-sensing information collected by the green focusing pixels for ambient light is used for color temperature detection.
也就是说,色温检测所需的各色彩通道对应的感光信息均由对焦像素提供,无需成像像素,如果图像传感器处于非成像模式,且此时需要检测色温,则仅需控制对焦像素处于感光测量开启状态,降低功耗。That is to say, the photosensitive information corresponding to each color channel required for color temperature detection is provided by focusing pixels, without imaging pixels. If the image sensor is in non-imaging mode and color temperature needs to be detected at this time, it is only necessary to control the focusing pixels to be in photosensitive measurement Turn on state to reduce power consumption.
进一步地,针对图像传感器包括的成像像素,成像像素所连接的开关与色彩对焦像素所连接的开关不同。因此,如果图像传感器处于非成像模式,那么可以利用连接成像像素的开关控制成像像素处于感光测量关闭状态,利用连接对焦像素的开关控制对焦像素处于感光测量开启状态,从而得到色彩通道对应的感光信息,实现色温检测。Further, for the imaging pixels included in the image sensor, the switches connected to the imaging pixels are different from the switches connected to the color focus pixels. Therefore, if the image sensor is in the non-imaging mode, the switch connected to the imaging pixel can be used to control the imaging pixel to be in the photometric off state, and the switch connected to the focus pixel can be used to control the focus pixel to be in the photometric measurement on state, so as to obtain the photosensitive information corresponding to the color channel. , to achieve color temperature detection.
其中,包括色彩对焦像素的像素单元(该像素单元可以是2*2的像素矩阵)可以称为对焦单元;若该色彩对焦像素为白色对焦像素,那么该对焦单元可以称为白色对焦单元,如图5所示的W110a和W110b。在白色对焦单元W110a中,白色对焦像素Wa与G对角分布,R与B对角分布。Wherein, a pixel unit including color focus pixels (the pixel unit may be a 2*2 pixel matrix) can be called a focus unit; if the color focus pixel is a white focus pixel, then the focus unit can be called a white focus unit, such as W110a and W110b shown in FIG. 5 . In the white focus unit W110a, the white focus pixels Wa are diagonally distributed with G, and R and B are diagonally distributed.
在一些实施例中,图像传感器还包括位于两个对焦单元之间的成像单元,即两个对焦单元间间隔有成像单元。其中,仅包含成像像素的像素单元称为成像单元,如图5所示的120。在成像单元120中,仅包括成像像素R、G和B,且两个G对角分布,R与B对角分布。In some embodiments, the image sensor further includes an imaging unit located between the two focusing units, that is, an imaging unit is spaced between the two focusing units. Among them, a pixel unit that only includes imaging pixels is called an imaging unit, such as 120 shown in FIG. 5 . In the
如果分布在成像单元两侧的对焦单元包含的色彩对焦像素相同,那么相同的对焦色彩对焦像素的对焦遮挡结构形成左右对焦遮挡结构对。If the focus units distributed on both sides of the imaging unit contain the same color focus pixels, then the focus blocking structures of the same focus color focus pixels form a left and right focus blocking structure pair.
示例性地,如图5所示,分布在成像单元120两侧的白色对焦单元W110a和W110b均包括白色对焦像素,且白色对焦像素Wa的遮挡区域位于左边,白色对焦像素Wb的遮挡区域位于右边,即白色对焦像素Wa和Wb的对焦遮挡结构形成左右对焦遮挡结构对。其中,白色对焦单元W110a、白色对焦单元W110b和成像单元120形成的单元可以称为白色对焦成像阵列单元(W pattern)。Exemplarily, as shown in FIG. 5 , the white focusing units W110a and W110b distributed on both sides of the
又示例性地,如图6所示,分布在成像单元120两侧的绿色对焦单元G110a和G110b均包括绿色对焦像素,且绿色对焦像素Ga的遮挡区域位于右边,绿色对焦像素Gb的遮挡区域位于左边,即绿色对焦像素Ga和Gb的对焦遮挡结构形成左右对焦遮挡结构对。其中,绿色对焦单元G110a、绿色对焦单元G110b和成像单元120形成的单元可以称为绿色对焦成像阵列单元(G pattern)。Also exemplarily, as shown in FIG. 6 , the green focusing units G110a and G110b distributed on both sides of the
又示例性地,如图7所示,分布在成像单元120两侧的红色对焦单元R110a和R110b均包括红色对焦像素,且红色对焦像素Ra的遮挡区域位于左边,红色对焦像素Rb的遮挡区域位于右边,即红色对焦像素Ra和Rb的对焦遮挡结构形成左右对焦遮挡结构对。其中,红色对焦单元R110a、红色对焦单元R110b和成像单元120形成的单元可以称为红色对焦成像阵列单元(R pattern)。Also exemplarily, as shown in FIG. 7 , the red focusing units R110a and R110b distributed on both sides of the
又示例性地,如图8所示,分布在成像单元120两侧的蓝色对焦单元B110a和B110b均包括蓝色对焦像素,且蓝色对焦像素Ba的遮挡区域位于右边,蓝色对焦像素Bb的遮挡区域位于左边,即蓝色对焦像素Ba和Bb的对焦遮挡结构形成左右对焦遮挡结构对。其中,蓝色对焦单元B110a、蓝色对焦单元B110b和成像单元120形成的单元可以称为蓝色对焦成像阵列单元(B pattern)。For another example, as shown in FIG. 8 , the blue focus units B110a and B110b distributed on both sides of the
在一个实施例中,如图9所示,图像传感器还包括色温处理器,各色彩对焦像素与色温处理器连接,各色彩对焦像素将对环境光采集得到的感光信息传输至色温处理器,以使色温处理器基于各色彩通道对应的感光信息确定环境光的色温。可以理解的是,上述实施例的色温处理器内置于图像传感器,进一步节省手机等终端的空间;在其他实施方式中,色温处理器也可以外置于图像传感器。In one embodiment, as shown in FIG. 9 , the image sensor further includes a color temperature processor, each color focusing pixel is connected to the color temperature processor, and each color focusing pixel transmits the photosensitive information obtained by collecting the ambient light to the color temperature processor, so as to The color temperature processor is made to determine the color temperature of the ambient light based on the light-sensing information corresponding to each color channel. It can be understood that the color temperature processor in the above embodiment is built into the image sensor, which further saves the space of terminals such as mobile phones; in other embodiments, the color temperature processor can also be externally placed in the image sensor.
上述实施方式中,若分布在成像单元120两侧的对焦单元所包含的色彩对焦像素相同,且形成左右对焦遮挡结构对,那么上述对焦单元的分布方向可以称为第一方向。其中,如图10所示,若多个成像单元120沿第一方向相邻排布,那么对应形成的单元可以称为成像阵列单元(CX pattern)。In the above embodiment, if the focusing units distributed on both sides of the
在一些实施例中,上述各对焦成像阵列单元可以沿与第一方向正交的第二方向相邻排布,但为了保证成像效果,两个对焦成像阵列单元沿第二方向排布时可以间隔至少一个成像阵列单元,即图像传感器包括位于两个对焦成像阵列单元间的至少一个成像阵列单元。In some embodiments, the above-mentioned focus imaging array units may be adjacently arranged along a second direction orthogonal to the first direction, but in order to ensure the imaging effect, two focus imaging array units may be arranged at intervals along the second direction At least one imaging array unit, ie, an image sensor, includes at least one imaging array unit located between two in-focus imaging array units.
其中,分布在成像阵列单元CX pattern两侧的对焦成像阵列单元可以对应同一种色彩通道,如图11所示,均为白色对焦成像阵列单元W pattern沿第二方向分布在成像阵列单元CX pattern两侧。The focusing imaging array units distributed on both sides of the imaging array unit CX pattern may correspond to the same color channel. As shown in FIG. 11 , the focusing imaging array units W pattern are all white and distributed along the second direction on both sides of the imaging array unit CX pattern. side.
为了进一步保证色温检测的准确性,沿第二方向分布在成像阵列单元CX pattern两侧的对焦成像阵列单元可以对应不同种色彩通道,如白色对焦成像阵列单元W pattern和红色对焦成像阵列单元R pattern、又如绿色对焦成像阵列单元G pattern和蓝色对焦成像阵列单元B pattern、又如白色对焦成像阵列单元W pattern和绿色对焦成像阵列单元Gpattern。如图12所示,沿第二方向分布在成像阵列单元CX pattern两侧的对焦成像阵列单元为白色对焦成像阵列单元W pattern和红色对焦成像阵列单元R pattern。In order to further ensure the accuracy of color temperature detection, the focusing imaging array units distributed on both sides of the imaging array unit CX pattern along the second direction can correspond to different color channels, such as the white focusing imaging array unit W pattern and the red focusing imaging array unit R pattern , another example is the green focusing imaging array unit G pattern and the blue focusing imaging array unit B pattern, and another example is the white focusing imaging array unit W pattern and the green focusing imaging array unit Gpattern. As shown in FIG. 12 , the in-focus imaging array units distributed along the second direction on both sides of the imaging array unit CX pattern are a white in-focus imaging array unit W pattern and a red in-focus imaging array unit R pattern.
也就是说,沿第二方向分布在成像单元120两侧的对焦单元包含的色彩对焦像素不同,图12所示,沿第二方向分布在成像单元120两侧的对焦单元分别为白色对焦单元和红色对焦单元,白色对焦单元和红色对焦单元所包含的对焦像素分别为白色对焦像素和红色对焦像素。That is to say, the focusing units distributed on both sides of the
在一些实施例中,如果图像传感器同时在对焦像素中引入白色像素、绿色像素、蓝色像素和红色像素,那么为了保证各像素分布的均匀性,保证色温检测的准确性,间隔成像阵列单元CX pattern相邻的至少四个对焦成像阵列单元对应的颜色像素各不相同。如图13所示,白色对焦成像阵列单元W pattern、红色对焦成像阵列单元R pattern、蓝色对焦成像阵列单元B pattern和绿色对焦成像阵列单元G pattern均匀分布在各成像阵列单元CXpattern两侧。In some embodiments, if the image sensor simultaneously introduces white pixels, green pixels, blue pixels and red pixels into the focus pixels, in order to ensure the uniformity of the distribution of each pixel and the accuracy of color temperature detection, the imaging array unit CX is spaced The color pixels corresponding to at least four adjacent focus imaging array units in the pattern are different from each other. As shown in FIG. 13 , the white focus imaging array unit W pattern, the red focus imaging array unit R pattern, the blue focus imaging array unit B pattern and the green focus imaging array unit G pattern are evenly distributed on both sides of each imaging array unit CXpattern.
也就是说,图像传感器包括沿第二方向依次排布的四个对焦单元,四个对焦单元包含的色彩对焦像素不同,且四个对焦单元中的相邻两个对焦单元间隔有成像单元。如图13所示,沿第二方向依次排布的白色对焦单元、红色对焦单元、蓝色对焦单元和绿色对焦单元;且相邻的两个对焦单元间间隔有成像单元,如白色对焦单元和红色对焦单元间间隔有成像单元,又如红色对焦单元和蓝色对焦单元间间隔有成像单元。That is, the image sensor includes four focusing units arranged in sequence along the second direction, the four focusing units contain different color focusing pixels, and two adjacent focusing units in the four focusing units are separated by imaging units. As shown in FIG. 13 , the white focus unit, the red focus unit, the blue focus unit and the green focus unit are arranged in sequence along the second direction; and an imaging unit is spaced between the two adjacent focus units, such as the white focus unit and the green focus unit. An imaging unit is spaced between the red focusing units, for example, an imaging unit is spaced between the red focusing unit and the blue focusing unit.
进一步地,如图14所示,上述至少四个对焦成像阵列单元的的间隔相邻排布方式可以是白色对焦成像阵列单元、绿色对焦成像阵列单元、红色对焦成像阵列单元、蓝色对焦成像阵列单元。也就是说,沿第二方向依次排布的四个对焦单元按次序分别为白色对焦单元、绿色对焦单元、红色对焦单元和蓝色对焦单元。Further, as shown in FIG. 14 , the above-mentioned at least four focusing imaging array units can be arranged adjacently at intervals in a white focusing imaging array unit, a green focusing imaging array unit, a red focusing imaging array unit, and a blue focusing imaging array. unit. That is to say, the four focusing units arranged in sequence along the second direction are respectively a white focusing unit, a green focusing unit, a red focusing unit and a blue focusing unit in sequence.
进一步地,如果对成像效果要求较高,如图15所示,上述白色对焦成像阵列单元、绿色对焦成像阵列单元、红色对焦成像阵列单元、蓝色对焦成像阵列单元和成像阵列单元包括的成像单元120可以为两个。更进一步地,两个对焦成像阵列单元间间隔的成像阵列单元也可以为两个或两个以上。Further, if the requirements for imaging effects are high, as shown in FIG. 15 , the above-mentioned white focus imaging array unit, green focus imaging array unit, red focus imaging array unit, blue focus imaging array unit and imaging unit included in the
进一步地,上述实施例的对焦像素的结构为金属遮挡光电二极管结构、双光电二极管(dual PD像素)结构或片上微透镜光电二极管结构(2×1OCL像素或2×2OCL像素;OCL:On Chip Lens,片上微透镜),广泛适用于各种对焦结构的图像传感器中。Further, the structure of the focusing pixel in the above-mentioned embodiment is a metal shielding photodiode structure, a dual photodiode (dual PD pixel) structure or an on-chip microlens photodiode structure (2×1 OCL pixel or 2×2 OCL pixel; OCL: On Chip Lens) , on-chip microlenses), which are widely used in image sensors with various focusing structures.
在一个实施例中,提供了一种终端,可以是手机、平板电脑、便携式可穿戴式设备等,其内部结构图可以如图16所示。该终端包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该终端的处理器用于提供计算和控制能力。该终端的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该终端的通信接口用于与其他的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种检测色温的方法。该终端的显示屏可以是液晶显示屏或者电子墨水显示屏,该终端的输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a terminal is provided, which may be a mobile phone, a tablet computer, a portable wearable device, etc., and its internal structure diagram may be as shown in FIG. 16 . The terminal includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the terminal is used to provide computing and control capabilities. The memory of the terminal includes a non-volatile storage medium and an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The communication interface of the terminal is used for wired or wireless communication with other terminals, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies. The computer program, when executed by a processor, implements a method of detecting color temperature. The display screen of the terminal may be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the terminal shell, or An external keyboard, trackpad, or mouse, etc.
本领域技术人员可以理解,图16中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 16 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Specific terminals may include There are more or fewer components than shown in the figures, or some components are combined, or have a different arrangement of components.
在一个实施例中,提供了一种终端,包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时实现上述各个方法实施例中的步骤。In one embodiment, a terminal is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the steps in the above-mentioned method embodiments when the computer program is executed.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述各个方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in each of the foregoing method embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium , when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the various embodiments provided in this application may include at least one of non-volatile and volatile memory. The non-volatile memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, and the like. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, the RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上的实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110043442.4A CN114765681A (en) | 2021-01-13 | 2021-01-13 | Method, device, terminal, system and storage medium for detecting color temperature |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110043442.4A CN114765681A (en) | 2021-01-13 | 2021-01-13 | Method, device, terminal, system and storage medium for detecting color temperature |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114765681A true CN114765681A (en) | 2022-07-19 |
Family
ID=82364422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110043442.4A Withdrawn CN114765681A (en) | 2021-01-13 | 2021-01-13 | Method, device, terminal, system and storage medium for detecting color temperature |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114765681A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006060527A (en) * | 2004-08-20 | 2006-03-02 | Casio Comput Co Ltd | Imaging device and imaging device |
US20060125945A1 (en) * | 2001-08-07 | 2006-06-15 | Satoshi Suzuki | Solid-state imaging device and electronic camera and shading compensaton method |
US20080205872A1 (en) * | 2007-02-27 | 2008-08-28 | Canon Kabushiki Kaisha | Focus detection device |
JP2008209735A (en) * | 2007-02-27 | 2008-09-11 | Canon Inc | Focus detecting device |
CN102725784A (en) * | 2009-12-18 | 2012-10-10 | 株式会社半导体能源研究所 | Display device including optical sensor and driving method thereof |
US20140267839A1 (en) * | 2013-03-15 | 2014-09-18 | Sony Corporation | Signal processing unit and signal processing method |
CN104834152A (en) * | 2014-02-08 | 2015-08-12 | 深圳富泰宏精密工业有限公司 | System and method of controlling camera flash lamp shooting |
CN107734319A (en) * | 2017-11-28 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image white balancing treatment method and device, storage medium and electronic equipment |
CN107786822A (en) * | 2016-08-30 | 2018-03-09 | 三星电子株式会社 | Imaging sensor and its driving method |
CN108471504A (en) * | 2016-02-29 | 2018-08-31 | 广东欧珀移动通信有限公司 | A kind of filming control method, device and intelligent terminal |
CN212343888U (en) * | 2020-06-10 | 2021-01-12 | 深圳市汇顶科技股份有限公司 | Image sensor and electronic equipment |
-
2021
- 2021-01-13 CN CN202110043442.4A patent/CN114765681A/en not_active Withdrawn
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060125945A1 (en) * | 2001-08-07 | 2006-06-15 | Satoshi Suzuki | Solid-state imaging device and electronic camera and shading compensaton method |
JP2006060527A (en) * | 2004-08-20 | 2006-03-02 | Casio Comput Co Ltd | Imaging device and imaging device |
US20080205872A1 (en) * | 2007-02-27 | 2008-08-28 | Canon Kabushiki Kaisha | Focus detection device |
JP2008209735A (en) * | 2007-02-27 | 2008-09-11 | Canon Inc | Focus detecting device |
CN102725784A (en) * | 2009-12-18 | 2012-10-10 | 株式会社半导体能源研究所 | Display device including optical sensor and driving method thereof |
US20140267839A1 (en) * | 2013-03-15 | 2014-09-18 | Sony Corporation | Signal processing unit and signal processing method |
CN104834152A (en) * | 2014-02-08 | 2015-08-12 | 深圳富泰宏精密工业有限公司 | System and method of controlling camera flash lamp shooting |
CN108471504A (en) * | 2016-02-29 | 2018-08-31 | 广东欧珀移动通信有限公司 | A kind of filming control method, device and intelligent terminal |
CN107786822A (en) * | 2016-08-30 | 2018-03-09 | 三星电子株式会社 | Imaging sensor and its driving method |
CN107734319A (en) * | 2017-11-28 | 2018-02-23 | 广东欧珀移动通信有限公司 | Image white balancing treatment method and device, storage medium and electronic equipment |
CN212343888U (en) * | 2020-06-10 | 2021-01-12 | 深圳市汇顶科技股份有限公司 | Image sensor and electronic equipment |
Non-Patent Citations (1)
Title |
---|
窦宗强;戴锦文;孙海涛;卜祥晒;刘刚;: "新型车载式道路照明检测系统的研究", 光源与照明, no. 04, 30 December 2014 (2014-12-30) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10484627B2 (en) | Image sensor with improved micro-lens, related imaging method and electronic device | |
CN112118388B (en) | Image processing method, image processing device, computer equipment and storage medium | |
TWI397053B (en) | Liquid crystal display device capable of automatically adjusting brightness and method thereof | |
CN112686802B (en) | Image stitching method, device, equipment and storage medium | |
WO2022143283A1 (en) | Camera calibration method and apparatus, and computer device and storage medium | |
JP7500869B2 (en) | White balance correction method, device and electronic device | |
CN108737815B (en) | Quality detection method and system of image sensor | |
US20220260414A1 (en) | Methods and apparatuses for detecting ambient light illuminance and for computing correction coefficient and electronic device | |
CN105516699B (en) | Image sensor, imaging method thereof, imaging device and electronic device | |
US11875531B1 (en) | Detection method, electronic device, and computer-readable storage medium | |
CN115587948B (en) | Image dark field correction method and device | |
US9939534B2 (en) | Methods and apparatuses for detection of radiation with semiconductor image sensors | |
KR20120114021A (en) | Method for correcting defect pixels | |
CN215187066U (en) | Image sensor and terminal | |
CN115479665A (en) | Ambient light detection method and electronic equipment | |
CN101969575B (en) | A kind of method that the imageing sensor of camera head is detected and checkout gear | |
CN113639881A (en) | Color temperature testing method and device, computer readable medium and electronic equipment | |
CN114765681A (en) | Method, device, terminal, system and storage medium for detecting color temperature | |
CN116130375A (en) | Method and system for analyzing quality of semiconductor film | |
CN112584057A (en) | Illuminance detection method and device | |
CN118762626A (en) | Screen brightness uniformity detection method and detection equipment | |
US10957729B2 (en) | Image sensor with embedded light-measuring pixels and method of automatic exposure control using the same | |
WO2018028165A1 (en) | Terminal and manufacturing process thereof | |
CN107862317B (en) | Visible light image RGB (red, green and blue) identification method for corona of power transmission equipment in sunlight environment | |
CN117835082A (en) | Multi-band flat field correction method, system and medium with self-adaptive environment temperature |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220719 |