CN115706750B - Color temperature calibration method, color temperature calibration device and storage medium - Google Patents
Color temperature calibration method, color temperature calibration device and storage medium Download PDFInfo
- Publication number
- CN115706750B CN115706750B CN202110906438.6A CN202110906438A CN115706750B CN 115706750 B CN115706750 B CN 115706750B CN 202110906438 A CN202110906438 A CN 202110906438A CN 115706750 B CN115706750 B CN 115706750B
- Authority
- CN
- China
- Prior art keywords
- color temperature
- calibration
- screen
- ambient
- color
- 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.)
- Active
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域Technical Field
本公开涉及图像处理领域,尤其涉及一种色温校准方法、色温校准装置及存储介质。The present disclosure relates to the field of image processing, and in particular to a color temperature calibration method, a color temperature calibration device and a storage medium.
背景技术Background technique
随着科技的发展和用户审美水平的提高,对于终端所拍摄图像的要求也越来越高。在终端上设置色温传感器,通过色温传感器采集外部环境的色温,终端利用该采集的外部环境色温对拍摄图像进行优化,改善图像的偏色问题,能够使图像的呈现效果更出色。With the development of science and technology and the improvement of users' aesthetic level, the requirements for images taken by terminals are getting higher and higher. A color temperature sensor is set on the terminal to collect the color temperature of the external environment. The terminal uses the collected external environment color temperature to optimize the captured image, improve the color cast problem of the image, and make the image presentation effect better.
相关技术中,通常采用在终端上开孔以放置色温传感器,进行外部环境色温采集。伴随着全面屏的普及越来越多的终端需要将色温传感器放置在屏幕下方。将色温传感器放置在屏幕下方后,由于屏幕本身的漏光会干扰屏下色温传感器的采集色温数据的准确性,采用已有方案排除屏幕漏光对色温传感器的干扰后,该方案是否真正提高了色温数据的准确性有待验证。In the related art, a hole is usually opened on the terminal to place a color temperature sensor to collect the color temperature of the external environment. With the popularity of full-screen displays, more and more terminals need to place color temperature sensors under the screen. After placing the color temperature sensor under the screen, the light leakage of the screen itself will interfere with the accuracy of the color temperature data collected by the color temperature sensor under the screen. After using the existing solution to eliminate the interference of screen light leakage on the color temperature sensor, whether this solution really improves the accuracy of the color temperature data remains to be verified.
发明内容Summary of the invention
为克服相关技术中存在的问题,本公开提供一种色温校准方法、色温校准装置及存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a color temperature calibration method, a color temperature calibration device and a storage medium.
根据本公开实施例的第一方面,提供一种色温校准方法,应用于终端,所述终端中包括屏下色温传感器,所述色温校准方法包括:According to a first aspect of an embodiment of the present disclosure, a color temperature calibration method is provided, which is applied to a terminal, wherein the terminal includes an under-screen color temperature sensor, and the color temperature calibration method includes:
获取色温校准数据;控制所述终端在预设测试环境下显示至少一张背景图片,并控制所述屏下色温传感器进行环境光色温采集,得到至少一个环境色温采集值,所述环境色温采集值与所述背景图片之间具有一一对应关系;基于所述色温校准数据,对所述至少一个环境色温采集值分别进行色温校准,得到环境色温校准值;基于所述环境色温校准值与所述测试环境下的实际环境色温值,确定基于所述色温校准数据进行色温校准的准确性。Acquire color temperature calibration data; control the terminal to display at least one background image under a preset test environment, and control the under-screen color temperature sensor to collect the color temperature of ambient light to obtain at least one ambient color temperature collection value, wherein the ambient color temperature collection value has a one-to-one correspondence with the background image; based on the color temperature calibration data, perform color temperature calibration on the at least one ambient color temperature collection value to obtain an ambient color temperature calibration value; based on the ambient color temperature calibration value and the actual ambient color temperature value under the test environment, determine the accuracy of the color temperature calibration based on the color temperature calibration data.
在一种实施方式中,所述色温校准数据包括屏幕颜色分量、屏幕亮度分量以及环境光透过率分量,并采用如下方式确定:In one implementation, the color temperature calibration data includes a screen color component, a screen brightness component, and an ambient light transmittance component, and is determined in the following manner:
在环境光亮度低于亮度阈值的暗室校准环境下,控制所述终端在最大显示亮度下显示颜色通道对应的单色图片,并控制所述屏下色温传感器采集数据,将所述屏下色温传感器在显示单色图片情况下采集的数据作为屏幕颜色分量;在环境光亮度低于亮度阈值的暗室校准环境下,控制所述终端在不同显示亮度下显示纯白色图片,并控制所述屏下色温传感器采集数据,将所述屏下色温传感器在显示纯白色图片情况下采集的数据作为屏幕亮度分量;在具有固定环境光亮度以及色温的校准光箱提供的校准环境下,控制所述终端关闭屏幕,并控制所述屏下色温传感器采集数据,将所述屏下色温传感器在关闭屏幕情况下采集的数据作为环境光透过率分量。In a darkroom calibration environment where the ambient light brightness is lower than a brightness threshold, the terminal is controlled to display a monochrome picture corresponding to a color channel at a maximum display brightness, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when displaying a monochrome picture is used as the screen color component; in a darkroom calibration environment where the ambient light brightness is lower than a brightness threshold, the terminal is controlled to display a pure white picture at different display brightnesses, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when displaying a pure white picture is used as the screen brightness component; in a calibration environment provided by a calibration light box with fixed ambient light brightness and color temperature, the terminal is controlled to turn off the screen, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when the screen is turned off is used as the ambient light transmittance component.
在一种实施方式中,所述控制所述终端在预设测试环境下显示至少一张背景图片,包括:In one implementation, controlling the terminal to display at least one background image under a preset test environment includes:
控制所述终端在测试光箱提供的测试环境下,显示至少一张背景图片;所述测试光箱具有与所述校准光箱相同的色温,且不同的环境光亮度。The terminal is controlled to display at least one background picture under a test environment provided by a test light box; the test light box has the same color temperature as the calibration light box, but a different ambient light brightness.
在一种实施方式中,所述显示至少一张背景图片,包括:In one implementation, displaying at least one background image includes:
针对全部颜色通道中各颜色通道分别显示对应的背景图片组,其中,每一颜色通道对应的背景图片组中包括该颜色通道对应颜色中亮度高于第一亮度阈值的第一背景图片,以及亮度低于第二亮度阈值的第二背景图片,所述第一亮度阈值大于所述第二亮度阈值。A corresponding background image group is displayed for each color channel in all color channels, wherein the background image group corresponding to each color channel includes a first background image with brightness higher than a first brightness threshold in the color corresponding to the color channel, and a second background image with brightness lower than a second brightness threshold, and the first brightness threshold is greater than the second brightness threshold.
在一种实施方式中,所述基于所述环境色温校准值与所述测试环境下的实际环境色温值,确定基于所述色温校准数据进行色温校准的准确性,包括:In one implementation, determining the accuracy of color temperature calibration based on the color temperature calibration data based on the ambient color temperature calibration value and the actual ambient color temperature value under the test environment includes:
若全部颜色通道中各颜色通道对应的背景图片组中各背景图片对应的环境色温校准值与所述测试环境下的实际环境色温值之间的差值均小于色温阈值,则确定基于所述色温校准数据进行色温校准是准确的;若全部颜色通道中各颜色通道对应的背景图片组中各背景图片中存在任一环境色温校准值与所述测试环境下的实际环境色温值之间的差值大于或等于色温阈值,则确定基于所述色温校准数据进行色温校准是非准确的。If the differences between the ambient color temperature calibration values corresponding to each background picture in the background picture group corresponding to each color channel in all color channels and the actual ambient color temperature values under the test environment are all less than the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is accurate; if the difference between any ambient color temperature calibration value in each background picture in the background picture group corresponding to each color channel in all color channels and the actual ambient color temperature value under the test environment is greater than or equal to the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is inaccurate.
根据本公开实施例的第二方面,提供一种色温校准装置,应用于终端,所述终端中包括屏下色温传感器,所述色温校准装置包括:According to a second aspect of an embodiment of the present disclosure, a color temperature calibration device is provided, which is applied to a terminal, wherein the terminal includes an under-screen color temperature sensor, and the color temperature calibration device includes:
获取单元,用于获取色温校准数据;控制单元,用于控制所述终端在预设测试环境下显示至少一张背景图片,并控制所述屏下色温传感器进行环境光色温采集,得到至少一个环境色温采集值,所述环境色温采集值与所述背景图片之间具有一一对应关系;校准单元,用于基于所述色温校准数据,对所述至少一个环境色温采集值分别进行色温校准,得到环境色温校准值;确定单元,用于基于所述环境色温校准值与所述测试环境下的实际环境色温值,确定基于所述色温校准数据进行色温校准的准确性。An acquisition unit is used to acquire color temperature calibration data; a control unit is used to control the terminal to display at least one background image under a preset test environment, and control the under-screen color temperature sensor to collect the color temperature of ambient light to obtain at least one ambient color temperature collection value, and there is a one-to-one correspondence between the ambient color temperature collection value and the background image; a calibration unit is used to perform color temperature calibration on the at least one ambient color temperature collection value based on the color temperature calibration data to obtain an ambient color temperature calibration value; a determination unit is used to determine the accuracy of the color temperature calibration based on the color temperature calibration data based on the ambient color temperature calibration value and the actual ambient color temperature value under the test environment.
在一种实施方式中,所述色温校准数据包括屏幕颜色分量、屏幕亮度分量以及环境光透过率分量,并采用如下方式确定:In one implementation, the color temperature calibration data includes a screen color component, a screen brightness component, and an ambient light transmittance component, and is determined in the following manner:
在环境光亮度低于亮度阈值的暗室校准环境下,控制所述终端在最大显示亮度下显示颜色通道对应的单色图片,并控制所述屏下色温传感器采集数据,将所述屏下色温传感器在显示单色图片情况下采集的数据作为屏幕颜色分量;在环境光亮度低于亮度阈值的暗室校准环境下,控制所述终端在不同显示亮度下显示纯白色图片,并控制所述屏下色温传感器采集数据,将所述屏下色温传感器在显示纯白色图片情况下采集的数据作为屏幕亮度分量;在具有固定环境光亮度以及色温的校准光箱提供的校准环境下,控制所述终端关闭屏幕,并控制所述屏下色温传感器采集数据,将所述屏下色温传感器在关闭屏幕情况下采集的数据作为环境光透过率分量。In a darkroom calibration environment where the ambient light brightness is lower than a brightness threshold, the terminal is controlled to display a monochrome picture corresponding to a color channel at a maximum display brightness, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when displaying a monochrome picture is used as the screen color component; in a darkroom calibration environment where the ambient light brightness is lower than a brightness threshold, the terminal is controlled to display a pure white picture at different display brightnesses, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when displaying a pure white picture is used as the screen brightness component; in a calibration environment provided by a calibration light box with fixed ambient light brightness and color temperature, the terminal is controlled to turn off the screen, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when the screen is turned off is used as the ambient light transmittance component.
在一种实施方式中,所述控制单元,用于:In one embodiment, the control unit is used to:
控制所述终端在测试光箱提供的测试环境下,显示至少一张背景图片;所述测试光箱具有与所述校准光箱相同的色温,且不同的环境光亮度。The terminal is controlled to display at least one background picture under a test environment provided by a test light box; the test light box has the same color temperature as the calibration light box, but a different ambient light brightness.
在一种实施方式中,所述控制单元,用于:In one embodiment, the control unit is used to:
针对全部颜色通道中各颜色通道分别显示对应的背景图片组,其中,每一颜色通道对应的背景图片组中包括该颜色通道对应颜色中亮度高于第一亮度阈值的第一背景图片,以及亮度低于第二亮度阈值的第二背景图片,所述第一亮度阈值大于所述第二亮度阈值。A corresponding background image group is displayed for each color channel in all color channels, wherein the background image group corresponding to each color channel includes a first background image with brightness higher than a first brightness threshold in the color corresponding to the color channel, and a second background image with brightness lower than a second brightness threshold, and the first brightness threshold is greater than the second brightness threshold.
在一种实施方式中,所述确定单元,包括:In one implementation, the determining unit includes:
若全部颜色通道中各颜色通道对应的背景图片组中各背景图片对应的环境色温校准值与所述测试环境下的实际环境色温值之间的差值均小于色温阈值,则确定基于所述色温校准数据进行色温校准是准确的;若全部颜色通道中各颜色通道对应的背景图片组中各背景图片中存在任一环境色温校准值与所述测试环境下的实际环境色温值之间的差值大于或等于色温阈值,则确定基于所述色温校准数据进行色温校准是非准确的。If the differences between the ambient color temperature calibration values corresponding to each background picture in the background picture group corresponding to each color channel in all color channels and the actual ambient color temperature values under the test environment are all less than the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is accurate; if the difference between any ambient color temperature calibration value in each background picture in the background picture group corresponding to each color channel in all color channels and the actual ambient color temperature value under the test environment is greater than or equal to the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is inaccurate.
根据本公开实施例的第三方面,提供一种色温校准装置,包括:According to a third aspect of an embodiment of the present disclosure, a color temperature calibration device is provided, including:
处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行第一方面或第二方面中任意一种实施方式中所述的色温校准方法。A processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the color temperature calibration method described in any one of the embodiments of the first aspect or the second aspect.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行第一方面或第二方面中任意一种实施方式中所述的色温校准方法。According to the fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the color temperature calibration method described in any one of the embodiments of the first aspect or the second aspect.
本公开的实施例提供的技术方案可以包括以下有益效果:通过控制终端在测试环境中显示背景图片,并控制屏下色温传感器进行环境光色温采集得到与背景图片对应的环境色温采集值,基于获取的色温校准数据对环境色温采集值进行色温校准,得到环境色温校准值,根据环境色温校准值与测试环境中的实际色温值确定色温校准数据的准确性。如此,利用测试环境对色温校准数据校准环境色温采集值的校准过程进行测试,以提高色温校准过程的准确率。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: by controlling the terminal to display a background picture in a test environment, and controlling the under-screen color temperature sensor to collect the color temperature of the ambient light to obtain an ambient color temperature collection value corresponding to the background picture, color temperature calibration is performed on the ambient color temperature collection value based on the acquired color temperature calibration data to obtain an ambient color temperature calibration value, and the accuracy of the color temperature calibration data is determined based on the ambient color temperature calibration value and the actual color temperature value in the test environment. In this way, the calibration process of calibrating the ambient color temperature collection value with the color temperature calibration data is tested using the test environment to improve the accuracy of the color temperature calibration process.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
图1是根据一示例性实施例示出的一种色温校准方法的流程图。Fig. 1 is a flow chart showing a color temperature calibration method according to an exemplary embodiment.
图2是根据一示例性实施例示出的暗室的示意图。Fig. 2 is a schematic diagram of a darkroom according to an exemplary embodiment.
图3是根据一示例性实施例示出的获取色温校准数据的示意图。Fig. 3 is a schematic diagram showing a method of acquiring color temperature calibration data according to an exemplary embodiment.
图4是根据一示例性实施例示出的对色温校准方法的测试示意图。Fig. 4 is a schematic diagram showing a test method for color temperature calibration according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种色温校准装置框图。Fig. 5 is a block diagram of a color temperature calibration device according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种用于色温校准装置的框图。Fig. 6 is a block diagram showing a device for color temperature calibration according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
近年来,终端的设计更趋于人性化,例如为终端配置色温传感器,用于检测终端所处外界环境光的亮度,以对终端显示屏幕的亮度进行调节,从而提高用户浏览屏幕时的舒适度。又例如通过色温传感器补偿显示屏的颜色修正,使拍出的照片颜色更接近实际场景。终端屏幕亮度随终端所处环境变化的预期效果,以及照片效果逼近实际场景的实现,依赖于色温传感器采集准确的环境色温值,但色温传感器采集到的环境色温值存在误差。导致色温传感器采集到的环境色温值存在误差的主要原因是,为了适应终端的全面屏设计,色温传感器被设置在终端全面屏的下方,而目前的全面屏采用OLED(Organic Light-Emitting Diode,有机发光二极管)显示技术。故,当色温传感器安装于自发光显示屏下方时,除了接收透过屏幕接收环境光,还会直接接收OLED屏幕向下漏光,同时随着显示屏的亮度和背景图片的变化,导致漏光的强度极大地影响了采集环境色温值的精度。相关技术中,提供了很多方式对色温传感器采集的环境色温值进行校准,以达到减小终端屏幕漏光对色温传感器的影响,但通过色温校准方法是否达到色温校准的目的并不确定。In recent years, the design of terminals has become more user-friendly. For example, a color temperature sensor is configured for the terminal to detect the brightness of the ambient light in the terminal so as to adjust the brightness of the terminal display screen, thereby improving the comfort of the user when browsing the screen. Another example is to compensate the color correction of the display screen through the color temperature sensor so that the color of the taken photo is closer to the actual scene. The expected effect of the terminal screen brightness changing with the environment in which the terminal is located, and the realization of the photo effect close to the actual scene, rely on the color temperature sensor to collect accurate ambient color temperature values, but the ambient color temperature value collected by the color temperature sensor has errors. The main reason for the error in the ambient color temperature value collected by the color temperature sensor is that in order to adapt to the full-screen design of the terminal, the color temperature sensor is set below the full-screen of the terminal, and the current full-screen adopts OLED (Organic Light-Emitting Diode, organic light-emitting diode) display technology. Therefore, when the color temperature sensor is installed below the self-luminous display screen, in addition to receiving the ambient light through the screen, it will also directly receive the downward leakage of the OLED screen. At the same time, as the brightness of the display screen and the background picture change, the intensity of the leakage light greatly affects the accuracy of the collected ambient color temperature value. In the related art, many methods are provided to calibrate the ambient color temperature value collected by the color temperature sensor to reduce the impact of terminal screen leakage on the color temperature sensor, but it is uncertain whether the color temperature calibration method can achieve the purpose of color temperature calibration.
有鉴于此,本公开实施例提供了一种色温校准方法用于对校准后的环境色温值进行测试,以确定色温校准的准确性。该色温校准方法将终端放置在测试环境中,控制终端显示预先设定的背景图片,并控制色温传感器进行环境光色温采集,得到与背景图片对应的环境色温采集值,基于获取的色温校准数据对环境色温采集值进行色温校准,得到环境色温校准值;判断环境色温校准值与测试环境下的实际环境色温值之间的偏差是否满足设定准确性要求,若环境色温校准值与测试环境下的实际环境色温值之间的偏差满足设定准确性要求,则确定基于色温校准数据进行色温校准准确,若环境色温校准值与测试环境下的实际环境色温值之间的偏差不满足设定准确性要求,则确定基于色温校准数据进行色温校准不准确。In view of this, the embodiment of the present disclosure provides a color temperature calibration method for testing the calibrated ambient color temperature value to determine the accuracy of the color temperature calibration. The color temperature calibration method places a terminal in a test environment, controls the terminal to display a pre-set background picture, and controls the color temperature sensor to collect the color temperature of the ambient light to obtain an ambient color temperature collection value corresponding to the background picture, performs color temperature calibration on the ambient color temperature collection value based on the acquired color temperature calibration data to obtain an ambient color temperature calibration value; determines whether the deviation between the ambient color temperature calibration value and the actual ambient color temperature value under the test environment meets the set accuracy requirement, if the deviation between the ambient color temperature calibration value and the actual ambient color temperature value under the test environment meets the set accuracy requirement, then determines that the color temperature calibration based on the color temperature calibration data is accurate, if the deviation between the ambient color temperature calibration value and the actual ambient color temperature value under the test environment does not meet the set accuracy requirement, then determines that the color temperature calibration based on the color temperature calibration data is inaccurate.
需要说明的是,为了描述简洁,本实施例将设置在终端显示屏幕下方的色温传感器,简称为屏下色温传感器。但本领域技术人员应理解的是,本实施例并不仅限于屏下色温传感器,通过开孔或其他方式设置在终端上的色温传感器,若采用本公开实施例相应的色温校准方法,也应在本公开实施例所保护的范围内。It should be noted that, for the sake of simplicity, this embodiment refers to the color temperature sensor disposed below the terminal display screen as the under-screen color temperature sensor. However, those skilled in the art should understand that this embodiment is not limited to the under-screen color temperature sensor, and a color temperature sensor disposed on the terminal by opening a hole or other means, if the color temperature calibration method corresponding to the embodiment of the present disclosure is adopted, should also be within the scope of protection of the embodiment of the present disclosure.
进一步的,本公开实施例中涉及的终端,也可以称为终端设备、设备、移动台(Mobile Station,MS)、移动终端(Mobile Terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备,例如,UE可以是具有无线连接功能的手持式设备、车载设备等。目前,一些UE的举例为:智能手机(Mobile Phone)、口袋计算机(Pocket Personal Computer,PPC)、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、笔记本电脑、平板电脑、可穿戴设备、或者车载设备等。应理解,本公开实施例对终端所采用的具体技术和具体设备形态不做限定。Furthermore, the terminal involved in the embodiments of the present disclosure may also be referred to as a terminal device, device, mobile station (MS), mobile terminal (MT), etc., which is a device that provides voice and/or data connectivity to users. For example, UE may be a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of UE are: a smart phone (Mobile Phone), a pocket computer (Pocket Personal Computer, PPC), a handheld computer, a personal digital assistant (Personal Digital Assistant, PDA), a laptop computer, a tablet computer, a wearable device, or a vehicle-mounted device, etc. It should be understood that the embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the terminal.
图1是根据一示例性实施例示出的一种色温校准方法的流程图。本实施例提供的色温校准方法应用于终端中,且终端中包括屏下色温传感器。如图1所示,色温校准方法包括以下步骤。FIG1 is a flow chart of a color temperature calibration method according to an exemplary embodiment. The color temperature calibration method provided in this embodiment is applied to a terminal, and the terminal includes an under-screen color temperature sensor. As shown in FIG1 , the color temperature calibration method includes the following steps.
在步骤S11中,获取色温校准数据。In step S11 , color temperature calibration data is acquired.
在该步骤中,一方面,色温校准数据可以是终端实时获取得到的。另一方面,色温校准数据可以是预先存储在终端的数据。In this step, on the one hand, the color temperature calibration data can be obtained by the terminal in real time. On the other hand, the color temperature calibration data can be data pre-stored in the terminal.
本公开实施例中,色温校准数据用于表征对色温传感器进行色温校准的数据。色温校准数据表征终端屏幕漏光对屏下色温传感器产生干扰的偏差值,利用色温校准数据校准屏下色温传感器采集到的环境色温采集值,得到满足准确性要求的环境色温值。In the disclosed embodiment, the color temperature calibration data is used to characterize the data for color temperature calibration of the color temperature sensor. The color temperature calibration data characterizes the deviation value of the interference of the terminal screen leakage light on the under-screen color temperature sensor, and the color temperature calibration data is used to calibrate the ambient color temperature collection value collected by the under-screen color temperature sensor to obtain an ambient color temperature value that meets the accuracy requirements.
在步骤S12中,控制终端在预设测试环境下显示至少一张背景图片,并控制屏下色温传感器进行环境光色温采集,得到至少一个环境色温采集值。In step S12, the control terminal displays at least one background picture under a preset test environment, and controls the color temperature sensor under the screen to collect the color temperature of the ambient light to obtain at least one ambient color temperature collection value.
在本实施例中,测试环境通过密闭空间提供,该密闭空间的大小需要满足能放置待测试的终端。测试色温校准准确性时,在密闭空间内提供设定环境色温和亮度的环境,其中环境色温和亮度根据测试需要进行设定。例如密闭空间为箱体,该箱体内设置有光源,为了保证终端屏幕完全被光线覆盖,可以选择面光源,本实施例中将设有面光源的封闭箱体称为光箱。In this embodiment, the test environment is provided by a closed space, and the size of the closed space needs to be sufficient to place the terminal to be tested. When testing the accuracy of color temperature calibration, an environment with set ambient color temperature and brightness is provided in the closed space, where the ambient color temperature and brightness are set according to the test needs. For example, the closed space is a box, and a light source is provided in the box. In order to ensure that the terminal screen is completely covered by light, a surface light source can be selected. In this embodiment, the closed box with a surface light source is called a light box.
将待测试的终端放置在用于测试的光箱中,调节光箱内的色温至设定的测试环境色温,并调节光箱内的亮度至设定的测试环境亮度,通过测试环境色温和测试环境亮度为待测试的终端提供色温校准的准确性测试的测试环境。控制终端在测试环境中显示背景图片,背景图片的数量以及背景图片的内容是根据实际测试场景进行设置的,本实施例中不作具体限定。显示背景图片的目的是为了模拟终端在实际生活中被使用时,终端屏幕中显示的图片产生的漏光对屏下色温传感器采集环境光色温的影响。在终端显示背景图片时,控制屏下色温传感器采集环境光色温,得到环境光色温采集值,该环境光色温采集值用于表征在当前测试环境色温、测试环境亮度,以及背景图片的情况下,屏下色温传感器采集到的环境光色温值。环境色温采集值与背景图片之间具有一一对应关系,例如有X张背景图片则对应X个环境色温采集值,其中,X为整数。The terminal to be tested is placed in a light box for testing, the color temperature in the light box is adjusted to the set test environment color temperature, and the brightness in the light box is adjusted to the set test environment brightness, and the test environment color temperature and the test environment brightness are used to provide the terminal to be tested with a test environment for the accuracy test of color temperature calibration. The terminal is controlled to display background pictures in the test environment, and the number of background pictures and the content of the background pictures are set according to the actual test scene, which is not specifically limited in this embodiment. The purpose of displaying the background picture is to simulate the effect of light leakage generated by the picture displayed on the terminal screen on the color temperature of the ambient light collected by the color temperature sensor under the screen when the terminal is used in real life. When the terminal displays the background picture, the color temperature sensor under the screen is controlled to collect the color temperature of the ambient light to obtain the color temperature collection value of the ambient light, which is used to characterize the color temperature value of the ambient light collected by the color temperature sensor under the screen under the current test environment color temperature, the test environment brightness, and the background picture. There is a one-to-one correspondence between the ambient color temperature collection value and the background picture. For example, if there are X background pictures, there are X ambient color temperature collection values corresponding to them, where X is an integer.
在步骤S13中,基于色温校准数据,对至少一个环境色温采集值分别进行色温校准,得到环境色温校准值。In step S13, color temperature calibration is performed on at least one ambient color temperature acquisition value based on the color temperature calibration data to obtain an ambient color temperature calibration value.
在该步骤中,在利用色温校准数据对环境色温采集值进行色温校准时,当存在多个环境色温采集值,则需要逐一对环境色温采集值基于色温校准数据进行色温校准,色温校准过程可以为从环境色温采集值中去除色温校准数据,得到去除色温校准数据后的环境色温校准值。环境色温校准数据是指因终端屏幕漏光导致屏下色温传感器采集到的环境色温采集值不准确的分量。In this step, when color temperature calibration data is used to calibrate the ambient color temperature collection value, if there are multiple ambient color temperature collection values, it is necessary to perform color temperature calibration on the ambient color temperature collection values one by one based on the color temperature calibration data. The color temperature calibration process may be to remove the color temperature calibration data from the ambient color temperature collection value to obtain the ambient color temperature calibration value after the color temperature calibration data is removed. The ambient color temperature calibration data refers to the inaccurate component of the ambient color temperature collection value collected by the under-screen color temperature sensor due to light leakage from the terminal screen.
在一种实施方式中,色温校准数据包括屏幕颜色分量、屏幕亮度分量和环境光透过率分量。可以理解为,由于屏幕颜色分量、屏幕亮度分量和环境光透过率分量等干扰分量的存在,导致屏下色温采集器采集到的环境色温采集值不准确。因此,利用色温校准数据进行色温校准的过程实质上可以理解为是从屏幕颜色维度、屏幕亮度维度以及环境光透过率维度,分别去除干扰分量的过程。即,上述从环境色温采集值中去除色温校准数据,得到去除色温校准数据后的环境色温校准值的过程可以理解为是应用干扰消除算法,对屏下色温传感器采集到的环境色温采集值去除色温校准数据中的屏幕颜色分量、屏幕亮度分量以及环境光透过率分量等干扰分量,最终得到环境色温校准值。In one embodiment, the color temperature calibration data includes a screen color component, a screen brightness component, and an ambient light transmittance component. It can be understood that due to the presence of interference components such as the screen color component, the screen brightness component, and the ambient light transmittance component, the ambient color temperature acquisition value collected by the under-screen color temperature collector is inaccurate. Therefore, the process of color temperature calibration using color temperature calibration data can essentially be understood as a process of removing interference components from the screen color dimension, the screen brightness dimension, and the ambient light transmittance dimension, respectively. That is, the above process of removing the color temperature calibration data from the ambient color temperature acquisition value to obtain the ambient color temperature calibration value after removing the color temperature calibration data can be understood as applying an interference elimination algorithm to remove interference components such as the screen color component, the screen brightness component, and the ambient light transmittance component in the color temperature calibration data from the ambient color temperature acquisition value collected by the under-screen color temperature sensor, and finally obtaining the ambient color temperature calibration value.
其中,上述涉及的干扰消除算法可以应用相关技术中涉及的算法,本公开实施例在此不做限定。The interference elimination algorithm mentioned above may apply the algorithm involved in the related technology, and the embodiments of the present disclosure do not limit this.
在步骤S14中,基于环境色温校准值与测试环境下的实际环境色温值,确定基于色温校准数据进行色温校准的准确性。In step S14, based on the ambient color temperature calibration value and the actual ambient color temperature value under the test environment, the accuracy of the color temperature calibration based on the color temperature calibration data is determined.
在本实施例中,当环境色温校准值与实际环境色温值之间的差值在设定范围内,表明通过色温校准数据进行色温校准的准确性满足要求,即通过色温校准数据进行色温校准后消除了环境色温采集值中屏幕漏光产生的影响,验证了色温校准数据的准确性,进一步确保环境色温校准值的准确性。当环境色温校准值与实际环境色温值之间的差值不在设定范围内,表明通过色温校准数据进行色温校准的准确性不满足要求。换言之,通过色温校准数据进行色温校准的并没有去除屏幕漏光对环境色温采集值的干扰,该色温校准数据没有达到进行色温校准的目的。In this embodiment, when the difference between the ambient color temperature calibration value and the actual ambient color temperature value is within the set range, it indicates that the accuracy of the color temperature calibration performed by the color temperature calibration data meets the requirements, that is, the color temperature calibration performed by the color temperature calibration data eliminates the influence of screen light leakage in the ambient color temperature acquisition value, verifies the accuracy of the color temperature calibration data, and further ensures the accuracy of the ambient color temperature calibration value. When the difference between the ambient color temperature calibration value and the actual ambient color temperature value is not within the set range, it indicates that the accuracy of the color temperature calibration performed by the color temperature calibration data does not meet the requirements. In other words, the color temperature calibration performed by the color temperature calibration data does not eliminate the interference of screen light leakage on the ambient color temperature acquisition value, and the color temperature calibration data does not achieve the purpose of color temperature calibration.
在本公开实施例中,色温校准数据包括屏幕颜色分量、屏幕亮度分量和/或环境光透过率分量。在该实施例中分别对屏幕颜色分量、屏幕亮度分量和环境光透过率分量的确定方式进行说明。In the embodiment of the present disclosure, the color temperature calibration data includes a screen color component, a screen brightness component and/or an ambient light transmittance component. In this embodiment, the determination methods of the screen color component, the screen brightness component and the ambient light transmittance component are respectively described.
在本实施例中,在环境光亮度低于亮度阈值的暗室校准环境下,控制终端在最大显示亮度下显示颜色通道对应的单色图片,并控制屏下色温传感器采集数据,将屏下色温传感器在显示单色图片情况下采集的数据作为屏幕颜色分量。In this embodiment, in a dark room calibration environment where the ambient light brightness is lower than the brightness threshold, the terminal is controlled to display a monochrome picture corresponding to the color channel at the maximum display brightness, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when displaying a monochrome picture is used as the screen color component.
暗室校准环境可以为封闭空间且该封闭空间内的环境亮度低于亮度阈值。也可以为开放空间且该开放空间内的环境亮度低于亮度阈值。亮度阈值可以根据实际场景进行设定,本实施例不作具体限定。本实施例以暗室校准环境为例,如图2所示,将终端11放置在暗室10生成的暗室校准环境中,并控制终端11在屏幕最大显示亮度下显示颜色通道对应的单色图片。以屏下色温传感器为RGB传感器为例,单色图片是指红色、绿色和蓝色三种颜色的图片,控制屏下色温传感器采集每一单色图片下的数据,将屏下色温传感器在显示单色图片情况下采集的数据作为屏幕颜色分量。The darkroom calibration environment can be a closed space and the ambient brightness in the closed space is lower than the brightness threshold. It can also be an open space and the ambient brightness in the open space is lower than the brightness threshold. The brightness threshold can be set according to the actual scenario, and this embodiment does not specifically limit it. This embodiment takes the darkroom calibration environment as an example. As shown in FIG2 , the terminal 11 is placed in the darkroom calibration environment generated by the darkroom 10, and the terminal 11 is controlled to display the monochrome picture corresponding to the color channel at the maximum display brightness of the screen. Taking the under-screen color temperature sensor as an RGB sensor as an example, a monochrome picture refers to a picture of three colors: red, green and blue. The under-screen color temperature sensor is controlled to collect data under each monochrome picture, and the data collected by the under-screen color temperature sensor when displaying a monochrome picture is used as the screen color component.
本实施例中,在环境光亮度低于亮度阈值的暗室校准环境下,控制终端在不同显示亮度下显示纯白色图片,并控制屏下色温传感器采集数据,将屏下色温传感器在显示纯白色图片情况下采集的数据作为屏幕亮度分量。In this embodiment, in a dark room calibration environment where the ambient light brightness is lower than the brightness threshold, the terminal is controlled to display a pure white picture at different display brightnesses, and the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when displaying a pure white picture is used as the screen brightness component.
在暗室校准环境中,控制亮度按设定调整阶梯进行调整,并控制终端在每个亮度下显示纯白色图片,排除了终端屏幕显示单色图片时因屏幕漏光对色温传感器采集数据造成的干扰。控制屏下色温传感器在每个亮度下显示纯白色图片时采集对应数据,将屏下色温传感器在显示纯白色图片情况下采集的数据作为屏幕亮度分量。In a darkroom calibration environment, the brightness is controlled to be adjusted according to the set adjustment steps, and the terminal is controlled to display a pure white picture at each brightness, eliminating the interference of screen light leakage on the color temperature sensor data when the terminal screen displays a monochrome picture. The color temperature sensor under the screen is controlled to collect corresponding data when displaying a pure white picture at each brightness, and the data collected by the color temperature sensor under the screen when displaying a pure white picture is used as the screen brightness component.
在本实施例中,在具有固定环境光亮度以及色温的校准光箱提供的校准环境下,控制终端关闭屏幕,并控制屏下色温传感器采集数据,将屏下色温传感器在关闭屏幕情况下采集的数据作为环境光透过率分量。In this embodiment, in a calibration environment provided by a calibration light box with fixed ambient light brightness and color temperature, the control terminal turns off the screen and controls the under-screen color temperature sensor to collect data, and the data collected by the under-screen color temperature sensor when the screen is turned off is used as the ambient light transmittance component.
校准光箱为封闭空间,在该封闭空间内设置固定环境光亮度以及色温,形成校准环境,将终端放置在校准光箱内并关闭终端屏幕,此时控制屏下色温传感器采集数据,将屏下色温传感器在关闭屏幕情况下采集的数据作为环境光透过率分量。The calibration light box is a closed space in which a fixed ambient light brightness and color temperature are set to form a calibration environment. The terminal is placed in the calibration light box and the terminal screen is turned off. At this time, the under-screen color temperature sensor is controlled to collect data, and the data collected by the under-screen color temperature sensor when the screen is turned off is used as the ambient light transmittance component.
在实际校准过程中,可以依次确定屏幕颜色分量、屏幕亮度分量和环境光透过率分量,并确定一个分量后,在确定下一个分量之前去除已确定分量对屏下色温传感器的干扰,再进行下一个分量的确定。本实施例以该确定顺序为例,但不限于该确定顺序,用户可以根据实际校准需要任意设计确定顺序。也可以先确定屏幕颜色分量、屏幕亮度分量和环境光透过率分量,然后统一对屏下色温传感器采集的环境色温采集值进行色温校准。In the actual calibration process, the screen color component, screen brightness component and ambient light transmittance component can be determined in sequence, and after determining one component, the interference of the determined component on the color temperature sensor under the screen is removed before determining the next component, and then the next component is determined. This embodiment takes this determination order as an example, but is not limited to this determination order. The user can arbitrarily design the determination order according to the actual calibration needs. It is also possible to first determine the screen color component, screen brightness component and ambient light transmittance component, and then uniformly perform color temperature calibration on the ambient color temperature collection values collected by the color temperature sensor under the screen.
在确定色温校准数据(屏幕颜色分量、屏幕亮度分量和环境光透过率分量)之后,测试通过色温校准数据对屏下色温传感器采集到的环境色温采集值进行的色温校准是否准确。After determining the color temperature calibration data (screen color component, screen brightness component and ambient light transmittance component), test whether the color temperature calibration performed on the ambient color temperature value collected by the under-screen color temperature sensor using the color temperature calibration data is accurate.
本公开实施例中,测试色温校准准确性时,控制终端在预设测试环境下显示至少一张背景图片,并控制屏下色温传感器采集每张背景图片对应的环境色温采集值,利用色温校准数据对每一环境色温采集值进行色温校准,得到环境色温校准值。进一步判断所有背景图片对应的环境色温校准值是否满足色温校准准确性的要求,若所有环境色温校准值均满足色温校准准确性的要求,表明通过色温校准数据能够准确的校准环境色温采集值,去除屏幕漏光对屏下色温传感器的干扰。若所有环境色温校准值中存在一个或多个满足环境色温校准值不满足色温校准准确性的要求,则表明通过色温校准数据不能够准确的校准环境色温采集值。换言之,通过色温校准数据能够准确的校准环境色温采集值,说明获取的色校准数据是准确的。In the disclosed embodiment, when testing the accuracy of color temperature calibration, the control terminal displays at least one background image under a preset test environment, and controls the color temperature sensor under the screen to collect the ambient color temperature collection value corresponding to each background image, and uses the color temperature calibration data to perform color temperature calibration on each ambient color temperature collection value to obtain the ambient color temperature calibration value. It is further determined whether the ambient color temperature calibration values corresponding to all background images meet the requirements of color temperature calibration accuracy. If all ambient color temperature calibration values meet the requirements of color temperature calibration accuracy, it indicates that the ambient color temperature collection value can be accurately calibrated through the color temperature calibration data, and the interference of screen leakage on the color temperature sensor under the screen is removed. If there are one or more ambient color temperature calibration values that do not meet the requirements of color temperature calibration accuracy among all ambient color temperature calibration values, it indicates that the ambient color temperature collection value cannot be accurately calibrated through the color temperature calibration data. In other words, the ambient color temperature collection value can be accurately calibrated through the color temperature calibration data, indicating that the acquired color calibration data is accurate.
在测试过程中,将待测试的终端放置在测试光箱中,并控制终端在测试光箱提供的测试环境下,显示至少一张背景图片。其中测试光箱具有与校准光箱相同的色温,且不同的环境光亮度,以此测试色温校准数据的准确性。例如该终端在获取色温校准数据过程中通过校准光箱中色温为4500开尔文(K),亮度为200勒克斯(LUX)的校准环境确定环境光透过率分量,则在测试光箱中设置色温为4500K,亮光为400LUX的测试环境。During the test, the terminal to be tested is placed in a test light box, and the terminal is controlled to display at least one background image under the test environment provided by the test light box. The test light box has the same color temperature as the calibration light box, but different ambient light brightness, so as to test the accuracy of the color temperature calibration data. For example, when the terminal obtains the color temperature calibration data, it determines the ambient light transmittance component by calibrating the environment in the light box with a color temperature of 4500 Kelvin (K) and a brightness of 200 lux (LUX), and then sets the test environment in the test light box with a color temperature of 4500K and a brightness of 400LUX.
在一种实施方式中,控制终端屏幕上显示至少一张背景图片,包括针对全部颜色通道中各颜色通道分别显示对应的背景图片组。其中,每一颜色通道对应的背景图片组中包括该颜色通道对应颜色中亮度高于第一亮度阈值的第一背景图片,以及亮度低于第二亮度阈值的第二背景图片,且第一亮度阈值大于第二亮度阈值。In one embodiment, at least one background image is displayed on the screen of the control terminal, including displaying a corresponding background image group for each color channel in all color channels, wherein the background image group corresponding to each color channel includes a first background image with a brightness higher than a first brightness threshold value and a second background image with a brightness lower than a second brightness threshold value in the color corresponding to the color channel, and the first brightness threshold value is greater than the second brightness threshold value.
在本实施例中,在终端屏幕上显示背景图片为了模拟实际场景中终端的漏光对屏下色温传感器的干扰,测试环境中的环境光透过屏幕被屏下色温传感器采集,且终端屏幕上显示的背景图片产生的光因屏幕漏光也被屏下色温采集器采集。通过屏下色温传感器采集终端在测试环境中接收到的颜色通道值,并基于颜色通道值得到环境色温采集值。此处的通道可以包括但不限于RGBC等等,其中,R为红通道,G为绿通道,B为蓝通道,C为全光谱通道。除此之外,还可以包括IR通道等等,本实施例不作限定。In this embodiment, a background image is displayed on the terminal screen to simulate the interference of light leakage of the terminal on the color temperature sensor under the screen in an actual scene. The ambient light in the test environment is collected by the color temperature sensor under the screen through the screen, and the light generated by the background image displayed on the terminal screen is also collected by the color temperature collector under the screen due to light leakage from the screen. The color channel values received by the terminal in the test environment are collected by the color temperature sensor under the screen, and the ambient color temperature collection value is obtained based on the color channel values. The channels here may include, but are not limited to, RGBC, etc., where R is the red channel, G is the green channel, B is the blue channel, and C is the full spectrum channel. In addition, IR channels, etc. may also be included, which are not limited in this embodiment.
为了更清楚的说明针对全部颜色通道中各颜色通道分别显示对应的背景图片组,本实施例以屏下色温传感器为RGB传感器为例进行说明。针对RGB三个颜色通道中的R通道设置第一背景图片组,第一背景图片组中包括以R通道对应颜色中亮度高于第一亮度阈值的亮红图片作为第一背景图片,以及亮度低于第二亮度阈值的暗红图片作为第二背景图片。针对G通道设置第二背景图片组,第二背景图片组中包括以G通道对应颜色中亮度高于第一亮度阈值的亮绿图片作为第一背景图片,以及亮度低于第二亮度阈值的暗绿图片作为第二背景图片。针对B通道设置第三背景图片组,第一背景图片组中包括以B通道对应颜色中亮度高于第一亮度阈值的亮蓝图片作为第一背景图片,以及亮度低于第二亮度阈值的暗蓝图片作为第二背景图片。其中,需要说明的是,每个颜色通道中的第一亮度阈值大于第二亮度阈值。In order to more clearly illustrate that the corresponding background image group is displayed for each color channel in all color channels, this embodiment takes the under-screen color temperature sensor as an RGB sensor as an example for explanation. A first background image group is set for the R channel among the three RGB color channels, and the first background image group includes a bright red image with a brightness higher than the first brightness threshold in the color corresponding to the R channel as the first background image, and a dark red image with a brightness lower than the second brightness threshold as the second background image. A second background image group is set for the G channel, and the second background image group includes a bright green image with a brightness higher than the first brightness threshold in the color corresponding to the G channel as the first background image, and a dark green image with a brightness lower than the second brightness threshold as the second background image. A third background image group is set for the B channel, and the first background image group includes a bright blue image with a brightness higher than the first brightness threshold in the color corresponding to the B channel as the first background image, and a dark blue image with a brightness lower than the second brightness threshold as the second background image. It should be noted that the first brightness threshold in each color channel is greater than the second brightness threshold.
在本公开实施例中,基于环境色温校准值与测试环境下的实际环境色温值,确定基于色温校准数据进行色温校准的准确性,包括:若全部颜色通道中各颜色通道对应的背景图片组中各背景图片对应的环境色温校准值与测试环境下的实际环境色温值之间的差值均小于色温阈值,则确定基于色温校准数据进行色温校准是准确的。针对全部颜色通道中的每个颜色通道显示对应的背景图片组,每个背景图片组中包括一张或多张背景图片,控制屏下色温传感器采集终端屏幕展示每张背景图片对应的环境色温校准值,将所有的环境色温校准值与测试环境下的实际环境色温值进行对比,若所有环境色温校准值分别与测试环境下的实际环境色温值之间的差值均小于色温阈值,则确定根据色温校准数据进行色温校准是准确的。若全部颜色通道中各颜色通道对应的背景图片组中各背景图片中存在任一环境色温校准值与测试环境下的实际环境色温值之间的差值大于或等于色温阈值,则确定基于色温校准数据进行色温校准是非准确的。本实施例中色温阈值可以根据测试精度进行设定,色温阈值越小则说明基于色温校准数据进行色温校准的越准确。In an embodiment of the present disclosure, based on the ambient color temperature calibration value and the actual ambient color temperature value under the test environment, the accuracy of color temperature calibration based on the color temperature calibration data is determined, including: if the difference between the ambient color temperature calibration value corresponding to each background image in the background image group corresponding to each color channel in all color channels and the actual ambient color temperature value under the test environment is less than the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is accurate. For each color channel in all color channels, the corresponding background image group is displayed, each background image group includes one or more background images, and the screen of the color temperature sensor acquisition terminal under the control screen is displayed. The ambient color temperature calibration value corresponding to each background image is compared with the actual ambient color temperature value under the test environment. If the difference between all the ambient color temperature calibration values and the actual ambient color temperature value under the test environment is less than the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is accurate. If the difference between any ambient color temperature calibration value and the actual ambient color temperature value under the test environment in the background image group corresponding to each color channel in all color channels is greater than or equal to the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is inaccurate. In this embodiment, the color temperature threshold can be set according to the test accuracy. The smaller the color temperature threshold is, the more accurate the color temperature calibration based on the color temperature calibration data is.
示例性的,图3是根据一示例性实施例示出的获取色温校准数据的示意图。如图3所示,本实施例中色温校准数据通过暗室校准和光箱校准确定,其中在暗室校准中通过提供暗室校准环境确定屏幕颜色分量以及屏幕亮度分量,通过校准光箱内的校准环境确定环境光透过率分量。暗室校准用于校准屏幕漏光带来的干扰,光箱校准过程中用于校准屏幕透过率导致的干扰。Exemplarily, FIG3 is a schematic diagram of obtaining color temperature calibration data according to an exemplary embodiment. As shown in FIG3, in this embodiment, the color temperature calibration data is determined by darkroom calibration and light box calibration, wherein in the darkroom calibration, the screen color component and the screen brightness component are determined by providing a darkroom calibration environment, and the ambient light transmittance component is determined by calibrating the calibration environment in the light box. The darkroom calibration is used to calibrate the interference caused by screen light leakage, and the light box calibration process is used to calibrate the interference caused by screen transmittance.
将终端放置在暗室校准环境,进行暗室校准。Place the terminal in a darkroom calibration environment and perform darkroom calibration.
在暗室校准中,先进行纯屏幕颜色影响校准。即控制终端屏幕在100%亮度下显示红色图片并控制屏下色温传感器采集数据,然后控制终端屏幕在100%亮度下显示绿色图片并控制屏下色温传感器采集数据,再控制终端屏幕在100%亮度下显示蓝色图片并控制屏下色温传感器采集数据,将采集到的数据记为屏幕颜色分量。In the darkroom calibration, the pure screen color impact calibration is performed first. That is, the terminal screen is controlled to display a red picture at 100% brightness and the color temperature sensor under the screen is controlled to collect data, then the terminal screen is controlled to display a green picture at 100% brightness and the color temperature sensor under the screen is controlled to collect data, and then the terminal screen is controlled to display a blue picture at 100% brightness and the color temperature sensor under the screen is controlled to collect data, and the collected data is recorded as the screen color component.
在暗室校准中,再进行纯屏幕亮度影响校准。即控制终端屏幕显示纯白色图片,控制终端屏幕亮度按设置的调节量从默认初始值到最大显示亮度开始显示,例如从10%到100%进行每个亮度的逐一显示,控制屏下色温传感器分别采集每一亮度下的数据,将采集到的数据记为屏幕亮度分量。In the darkroom calibration, the pure screen brightness effect calibration is performed. That is, the terminal screen is controlled to display a pure white picture, and the terminal screen brightness is controlled to display from the default initial value to the maximum display brightness according to the set adjustment amount, for example, from 10% to 100%, and each brightness is displayed one by one. The color temperature sensor under the control screen collects data at each brightness, and the collected data is recorded as the screen brightness component.
进行完暗室校准后进入光箱校准,即纯环境颜色影响校准,在光箱内设计有固定亮度和色温的封闭光线。本实施例以5000K色温和200LUX亮度的校准环境为例,将终端放置校准光箱提供的校准环境,关闭终端屏幕,控制屏下传感器采集透过终端屏幕后的数据,记为环境光透过率分量。本实施例中在进行光箱校准前,为了保证校准光箱内的校准环境准确,预先对校准光箱内的校准环境进行校准,例如,设置校准光箱提供5000K色温和200LUX亮度的校准环境,但实际上存在偏差,例如实际校准光箱提供5001K色温和220LUX亮度的校准环境。为了减小偏差预先确定校准环境中设置值与实际值之间的显示偏差值,并利用显示偏差值对设置值进行校准,得到与实际需要相符的校准环境。其中表征校准环境中设置值与实际值之间的显示偏差值称为金机数据。After the darkroom calibration, the light box calibration is performed, that is, the calibration is affected by the pure ambient color, and a closed light with fixed brightness and color temperature is designed in the light box. In this embodiment, the calibration environment of 5000K color temperature and 200LUX brightness is taken as an example. The terminal is placed in the calibration environment provided by the calibration light box, the terminal screen is turned off, and the sensor under the screen is controlled to collect data after passing through the terminal screen, which is recorded as the ambient light transmittance component. In this embodiment, before the light box calibration is performed, in order to ensure the accuracy of the calibration environment in the calibration light box, the calibration environment in the calibration light box is calibrated in advance. For example, the calibration light box is set to provide a calibration environment with a color temperature of 5000K and a brightness of 200LUX, but there is actually a deviation. For example, the actual calibration light box provides a calibration environment with a color temperature of 5001K and a brightness of 220LUX. In order to reduce the deviation, the display deviation value between the set value and the actual value in the calibration environment is pre-determined, and the set value is calibrated using the display deviation value to obtain a calibration environment that meets actual needs. The display deviation value that characterizes the set value and the actual value in the calibration environment is called the golden machine data.
在上述过程中可以在进行屏幕亮度分量采集时,去除屏幕颜色分量,并在进行光箱校准时去除屏幕颜色分量以及屏幕亮度分量对屏下色温传感器的干扰。In the above process, the screen color component can be removed when the screen brightness component is collected, and the interference of the screen color component and the screen brightness component on the color temperature sensor under the screen can be removed when the light box calibration is performed.
图4是根据一示例性实施例示出的对色温校准方法的测试示意图。将经过图3校准后的终端进行色温校准准确性测试,检测色温校准的效果,本实施例提供测试光箱,并在测试光箱内设置5000K色温,500LUX亮度的测试环境。为了测试通过屏幕颜色分量、屏幕亮度分量以及环境光透过率分量进行色温校准的准确性,测试光箱内的测试环境需要满足与校准环境相同的色温以及不同的环境光亮度。可以看出,测试环境为5000K色温,500LUX亮度,而校准环境为5000K色温和200LUX亮度,因此该测试光箱符合测试要求。FIG4 is a test schematic diagram of a color temperature calibration method according to an exemplary embodiment. The terminal calibrated in FIG3 is subjected to a color temperature calibration accuracy test to detect the effect of the color temperature calibration. This embodiment provides a test light box, and sets a test environment of 5000K color temperature and 500LUX brightness in the test light box. In order to test the accuracy of color temperature calibration through screen color components, screen brightness components, and ambient light transmittance components, the test environment in the test light box needs to meet the same color temperature and different ambient light brightness as the calibration environment. It can be seen that the test environment is 5000K color temperature and 500LUX brightness, while the calibration environment is 5000K color temperature and 200LUX brightness, so the test light box meets the test requirements.
将待测试的终端整机放置在测试光箱中,控制屏幕显示6张相应的背景图片,并控制屏下色温传感器采集环境色温采集值,利用图3得到的色温校准数据,对6张背景图片对应的6个环境色温采集值分别进行色温校准,得到6个环境色温校准值;若每个环境色温校准值与实际环境色温值5000K的差均小于色温阈值,则确定基于色温校准数据进行色温校准是准确的,若存在任一环境色温校准值与实际环境色温值5000K的差均大于或等于色温阈值,则确定基于色温校准数据进行色温校准是不准确的。本实施例中的6张背景图片分别为亮红背景图片、暗红背景图片、亮绿背景图片、暗绿背景图片、亮蓝背景图片和暗蓝背景图片,也可以为8张,在上述6张的基础上再增加灰色背景图片,还可以更多,本实施例不作具体限定。The terminal to be tested is placed in a test light box, the screen is controlled to display 6 corresponding background pictures, and the color temperature sensor under the screen is controlled to collect the ambient color temperature collection value. The color temperature calibration data obtained in FIG3 is used to perform color temperature calibration on the 6 ambient color temperature collection values corresponding to the 6 background pictures, and 6 ambient color temperature calibration values are obtained; if the difference between each ambient color temperature calibration value and the actual ambient color temperature value of 5000K is less than the color temperature threshold, it is determined that the color temperature calibration based on the color temperature calibration data is accurate, and if there is any ambient color temperature calibration value and the actual ambient color temperature value of 5000K The difference is greater than or equal to the color temperature threshold, it is determined that the color temperature calibration based on the color temperature calibration data is inaccurate. The 6 background pictures in this embodiment are bright red background picture, dark red background picture, bright green background picture, dark green background picture, bright blue background picture and dark blue background picture, respectively, and can also be 8 pictures, and gray background pictures are added on the basis of the above 6 pictures, and more can be obtained, which is not specifically limited in this embodiment.
基于相同的构思,本公开实施例还提供一种色温校准装置。Based on the same concept, an embodiment of the present disclosure also provides a color temperature calibration device.
可以理解的是,本公开实施例提供的色温校准装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It is understandable that the color temperature calibration device provided in the embodiment of the present disclosure includes hardware structures and/or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
图5是根据一示例性实施例示出的一种色温校准装置框图。该色温校准装置100应用于终端,终端中包括屏下色温传感器。参照图5,该装置100包括获取单元101,控制单元102,校准单元103和确定单元104。FIG5 is a block diagram of a color temperature calibration device according to an exemplary embodiment. The color temperature calibration device 100 is applied to a terminal, and the terminal includes an under-screen color temperature sensor. Referring to FIG5 , the device 100 includes an acquisition unit 101, a control unit 102, a calibration unit 103 and a determination unit 104.
获取单元101,用于获取色温校准数据;控制单元102,用于控制终端在预设测试环境下显示至少一张背景图片,并控制屏下色温传感器进行环境光色温采集,得到至少一个环境色温采集值,环境色温采集值与背景图片之间具有一一对应关系;校准单元103,用于基于色温校准数据,对至少一个环境色温采集值分别进行色温校准,得到环境色温校准值;确定单元104,用于基于环境色温校准值与测试环境下的实际环境色温值,确定基于色温校准数据进行色温校准的准确性。The acquisition unit 101 is used to acquire color temperature calibration data; the control unit 102 is used to control the terminal to display at least one background image under a preset test environment, and control the under-screen color temperature sensor to collect the color temperature of ambient light, and obtain at least one ambient color temperature collection value, and there is a one-to-one correspondence between the ambient color temperature collection value and the background image; the calibration unit 103 is used to perform color temperature calibration on at least one ambient color temperature collection value based on the color temperature calibration data, and obtain the ambient color temperature calibration value; the determination unit 104 is used to determine the accuracy of the color temperature calibration based on the color temperature calibration data based on the ambient color temperature calibration value and the actual ambient color temperature value under the test environment.
在一种实施方式中,色温校准数据包括屏幕颜色分量、屏幕亮度分量以及环境光透过率分量,并采用如下方式确定:In one implementation, the color temperature calibration data includes a screen color component, a screen brightness component, and an ambient light transmittance component, and is determined in the following manner:
在环境光亮度低于亮度阈值的暗室校准环境下,控制终端在最大显示亮度下显示颜色通道对应的单色图片,并控制屏下色温传感器采集数据,将屏下色温传感器在显示单色图片情况下采集的数据作为屏幕颜色分量;在环境光亮度低于亮度阈值的暗室校准环境下,控制终端在不同显示亮度下显示纯白色图片,并控制屏下色温传感器采集数据,将屏下色温传感器在显示纯白色图片情况下采集的数据作为屏幕亮度分量;在具有固定环境光亮度以及色温的校准光箱提供的校准环境下,控制终端关闭屏幕,并控制屏下色温传感器采集数据,将屏下色温传感器在关闭屏幕情况下采集的数据作为环境光透过率分量。In a darkroom calibration environment where the ambient light brightness is lower than the brightness threshold, the control terminal displays a monochrome picture corresponding to the color channel at the maximum display brightness, and controls the under-screen color temperature sensor to collect data, and uses the data collected by the under-screen color temperature sensor when displaying the monochrome picture as the screen color component; in a darkroom calibration environment where the ambient light brightness is lower than the brightness threshold, the control terminal displays a pure white picture at different display brightnesses, and controls the under-screen color temperature sensor to collect data, and uses the data collected by the under-screen color temperature sensor when displaying the pure white picture as the screen brightness component; in a calibration environment provided by a calibration light box with fixed ambient light brightness and color temperature, the control terminal turns off the screen, and controls the under-screen color temperature sensor to collect data, and uses the data collected by the under-screen color temperature sensor when the screen is turned off as the ambient light transmittance component.
在一种实施方式中,控制单元102,用于:In one embodiment, the control unit 102 is configured to:
控制终端在测试光箱提供的测试环境下,显示至少一张背景图片;测试光箱具有与校准光箱相同的色温,且不同的环境光亮度。The control terminal displays at least one background image under a test environment provided by a test light box; the test light box has the same color temperature as the calibration light box, but a different ambient light brightness.
在一种实施方式中,控制单元102,用于:In one embodiment, the control unit 102 is configured to:
针对全部颜色通道中各颜色通道分别显示对应的背景图片组,其中,每一颜色通道对应的背景图片组中包括该颜色通道对应颜色中亮度高于第一亮度阈值的第一背景图片,以及亮度低于第二亮度阈值的第二背景图片,第一亮度阈值大于第二亮度阈值。A corresponding background image group is displayed for each color channel in all color channels, wherein the background image group corresponding to each color channel includes a first background image with brightness higher than a first brightness threshold in the color corresponding to the color channel, and a second background image with brightness lower than a second brightness threshold, and the first brightness threshold is greater than the second brightness threshold.
在一种实施方式中,确定单元104,包括:In one implementation, the determining unit 104 includes:
若全部颜色通道中各颜色通道对应的背景图片组中各背景图片对应的环境色温校准值与测试环境下的实际环境色温值之间的差值均小于色温阈值,则确定基于色温校准数据进行色温校准是准确的;若全部颜色通道中各颜色通道对应的背景图片组中各背景图片中存在任一环境色温校准值与测试环境下的实际环境色温值之间的差值大于或等于色温阈值,则确定基于色温校准数据进行色温校准是非准确的。If the differences between the ambient color temperature calibration values corresponding to each background image in the background image group corresponding to each color channel in all color channels and the actual ambient color temperature values under the test environment are all less than the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is accurate; if the difference between any ambient color temperature calibration value of each background image in the background image group corresponding to each color channel in all color channels and the actual ambient color temperature value under the test environment is greater than or equal to the color temperature threshold, then it is determined that the color temperature calibration based on the color temperature calibration data is inaccurate.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
图6是根据一示例性实施例示出的一种用于色温校准装置200的框图。例如,装置200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 6 is a block diagram of a color temperature calibration device 200 according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
参照图6,装置200可以包括以下一个或多个组件:处理组件202,存储器204,电力组件206,多媒体组件208,音频组件210,输入/输出(I/O)接口212,传感器组件214,以及通信组件216。6 , apparatus 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input/output (I/O) interface 212 , a sensor component 214 , and a communication component 216 .
处理组件202通常控制装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件202可以包括一个或多个处理器220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
存储器204被配置为存储各种类型的数据以支持在装置200的操作。这些数据的示例包括用于在装置200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
电力组件206为装置200的各种组件提供电力。电力组件206可以包括电源管理系统,一个或多个电源,及其他与为装置200生成、管理和分配电力相关联的组件。The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
多媒体组件208包括在所述装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件208包括一个前置摄像头和/或后置摄像头。当装置200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and/or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(MIC),当装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
I/O接口212为处理组件202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
传感器组件214包括一个或多个传感器,用于为装置200提供各个方面的状态评估。例如,传感器组件214可以检测到装置200的打开/关闭状态,组件的相对定位,例如所述组件为装置200的显示器和小键盘,传感器组件214还可以检测装置200或装置200一个组件的位置改变,用户与装置200接触的存在或不存在,装置200方位或加速/减速和装置200的温度变化。传感器组件214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open/closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, and the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration/deceleration of the device 200, and the temperature change of the device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件216被配置为便于装置200和其他设备之间有线或无线方式的通信。装置200可以接入基于通信标准的无线网络,如WiFi,4G或5G,或它们的组合。在一个示例性实施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器204,上述指令可由装置200的处理器220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar thereto. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
进一步可以理解的是,除非有特殊说明,“连接”包括两者之间不存在其他构件的直接连接,也包括两者之间存在其他元件的间接连接。It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利范围指出。Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following scope of rights.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利范围来限制。It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110906438.6A CN115706750B (en) | 2021-08-09 | 2021-08-09 | Color temperature calibration method, color temperature calibration device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110906438.6A CN115706750B (en) | 2021-08-09 | 2021-08-09 | Color temperature calibration method, color temperature calibration device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115706750A CN115706750A (en) | 2023-02-17 |
| CN115706750B true CN115706750B (en) | 2024-05-24 |
Family
ID=85179203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110906438.6A Active CN115706750B (en) | 2021-08-09 | 2021-08-09 | Color temperature calibration method, color temperature calibration device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115706750B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116754069B (en) * | 2023-08-23 | 2023-11-10 | 荣耀终端有限公司 | Calibration data testing method, electronic device, testing equipment and storage medium |
| JP2025093583A (en) * | 2023-12-12 | 2025-06-24 | ソニーグループ株式会社 | Calibration execution device and calibration execution method |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107690065A (en) * | 2017-07-31 | 2018-02-13 | 努比亚技术有限公司 | A kind of white balance correcting, device and computer-readable recording medium |
| CN107941330A (en) * | 2017-11-22 | 2018-04-20 | 广东欧珀移动通信有限公司 | Ambient light intensity detection method, device, storage medium and electronic equipment |
| CN109272968A (en) * | 2018-11-21 | 2019-01-25 | 维沃移动通信有限公司 | Screen uniformity calibration method and terminal device |
| CN111327787A (en) * | 2020-02-28 | 2020-06-23 | 杭州电子科技大学 | Correction method for soft proofing display color |
| WO2020140241A1 (en) * | 2019-01-03 | 2020-07-09 | 汕头市易普联科技有限公司 | Adaptive adjustment method based on ambient light distribution field |
| WO2020148451A1 (en) * | 2019-01-18 | 2020-07-23 | Ams International Ag | Method and device for estimating ambient light |
| CN111796783A (en) * | 2020-06-12 | 2020-10-20 | 北京小米移动软件有限公司 | Display color calibration method, device and medium |
| CN112116888A (en) * | 2019-06-21 | 2020-12-22 | 北京小米移动软件有限公司 | Screen calibration method, calibration device and storage medium |
| CN112449026A (en) * | 2019-08-28 | 2021-03-05 | 北京小米移动软件有限公司 | Ambient light compensation method, ambient light compensation device, terminal and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180204524A1 (en) * | 2017-01-19 | 2018-07-19 | Microsoft Technology Licensing, Llc | Controlling brightness of an emissive display |
| US10648862B2 (en) * | 2018-04-03 | 2020-05-12 | Microsoft Technology Licensing, Llc | Color sensing ambient light sensor calibration |
| US11002605B2 (en) * | 2018-05-04 | 2021-05-11 | Crestron Electronics, Inc. | System and method for calibrating a light color sensor |
-
2021
- 2021-08-09 CN CN202110906438.6A patent/CN115706750B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107690065A (en) * | 2017-07-31 | 2018-02-13 | 努比亚技术有限公司 | A kind of white balance correcting, device and computer-readable recording medium |
| CN107941330A (en) * | 2017-11-22 | 2018-04-20 | 广东欧珀移动通信有限公司 | Ambient light intensity detection method, device, storage medium and electronic equipment |
| CN109272968A (en) * | 2018-11-21 | 2019-01-25 | 维沃移动通信有限公司 | Screen uniformity calibration method and terminal device |
| WO2020140241A1 (en) * | 2019-01-03 | 2020-07-09 | 汕头市易普联科技有限公司 | Adaptive adjustment method based on ambient light distribution field |
| WO2020148451A1 (en) * | 2019-01-18 | 2020-07-23 | Ams International Ag | Method and device for estimating ambient light |
| CN112116888A (en) * | 2019-06-21 | 2020-12-22 | 北京小米移动软件有限公司 | Screen calibration method, calibration device and storage medium |
| CN112449026A (en) * | 2019-08-28 | 2021-03-05 | 北京小米移动软件有限公司 | Ambient light compensation method, ambient light compensation device, terminal and storage medium |
| CN111327787A (en) * | 2020-02-28 | 2020-06-23 | 杭州电子科技大学 | Correction method for soft proofing display color |
| CN111796783A (en) * | 2020-06-12 | 2020-10-20 | 北京小米移动软件有限公司 | Display color calibration method, device and medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115706750A (en) | 2023-02-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112449026B (en) | An ambient light compensation method, device, terminal and storage medium | |
| CN108986053B (en) | Screen display method and device | |
| CN112116888B (en) | Screen calibration method, calibration device and storage medium | |
| WO2018107752A1 (en) | Screen luminance control method and device | |
| CN105100764A (en) | Photographing method and device | |
| US10109248B2 (en) | Method and device for adjusting liquid crystal display | |
| CN115706750B (en) | Color temperature calibration method, color temperature calibration device and storage medium | |
| CN112086075A (en) | Screen display parameter adjustment method, device and storage medium | |
| CN111131596B (en) | Screen brightness adjustment method and device | |
| CN112033527A (en) | Ambient brightness detection method, device, equipment and storage medium | |
| CN107808626B (en) | Method and device for adjusting color temperature of display screen and computer readable storage medium | |
| CN115931120A (en) | Light sensation calibration method and device, terminal equipment and medium | |
| US20190379872A1 (en) | Light filling method and apparatus for photographing environment, and computer-readable storage medium | |
| CN116453459A (en) | Screen display method and device, readable storage medium and electronic equipment | |
| US11991300B2 (en) | Photographing method and apparatus, terminal, and storage medium | |
| CN112087539A (en) | Screen light adjusting method for terminal equipment and terminal equipment | |
| CN112951162B (en) | Display screen and control method and device thereof | |
| CN111383608A (en) | Display control method and apparatus, electronic device, and computer-readable storage medium | |
| CN118053405A (en) | Screen brightness control method and device, electronic equipment, medium and chip | |
| CN114414042A (en) | Ambient light detection method, device, storage medium and electronic device | |
| CN114760741A (en) | RGB lamp correction method and device, electronic equipment, storage medium and chip | |
| CN118836971B (en) | Method and device for determining ambient light intensity | |
| CN106713658B (en) | Light source adjustment method and device | |
| CN118212858A (en) | Display parameter determination method, device, electronic device and storage medium | |
| CN116433781A (en) | Toning method, device, electronic device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |