CN108538263B - Method and device for adjusting color temperature - Google Patents

Method and device for adjusting color temperature Download PDF

Info

Publication number
CN108538263B
CN108538263B CN201810297713.7A CN201810297713A CN108538263B CN 108538263 B CN108538263 B CN 108538263B CN 201810297713 A CN201810297713 A CN 201810297713A CN 108538263 B CN108538263 B CN 108538263B
Authority
CN
China
Prior art keywords
color temperature
subset
value
elements
threshold
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
Application number
CN201810297713.7A
Other languages
Chinese (zh)
Other versions
CN108538263A (en
Inventor
吕途
王培娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Hefei BOE Display Lighting Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Hefei BOE Display Lighting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Hefei BOE Display Lighting Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201810297713.7A priority Critical patent/CN108538263B/en
Priority to US16/116,379 priority patent/US10699670B2/en
Publication of CN108538263A publication Critical patent/CN108538263A/en
Application granted granted Critical
Publication of CN108538263B publication Critical patent/CN108538263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/026Control of mixing and/or overlay of colours in general
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/2003Display of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0242Compensation of deficiencies in the appearance of colours
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/14Detecting light within display terminals, e.g. using a single or a plurality of photosensors
    • G09G2360/144Detecting light within display terminals, e.g. using a single or a plurality of photosensors the light being ambient light

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Processing Of Color Television Signals (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses a color temperature adjusting method and device. The color temperature adjusting method includes: optimizing the initial color temperature relation set according to the fitness value of each element in the initial color temperature relation set to generate an optimized color temperature relation set; each element in the set is a corresponding relation between an eye comfort value and a color temperature value, and the fitness value of each element in the optimized color temperature relation set meets a first threshold value; detecting the eye comfort value of the current user, determining the color temperature value corresponding to the eye comfort value of the current user according to the corresponding relation between the eye comfort value and the color temperature value of each element in the optimized color temperature relation set, and adjusting the color temperature according to the determined color temperature value. According to the embodiment of the invention, the color temperature values suitable for different crowds or specific users are matched in consideration of personal differences of different crowds or different users, and the intelligence and humanization of color temperature adjustment are improved.

Description

一种色温调节方法和装置Method and device for adjusting color temperature

技术领域technical field

本申请涉及但不限于显示照明技术领域,尤指一种色温调节方法和装置。The present application relates to, but is not limited to, the technical field of display lighting, and more particularly, to a color temperature adjustment method and device.

背景技术Background technique

随着显示照明技术的发展,显示设备已广泛应用于人们的日常生活中,例如常见的液晶屏显示器、智能手机、平板电脑等,显示设备在使用过程中的舒适度已成为用户选择液晶设备时考量的依据。With the development of display lighting technology, display devices have been widely used in people's daily life, such as common LCD monitors, smart phones, tablet computers, etc. The comfort of display devices during use has become a factor when users choose LCD devices. basis for consideration.

目前市场上大多数显示设备都具有亮度调节能力,对人眼的保护及舒适度的效果较为局限。色温为表示光源光谱质量的通用指标,其对人们的心理有着重大的影响,现有技术中的色温调节方式主要有以下几种:第一,采用预先设定的色温值,对像素当前的红色、绿色和蓝色分量强度进行重新计算,但该方式没有说明如何预先设定色温值,且色温调节的实时性较差,调节精度较差;第二,在在灯条上间隔分布暖白色温、冷白色温灯珠同时进行调节,以获得不同色温,该方式调节精度较低,不能进行连续调光;第三,采集人体参数,通过微控制器改变色温,该方式中为具体说明实现的电路结构,且调节精度较低;第四,通过控制多个单色LED的驱动电流来调节色温,该方式中计算方式复杂,不易实现。At present, most display devices on the market have the ability to adjust brightness, and the effect on the protection and comfort of human eyes is relatively limited. Color temperature is a general indicator representing the spectral quality of a light source, which has a significant impact on people's psychology. The color temperature adjustment methods in the prior art mainly include the following: First, using a preset color temperature value, the current red color of the pixel is adjusted. , green and blue component intensities are recalculated, but this method does not explain how to preset the color temperature value, and the real-time adjustment of color temperature is poor, and the adjustment accuracy is poor; second, the warm white temperature is distributed on the light bar at intervals , The cool white temperature lamp beads are adjusted at the same time to obtain different color temperatures. This method has low adjustment accuracy and cannot perform continuous dimming. Third, collect human body parameters and change the color temperature through a microcontroller. This method is implemented by specific instructions. The circuit structure is low, and the adjustment precision is low; fourth, the color temperature is adjusted by controlling the driving current of a plurality of single-color LEDs, and the calculation method in this method is complicated and difficult to realize.

可以看出,现有的色温调节技术普遍存在调节精度较差,以及计算方式复杂、不易实现的问题。It can be seen that the existing color temperature adjustment technology generally has the problems of poor adjustment accuracy, complicated calculation method and difficult implementation.

发明内容SUMMARY OF THE INVENTION

为了解决上述技术问题,本发明实施例提供了一种色温调节方法和装置,考虑到不同人群或不同用户的个人差异,匹配出适合不同人群或特定用户的色温值,提高了色温调节的智能性和人性化。In order to solve the above technical problems, the embodiments of the present invention provide a color temperature adjustment method and device, which take into account the individual differences of different groups of people or different users, match color temperature values suitable for different groups of people or specific users, and improve the intelligence of color temperature adjustment and humanization.

本发明实施例提供一种色温调节方法,包括:An embodiment of the present invention provides a color temperature adjustment method, including:

根据初始色温关系集合中每个元素的适应度值,对所述初始色温关系集合进行优化处理,生成优化色温关系集合;其中,集合中的每个元素为眼睛舒适度值与色温值的对应关系,所述优化色温关系集合中每个元素的适应度值均符合第一阈值;According to the fitness value of each element in the initial color temperature relationship set, the initial color temperature relationship set is optimized to generate an optimized color temperature relationship set; wherein, each element in the set is the corresponding relationship between the eye comfort value and the color temperature value , the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold;

检测当前用户的眼睛舒适度值,根据所述优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定所述当前用户的眼睛舒适度值对应的色温值,并根据所确定的色温值进行色温调节。Detect the eye comfort value of the current user, determine the color temperature value corresponding to the eye comfort value of the current user according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set, and determine the color temperature value corresponding to the eye comfort value of the current user. The determined color temperature value is used for color temperature adjustment.

可选地,上述色温调节方法中,所述对所述初始色温关系集合进行优化处理,生成优化色温关系集合,包括:Optionally, in the above color temperature adjustment method, the performing optimization processing on the initial color temperature relationship set to generate an optimized color temperature relationship set includes:

在所述初始色温关系集合中,选择适应度值符合所述第一阈值的元素作为第一子集,且将适应度值不符合所述第一阈值的元素作为第二子集;In the initial color temperature relationship set, elements whose fitness values meet the first threshold are selected as the first subset, and elements whose fitness values do not meet the first threshold are selected as the second subset;

对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集;Performing a genetic operation on the second subset, and using the generated fitness value that meets the first threshold as the third subset;

将所述第一子集和所述第三子集添加到所述优化色温关系集合中。The first subset and the third subset are added to the set of optimized color temperature relationships.

可选地,上述色温调节方法中,所述对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集,包括:Optionally, in the above-mentioned color temperature adjustment method, the genetic operation is performed on the second subset, and the elements whose fitness values meet the first threshold are used as the third subset, including:

对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,直到生成所述第三子集。One or more of a selection operation, a crossover operation, and a mutation operation are performed on the elements in the second subset until the third subset is generated.

可选地,上述色温调节方法中,所述对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,包括:Optionally, in the above color temperature adjustment method, performing one or more of a selection operation, a crossover operation and a mutation operation on the elements in the second subset, including:

选择所述第二子集中适应度值符合第二阈值的元素,并且对所选择的元素执行交叉操作或变异操作;selecting elements in the second subset whose fitness values meet the second threshold, and performing a crossover operation or mutation operation on the selected elements;

对所述第二子集中未选择的元素执行交叉操作或变异操作。A crossover or mutation operation is performed on unselected elements in the second subset.

可选地,上述色温调节方法中,所述对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,还包括:Optionally, in the above color temperature adjustment method, performing one or more of a selection operation, a crossover operation, and a mutation operation on the elements in the second subset, further comprising:

将前一次操作后生成的适应度值符合所述第一阈值的元素添加到所述第三子集中,将适应度值不符合所述第一阈值的元素添加到第四子集,根据所述第四子集中每个元素的适应度值对所述第四子集执行选择操作、交叉操作和变异操作中的一项或多项,直到操作后生成的元素的适应度值均符合所述第一阈值。Adding elements whose fitness values generated after the previous operation meet the first threshold are added to the third subset, and elements whose fitness values do not meet the first threshold are added to the fourth subset, according to the The fitness value of each element in the fourth subset performs one or more of a selection operation, a crossover operation, and a mutation operation on the fourth subset, until the fitness values of the elements generated after the operation meet the requirements of the fourth subset. a threshold.

本发明实施例还提供一种色温调节装置,包括:The embodiment of the present invention also provides a color temperature adjustment device, comprising:

优化处理模块,用于根据初始色温关系集合中每个元素的适应度值,对所述初始色温关系集合进行优化处理,生成优化色温关系集合;其中,集合中的每个元素为眼睛舒适度值与色温值的对应关系,所述优化色温关系集合中每个元素的适应度值均符合第一阈值;The optimization processing module is configured to perform optimization processing on the initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set to generate an optimized color temperature relationship set; wherein, each element in the set is an eye comfort value The corresponding relationship with the color temperature value, the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold;

色温确定模块,用于检测当前用户的眼睛舒适度值,根据所述优化处理模块生成的所述优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定所述当前用户的眼睛舒适度值对应的色温值;A color temperature determination module, configured to detect the eye comfort value of the current user, and determine the current user according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set generated by the optimization processing module The color temperature value corresponding to the eye comfort value of ;

色温调节模块,用于根据所述色温确定模块确定出的色温值进行色温调节。The color temperature adjustment module is used to adjust the color temperature according to the color temperature value determined by the color temperature determination module.

可选地,上述色温调节装置中,所述优化处理模块包括:Optionally, in the above-mentioned color temperature adjustment device, the optimization processing module includes:

选择单元,用于根据初始色温关系集合中每个元素的适应度值,在所述初始色温关系集合中选择适应度值符合所述第一阈值的元素作为第一子集,且将适应度值不符合所述第一阈值的元素作为第二子集;The selection unit is configured to select the elements whose fitness values meet the first threshold in the initial color temperature relationship set as the first subset according to the fitness value of each element in the initial color temperature relationship set, and use the fitness value Elements that do not meet the first threshold are used as a second subset;

处理单元,用于对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集;a processing unit, configured to perform a genetic operation on the second subset, and use the generated fitness value that meets the first threshold as the third subset;

生成单元,用于将所述第一子集和所述第三子集添加到所述优化色温关系集合中。A generating unit, configured to add the first subset and the third subset to the optimized color temperature relationship set.

可选地,上述色温调节装置中,所述处理单元对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集,包括:Optionally, in the above-mentioned color temperature adjustment device, the processing unit performs a genetic operation on the second subset, and uses the generated elements whose fitness values meet the first threshold as the third subset, including:

对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,直到生成所述第三子集。One or more of a selection operation, a crossover operation, and a mutation operation are performed on the elements in the second subset until the third subset is generated.

可选地,上述色温调节装置中,所述处理单元对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,包括:Optionally, in the above color temperature adjustment device, the processing unit performs one or more of a selection operation, a crossover operation and a mutation operation on the elements in the second subset, including:

选择所述第二子集中适应度值符合第二阈值的元素,并且对所选择的元素执行交叉操作或变异操作;selecting elements in the second subset whose fitness values meet the second threshold, and performing a crossover operation or mutation operation on the selected elements;

对所述第二子集中未选择的元素执行交叉操作或变异操作。A crossover or mutation operation is performed on unselected elements in the second subset.

可选地,上述色温调节装置中,所述处理单元对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,还包括:Optionally, in the above color temperature adjustment device, the processing unit performs one or more of a selection operation, a crossover operation, and a mutation operation on the elements in the second subset, and further includes:

将前一次操作后生成的适应度值符合所述第一阈值的元素添加到所述第三子集中,将适应度值不符合所述第一阈值的元素添加到第四子集,根据所述第四子集中每个元素的适应度值对所述第四子集执行选择操作、交叉操作和变异操作中的一项或多项,直到操作后生成的元素的适应度值均符合所述第一阈值。Adding elements whose fitness values generated after the previous operation meet the first threshold are added to the third subset, and elements whose fitness values do not meet the first threshold are added to the fourth subset, according to the The fitness value of each element in the fourth subset performs one or more of a selection operation, a crossover operation, and a mutation operation on the fourth subset, until the fitness values of the elements generated after the operation meet the requirements of the fourth subset. a threshold.

本发明实施例还提供一种计算机设备,包括:存储器和处理器;An embodiment of the present invention also provides a computer device, including: a memory and a processor;

所述存储器,用于保存可执行指令;the memory for storing executable instructions;

所述处理器,用于在执行所述存储器保存的所述可执行指令时实现如上述任一项所述的色温调节方法。The processor is configured to implement the color temperature adjustment method according to any one of the above when executing the executable instructions stored in the memory.

本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有可执行指令,所述可执行指令被处理器执行时实现如上述任一项所述的色温调节方法。Embodiments of the present invention further provide a computer-readable storage medium, where the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, implements the color temperature adjustment method described in any one of the above.

本发明实施例提供的色温调节方法和装置,通过初始色温关系集合中每个元素的适应度值,对预先建立的初始色温关系集合进行优化处理,以生成每个元素均符合预设条件的优化色温关系集合,从而在检测到当前用户的眼睛舒适度值时,根据优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定检测出的当前用户的眼睛舒适度值所对应的色温值,从而进行色温调节,上述集合中的元素均为眼睛舒适度值与色温值的对应关系;本发明实施例提供的色温调节方法,考虑到不同人群或不同用户的个人差异,匹配出适合不同人群或特定用户的色温值,提高了色温调节的智能性和人性化。The color temperature adjustment method and device provided by the embodiments of the present invention perform optimization processing on the pre-established initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set, so as to generate an optimization process in which each element complies with the preset conditions The color temperature relationship set, so that when the eye comfort value of the current user is detected, according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set, the detected eye comfort value of the current user is determined. The corresponding color temperature value, so as to adjust the color temperature. The elements in the above set are the corresponding relationship between the eye comfort value and the color temperature value; the color temperature adjustment method provided by the embodiment of the present invention takes into account the individual differences of different groups of people or different users. It can generate color temperature values suitable for different groups of people or specific users, which improves the intelligence and humanization of color temperature adjustment.

附图说明Description of drawings

附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification. They are used to explain the technical solutions of the present invention together with the embodiments of the present application, and do not limit the technical solutions of the present invention.

图1为本发明实施例提供的一种色温调节方法的流程图;1 is a flowchart of a method for adjusting color temperature provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种色温调节方法的流程图;2 is a flowchart of another color temperature adjustment method provided by an embodiment of the present invention;

图3为本发明实施例提供的又一种色温调节方法的流程图;3 is a flowchart of another color temperature adjustment method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种色温调节装置的结构示意图;4 is a schematic structural diagram of a color temperature adjustment device according to an embodiment of the present invention;

图5为本发明实施例提供的另一种色温调节装置的结构示意图;5 is a schematic structural diagram of another color temperature adjustment device provided by an embodiment of the present invention;

图6为本发明实施例提供的一种计算机设备的结构示意图。FIG. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other if there is no conflict.

本发明提供以下几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The present invention provides the following specific embodiments that can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

目前市场上大多数显示设备都通过亮度调节的控制,对用户观看显示屏带来较为舒适的感观效果;然而,亮度调节对于人眼的保护及舒适度都具有局限性。色温是光源光色的一种尺度,是表示光源光谱质量最通用的指标,很多研究表明色温能够影响人的情绪,将色温应用到显示照明系统中,将备受人们的欢迎。At present, most display devices on the market are controlled by brightness adjustment, which brings a more comfortable sensory effect for users to watch the display screen; however, brightness adjustment has limitations on the protection and comfort of human eyes. Color temperature is a measure of the light color of a light source, and is the most common indicator of the spectral quality of a light source. Many studies have shown that color temperature can affect people's emotions. The application of color temperature to display lighting systems will be very popular.

研究表明,色温对人的心理有着重大影响。色温越高,光越偏冷,色温越低,光越偏暖。色温在3300开尔文(Kelvin:简称为:K)以下的,红色光居多,为暖色,通常用于室内,及能见度低的环境;色温在3300K~5000K之间为暖白光,红绿蓝(Red,Green,Blue,简称为:RGB)三色比例均等,多用于商店、候车厅等环境;色温大于5000K的为冷色光,此部分中蓝光居多,多用于室外、会议室等能见度高的环境。Studies have shown that color temperature has a significant impact on human psychology. The higher the color temperature, the cooler the light, and the lower the color temperature, the warmer the light. When the color temperature is below 3300 Kelvin (Kelvin: K for short), most of the red light is warm, and it is usually used indoors and in environments with low visibility; the color temperature is between 3300K and 5000K. Green, Blue, abbreviated as: RGB) with equal proportions of three colors, are mostly used in shops, waiting halls and other environments; the color temperature greater than 5000K is cool color light, blue light is mostly in this part, and it is mostly used in outdoor, conference room and other environments with high visibility.

上述背景技术已经说明现有技术中几种调节色温的方式普遍存在调节精度较差,并且计算方式复杂、不易实现的问题。The above-mentioned background art has explained that several methods for adjusting color temperature in the prior art generally have the problems of poor adjustment accuracy, complicated calculation methods and difficult implementation.

图1为本发明实施例提供的一种色温调节方法的流程图。本发明实施例提供的色温调节方法可以包括如下步骤:FIG. 1 is a flowchart of a method for adjusting color temperature according to an embodiment of the present invention. The color temperature adjustment method provided by the embodiment of the present invention may include the following steps:

S110,根据初始色温关系集合中每个元素的适应度值,对该初始色温关系集合进行优化处理,生成优化色温关系集合;其中,上述集合(包括初始色温关系集合和优化色温关系集合)中每个元素为眼睛舒适度值与色温值的对应关系,优化色温关系集合中每个元素的适应度值均符合第一阈值。S110: Perform optimization processing on the initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set to generate an optimized color temperature relationship set; wherein, each of the above sets (including the initial color temperature relationship set and the optimized color temperature relationship set) Each element is the corresponding relationship between the eye comfort value and the color temperature value, and the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold.

本发明实施例提供的色温调节方法,为对显示设备的显示器件的色温进行调节的方案。本发明实施例中的初始色温关系集合中包括多个元素,每个元素为一组对应关系,即眼睛舒适度值与色温值的对应关系,可以理解的,不同人群以及不同用户的眼睛对色温值的适应程度不同,例如,不同年龄的人群,眼睛视力情况不同的人群对同一色温值的舒适程度通常是不同的,另外,不同用户对同一色温值的舒适程度也是不同的。The color temperature adjustment method provided by the embodiment of the present invention is a solution for adjusting the color temperature of a display device of a display device. The initial color temperature relationship set in the embodiment of the present invention includes a plurality of elements, and each element is a set of corresponding relationships, that is, the corresponding relationship between the eye comfort value and the color temperature value. The degree of adaptation to the value is different. For example, people of different ages and people with different eyesight conditions usually have different comfort levels for the same color temperature value. In addition, different users have different comfort levels for the same color temperature value.

在本发明实施例中,可以根据经验或者理论推演得到初始色温关系集合,即先列出不同人群或不同用户的眼睛舒适度值与色温值的对应关系,再对这些对应关系求适应度值,并根据每组对应关系的适应度值对初始色温关系集合进行优化处理,即验证初始色温关系集合中的每组对应关系(即每个元素)是否为最佳或较佳对应关系,即验证初始色温关系集合中的每组对应关系的适应度值是否符合特定的阈值要求,例如每组对应关系是否符合第一阈值的要求,并且对未达到该第一阈值要求的对应关系进行优化处理,生成优化后的优化色温关系集合,优化的结果即是得到该优化色温关系集合中的每个元素(即重新得到的眼睛舒适度值与色温值的对应关系)均符合第一阈值,该第一阈值即是对初始色温关系集合中每个元素的适应度值的最低要求,可以理解的是,初始色温关系集合中符合该第一阈值的元素可以直接保留到优化色温关系集合中,不符合该第一阈值的元素要被新的元素替换,使得优化色温关系集合中的每个元素符合第一阈值。In the embodiment of the present invention, the initial color temperature relationship set can be obtained by deduction based on experience or theory, that is, the corresponding relationship between the eye comfort value and the color temperature value of different groups of people or different users is listed first, and then the fitness value is calculated for these corresponding relationships, And optimize the initial color temperature relationship set according to the fitness value of each set of corresponding relationships, that is, verify whether each set of corresponding relationships (that is, each element) in the initial color temperature relationship set is the best or better corresponding relationship, that is, verify the initial color temperature relationship. Whether the fitness value of each group of corresponding relationships in the color temperature relationship set meets the specific threshold requirements, for example, whether each group of corresponding relationships meets the requirements of the first threshold, and optimizes the corresponding relationships that do not meet the first threshold requirements to generate The optimized optimized color temperature relationship set, the result of the optimization is that each element in the optimized color temperature relationship set (that is, the corresponding relationship between the re-obtained eye comfort value and the color temperature value) conforms to the first threshold, and the first threshold That is, the minimum requirement for the fitness value of each element in the initial color temperature relationship set. It can be understood that the elements in the initial color temperature relationship set that meet the first threshold can be directly retained in the optimized color temperature relationship set. Elements of a threshold are to be replaced by new elements such that each element in the set of optimized color temperature relationships conforms to the first threshold.

需要说明的是,本发明实施例中通过每个元素的适应度值衡量每组对应关系中的色温值是否符合人眼舒适度,例如,某一组对应关系为:眼睛舒适度值(某用户的眼睛舒适度1级)对应色温值x,若这组对应关系的适应度值为最高或较高级别,例如为一级或二级,则该适应度值符合第一阈值,若这组对应关系的适应度值为较低级别,例如为三级或四级,则该适应度值不符合第一阈值。另外,本发明实施例中每组对应关系中的眼睛舒适度值可以是以人群划分的,也可以是某个特定用户的眼睛舒适度值,可以根据终端设备的使用者自行设置。It should be noted that in the embodiment of the present invention, the fitness value of each element is used to measure whether the color temperature value in each group of corresponding relationships conforms to the human eye comfort. For example, a certain group of corresponding relationships is: eye comfort value (a user The eye comfort level 1) corresponds to the color temperature value x, if the fitness value of this group of corresponding relationships is the highest or higher level, such as level 1 or level 2, then the fitness value meets the first threshold, if this group corresponds to If the fitness value of the relationship is at a lower level, such as level 3 or level 4, the fitness value does not meet the first threshold. In addition, in the embodiment of the present invention, the eye comfort value in each group of corresponding relationships may be divided into groups, or may be the eye comfort value of a specific user, which may be set by the user of the terminal device.

在实际应用中,初始色温关系集合中每组对应关系(即每个元素)的适应度值的获取方式例如可以为:对多个眼睛舒适度值和多个色温值进行配对组合,且遍历所有可能的组合方式,上述每个组合为一组对应关系(即一个元素),随后,对所有元素进行模拟处理以得到这些元素的适应度值。例如可以把元素的适应度值分为四个等级,包括:一级、二级、三级和四级,眼睛舒适度值分为三个等级,包括:S级(状态对应舒适)、M级(状态对应疲劳)和L级(状态对应非常疲劳),色温值分为6个等级,包括:暖色光偏红(RB),正常暖色光(RM),正常自然白光(RS),自然白光略偏蓝(BS),正常冷色光(BM),冷色光偏蓝(BL);在模拟处理过程中,由于不同色温值的环境下,用户眼睛体验效果不同,并且用户的眼睛在上述不同状态时,对色温值的体验效果也不同,因此,对如表1所示的所有组合(每种组合对应一个元素)进行模拟实际情况,以获取其适应度值,该模拟处理例如可以为通过计算机程序进行的仿真处理,如表1所示,为上述不同组合(元素)对应的适应度值的示例。In practical applications, the acquisition method of the fitness value of each group of corresponding relationships (that is, each element) in the initial color temperature relationship set may be, for example, pairing and combining multiple eye comfort values and multiple color temperature values, and traversing all Possible combinations, each of the above combinations is a set of corresponding relationships (ie, one element), and then all elements are simulated to obtain the fitness values of these elements. For example, the fitness value of an element can be divided into four grades, including: first, second, third and fourth grades, and the eye comfort value can be divided into three grades, including: S grade (the state corresponds to comfort), M grade (state corresponds to fatigue) and L level (state corresponds to very tired), the color temperature value is divided into 6 levels, including: warm light reddish (RB), normal warm light (RM), normal natural white light (RS), natural white light slightly Blue slant (BS), normal cool light (BM), cool light slanted blue (BL); during the simulation process, due to the environment with different color temperature values, the user's eyes experience different effects, and the user's eyes are in the above different states. , the experience effect on the color temperature value is also different. Therefore, simulate the actual situation for all the combinations shown in Table 1 (each combination corresponds to an element) to obtain its fitness value. For example, the simulation process can be performed by a computer program. The simulation processing performed, as shown in Table 1, is an example of the fitness value corresponding to the above-mentioned different combinations (elements).

表1Table 1

Figure BDA0001617074000000071
Figure BDA0001617074000000071

Figure BDA0001617074000000081
Figure BDA0001617074000000081

需要说明的是,上述表1中所示的对眼睛舒适度值与色温值的对应关系,以及不同对应关系的适应度值仅是示意性说明,并不代表仅能以上述方式划分眼睛舒适度值和色温值的等级,也不代表元素的适应度值仅包括表1中示例出的几种情况。It should be noted that the correspondence between the eye comfort value and the color temperature value shown in Table 1, and the fitness values of different correspondences are only schematic descriptions, and do not mean that the eye comfort can only be divided in the above manner. The level of value and color temperature value, nor does it mean that the fitness value of the element includes only a few cases exemplified in Table 1.

S120,检测当前用户的眼睛舒适度值,根据优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定该当前用户的眼睛舒适度值对应的色温值,并根据所确定的色温值进行色温调节。S120: Detect the eye comfort value of the current user, and determine the color temperature value corresponding to the eye comfort value of the current user according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set, and according to the determined color temperature value color temperature value to adjust the color temperature.

在本发明实施例中,已经得到对初始色温关系集合优化后的优化色温关系集合,优化色温关系集合中的每个元素的适应度值均符合第一阈值,也就是说,优化后得到的眼睛舒适度值与色温值的对应关系为符合人眼舒适度的组合,因此,在用户使用终端设备时,终端设备可知具体用户或用户的人群划分,终端设备的摄像头通过拍摄用户可以获取当前用户的眼睛舒适度值,并根据该当前用户的眼睛舒适度值在优化色温关系集合中匹配每组对应关系(即每个元素)中的用户眼睛舒适度值,找到与当前用户的眼睛舒适度值相同或接近的一组对应关系,将该组对应关系的色温值确定为执行色温调节的目标值,从而根据上述确定的色温值进行色温调节。In the embodiment of the present invention, an optimized color temperature relationship set after optimizing the initial color temperature relationship set has been obtained, and the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold, that is, the eye obtained after optimization The corresponding relationship between the comfort value and the color temperature value is a combination that conforms to the comfort of the human eye. Therefore, when a user uses a terminal device, the terminal device can know the specific user or the user's group division, and the camera of the terminal device can obtain the current user's information by shooting the user. Eye comfort value, and match the user's eye comfort value in each set of corresponding relationships (that is, each element) in the optimized color temperature relationship set according to the current user's eye comfort value, and find the same value as the current user's eye comfort value or a close set of corresponding relationships, the color temperature value of the set of corresponding relationships is determined as the target value for performing color temperature adjustment, so that color temperature adjustment is performed according to the color temperature value determined above.

举例来说,终端设备通过摄像头拍摄当前用户的眼睛,可以通过连续帧的拍摄得到当前用户的眨眼频率,不同的眨眼频率对应不同的眼睛舒适度值。再举例来说,终端设备还可以通过摄像头拍摄当前用户眼睛闭合比,根据眼睛闭合比来检测当前用户的眼睛舒适度值,例如,眼睛舒适度值分为三个等级,对应的状态分别为清醒、疲劳和非常疲劳,当眼睛闭合比小于0.075时,此时的状态为清醒,眼睛舒适度值为舒适度1级,当眼睛闭合比在0.075~0.15之间时,此时的状态为疲劳,眼睛舒适度值为舒适度2级,当眼睛闭合比大于0.15时,此时的状态为非常疲劳,眼睛舒适度值为舒适度3级。For example, the terminal device shoots the eyes of the current user through a camera, and can obtain the blink frequency of the current user by shooting consecutive frames, and different blink frequencies correspond to different eye comfort values. For another example, the terminal device can also capture the current user's eye closure ratio through a camera, and detect the current user's eye comfort value according to the eye closure ratio. For example, the eye comfort value is divided into three levels, and the corresponding states are respectively awake. , fatigue and very tired, when the eye closure ratio is less than 0.075, the state at this time is awake, and the eye comfort value is comfort level 1. When the eye closure ratio is between 0.075 and 0.15, the state at this time is fatigue, The eye comfort value is comfort level 2, when the eye closure ratio is greater than 0.15, the state is very tired, and the eye comfort value is comfort level 3.

现有技术调节色温的方式中,普遍存在色温值公式不好设定、调节方式单一的现象,进而存在调节精度较差、实时性差的问题;另外,现有技术的方式均未考虑到由于每个人的个体差异导致对眼睛舒适度的不同需求,调节方式不够人性化。Among the methods of adjusting color temperature in the prior art, there are generally problems that the color temperature value formula is not well set and the adjustment method is single, and further, there are problems of poor adjustment accuracy and poor real-time performance; Individual differences lead to different needs for eye comfort, and the adjustment method is not humane enough.

本发明实施例提供的色温调节方法,基于不同人群或不同用户的眼睛舒适度值,匹配到最优或较优的色温值,将色温值与具体人群或具体用户相关联,可以根据用户的个体差异,匹配出适合每个用户的色温值,解决了长期使用单一色温影响人眼的舒适感的问题,提供了一种个性化的智能调节色温的方式。The color temperature adjustment method provided by the embodiment of the present invention matches to an optimal or better color temperature value based on the eye comfort values of different groups of people or different users, and associates the color temperature value with a specific group of people or specific users. Differences, match the color temperature value suitable for each user, solve the problem of long-term use of a single color temperature affecting the comfort of the human eye, and provide a personalized and intelligent way to adjust the color temperature.

本发明实施例提供的色温调节方法,通过初始色温关系集合中每个元素的适应度值,对预先建立的初始色温关系集合进行优化处理,以生成每个元素均符合预设条件的优化色温关系集合,从而在检测到当前用户的眼睛舒适度值时,根据优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定检测出的当前用户的眼睛舒适度值所对应的色温值,从而进行色温调节,上述集合中的元素均为眼睛舒适度值与色温值的对应关系;本发明实施例提供的色温调节方法,考虑到不同人群或不同用户的个人差异,匹配出适合不同人群或特定用户的色温值,提高了色温调节的智能性和人性化。The color temperature adjustment method provided by the embodiment of the present invention performs optimization processing on the pre-established initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set, so as to generate an optimized color temperature relationship in which each element complies with the preset conditions Therefore, when the eye comfort value of the current user is detected, according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set, the detected eye comfort value of the current user corresponds to The elements in the above set are the corresponding relationship between the eye comfort value and the color temperature value; the color temperature adjustment method provided by the embodiment of the present invention takes into account the personal differences of different groups of people or different users. The color temperature value of different groups or specific users improves the intelligence and humanization of color temperature adjustment.

可选地,图2为本发明实施例提供的另一种色温调节方法的流程图,在图1所示实施例的基础上,本发明实施例提供的方法中,S110实现方式可以包括:Optionally, FIG. 2 is a flowchart of another color temperature adjustment method provided by an embodiment of the present invention. On the basis of the embodiment shown in FIG. 1 , in the method provided by the embodiment of the present invention, an implementation manner of S110 may include:

S111,根据初始色温关系集合中每个元素的适应度值,在初始色温关系集合中,选择适应度值符合第一阈值的元素作为第一子集,且将适应度值不符合第一阈值的元素作为第二子集;S111, according to the fitness value of each element in the initial color temperature relationship set, in the initial color temperature relationship set, select elements whose fitness values meet the first threshold as the first subset, and select elements whose fitness values do not meet the first threshold as the first subset. elements as the second subset;

S112,对第二子集执行遗传操作,将生成的适应度值符合第一阈值的元素作为第三子集;S112, performing a genetic operation on the second subset, and using the generated fitness value to meet the elements of the first threshold as the third subset;

S113,将第一子集和第三子集添加到优化色温关系集合中。S113, add the first subset and the third subset to the optimized color temperature relationship set.

在本发明实施例中,由于初始色温关系集合中可能存在一些对应关系(即元素)的适应度值较高,这些元素本身就已满足第一阈值的要求,即对这些元素不需要再进行优化,仅对初始色温关系集合中不符合第一阈值的那些元素(即适应度值未达到第一阈值的元素)进行优化,因此,可以先将适应度值本身较高,符合第一阈值的元素筛选出来作为第一子集,将剩余的适应度值未符合第一阈值的元素作为第二子集,上述第一子集中的元素可以全部作为优化色温关系集合中的元素。随后,具体对第二子集进行优化处理,例如可以采用遗传算法进行优化处理,即对第二子集执行遗传操作,以生成适应度值均符合第一阈值的元素,通过对第二子集执行遗传操作生成的元素不再是初始色温关系集合中的原始元素,将这些新的元素作为第三子集中的元素。In this embodiment of the present invention, since there may be some corresponding relationships (ie elements) in the initial color temperature relationship set with high fitness values, these elements themselves already meet the requirements of the first threshold, that is, these elements do not need to be optimized any more , only those elements in the initial color temperature relationship set that do not meet the first threshold (that is, the elements whose fitness value does not reach the first threshold) are optimized. Therefore, the elements whose fitness value itself is higher and meet the first threshold can be optimized first. Selected as the first subset, the remaining elements whose fitness values do not meet the first threshold are used as the second subset, and all the elements in the first subset may be used as elements in the optimized color temperature relationship set. Subsequently, the optimization process is specifically performed on the second subset, for example, a genetic algorithm may be used to perform the optimization process, that is, a genetic operation is performed on the second subset to generate elements whose fitness values all meet the first threshold. The elements generated by performing the genetic operation are no longer the original elements in the initial set of color temperature relationships, and these new elements are used as elements in the third subset.

在实际应用中,对第二子集执行遗传操作的实现方式,可以是重新组合第二子集中的每组对应关系,例如利用比例轮赌方式选择最佳元素保留,具体实现方式可以为:先记录并保留下适应度值最佳的元素,当子集中元素的个数达到要求时,用适应度值较佳的元素代替适应度值较差的元素,即用新元素代替旧元素,最终生成元素适应度值符合第一阈值的第三子集。In practical applications, the implementation of the genetic operation on the second subset may be to recombine each set of correspondences in the second subset, for example, using proportional roulette to select the best element to retain. The specific implementation may be: first Record and retain the element with the best fitness value. When the number of elements in the subset reaches the requirement, replace the element with the poor fitness value with the element with the better fitness value, that is, replace the old element with the new element, and finally generate A third subset of element fitness values conforming to the first threshold.

本发明实施例采用对第二子集执行遗传操作的方式进行优化处理,以获得元素的适应度值均符合第一阈值的第三子集,遗传操作以遗传算法为基础,根据生物遗传学的“适者生存,优胜劣汰”的进化规则,将元素视为个体,使用确定式采样选择,先记录下适应度值最高的个体,达到群体个数时,用适应度最佳的个体代替适应度最差的个体。采用遗传算法进行优化的方式中计算简单,易于实现,例如计算出每个元素的适应度值,并根据适应度值采用遗传算法中的常规操作方式执行即可,解决了现有技术在进行色温调节时公式难以设定和计算方式复杂、不易实现等问题。The embodiment of the present invention performs optimization processing by performing genetic operations on the second subset, so as to obtain a third subset whose fitness values of elements all meet the first threshold. The evolutionary rule of "survival of the fittest, survival of the fittest" treats elements as individuals, uses deterministic sampling selection, first records the individual with the highest fitness value, and when the number of groups is reached, replaces the individual with the highest fitness with the individual with the best fitness poor individual. The optimization method using genetic algorithm is simple to calculate and easy to implement. For example, the fitness value of each element is calculated, and the conventional operation method in genetic algorithm can be used according to the fitness value, which solves the problem of color temperature in the prior art When adjusting, the formula is difficult to set and the calculation method is complicated and difficult to realize.

进一步地,由于遗传操作中的操作方式例如包括:选择操作、交叉操作和变异操作。本发明实施例的S112中,对第二子集执行遗传操作,将生成的适应度值符合第一阈值的元素作为第三子集的实现方式,可以包括:对第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,直到生成第三子集。本发明实施例可以通过多次迭代操作得到适应度值符合第一阈值的元素。Further, the operations in genetic operations include, for example, selection operations, crossover operations, and mutation operations. In S112 in this embodiment of the present invention, performing a genetic operation on the second subset, and using the generated elements whose fitness values meet the first threshold as the third subset may include: performing selection on the elements in the second subset One or more of operations, crossover operations, and mutation operations until a third subset is generated. In this embodiment of the present invention, elements whose fitness values meet the first threshold can be obtained through multiple iteration operations.

在遗传算法的操作方式中,具有选择算子、交叉算子和变异算子,在进行上述选择操作、交叉操作和变异操作时,可以将相应的算子作用于群体(即本发明实施例中的初始色温关系集合)进行计算。其中,对于选择操作,目的是将较优的个体(即元素)遗传到下一代,可以直接选择后进行复制将加入到新的群体;对于交叉操作,父个体(第二子集中的元素)按照一定的概率随机交换基因的前后部分形成新的个体(第二子集中的元素),例如可以采取单点交叉操作,其中,在生物遗传学中基因为组成染色体的单元,本发明实施例中可以定义眼睛舒适度值与色温值的组合为一个基因,即为元素;对于变异操作,按照很小的概率随机改变某个个体的性质,例如基于基因的单点变异,在执行交叉操作和变异操作后,将新形成的适应度值符合第一阈值的元素添加到第三子集中。In the operation mode of the genetic algorithm, there are selection operators, crossover operators and mutation operators. When performing the above selection operations, crossover operations and mutation operations, the corresponding operators can be applied to the population (that is, in the embodiment of the present invention). The initial color temperature relationship set) is calculated. Among them, for the selection operation, the purpose is to inherit the better individuals (ie elements) to the next generation, which can be directly selected and then copied to join the new group; for the crossover operation, the parent individuals (elements in the second subset) follow the A new individual (elements in the second subset) can be formed by randomly exchanging the front and rear parts of a gene with a certain probability. For example, a single-point crossover operation can be adopted. In biological genetics, a gene is a unit that constitutes a chromosome. In the embodiment of the present invention, it can be The combination of eye comfort value and color temperature value is defined as a gene, which is an element; for mutation operation, the properties of an individual are randomly changed according to a small probability, such as gene-based single-point mutation, when performing crossover and mutation operations Afterwards, elements whose fitness value meets the first threshold are added to the third subset.

需要说明的是,由于第二子集中的所有元素均不符合第一阈值的要求,在对第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项时可知:执行选择操作时选择出的适应度值较高的元素实际上也不符合第一阈值的要求,因此,这些元素仅作为优化过程中的一个中间变量,对这些元素还是要继续进行其它遗传操作,例如交叉操作和变异操作;对于未执行过选择操作的元素同样可以进行交叉操作和变异操作,即图2所示实施例中的S112可以包括:It should be noted that since all the elements in the second subset do not meet the requirements of the first threshold, when performing one or more of the selection operation, the crossover operation and the mutation operation on the elements in the second subset, it can be known that: The elements with higher fitness values selected during the selection operation actually do not meet the requirements of the first threshold. Therefore, these elements are only used as an intermediate variable in the optimization process, and other genetic operations should continue to be performed on these elements, such as Crossover operation and mutation operation; crossover operation and mutation operation can also be performed on the elements that have not performed the selection operation, that is, S112 in the embodiment shown in FIG. 2 may include:

步骤1,选择第二子集中适应度值符合第二阈值的元素,并且对择的元素执行交叉操作或变异操作;Step 1, select elements in the second subset whose fitness values meet the second threshold, and perform a crossover operation or mutation operation on the selected elements;

步骤2,对第二子集中未选择的元素执行交叉操作或变异操作。Step 2, perform a crossover operation or mutation operation on the unselected elements in the second subset.

在执行遗传操作的实际应用中,通常并非执行一轮选择操作、交叉操作和变异操作即可得到符合要求的元素,通常需要进行多次迭代处理。本发明实施例在执行上述步骤1和步骤2后,可以生成中间状态集合,在进行上述遗传操作后,该中间状态集合的元素中,可能有一部分元素的适应度值已符合第一阈值,将这部分元素作为第三集合中的元素,还有一部分元素的适应度值不符合第一阈值,将这部分元素作为第四集合中的元素;随后,可以继续该第四子集进行遗传操作,执行遗传操作的方式与对第二子集进行遗传操作的方式相同。也就是说,图2所示实施例中的S112还可以包括:In the practical application of performing genetic operations, it is usually not necessary to perform one round of selection operations, crossover operations and mutation operations to obtain elements that meet the requirements, and usually requires multiple iterations. In this embodiment of the present invention, after performing the above steps 1 and 2, an intermediate state set may be generated. After the above genetic operation is performed, some elements of the intermediate state set may have fitness values that meet the first threshold. This part of the elements is used as the elements in the third set, and the fitness value of some elements does not meet the first threshold, and this part of the elements is used as the elements in the fourth set; then, the fourth subset can be continued to perform genetic operations, The genetic manipulation is performed in the same way as the genetic manipulation on the second subset. That is to say, S112 in the embodiment shown in FIG. 2 may further include:

步骤3,将步骤1和步骤2后生成的适应度值符合第一阈值的元素添加到第三子集中,将适应度值不符合第一阈值的元素添加到第四子集;Step 3, adding the elements whose fitness values generated after Step 1 and Step 2 meet the first threshold to the third subset, and adding the elements whose fitness values do not meet the first threshold to the fourth subset;

步骤4,根据第四子集中每个元素的适应度值对该第四子集执行选择操作、交叉操作和变异操作中的一项或多项,直到操作后生成的元素的适应度值均符合第一阈值。Step 4, according to the fitness value of each element in the fourth subset, perform one or more of the selection operation, the crossover operation and the mutation operation on the fourth subset, until the fitness values of the elements generated after the operation are consistent with each other. first threshold.

以下详细说明本发明实施例提供色温调节方法实现方式,如图3所示,为本发明实施例提供的又一种色温调节方法的流程图,本发明实施例提供的方法包括:The following describes in detail the implementation of the color temperature adjustment method provided by the embodiment of the present invention. As shown in FIG. 3 , it is a flowchart of another color temperature adjustment method provided by the embodiment of the present invention. The method provided by the embodiment of the present invention includes:

S201,建立初始色温关系集合,该集合中的每个元素为眼睛舒适度值与色温值的对应关系;例如可以随机建立N组眼睛舒适度值与色温值的对应关系,其中,N为150,N也可以为其它数量。S201, establish an initial color temperature relationship set, each element in the set is a corresponding relationship between eye comfort values and color temperature values; for example, N groups of corresponding relationships between eye comfort values and color temperature values can be randomly established, where N is 150, N can also be other numbers.

S202,计算初始色温关系集合中每个元素的适应度值,该适应度值的定义可以为:当前色温下,眼睛的眨眼频率在规定的阈值范围内时,为适应度高级,眼睛的眨眼频率超出规定的阈值范围20%,为适应度中级,眼睛的眨眼频率超出规定的阈值范围50%,为适应度低级。S202: Calculate the fitness value of each element in the initial color temperature relationship set. The definition of the fitness value may be: under the current color temperature, when the blinking frequency of the eye is within a specified threshold range, the fitness is high, and the blinking frequency of the eye is high. If it exceeds the specified threshold range by 20%, it is considered as the middle level of fitness, and if the blink frequency of the eyes exceeds the specified threshold range by 50%, it is considered as the low level of fitness.

S203,判断元素的适应度值是否符合第一阈值;若符合,则执行S204,若不符合,则执行S205;S203, determine whether the fitness value of the element meets the first threshold; if so, execute S204; if not, execute S205;

S204,将适应度值符合第一阈值的元素添加到优化色温关系集合中;S204, adding elements whose fitness values meet the first threshold to the optimized color temperature relationship set;

S205,将适应度值不符合第一阈值的元素添加到第二子集中;S205, adding elements whose fitness values do not meet the first threshold into the second subset;

S206,判断第二子集中每个元素的适应度值是否符合第二阈值;若符合,则执行S207,若不符合,则执行S208;S206, judging whether the fitness value of each element in the second subset meets the second threshold; if so, execute S207, if not, execute S208;

S207,选择适应度值符合第二阈值的元素;随后可以执行S208;S207, select the element whose fitness value meets the second threshold; S208 can be performed subsequently;

S208,对元素执行交叉操作或变异操作,得到新的元素;S208, perform a crossover operation or mutation operation on the elements to obtain a new element;

在本实施例中,在S208后,可以继续执行S203,即判断新元素的适应度值是否符合第一阈值,在多次轮循后,直到所有元素的适应度值均符合第一阈值时,则结束判断,此时得到优化色温组合。In this embodiment, after S208, S203 may be continued, that is, it is determined whether the fitness value of the new element meets the first threshold, and after multiple rounds, until the fitness values of all elements meet the first threshold, Then the judgment is ended, and the optimized color temperature combination is obtained at this time.

基于本发明上述各实施例提供的色温调节方法,本发明实施例还提供一种色温调节装置,该色温调节装置用于执行本发明上述任一实施例提供的色温调节方法。Based on the color temperature adjustment methods provided by the above embodiments of the present invention, an embodiment of the present invention further provides a color temperature adjustment device, which is used to execute the color temperature adjustment method provided by any of the above embodiments of the present invention.

如图4所示,为本发明实施例提供的一种色温调节装置的结构示意图。本实施例提供的色温调节装置30包括:优化处理模块31、色温确定模块32和色温调节模块33。As shown in FIG. 4 , it is a schematic structural diagram of a color temperature adjustment device according to an embodiment of the present invention. The color temperature adjustment device 30 provided in this embodiment includes: an optimization processing module 31 , a color temperature determination module 32 and a color temperature adjustment module 33 .

其中,优化处理模块31,用于根据初始色温关系集合中每个元素的适应度值,对该初始色温关系集合进行优化处理,生成优化色温关系集合;其中,集合中的每个元素为眼睛舒适度值与色温值的对应关系,优化色温关系集合中每个元素的适应度值均符合第一阈值。Wherein, the optimization processing module 31 is configured to perform optimization processing on the initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set, and generate an optimized color temperature relationship set; wherein, each element in the set is comfortable for the eyes The corresponding relationship between the degree value and the color temperature value, and the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold.

本发明实施例提供的色温调节装置,用于对显示设备的显示器件的色温进行调节。本发明实施例中的初始色温关系集合中包括多个元素,每个元素为一组对应关系,即眼睛舒适度值与色温值的对应关系,可以理解的,不同人群以及不同用户的眼睛对色温值的适应程度不同,例如,不同年龄的人群,眼睛视力情况不同的人群对同一色温值的舒适程度通常是不同的,另外,不同用户对同一色温值的舒适程度也是不同的。The color temperature adjustment device provided by the embodiment of the present invention is used to adjust the color temperature of a display device of a display device. The initial color temperature relationship set in the embodiment of the present invention includes a plurality of elements, and each element is a set of corresponding relationships, that is, the corresponding relationship between the eye comfort value and the color temperature value. The degree of adaptation to the value is different. For example, people of different ages and people with different eyesight conditions usually have different comfort levels for the same color temperature value. In addition, different users have different comfort levels for the same color temperature value.

在本发明实施例中,可以根据经验或者理论推演得到初始色温关系集合,即先列出不同人群或不同用户的眼睛舒适度值与色温值的对应关系,再对这些对应关系求适应度值,由优化处理模块31根据每组对应关系的适应度值对初始色温关系集合进行优化处理,即验证初始色温关系集合中的每组对应关系(即每个元素)是否为最佳或较佳对应关系,即验证初始色温关系集合中的每组对应关系的适应度值是否符合特定的阈值要求,例如每组对应关系是否符合第一阈值的要求,并且对未达到该第一阈值要求的对应关系进行优化处理,生成优化后的优化色温关系集合,优化的结果即是得到该优化色温关系集合中的每个元素(即重新得到的眼睛舒适度值与色温值的对应关系)均符合第一阈值,该第一阈值即是对初始色温关系集合中每个元素的适应度值的最低要求,可以理解的是,初始色温关系集合中符合该第一阈值的元素可以直接保留到优化色温关系集合中,不符合该第一阈值的元素要被新的元素替换,使得优化色温关系集合中的每个元素符合第一阈值。In the embodiment of the present invention, the initial color temperature relationship set can be obtained by deduction based on experience or theory, that is, the corresponding relationship between the eye comfort value and the color temperature value of different groups of people or different users is listed first, and then the fitness value is calculated for these corresponding relationships, The optimization processing module 31 performs optimization processing on the initial color temperature relationship set according to the fitness value of each set of corresponding relationships, that is, it verifies whether each set of corresponding relationships (ie, each element) in the initial color temperature relationship set is the best or better corresponding relationship. , that is, to verify whether the fitness value of each group of corresponding relationships in the initial color temperature relationship set meets the specific threshold requirements, such as whether each group of corresponding relationships meets the requirements of the first threshold, and the corresponding relationships that do not meet the first threshold requirements are checked. The optimization process generates an optimized set of optimized color temperature relationships, and the result of the optimization is that each element in the set of optimized color temperature relationships (that is, the corresponding relationship between the re-obtained eye comfort value and the color temperature value) conforms to the first threshold value, The first threshold is the minimum requirement for the fitness value of each element in the initial color temperature relationship set. It can be understood that elements in the initial color temperature relationship set that meet the first threshold can be directly retained in the optimized color temperature relationship set. Elements that do not meet the first threshold are to be replaced by new elements, so that each element in the set of optimized color temperature relationships meets the first threshold.

需要说明的是,本发明实施例中通过每个元素的适应度值衡量每组对应关系中的色温值是否符合人眼舒适度,例如,某一组对应关系为:眼睛舒适度值(某用户的眼睛舒适度1级)对应色温值x,若这组对应关系的适应度值为最高或较高级别,例如为一级或二级,则该适应度值符合第一阈值,若这组对应关系的适应度值为较低级别,例如为三级或四级,则该适应度值不符合第一阈值。另外,本发明实施例中每组对应关系中的眼睛舒适度值可以是以人群划分的,也可以是某个特定用户的眼睛舒适度值,可以根据终端设备的使用者自行设置。另外,上述实施例中已经示意性说明初始色温关系集合中每组对应关系(即每个元素)的适应度值的获取方式,故在此不再赘述。It should be noted that in the embodiment of the present invention, the fitness value of each element is used to measure whether the color temperature value in each group of corresponding relationships conforms to the human eye comfort. For example, a certain group of corresponding relationships is: eye comfort value (a user The eye comfort level 1) corresponds to the color temperature value x, if the fitness value of this group of corresponding relationships is the highest or higher level, such as level 1 or level 2, then the fitness value meets the first threshold, if this group corresponds to If the fitness value of the relationship is at a lower level, such as level 3 or level 4, the fitness value does not meet the first threshold. In addition, in the embodiment of the present invention, the eye comfort value in each group of corresponding relationships may be divided into groups, or may be the eye comfort value of a specific user, which may be set by the user of the terminal device. In addition, the above-mentioned embodiments have already schematically described how to obtain the fitness value of each group of corresponding relationships (ie, each element) in the initial color temperature relationship set, and thus will not be repeated here.

色温确定模块32,用于检测当前用户的眼睛舒适度值,根据优化处理模块31生成的优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定当前用户的眼睛舒适度值对应的色温值;The color temperature determination module 32 is used to detect the eye comfort value of the current user, and determine the eye comfort value of the current user according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set generated by the optimization processing module 31 The color temperature value corresponding to the value;

色温调节模块33,用于根据色温确定模块32确定出的色温值进行色温调节。The color temperature adjustment module 33 is configured to adjust the color temperature according to the color temperature value determined by the color temperature determination module 32 .

在本发明实施例中,优化处理模块31已经得到对初始色温关系集合优化后的优化色温关系集合,优化色温关系集合中的每个元素的适应度值均符合第一阈值,也就是说,优化后得到的眼睛舒适度值与色温值的对应关系为符合人眼舒适度的组合,因此,在用户使用终端设备时,终端设备可知具体用户或用户的人群划分,终端设备的摄像头通过拍摄用户可以获取当前用户的眼睛舒适度值,并由色温确定模块32根据该当前用户的眼睛舒适度值在优化色温关系集合中匹配每组对应关系(即每个元素)中的用户眼睛舒适度值,找到与当前用户的眼睛舒适度值相同或接近的一组对应关系,将该组对应关系的色温值确定为执行色温调节的目标值,从而由色温调节模块33根据上述确定的色温值进行色温调节。In the embodiment of the present invention, the optimization processing module 31 has obtained the optimized color temperature relationship set after optimizing the initial color temperature relationship set, and the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold, that is, the optimized color temperature relationship set The corresponding relationship between the eye comfort value and the color temperature value obtained later is a combination that conforms to the human eye comfort. Therefore, when a user uses a terminal device, the terminal device can know the specific user or the user's group division, and the camera of the terminal device can shoot the user. Obtain the eye comfort value of the current user, and match the user's eye comfort value in each group of corresponding relationships (that is, each element) in the optimized color temperature relationship set according to the eye comfort value of the current user by the color temperature determination module 32, and find For a set of correspondences that are the same or close to the eye comfort value of the current user, the color temperature value of the set of correspondences is determined as the target value for performing color temperature adjustment, so that the color temperature adjustment module 33 performs color temperature adjustment according to the color temperature value determined above.

举例来说,终端设备通过摄像头拍摄当前用户的眼睛,可以通过连续帧的拍摄得到当前用户的眨眼频率,不同的眨眼频率对应不同的眼睛舒适度值。再举例来说,终端设备还可以通过摄像头拍摄当前用户眼睛闭合比,根据眼睛闭合比来检测当前用户的眼睛舒适度值,例如,眼睛舒适度值分为三个等级,对应的状态分别为清醒、疲劳和非常疲劳,当眼睛闭合比小于0.075时,此时的状态为清醒,眼睛舒适度值为舒适度1级,当眼睛闭合比在0.075~0.15之间时,此时的状态为疲劳,眼睛舒适度值为舒适度2级,当眼睛闭合比大于0.15时,此时的状态为非常疲劳,眼睛舒适度值为舒适度3级。For example, the terminal device shoots the eyes of the current user through a camera, and can obtain the blink frequency of the current user by shooting consecutive frames, and different blink frequencies correspond to different eye comfort values. For another example, the terminal device can also capture the current user's eye closure ratio through a camera, and detect the current user's eye comfort value according to the eye closure ratio. For example, the eye comfort value is divided into three levels, and the corresponding states are respectively awake. , fatigue and very tired, when the eye closure ratio is less than 0.075, the state at this time is awake, and the eye comfort value is comfort level 1. When the eye closure ratio is between 0.075 and 0.15, the state at this time is fatigue, The eye comfort value is comfort level 2, when the eye closure ratio is greater than 0.15, the state is very tired, and the eye comfort value is comfort level 3.

现有技术调节色温的方式中,普遍存在色温值公式不好设定、调节方式单一的现象,进而存在调节精度较差、实时性差的问题;另外,现有技术的方式均未考虑到由于每个人的个体差异导致对眼睛舒适度的不同需求,调节方式不够人性化。Among the methods of adjusting color temperature in the prior art, there are generally problems that the color temperature value formula is not well set and the adjustment method is single, and further, there are problems of poor adjustment accuracy and poor real-time performance; Individual differences lead to different needs for eye comfort, and the adjustment method is not humane enough.

本发明实施例提供的色温调节装置,基于不同人群或不同用户的眼睛舒适度值,匹配到最优或较优的色温值,将色温值与具体人群或具体用户相关联,可以根据用户的个体差异,匹配出适合每个用户的色温值,解决了长期使用单一色温影响人眼的舒适感的问题,提供了一种个性化的智能调节色温的方式。The color temperature adjustment device provided by the embodiment of the present invention matches the optimal or better color temperature value based on the eye comfort values of different groups of people or different users, and associates the color temperature value with specific groups of people or specific users. Differences, match the color temperature value suitable for each user, solve the problem of long-term use of a single color temperature affecting the comfort of the human eye, and provide a personalized and intelligent way to adjust the color temperature.

本发明实施例提供的色温调节装置,优化处理模块通过初始色温关系集合中每个元素的适应度值,对预先建立的初始色温关系集合进行优化处理,以生成每个元素均符合预设条件(第一阈值)的优化色温关系集合,从而在色温确定模块检测到当前用户的眼睛舒适度值时,根据优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定检测出的当前用户的眼睛舒适度值所对应的色温值,从而由色温调节模块根据上述确定的色温值进行色温调节,上述集合中的元素均为眼睛舒适度值与色温值的对应关系;本发明实施例提供的色温调节装置,考虑到不同人群或不同用户的个人差异,匹配出适合不同人群或特定用户的色温值,提高了色温调节的智能性和人性化。In the color temperature adjustment device provided by the embodiment of the present invention, the optimization processing module performs optimization processing on the pre-established initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set, so as to generate a set of elements that meet the preset conditions ( The first threshold) of the optimized color temperature relationship set, so that when the color temperature determination module detects the eye comfort value of the current user, it is determined according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set. The color temperature value corresponding to the eye comfort value of the current user, so that the color temperature adjustment module performs color temperature adjustment according to the color temperature value determined above, and the elements in the above set are the corresponding relationship between the eye comfort value and the color temperature value; the implementation of the present invention The color temperature adjustment device provided in the example, considering the individual differences of different groups of people or different users, matches color temperature values suitable for different groups of people or specific users, which improves the intelligence and humanization of color temperature adjustment.

可选地,图5为本发明实施例提供的另一种色温调节装置的结构示意图,在图4所示装置的结构基础上,本发明实施例提供的装置中,优化处理模块31可以包括:Optionally, FIG. 5 is a schematic structural diagram of another color temperature adjustment device provided by an embodiment of the present invention. On the basis of the structure of the device shown in FIG. 4 , in the device provided by the embodiment of the present invention, the optimization processing module 31 may include:

选择单元311,用于根据初始色温关系集合中每个元素的适应度值,在初始色温关系集合中选择适应度值符合第一阈值的元素作为第一子集,且将适应度值不符合第一阈值的元素作为第二子集;The selection unit 311 is configured to select elements whose fitness values meet the first threshold in the initial color temperature relationship set as the first subset according to the fitness value of each element in the initial color temperature relationship set, and set the fitness values that do not meet the first threshold value as the first subset. a threshold of elements as the second subset;

处理单元312,用于对第二子集执行遗传操作,将生成的适应度值符合第一阈值的元素作为第三子集;a processing unit 312, configured to perform a genetic operation on the second subset, and use the generated fitness value in line with the element of the first threshold as the third subset;

生成单元313,用于将第一子集和第三子集添加到优化色温关系集合中。The generating unit 313 is configured to add the first subset and the third subset to the optimized color temperature relationship set.

在本发明实施例中,由于初始色温关系集合中可能存在一些对应关系(即元素)的适应度值较高,这些元素本身就已满足第一阈值的要求,即对这些元素不需要再进行优化,仅对初始色温关系集合中不符合第一阈值的那些元素(即适应度值未达到第一阈值的元素)进行优化,因此,可以先将适应度值本身较高,符合第一阈值的元素筛选出来作为第一子集,将剩余的适应度值未符合第一阈值的元素作为第二子集,上述第一子集中的元素可以全部作为优化色温关系集合中的元素。随后,具体对第二子集进行优化处理,例如可以采用遗传算法进行优化处理,即对第二子集执行遗传操作,以生成适应度值均符合第一阈值的元素,通过对第二子集执行遗传操作生成的元素不再是初始色温关系集合中的原始元素,将这些新的元素作为第三子集中的元素。In this embodiment of the present invention, since there may be some corresponding relationships (ie elements) in the initial color temperature relationship set with high fitness values, these elements themselves already meet the requirements of the first threshold, that is, these elements do not need to be optimized any more , only those elements in the initial color temperature relationship set that do not meet the first threshold (that is, the elements whose fitness value does not reach the first threshold) are optimized. Therefore, the elements whose fitness value itself is higher and meet the first threshold can be optimized first. Selected as the first subset, the remaining elements whose fitness values do not meet the first threshold are used as the second subset, and all the elements in the first subset may be used as elements in the optimized color temperature relationship set. Subsequently, the optimization process is specifically performed on the second subset, for example, a genetic algorithm may be used to perform the optimization process, that is, a genetic operation is performed on the second subset to generate elements whose fitness values all meet the first threshold. The elements generated by performing the genetic operation are no longer the original elements in the initial set of color temperature relationships, and these new elements are used as elements in the third subset.

在实际应用中,对第二子集执行遗传操作的实现方式,可以是重新组合第二子集中的每组对应关系,例如利用比例轮赌方式选择最佳元素保留,具体实现方式可以为:先记录并保留下适应度值最佳的元素,当子集中元素的个数达到要求时,用适应度值较佳的元素代替适应度值较差的元素,即用新元素代替旧元素,最终生成元素适应度值符合第一阈值的第三子集。In practical applications, the implementation of the genetic operation on the second subset may be to recombine each set of correspondences in the second subset, for example, using proportional roulette to select the best element to retain. The specific implementation may be: first Record and retain the element with the best fitness value. When the number of elements in the subset reaches the requirement, replace the element with the poor fitness value with the element with the better fitness value, that is, replace the old element with the new element, and finally generate A third subset of element fitness values conforming to the first threshold.

本发明实施例采用对第二子集执行遗传操作的方式进行优化处理,以获得元素的适应度值均符合第一阈值的第三子集,遗传操作以遗传算法为基础,根据生物遗传学的“适者生存,优胜劣汰”的进化规则,将元素视为个体,使用确定式采样选择,先记录下适应度值最高的个体,达到群体个数时,用适应度最佳的个体代替适应度最差的个体。采用遗传算法进行优化的方式中计算简单,易于实现,例如计算出每个元素的适应度值,并根据适应度值采用遗传算法中的常规操作方式执行即可,解决了现有技术在进行色温调节时公式难以设定和计算方式复杂、不易实现等问题。The embodiment of the present invention performs optimization processing by performing genetic operations on the second subset, so as to obtain a third subset whose fitness values of elements all meet the first threshold. The evolutionary rule of "survival of the fittest, survival of the fittest" treats elements as individuals, uses deterministic sampling selection, first records the individual with the highest fitness value, and when the number of groups is reached, replaces the individual with the highest fitness with the individual with the best fitness poor individual. The optimization method using genetic algorithm is simple to calculate and easy to implement. For example, the fitness value of each element is calculated, and the conventional operation method in genetic algorithm can be used according to the fitness value, which solves the problem of color temperature in the prior art When adjusting, the formula is difficult to set and the calculation method is complicated and difficult to realize.

进一步地,由于遗传操作中的操作方式例如包括:选择操作、交叉操作和变异操作。本发明实施例的处理单元312对第二子集执行遗传操作,将生成的适应度值符合第一阈值的元素作为第三子集的实现方式,可以包括:对第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,直到生成第三子集。本发明实施例可以通过多次迭代操作得到适应度值符合第一阈值的元素。Further, the operations in genetic operations include, for example, selection operations, crossover operations, and mutation operations. The processing unit 312 in this embodiment of the present invention performs a genetic operation on the second subset, and uses the generated elements whose fitness values meet the first threshold as the third subset. The implementation may include: performing selection on the elements in the second subset One or more of operations, crossover operations, and mutation operations until a third subset is generated. In this embodiment of the present invention, elements whose fitness values meet the first threshold can be obtained through multiple iteration operations.

在遗传算法的操作方式中,具有选择算子、交叉算子和变异算子,在进行上述选择操作、交叉操作和变异操作时,可以将相应的算子作用于群体(即本发明实施例中的初始色温关系集合)进行计算。其中,对于选择操作,目的是将较优的个体(即元素)遗传到下一代,可以直接选择后进行复制将加入到新的群体;对于交叉操作,父个体(第二子集中的元素)按照一定的概率随机交换基因的前后部分形成新的个体(第二子集中的元素),例如可以采取单点交叉操作,其中,在生物遗传学中基因为组成染色体的单元,本发明实施例中可以定义眼睛舒适度值与色温值的组合为一个基因,即为元素;对于变异操作,按照很小的概率随机改变某个个体的性质,例如基于基因的单点变异,在执行交叉操作和变异操作后,将新形成的适应度值符合第一阈值的元素添加到第三子集中。In the operation mode of the genetic algorithm, there are selection operators, crossover operators and mutation operators. When performing the above selection operations, crossover operations and mutation operations, the corresponding operators can be applied to the population (that is, in the embodiment of the present invention). The initial color temperature relationship set) is calculated. Among them, for the selection operation, the purpose is to inherit the better individuals (ie elements) to the next generation, which can be directly selected and then copied to join the new group; for the crossover operation, the parent individuals (elements in the second subset) follow the A new individual (elements in the second subset) can be formed by randomly exchanging the front and rear parts of a gene with a certain probability. For example, a single-point crossover operation can be adopted. In biological genetics, a gene is a unit that constitutes a chromosome. In the embodiment of the present invention, it can be The combination of eye comfort value and color temperature value is defined as a gene, which is an element; for mutation operation, the properties of an individual are randomly changed according to a small probability, such as gene-based single-point mutation, when performing crossover and mutation operations Afterwards, elements whose fitness value meets the first threshold are added to the third subset.

需要说明的是,由于第二子集中的所有元素均不符合第一阈值的要求,在对第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项时可知:执行选择操作时选择出的适应度值较高的元素实际上也不符合第一阈值的要求,因此,这些元素仅作为优化过程中的一个中间变量,对这些元素还是要继续进行其它遗传操作,例如交叉操作和变异操作;对于未执行过选择操作的元素同样可以进行交叉操作和变异操作,即本发明实施例的处理单元312对第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项的实现方式,可以包括:It should be noted that since all the elements in the second subset do not meet the requirements of the first threshold, when performing one or more of the selection operation, the crossover operation and the mutation operation on the elements in the second subset, it can be known that: The elements with higher fitness values selected during the selection operation actually do not meet the requirements of the first threshold. Therefore, these elements are only used as an intermediate variable in the optimization process, and other genetic operations should continue to be performed on these elements, such as Crossover operation and mutation operation; the crossover operation and mutation operation can also be performed on the elements for which the selection operation has not been performed, that is, the processing unit 312 in the embodiment of the present invention performs the selection operation, the crossover operation and the mutation operation on the elements in the second subset. One or more implementations, which may include:

步骤1,选择第二子集中适应度值符合第二阈值的元素,并且对择的元素执行交叉操作或变异操作;Step 1, select elements in the second subset whose fitness values meet the second threshold, and perform a crossover operation or mutation operation on the selected elements;

步骤2,对第二子集中未选择的元素执行交叉操作或变异操作。Step 2, perform a crossover operation or mutation operation on the unselected elements in the second subset.

在执行遗传操作的实际应用中,通常并非执行一轮选择操作、交叉操作和变异操作即可得到符合要求的元素,通常需要进行多次迭代处理。本发明实施例在执行上述步骤1和步骤2后,可以生成中间状态集合,在进行上述遗传操作后,该中间状态集合的元素中,可能有一部分元素的适应度值已符合第一阈值,将这部分元素作为第三集合中的元素,还有一部分元素的适应度值不符合第一阈值,将这部分元素作为第四集合中的元素;随后,可以继续该第四子集进行遗传操作,执行遗传操作的方式与对第二子集进行遗传操作的方式相同。也就是说,处理单元312对第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项的实现方式,还可以包括:In the practical application of performing genetic operations, it is usually not necessary to perform one round of selection operations, crossover operations and mutation operations to obtain elements that meet the requirements, and usually requires multiple iterations. In this embodiment of the present invention, after performing the above steps 1 and 2, an intermediate state set may be generated. After the above genetic operation is performed, some elements of the intermediate state set may have fitness values that meet the first threshold. This part of the elements is used as the elements in the third set, and the fitness value of some elements does not meet the first threshold, and this part of the elements is used as the elements in the fourth set; then, the fourth subset can be continued to perform genetic operations, The genetic manipulation is performed in the same way as the genetic manipulation on the second subset. That is to say, the implementation manner in which the processing unit 312 performs one or more of the selection operation, the crossover operation and the mutation operation on the elements in the second subset may further include:

步骤3,将步骤1和步骤2后生成的适应度值符合第一阈值的元素添加到第三子集中,将适应度值不符合第一阈值的元素添加到第四子集;Step 3, adding the elements whose fitness values generated after Step 1 and Step 2 meet the first threshold to the third subset, and adding the elements whose fitness values do not meet the first threshold to the fourth subset;

步骤4,根据第四子集中每个元素的适应度值对该第四子集执行选择操作、交叉操作和变异操作中的一项或多项,直到操作后生成的元素的适应度值均符合第一阈值。Step 4, according to the fitness value of each element in the fourth subset, perform one or more of the selection operation, the crossover operation and the mutation operation on the fourth subset, until the fitness values of the elements generated after the operation are consistent with each other. first threshold.

图6为本发明实施例提供的一种计算机设备的结构示意图。本发明实施例提供的计算机设备40可以包括:存储器41和处理器42。FIG. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention. The computer device 40 provided in this embodiment of the present invention may include: a memory 41 and a processor 42 .

其中,存储器41,用于保存可执行指令;Wherein, the memory 41 is used to save executable instructions;

处理器42,用于在执行存储器41保存的可执行指令时实现本发明上述任一实施例提供的色温调节方法。The processor 42 is configured to implement the color temperature adjustment method provided by any of the foregoing embodiments of the present invention when executing the executable instructions stored in the memory 41 .

本发明实施例提供的计算机设备40的实施方式与本发明上述实施例提供的色温调节方法基本相同,在此不做赘述。The implementation of the computer device 40 provided by the embodiment of the present invention is basically the same as the color temperature adjustment method provided by the above-mentioned embodiment of the present invention, which is not repeated here.

本发明实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有可执行指令,该可执行指令被处理器执行时可以实现本发明上述任一实施例提供的色温调节方法。本发明实施例提供的计算机可读存储介质的实施方式与本发明上述实施例提供的色温调节方法基本相同,在此不做赘述。Embodiments of the present invention further provide a computer-readable storage medium, where executable instructions are stored in the computer-readable storage medium, and when the executable instructions are executed by a processor, the color temperature adjustment method provided by any of the foregoing embodiments of the present invention can be implemented. The implementation of the computer-readable storage medium provided by the embodiment of the present invention is basically the same as the color temperature adjustment method provided by the above-mentioned embodiment of the present invention, which is not repeated here.

虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described contents are only the embodiments adopted to facilitate the understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art to which the present invention belongs, without departing from the spirit and scope disclosed by the present invention, can make any modifications and changes in the form and details of the implementation, but the scope of the patent protection of the present invention still needs to be The scope defined by the appended claims shall prevail.

Claims (10)

1.一种色温调节方法,其特征在于,包括:1. a color temperature adjustment method, is characterized in that, comprises: 根据初始色温关系集合中每个元素的适应度值,对所述初始色温关系集合进行优化处理,生成优化色温关系集合;其中,集合中的每个元素为眼睛舒适度值与色温值的对应关系,所述优化色温关系集合中每个元素的适应度值均符合第一阈值;其中,所述对所述初始色温关系集合进行优化处理,生成优化色温关系集合,包括:According to the fitness value of each element in the initial color temperature relationship set, the initial color temperature relationship set is optimized to generate an optimized color temperature relationship set; wherein, each element in the set is the corresponding relationship between the eye comfort value and the color temperature value , the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold; wherein, performing optimization processing on the initial color temperature relationship set to generate an optimized color temperature relationship set, including: 在所述初始色温关系集合中,选择适应度值符合所述第一阈值的元素作为第一子集,且将适应度值不符合所述第一阈值的元素作为第二子集;In the initial color temperature relationship set, elements whose fitness values meet the first threshold are selected as the first subset, and elements whose fitness values do not meet the first threshold are selected as the second subset; 对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集;Performing a genetic operation on the second subset, and using the generated fitness value that meets the first threshold as the third subset; 将所述第一子集和所述第三子集添加到所述优化色温关系集合中;adding the first subset and the third subset to the set of optimized color temperature relationships; 检测当前用户的眼睛舒适度值,根据所述优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定所述当前用户的眼睛舒适度值对应的色温值,并根据所确定的色温值进行色温调节。Detect the eye comfort value of the current user, determine the color temperature value corresponding to the eye comfort value of the current user according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set, and determine the color temperature value corresponding to the eye comfort value of the current user. The determined color temperature value is used for color temperature adjustment. 2.根据权利要求1所述的色温调节方法,其特征在于,所述对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集,包括:2 . The color temperature adjustment method according to claim 1 , wherein the genetic operation is performed on the second subset, and the generated fitness value conforms to the element of the first threshold as the third subset, 2 . include: 对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,直到生成所述第三子集。One or more of a selection operation, a crossover operation, and a mutation operation are performed on the elements in the second subset until the third subset is generated. 3.根据权利要求2所述的色温调节方法,其特征在于,所述对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,包括:3. The color temperature adjustment method according to claim 2, wherein the performing one or more of a selection operation, a crossover operation and a mutation operation on the elements in the second subset, comprising: 选择所述第二子集中适应度值符合第二阈值的元素,并且对所选择的元素执行交叉操作或变异操作;selecting elements in the second subset whose fitness values meet the second threshold, and performing a crossover operation or mutation operation on the selected elements; 对所述第二子集中未选择的元素执行交叉操作或变异操作。A crossover or mutation operation is performed on unselected elements in the second subset. 4.根据权利要求3所述的色温调节方法,其特征在于,所述对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,还包括:4. The color temperature adjustment method according to claim 3, wherein the performing one or more of a selection operation, a crossover operation and a mutation operation on the elements in the second subset, further comprising: 将前一次操作后生成的适应度值符合所述第一阈值的元素添加到所述第三子集中,将适应度值不符合所述第一阈值的元素添加到第四子集,根据所述第四子集中每个元素的适应度值对所述第四子集执行选择操作、交叉操作和变异操作中的一项或多项,直到操作后生成的元素的适应度值均符合所述第一阈值。Adding elements whose fitness values generated after the previous operation meet the first threshold are added to the third subset, and elements whose fitness values do not meet the first threshold are added to the fourth subset, according to the The fitness value of each element in the fourth subset performs one or more of a selection operation, a crossover operation, and a mutation operation on the fourth subset, until the fitness values of the elements generated after the operation meet the requirements of the fourth subset. a threshold. 5.一种色温调节装置,其特征在于,包括:5. A color temperature adjustment device, characterized in that, comprising: 优化处理模块,用于根据初始色温关系集合中每个元素的适应度值,对所述初始色温关系集合进行优化处理,生成优化色温关系集合;其中,集合中的每个元素为眼睛舒适度值与色温值的对应关系,所述优化色温关系集合中每个元素的适应度值均符合第一阈值;所述优化处理模块包括:The optimization processing module is configured to perform optimization processing on the initial color temperature relationship set according to the fitness value of each element in the initial color temperature relationship set to generate an optimized color temperature relationship set; wherein, each element in the set is an eye comfort value The corresponding relationship with the color temperature value, the fitness value of each element in the optimized color temperature relationship set conforms to the first threshold; the optimization processing module includes: 选择单元,用于根据初始色温关系集合中每个元素的适应度值,在所述初始色温关系集合中选择适应度值符合所述第一阈值的元素作为第一子集,且将适应度值不符合所述第一阈值的元素作为第二子集;The selection unit is configured to select the elements whose fitness values meet the first threshold in the initial color temperature relationship set as the first subset according to the fitness value of each element in the initial color temperature relationship set, and use the fitness value Elements that do not meet the first threshold are used as a second subset; 处理单元,用于对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集;a processing unit, configured to perform a genetic operation on the second subset, and use the generated fitness value that meets the first threshold as the third subset; 生成单元,用于将所述第一子集和所述第三子集添加到所述优化色温关系集合中;a generating unit, configured to add the first subset and the third subset to the optimized color temperature relationship set; 色温确定模块,用于检测当前用户的眼睛舒适度值,根据所述优化处理模块生成的所述优化色温关系集合中每个元素的眼睛舒适度值与色温值的对应关系,确定所述当前用户的眼睛舒适度值对应的色温值;A color temperature determination module, configured to detect the eye comfort value of the current user, and determine the current user according to the corresponding relationship between the eye comfort value and the color temperature value of each element in the optimized color temperature relationship set generated by the optimization processing module The color temperature value corresponding to the eye comfort value of ; 色温调节模块,用于根据所述色温确定模块确定出的色温值进行色温调节。The color temperature adjustment module is used to adjust the color temperature according to the color temperature value determined by the color temperature determination module. 6.根据权利要求5所述的色温调节装置,其特征在于,所述处理单元对所述第二子集执行遗传操作,将生成的适应度值符合所述第一阈值的元素作为第三子集,包括:6 . The color temperature adjustment device according to claim 5 , wherein the processing unit performs a genetic operation on the second subset, and uses an element whose fitness value meets the first threshold as the third subset. 7 . set, including: 对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,直到生成所述第三子集。One or more of a selection operation, a crossover operation, and a mutation operation are performed on the elements in the second subset until the third subset is generated. 7.根据权利要求6所述的色温调节装置,其特征在于,所述处理单元对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,包括:7. The color temperature adjustment device according to claim 6, wherein the processing unit performs one or more of a selection operation, a crossover operation and a mutation operation on the elements in the second subset, comprising: 选择所述第二子集中适应度值符合第二阈值的元素,并且对所选择的元素执行交叉操作或变异操作;selecting elements in the second subset whose fitness values meet the second threshold, and performing a crossover operation or mutation operation on the selected elements; 对所述第二子集中未选择的元素执行交叉操作或变异操作。A crossover or mutation operation is performed on unselected elements in the second subset. 8.根据权利要求7所述的色温调节装置,其特征在于,所述处理单元对所述第二子集中的元素执行选择操作、交叉操作和变异操作中的一项或多项,还包括:8. The color temperature adjustment device according to claim 7, wherein the processing unit performs one or more of a selection operation, a crossover operation and a mutation operation on the elements in the second subset, further comprising: 将前一次操作后生成的适应度值符合所述第一阈值的元素添加到所述第三子集中,将适应度值不符合所述第一阈值的元素添加到第四子集,根据所述第四子集中每个元素的适应度值对所述第四子集执行选择操作、交叉操作和变异操作中的一项或多项,直到操作后生成的元素的适应度值均符合所述第一阈值。Adding elements whose fitness values generated after the previous operation meet the first threshold are added to the third subset, and elements whose fitness values do not meet the first threshold are added to the fourth subset, according to the The fitness value of each element in the fourth subset performs one or more of a selection operation, a crossover operation, and a mutation operation on the fourth subset, until the fitness values of the elements generated after the operation meet the requirements of the fourth subset. a threshold. 9.一种计算机设备,其特征在于,包括:存储器和处理器;9. A computer device, comprising: a memory and a processor; 所述存储器,用于保存可执行指令;the memory for storing executable instructions; 所述处理器,用于在执行所述存储器保存的所述可执行指令时实现如权利要求1~4中任一项所述的色温调节方法。The processor is configured to implement the color temperature adjustment method according to any one of claims 1 to 4 when executing the executable instructions stored in the memory. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有可执行指令,所述可执行指令被处理器执行时实现如权利要求1~4中任一项所述的色温调节方法。10 . A computer-readable storage medium, wherein the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, the implementation of any one of claims 1 to 4 is realized. color temperature adjustment method.
CN201810297713.7A 2018-03-30 2018-03-30 Method and device for adjusting color temperature Active CN108538263B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810297713.7A CN108538263B (en) 2018-03-30 2018-03-30 Method and device for adjusting color temperature
US16/116,379 US10699670B2 (en) 2018-03-30 2018-08-29 Method and apparatus for adjusting color temperature of display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810297713.7A CN108538263B (en) 2018-03-30 2018-03-30 Method and device for adjusting color temperature

Publications (2)

Publication Number Publication Date
CN108538263A CN108538263A (en) 2018-09-14
CN108538263B true CN108538263B (en) 2020-07-03

Family

ID=63483152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810297713.7A Active CN108538263B (en) 2018-03-30 2018-03-30 Method and device for adjusting color temperature

Country Status (2)

Country Link
US (1) US10699670B2 (en)
CN (1) CN108538263B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108538263B (en) 2018-03-30 2020-07-03 合肥京东方显示光源有限公司 Method and device for adjusting color temperature
US11217132B2 (en) * 2019-12-27 2022-01-04 Intel Corporation Methods and apparatus to manage display luminance
CN111667798A (en) * 2020-06-18 2020-09-15 广东小天才科技有限公司 A screen adjustment method and device
CN111681607B (en) * 2020-08-17 2020-11-13 武汉精立电子技术有限公司 Gamma adjusting method and system based on genetic algorithm
CN115050310B (en) * 2022-05-25 2023-06-23 中仪英斯泰克进出口有限公司 4KLED display screen colour temperature control system
CN117198176B (en) * 2023-09-08 2024-08-20 深圳市圆周检测技术有限公司 Display color temperature detection method, system and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465470U (en) * 2009-07-28 2010-05-12 天津三星电子有限公司 Liquid crystal monitor capable of automatically adjusting color temperature
CN102682738A (en) * 2012-05-11 2012-09-19 Tcl集团股份有限公司 Color temperature regulation method and system for display device
CN105869580A (en) * 2016-06-15 2016-08-17 京东方科技集团股份有限公司 Color temperature adjusting method and device, backlight source and display equipment
CN106909334A (en) * 2017-03-29 2017-06-30 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting screen color temp
CN106951164A (en) * 2017-04-07 2017-07-14 广东欧珀移动通信有限公司 Method, device, terminal and computer storage medium for adjusting terminal screen color temperature
CN107045416A (en) * 2017-04-07 2017-08-15 广东欧珀移动通信有限公司 Color temperature adjusting method and device and display equipment
WO2017215142A1 (en) * 2016-06-17 2017-12-21 中兴通讯股份有限公司 Method and apparatus for adjusting colour temperature of terminal display content
CN107505836A (en) * 2017-08-31 2017-12-22 合肥京东方显示光源有限公司 A kind of method and device based on fuzzy control regulation colour temperature

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7134091B2 (en) * 1999-02-01 2006-11-07 Microsoft Corporation Quality of displayed images with user preference information
TWI339384B (en) * 2006-01-13 2011-03-21 Realtek Semiconductor Corp Color temperature calibration method and related device
KR100843091B1 (en) * 2006-11-08 2008-07-02 삼성전자주식회사 Character processing apparatus and method
US20130274007A1 (en) * 2008-01-07 2013-10-17 Bally Gaming, Inc. Demographic adaptation system and method
US8593476B2 (en) * 2008-02-13 2013-11-26 Gary Demos System for accurately and precisely representing image color information
CA2724189A1 (en) * 2008-05-28 2009-12-03 Phoebus Vision Opto-Electronics Technology Ltd. Method and system for expanding color gamut
JP5822188B2 (en) * 2010-09-24 2015-11-24 戸田工業株式会社 Ferromagnetic particle powder and production method thereof, anisotropic magnet and bonded magnet
US8721427B2 (en) * 2010-12-14 2014-05-13 Bally Gaming, Inc. Gaming system, method and device for generating images having a parallax effect using face tracking
US20120182276A1 (en) * 2011-01-19 2012-07-19 Broadcom Corporation Automatic adjustment of display systems based on light at viewer position
JP5387713B2 (en) * 2012-03-27 2014-01-15 富士ゼロックス株式会社 Image adjustment apparatus, image adjustment system, and program
CN103578445A (en) * 2012-07-27 2014-02-12 富泰华工业(深圳)有限公司 Electronic device for adjusting screen resolution or brightness and screen adjustment method thereof
CN104063846B (en) * 2013-03-20 2018-07-13 三星电子株式会社 Method and apparatus for processing image based on detected information
US9965988B2 (en) * 2013-05-07 2018-05-08 Bally Gaming, Inc. System, apparatus and method for dynamically adjusting a video presentation based upon age
KR102103286B1 (en) * 2015-02-10 2020-04-22 삼성전자주식회사 User terminal and providing method thereof
EP3535749A4 (en) * 2016-11-07 2020-03-04 Irystec Software Inc. SYSTEM AND METHOD FOR AGE-BASED COLOR SCALE IMAGING
CN108538263B (en) 2018-03-30 2020-07-03 合肥京东方显示光源有限公司 Method and device for adjusting color temperature

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201465470U (en) * 2009-07-28 2010-05-12 天津三星电子有限公司 Liquid crystal monitor capable of automatically adjusting color temperature
CN102682738A (en) * 2012-05-11 2012-09-19 Tcl集团股份有限公司 Color temperature regulation method and system for display device
CN105869580A (en) * 2016-06-15 2016-08-17 京东方科技集团股份有限公司 Color temperature adjusting method and device, backlight source and display equipment
WO2017215142A1 (en) * 2016-06-17 2017-12-21 中兴通讯股份有限公司 Method and apparatus for adjusting colour temperature of terminal display content
CN106909334A (en) * 2017-03-29 2017-06-30 维沃移动通信有限公司 A kind of method and mobile terminal for adjusting screen color temp
CN106951164A (en) * 2017-04-07 2017-07-14 广东欧珀移动通信有限公司 Method, device, terminal and computer storage medium for adjusting terminal screen color temperature
CN107045416A (en) * 2017-04-07 2017-08-15 广东欧珀移动通信有限公司 Color temperature adjusting method and device and display equipment
CN107505836A (en) * 2017-08-31 2017-12-22 合肥京东方显示光源有限公司 A kind of method and device based on fuzzy control regulation colour temperature

Also Published As

Publication number Publication date
CN108538263A (en) 2018-09-14
US20190304398A1 (en) 2019-10-03
US10699670B2 (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN108538263B (en) Method and device for adjusting color temperature
US11475646B1 (en) Computer implemented display system responsive to a detected mood of a person
CN105869580B (en) Color temperature adjusting method and device, backlight, display device
CN104992692B (en) A kind of method, apparatus for adjusting intelligent terminal screen intensity and a kind of intelligent terminal
CN113760206B (en) Lighting device brightness adjusting method and device, electronic equipment and storage medium
CN104394278A (en) Method, device and mobile terminal for regulating screen brightness
CN107505836A (en) A kind of method and device based on fuzzy control regulation colour temperature
EP3626030B1 (en) Lighting system that maintains melanopic lux levels at the eye regardless of distance to user
CN111869330B (en) Rendering dynamic light scenes based on one or more light settings
CN109408018A (en) A kind of screen color temp adjusting method, device and terminal device
CN105262900A (en) Screen brightness adjusting method and screen brightness adjusting device
CN105972444A (en) Illumination apparatus
CN113766705A (en) Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium
CN112074053A (en) Lighting equipment regulation and control method and device based on indoor environment parameters
KR20230125146A (en) Smart lighting control system and its method
CN104240676B (en) Method for adjusting electronic device and electronic device
Hirning The application of luminance mapping to discomfort glare: a modified glare index for green buildings
CN102163249A (en) Interactive evolution optimization method for curtain design
CN104460995A (en) Display processing method, display processing device and terminal
CN109410813A (en) A kind of method of adjustment and device of touch-control blank
WO2016165342A1 (en) Method and terminal for controlling indicator lamp brightness
CN115089963B (en) Rendering method and device
CN111414078A (en) Data processing method and device, electronic equipment and storage medium
CN106325476A (en) Method and equipment for adjusting light intensity
CN106249846A (en) Light intensity control method and equipment

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