Color temperature response method, optical sensor, electronic equipment and storage medium
By using a combination of diodes, interference filters and absorption filters in the screen, the impact of complex screen stacks on color temperature angle response is solved, achieving more accurate color temperature response and better screen display effect.
Patent Information
- Application Number
- CN202311812104.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
AI Technical Summary
The complex stacking of the screen affects the color temperature angle response, resulting in a decrease in the accuracy of the color temperature response, thereby reducing the display effect of the screen.
A color temperature response method is adopted to obtain the light source response data through the diode, and filtering is performed using an interference filter and absorption filter to determine the color temperature data corresponding to the light source response data. The interference filter performs interference filtering based on the preset filter range to compensate for the influence of screen stacking on the color temperature angle response.
Ensure the accuracy of the color temperature response, reduce the impact of the angle change of incident light on the color temperature value, and thus improve the display effect of the screen.
Smart Images

Figure CN120223860A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of screens, and in particular, to a color temperature response method, an optical sensor, an electronic device, and a storage medium. Background Art
[0002] In recent years, with the development of screen technology and industrial upgrading, consumers have higher and higher requirements for screens. To meet the strong needs of users, major manufacturers have launched mobile phones with color temperature adjustment functions to improve the screen experience, and the screen color temperature can be adjusted according to the color temperature of the ambient light to achieve the purpose of comfortable reading.
[0003] However, in the design scheme of the under-screen color temperature sensor, one of the challenges lies in the influence of various complex laminations of the screen on the color temperature angle response. For example, the polarizer in the screen will cause a large fluctuation in the output color temperature value with the change of the incident light angle, affecting the accuracy of the color temperature response, and thus reducing the display effect of the screen. Summary of the Invention
[0004] The embodiments of the present application provide a color temperature response method, an optical sensor, an electronic device, and a storage medium, ensuring the accuracy of the color temperature response, and thus improving the display effect of the screen.
[0005] The technical solution of the embodiments of the present application is implemented as follows:
[0006] In a first aspect, the embodiments of the present application provide a color temperature response method, which is applied to an optical sensor. The optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. The method includes:
[0007] After obtaining the light source response data through the diode, filtering the light source response data through the interference filter to obtain interference-filtered data; wherein, the wavelength of the interference-filtered data belongs to the preset filtering range;
[0008] Filtering the interference-filtered data through the absorption filter to respectively obtain first data corresponding to a first color channel, second data corresponding to a second color channel, and third data corresponding to a third color channel;
[0009] Determining the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data.
[0010] Second aspect, an embodiment of the present application provides an optical sensor, which includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. Among them, the optical sensor is used to implement the method described in the first aspect.
[0011] Third aspect, an embodiment of the present application provides an optical sensor, which includes: a filtering unit and a determining unit.
[0012] The filtering unit is configured to, after obtaining the light source response data through the diode, perform filtering processing on the light source response data through the interference filter to obtain the interference-filtered data. Among them, the wavelength of the interference-filtered data belongs to the preset filtering range. Perform filtering processing on the interference-filtered data through the absorption filter to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel.
[0013] The determining unit is configured to determine the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data.
[0014] Fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, it implements the method described in the first aspect above.
[0015] An embodiment of the present application provides a color temperature response method, an optical sensor, an electronic device, and a storage medium. The color temperature response method is applied to an optical sensor, and the optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. The method includes: after obtaining the light source response data through the diode, performing filtering processing on the light source response data through the interference filter to obtain the interference-filtered data. Among them, the wavelength of the interference-filtered data belongs to the preset filtering range. Perform filtering processing on the interference-filtered data through the absorption filter to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel. Determine the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data. It can be seen that in the embodiment of the present application, for the light source response data obtained through the diode, the interference filter can be used to perform interference filtering processing based on the corresponding preset filtering range, so that the wavelength of the obtained interference-filtered data belongs to the preset filtering range. Among them, the setting of the interference filter and the preset filtering range can compensate for the influence of various complex laminations of the screen on the color temperature angle response, so as to ensure that the finally obtained color temperature data will not fluctuate greatly with the change of the incident light angle, ensuring the accuracy of the color temperature response, and further improving the display effect of the screen. Brief Description of the Drawings
[0016] Figure 1 Schematic diagram of the composition structure of the optical sensor proposed in the embodiment of the present application Figure 1 ;
[0017] Figure 2 Schematic diagram of the implementation process of the color temperature response method proposed in the embodiment of the present application Figure 1 ;
[0018] Figure 3 Schematic diagram of the characteristics of the interference filter proposed in the embodiment of the present application;
[0019] Figure 4 Schematic diagram of the electronic device proposed in the embodiment of the present application Figure 1 ;
[0020] Figure 5 Schematic diagram of the electronic device proposed in the embodiment of the present application Figure 2 ;
[0021] Figure 6 Schematic diagram of the Planck trajectory proposed in the embodiment of the present application;
[0022] Figure 7 Schematic diagram of the test of the light source and the screen at different angles proposed in the embodiment of the present application Figure 1 ;
[0023] Figure 8 Schematic diagram of the test of the light source and the screen at different angles proposed in the embodiment of the present application Figure 2 ;
[0024] Figure 9 Schematic diagram of the structure of the screen proposed in the embodiment of the present application;
[0025] Figure 10 Schematic diagram of the curve of the R, G, B absorption filter coating proposed in the embodiment of the present application;
[0026] Figure 11 Schematic diagram of the curve of the UV / IR-CUT interference filter coating proposed in the embodiment of the present application;
[0027] Figure 12 Schematic diagram of the curve of the sensor channel response proposed in the embodiment of the present application;
[0028] Figure 13 Schematic diagram of the curve of the monomer performance ratio proposed in the embodiment of the present application;
[0029] Figure 14 Schematic diagram of the curve of the change of CCT with angle proposed in the embodiment of the present application;
[0030] Figure 15 Schematic diagram of the implementation process of the color temperature response method proposed in the embodiment of the present application Figure 2 ;
[0031] Figure 16 Schematic diagram of the composition structure of the optical sensor proposed in the embodiment of the present application Figure 2 ;
[0032] Figure 17 Schematic diagram of the composition structure of the electronic device proposed in the embodiment of the present application. Detailed implementation manners
[0033] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. It can be understood that the specific embodiments described herein are only used to explain the relevant application, rather than limiting the application. Additionally, it should be noted that for the convenience of description, only parts related to the relevant application are shown in the drawings.
[0034] Since consumers' requirements for the screen are getting higher and higher, not only the problem of the color temperature sensor under the screen being interfered by screen light leakage needs to be solved, but when the Sensor is placed under the screen, there are other challenges that need to be addressed. One of the challenges lies in the various complex laminations of the screen and their impact on the color temperature angle response. For example, the polarizer in the screen causes the output color temperature value to fluctuate greatly with the change of the incident light angle, affecting the accuracy of the color temperature response and thus reducing the display effect of the screen.
[0035] To solve the above problems, the embodiments of the present application provide a color temperature response method, an optical sensor, an electronic device, and a storage medium. The color temperature response method is applied to the optical sensor, and the method includes: after obtaining the light source response data through a diode, filtering the light source response data through an interference filter to obtain the data after interference filtering; wherein, the wavelength of the data after interference filtering belongs to a preset filtering range; filtering the data after interference filtering through an absorption filter to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel; determining the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data. Thus, in the embodiments of the present application, first, the light source response data can be obtained through a diode, then the data after interference filtering can be obtained through an interference filter, the data corresponding to each color channel can be obtained through an absorption filter, and the color temperature data corresponding to the light source response data can be determined according to the data corresponding to each color channel, ensuring the accuracy of the color temperature response when the user uses the mobile phone and thus improving the display effect of the screen.
[0036] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application.
[0037] An embodiment of the present application provides a color temperature response method, which can be applied to an optical sensor. Among them, the optical sensor includes a diode, an interference filter, and an absorption filter.
[0038] Exemplarily, in some embodiments, Figure 1 Schematic diagram of the composition structure of the optical sensor proposed in the embodiment of the present application Figure 1 , such as Figure 1 As shown, the optical sensor can be composed of a diode, an interference filter, and an absorption filter. Among them, the interference filter performs interference filtering based on a preset filtering range.
[0039] It should be noted that in the embodiments of the present application, the diode is a device for obtaining light source response data and can convert optical signals into electrical signals. It is widely used in optoelectronic conversion, optical communication, optical measurement and other fields. Its working principle is based on the photoelectric effect of semiconductor materials, and the optical signal is converted into a current or voltage signal through the energy of photons.
[0040] It should be noted that, in the embodiments of the present application, an interference filter is an optical filter made based on the principle of optical interference, which can filter out unwanted light and only allow light within a certain range to pass through. The interference filter is composed of multiple thin film layers stacked alternately. These thin film layers have differences in thickness and refractive index, forming multiple optical cavities. When incident light passes through these cavities, interference occurs, and only light with wavelengths that meet the interference conditions can pass through, while the remaining wavelengths are filtered out. The interference filter uses the interference effect between multiple thin film layers to filter out unwanted light. When incident light passes through a multi-layer thin film stack, multiple interferences occur between the thin films. Light with wavelengths that meet the interference conditions is allowed to pass through, while for other wavelengths, interference fringes are formed, creating one or more optical valleys, thereby achieving the selection and separation of wavelengths. The interference filter has characteristics such as narrowband filtering, high transmittance, and low loss, and is widely used in fields such as optical measurement, laser technology, and biomedicine. In summary, an interference filter is an optical filter made using the principle of optical interference, which can filter out unwanted light and only allow light within a certain range to pass through. Common interference filters include Fabry-Perot interferometers, Michelson interferometers, and Lyot interferometers, etc. Fabry-Perot interferometer: It is composed of two parallel mirrors and can select specific wavelengths within a certain range. Michelson interferometer: It is composed of a semi-transparent mirror and a mirror and can be used to accurately measure the length change in an optical cavity. Lyot interferometer: By adjusting the thickness and refractive index of multiple thin films, the filtering window can be changed. It has characteristics such as a narrow bandwidth and small oscillation attenuation and is widely used in the field of astronomical observation.
[0041] It should be noted that, in the embodiments of the present application, an absorption filter is usually made of glass added with various inorganic or organic compounds. These compounds absorb light of some wavelengths and transmit light of other wavelengths. The compounds can also be added to plastics (usually polycarbonate or acrylic) to produce a gel filter, which is lighter and cheaper than a glass-based filter.
[0042] Furthermore, in the embodiments of the present application, Figure 2 Schematic flow of the color temperature response method proposed in the embodiments of the present application Figure 1 , as Figure 2 shown, the color temperature response method may include the following steps:
[0043] Step 101: After obtaining the light source response data through a diode, filter the light source response data through an interference filter to obtain the data after interference filtering; wherein, the wavelength of the data after interference filtering belongs to a preset filtering range.
[0044] In an embodiment of the present application, the optical sensor can obtain the light source response data through a diode, and filter the light source response data through an interference filter based on a preset filtering range, so as to obtain the data after interference filtering.
[0045] It should be noted that, in an embodiment of the present application, a diode and an interference filter are configured in the optical sensor. When a light source is incident on the screen, the light source response data can be obtained through the diode. When processing the light source response data through the interference filter, filtering is performed according to the preset filtering range.
[0046] Further, in an embodiment of the present application, the preset filtering range includes a first filtering range or a second filtering range.
[0047] Further, in an embodiment of the present application, the optical sensor is configured in an electronic device, and a polarizer is configured on the display screen of the electronic device. Filter the light source response data through an interference filter to obtain the data after interference filtering.
[0048] It should be noted that, in an embodiment of the present application, when a polarizer is configured on the display screen of the electronic device, interference filtering is performed according to the first filtering range.
[0049] Further, in an embodiment of the present application, based on the first filtering range, filter the light source response data through an interference filter to obtain the data after interference filtering; wherein, the data after interference filtering belongs to the first filtering range.
[0050] It should be noted that, in an embodiment of the present application, the first filtering range is applied in a scenario with a polarizer, and the light source response data is subjected to interference filtering according to the first filtering range.
[0051] Further, in an embodiment of the present application, the upper limit value of the wavelength of the first filtering range is less than or equal to 700 nanometers.
[0052] Exemplarily, in an embodiment of the present application, the first filtering range can be 350 nanometers - 700 nanometers, and the upper limit range of this filtering needs to be less than or equal to 700 nanometers.
[0053] It should be noted that in the embodiments of the present application, since the polarizer in the screen has a tendency to reduce the color temperature as the angle increases; that is, as the angle increases, the attenuation of the long wavelength (red) is slower than that of the short wavelength (blue). Therefore, in the design of the color temperature sensor, a channel response opposite to the direction of the polarizer is designed (that is, the attenuation of the response of the long wavelength red channel is slower than the attenuation of the response of the blue channel), so as to compensate for the influence of the polarizer on the color temperature angle response.
[0054] It should be noted that in the embodiments of the present application, for interference filtering, its principle lies in controlling the phase of the reflected light under different film layers by controlling the film layer thickness, so as to generate interference or destroy interference to produce a high transmittance effect. A single-layer film can control the penetration or reflection of light of a single wavelength, while a multi-layer film can control the penetration or reflection spectrum of a large wavelength band. From the principle of interference filtering, it can be seen that when the light source is incident at an angle, the path length of the light passing through the dielectric film will change, resulting in a change in the frequency emission selected by the filter.
[0055] Exemplarily, in the embodiments of the present application, Figure 3 is a schematic diagram of the characteristics of the interference filter proposed in the embodiments of the present application, as Figure 3 shown, for the characteristics of the interference filter, when the light source is obliquely incident, the sidebands of the filter will shift towards the short wavelength direction.
[0056] It should be noted that in the embodiments of the present application, when the display screen in the electronic device is configured with a polarizer, since the polarizer in the screen has a tendency to reduce the color temperature as the angle increases; that is, as the angle increases, the attenuation of the long wavelength (red) is slower than that of the short wavelength (blue). To overcome this problem, an interference filter is introduced to compensate for it.
[0057] Further, in the embodiments of the present application, an optical sensor is configured in the electronic device, and the display screen in the electronic device is not configured with a polarizer. The light source response data is filtered by an interference filter to obtain the data after interference filtering.
[0058] It should be noted that in the embodiments of the present application, when the display screen in the electronic device is not configured with a polarizer, interference filtering is performed according to the second filtering range.
[0059] Further, in the embodiments of the present application, based on the second filtering range, the light source response data is filtered by an interference filter to obtain the data after interference filtering; wherein, the data after interference filtering belongs to the second filtering range.
[0060] It should be noted that in the embodiments of the present application, when the display screen in the electronic device is not configured with a polarizer, the second filtering range is applied to the scenario without a polarizer, and the light source response data is subjected to interference filtering according to the second filtering range.
[0061] Further, in the embodiments of the present application, the upper limit value of the wavelength of the second filtering range is greater than or equal to 700 nanometers.
[0062] Exemplarily, in the embodiments of the present application, the second filtering range may be 350 nanometers - 800 nanometers, and the upper limit range of this filtering needs to be greater than or equal to 700 nanometers.
[0063] It should be noted that, in the embodiments of the present application, when the display screen in the electronic device is not configured with a polarizer, there is no situation where as the angle increases, the attenuation of long wavelengths (red) is slower than that of short wavelengths (blue). Therefore, if the interference filtering continues according to the first filtering range, there will be a problem of overcompensation. At this time, it is necessary to increase the filtering range so that the red channel will not attenuate too fast, which is normal attenuation, and a more accurate temperature response can also be obtained.
[0064] Exemplarily, in the embodiments of the present application, Figure 4 is a schematic diagram of the electronic device proposed in the embodiments of the present application Figure 1 , such as Figure 4 shown, the electronic device includes an optical sensor and a display screen, wherein the display screen is configured with a polarizer.
[0065] It should be noted that, in the embodiments of the present application, the polarizer has the greatest impact on the color temperature angle response. The full name of the polarizer is a polarized light sheet. The imaging of a liquid crystal display must rely on polarized light. All liquid crystals have two polarized light sheets before and after closely attached to the liquid crystal glass, forming a liquid crystal sheet with a total thickness of about 1 mm.
[0066] Exemplarily, in the embodiments of the present application, Figure 5 is a schematic diagram of the electronic device proposed in the embodiments of the present application Figure 2 , such as Figure 5 shown, the electronic device includes an optical sensor and a display screen, wherein the display screen is not configured with a polarizer.
[0067] It should be noted that, in the embodiments of the present application, the color temperature response is the color temperature value detected by the color temperature sensor, which changes with the inclination angle between the sensor and the light source. For an ideal color temperature sensor, the color temperature value detected with angle calibration remains consistent with the color temperature value detected when perpendicular to the light source.
[0068] Exemplarily, in the embodiments of the present application, Figure 6 is a schematic diagram of the Planck trajectory proposed in the embodiments of the present application, such as Figure 6As shown, as the temperature rises, the color of the blackbody changes continuously, and its color moves on the chromaticity diagram, forming a curve trajectory - the Planck trajectory. The relationship between the blackbody temperature and color is thus called color temperature, and the temperature unit Kelvin (K) is used accordingly.
[0069] Exemplarily, in the embodiments of the present application, Figure 7 This is a schematic diagram of the test where the light source and the screen form different angles in the embodiments of the present application Figure 1 , as Figure 7 shown, the mobile phone screen and the light source present a certain angle, Figure 8 This is a schematic diagram of the test where the light source and the screen form different angles in the embodiments of the present application Figure 2 , as Figure 8 shown, the mobile phone screen faces the light source directly, and the color temperature measures the color of the light source. In the actual process of users using mobile phones, the mobile phone screen may face the light source directly or present a certain angle with the light source. In such scenarios, the color temperature value representing the color of the light source should remain unchanged.
[0070] It should be noted that in the existing solutions, the sensor is placed under the screen and is affected by the angle of the screen itself. Among them, the POL (polarizer) has the greatest impact on the color temperature angle response. As shown in Table 1, when the polarizer is placed above the standard illuminometer, it can be seen that due to the influence of the polarizer, as the angle increases, the color temperature value detected by the illuminometer shows a downward trend with the increase of the angle. When tilted at 70°, compared with 0° (vertical incidence), the correlated color temperature (CCT) decreases by 367K.
[0071] It should be noted that in the embodiments of the present application, the tilt angle can be any value greater than or equal to -90° and less than or equal to 90°. For example, the tilt angle can be -45° or 70°, and the embodiments of the present application do not make specific limitations.
[0072] Angle 0 10 20 30 40 50 60 70 Illuminance 216.3636 213.7048 196.0711 164.3815 125.3994 83.349 40.8788 11.8724 CCT 6125.287 6130.919 6112.557 6096.554 6033.318 5970.088 5837.917 5763.147 X 203.5294 200.9574 184.4972 154.4831 117.7544 77.8589 38.1608 11.0559 Y 216.3636 213.7048 196.0711 164.3815 125.3994 83.349 40.8788 11.8724 Z 217.744 215.1412 196.9946 164.3129 123.75 80.4884 38.40993 10.9283
[0073] Exemplarily, in the embodiments of the present application, Figure 9 This is a schematic diagram of the structure of the screen in the embodiments of the present application. As Figure 9 shown, under the mobile phone screen, there are a glass cover plate, a sensor, a spacer plate, and various laminations of the display screen. There is a polarizer in the various laminations of the display screen, and these complex laminations will affect the color temperature angle response. The polarizer in the screen will cause the output color temperature value to fluctuate greatly with the change of the incident light angle, affecting the accuracy of the color temperature response.
[0074] Step 102: Filter the data after interference filtering through an absorption filter to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel.
[0075] In an embodiment of the present application, after obtaining the light source response data through a diode, filtering the light source response data through an interference filter to obtain the data after interference filtering, the data after interference filtering can be filtered through an absorption filter, so that the data corresponding to three color channels can be obtained. Among them, the three color channels can be a red channel, a green channel, and a blue channel.
[0076] Further, in an embodiment of the present application, the absorption filter includes a first absorption filter corresponding to the first color channel, a second absorption filter corresponding to the second color channel, and a third absorption filter corresponding to the third color channel.
[0077] It should be noted that, in an embodiment of the present application, when performing absorption filtering on different color channels, different absorption filters are required for filtering different color channels.
[0078] Exemplarily, in an embodiment of the present application, the first color channel can be a red channel, the second color channel can be a green channel, and the third color channel can be a blue channel.
[0079] Further, in an embodiment of the present application, when filtering the data after interference filtering through an absorption filter, the data after interference filtering is filtered through the first absorption filter to obtain the first data.
[0080] It should be noted that, in an embodiment of the present application, the first color channel can be a red channel. When filtering the data after interference filtering through the first absorption filter, the absorption filtering range of the red channel can be 650 nanometers - 900 nanometers. After filtering the data after interference filtering through the first absorption filter, the first data can be obtained, and the first data is the data within the absorption filtering range corresponding to the first color channel after being processed by the absorption filter.
[0081] Further, in an embodiment of the present application, when filtering the data after interference filtering through an absorption filter, the data after interference filtering is filtered through the second absorption filter to obtain the second data.
[0082] It should be noted that in the embodiments of the present application, the second color channel may be a green channel. When filtering the interferometrically filtered data through the second absorption filter, the absorption filtering range of the green channel may be 500 nanometers to 800 nanometers. After filtering the interferometrically filtered data through the second absorption filter, second data can be obtained. The second data is the data within the absorption filtering range corresponding to the second color channel after being processed by the absorption filter.
[0083] Furthermore, in the embodiments of the present application, when filtering the interferometrically filtered data through the absorption filter, the interferometrically filtered data is filtered through the third absorption filter to obtain third data.
[0084] It should be noted that in the embodiments of the present application, the third color channel may be a blue channel. When filtering the interferometrically filtered data through the third absorption filter, the absorption filtering range of the blue channel may be 420 nanometers to 800 nanometers. After filtering the interferometrically filtered data through the third absorption filter, third data can be obtained. The third data is the data within the absorption filtering range corresponding to the third color channel after being processed by the absorption filter.
[0085] It should be noted that in the embodiments of the present application, there are mainly two forms of coatings currently applied to the under-screen optical sensor: absorption filter coating and interference filter coating.
[0086] It should be noted that in the embodiments of the present application, for absorption filtering, its material uses organic compound materials, generating similar standard red (R), green (G), and blue (B) channels as in a camera sensor (Camera Sensor). Its advantages are mature technology, wide application in the light source of Camera Sensor, and good angular response. Its disadvantage is that the transmittance in the infrared part will rise, so it still needs to be used in conjunction with an infrared cut-off filter (IR-CUT) coating.
[0087] It should be noted that in the embodiments of the present application, an infrared cut-off filter refers to a set of filters built into the camera lens group. When the infrared sensing point outside the lens detects the change in the intensity of light, the built-in IR-CUT automatic switching filter can automatically switch according to the intensity of the external light, enabling the image to achieve the best effect. That is to say, in daytime or at night, the dual filter can automatically switch the filter, so the best imaging effect can be obtained whether in daytime or at night.
[0088] Exemplarily, in the embodiments of the present application, Figure 10 is a curve schematic diagram of the R, G, B absorption filter coating proposed in the embodiments of the present application, as Figure 10As shown, for the B and G channels, they are mainly affected by absorption filtering. When the light source is tilted at a certain angle, mainly the intensity decreases in an approximately cosine response manner. For the R channel, since the left sideband is affected by absorption filtering and the right sideband is affected by interference filtering, and when incident obliquely, the sidebands of the interference filter shift towards the short-wavelength direction, so the shape of the R channel also decreases as the angle increases, and thus the attenuation of the R channel with respect to the angle is faster than that of the B and G channels.
[0089] Exemplarily, in the embodiments of the present application, Figure 11 is a schematic curve diagram of the UV / IR-CUT interference filtering coating proposed in the embodiments of the present application. As Figure 11 shown, it is the characteristic of the interference filtering coating that as the light source is incident at different angles with respect to the screen, the corresponding response shows a downward trend as the angle increases.
[0090] Exemplarily, in the embodiments of the present application, Figure 12 is a schematic curve diagram of the sensor channel response proposed in the embodiments of the present application. As Figure 12 shown, for the B and G channels, they are mainly affected by absorption filtering. When the light source is tilted at a certain angle, mainly the intensity decreases in an approximately cosine response manner. For the R channel, since the left sideband is affected by absorption filtering and the right sideband is affected by interference filtering, and when incident obliquely, the sidebands of the interference filter shift towards the short-wavelength direction, so the shape of the R channel also decreases as the angle increases, and thus the attenuation of the R channel with respect to the angle is faster than that of the B and G channels.
[0091] It should be noted that in the embodiments of the present application, after passing through the POL of the display screen, the POL will cause the color temperature to be low at large angles; while the design of the Sensor will cause the color temperature to be high at large angles (the smaller the R / B value, the higher the color temperature value). That is to say, the color temperature value is positively correlated with the energy of the B channel.
[0092] Step 103: Determine the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data.
[0093] In the embodiments of the present application, after filtering the data after interference filtering through an absorption filter to obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel respectively, the color temperature data corresponding to the light source response data can be determined according to the data corresponding to the color channels.
[0094] Further, in the embodiments of the present application, when determining the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data, first determine the monomer performance ratio according to the first data, the second data, and the third data; then determine the color temperature data according to the monomer performance ratio.
[0095] It should be noted that in the embodiments of the present application, according to the data corresponding to the color channels, the monomer performance ratio can be calculated. Among them, there are three types of monomer performance ratios, specifically, it can be (the third data / the first data) B / R, (the second data / the first data) G / R, and (the third data / the second data) B / G.
[0096] Exemplarily, in the embodiments of the present application, based on Figure 12 the area enclosed by the curve of the third data (B) and the abscissa is determined as the monomer performance ratio of the third data to the first data with the area enclosed by the curve of the first data (R) and the abscissa. The area enclosed by the curve of the second data (G) and the abscissa is determined as the monomer performance ratio of the second data to the first data with the area enclosed by the curve of the first data and the abscissa. The area enclosed by the curve of the third data and the abscissa is determined as the monomer performance ratio of the third data to the second data with the area enclosed by the curve of the second data and the abscissa.
[0097] It should be noted that in the embodiments of the present application, according to the characteristics of the interference filter, when the light source is obliquely incident, the sidebands of its filter will shift towards the short-wavelength direction to compensate for the phenomenon that the color temperature is low at large angles when passing through the POL of the display screen.
[0098] Exemplarily, in the embodiments of the present application, Figure 13 is a schematic curve diagram of the monomer performance ratio proposed in the embodiments of the present application. As Figure 13 shown, it is a curve graph of the monomer performance changing with the angle. The graph includes the curve of the monomer performance ratio (R / G) of the first data and the second data and the curve of the monomer performance ratio (R / B) of the first data and the third data.
[0099] It should be noted that in the embodiments of the present application, after the final compensation, the ratios of R / B and R / G respond as follows in the range of 0 to 70°, and are basically close to a straight line (ideally, a horizontal line with a vertical coordinate of 1, representing that the color temperature does not change with the angle).
[0100] Furthermore, in the embodiments of the present application, the color temperature data is determined according to the monomer performance ratio.
[0101] It should be noted that in the embodiments of the present application, according to the data corresponding to the color channels, the monomer performance ratio can be calculated. Finally, the color temperature data can be calculated through the monomer performance ratio. After compensation, a relatively accurate data can be obtained.
[0102] Exemplarily, in the embodiments of the present application, color temperature data can be determined from the ratio of the properties of different monomers and can be calculated by CCT = k1*B / R + k2*G / R + k3*B / G, where k1, k2, and k3 are coefficients.
[0103] Exemplarily, in the embodiments of the present application, Figure 14 is a schematic diagram of the curve of the correlated color temperature changing with the angle proposed in the embodiments of the present application, as Figure 14 shown. The calculated color temperature response with an angle basically fluctuates up and down within the range of ±150K of 0°. Compared with the common method of not introducing an interference filter or the interference filter not applying a preset filtering range for interference filtering, there is a great improvement in the deviation of 400K at 70° and 0°.
[0104] In summary, through the color temperature response method proposed in steps 101 to 103, this method is applied to an optical sensor, where the optical sensor includes a diode, an interference filter, and an absorption filter. First, when a polarizer is configured in the display screen of the electronic device, after obtaining the light source response data through the diode, the interference filter performs interference filtering based on the first filtering range to obtain the data after interference filtering; then, the absorption filter filters the data after interference filtering to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel; according to the first data, the second data, and the third data, the color temperature data corresponding to the light source response data is determined; when a polarizer is not configured in the display screen of the electronic device, after obtaining the light source response data through the diode, the interference filter performs interference filtering based on the second filtering range to obtain the data after interference filtering; then, the absorption filter filters the data after interference filtering to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel; according to the first data, the second data, and the third data, the color temperature data corresponding to the light source response data is determined. Thus, in the embodiments of the present application, for the light source response data obtained through the diode, the interference filter can be used to perform interference filtering based on the corresponding preset filtering range, so that the wavelength of the data after interference filtering obtained belongs to the preset filtering range. Among them, the setting of the interference filter and the preset filtering range can compensate for the influence of various complex laminations of the screen on the color temperature angle response, so as to ensure that the finally obtained color temperature data will not fluctuate greatly with the change of the incident light angle, ensuring the accuracy of the color temperature response and thus improving the display effect of the screen.
[0105] Based on the above embodiments, another embodiment of the present application provides a color temperature response method, which is applied to an optical sensor. The optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. The color temperature response method includes: when a polarizer is configured on the display screen in the electronic device, after obtaining the light source response data through the diode, the interference filter filters the light source response data to obtain the interference-filtered data; wherein, the wavelength of the interference-filtered data belongs to the first filtering range; when a polarizer is not configured on the display screen in the electronic device, after obtaining the light source response data through the diode, the interference filter filters the light source response data to obtain the interference-filtered data; wherein, the wavelength of the interference-filtered data belongs to the second filtering range; the absorption filter filters the interference-filtered data to respectively obtain the data corresponding to the three color channels; according to the data corresponding to the three color channels, the color temperature data corresponding to the light source response data is determined.
[0106] Further, in the embodiments of the present application, Figure 15 Schematic diagram of the implementation process of the color temperature response method proposed in the embodiments of the present application Figure 2 , as Figure 15 shown, in the embodiments of the present application, the color temperature response method may include the following steps:
[0107] Step 201, a polarizer is configured on the display screen in the electronic device. After obtaining the light source response data through the diode, the interference filter filters the light source response data to obtain the interference-filtered data; wherein, the wavelength of the interference-filtered data belongs to the first filtering range.
[0108] In the embodiments of the present application, after obtaining the light source response data through the diode, interference filtering is performed according to the first filtering range.
[0109] In the embodiments of the present application, the optical sensor can obtain the light source response data through the diode, and based on the preset filtering range, the interference filter filters the light source response data to obtain the interference-filtered data.
[0110] It should be noted that, in the embodiments of the present application, the optical sensor is configured with a diode and an interference filter. When a light source is incident on the screen, the light source response data can be obtained through the diode. When processing the light source response data through the interference filter, filtering is performed according to the preset filtering range.
[0111] Further, in the embodiments of the present application, the preset filtering range includes the first filtering range or the second filtering range.
[0112] Further, in an embodiment of the present application, an optical sensor is configured in an electronic device, a polarizer is configured on a display screen in the electronic device, and interference filter is used to filter the light source response data to obtain filtered data after interference filtering.
[0113] It should be noted that, in an embodiment of the present application, when a polarizer is configured on a display screen in the electronic device, the light source response data is subjected to interference filtering according to a first filtering range.
[0114] Further, in an embodiment of the present application, based on the first filtering range, the interference filter is used to filter the light source response data to obtain filtered data after interference filtering; wherein, the filtered data after interference filtering belongs to the first filtering range.
[0115] It should be noted that, in an embodiment of the present application, the first filtering range is applied to a scenario with a polarizer, and the light source response data is subjected to interference filtering according to the first filtering range.
[0116] Further, in an embodiment of the present application, the upper wavelength limit value of the first filtering range is less than or equal to 700 nanometers.
[0117] Exemplarily, in an embodiment of the present application, the first filtering range may be 350 nanometers - 700 nanometers, and the upper limit range of this filtering needs to be less than or equal to 700 nanometers.
[0118] It should be noted that, in an embodiment of the present application, since the polarizer in the screen has a tendency that the color temperature decreases as the angle increases; that is, as the angle increases, the attenuation of the long wavelength (red) is slower than that of the short wavelength (blue). Therefore, in the design of the color temperature sensor, a channel response opposite to the direction of the polarizer is designed (that is, the attenuation of the response of the long wavelength red channel is slower than the attenuation of the response of the blue channel), so as to compensate for the influence of the polarizer on the color temperature angle response.
[0119] It should be noted that, in an embodiment of the present application, when a polarizer is configured on a display screen in the electronic device, since the polarizer in the screen has a tendency that the color temperature decreases as the angle increases; that is, as the angle increases, the attenuation of the long wavelength (red) is slower than that of the short wavelength (blue). To overcome this problem, an interference filter is introduced to compensate for it.
[0120] Step 202: When the display screen in the electronic device is not configured with a polarizer, after obtaining the light source response data through a diode, the interference filter is used to filter the light source response data to obtain filtered data after interference filtering; wherein, the wavelength of the filtered data after interference filtering belongs to a second filtering range.
[0121] In an embodiment of the present application, after obtaining the light source response data through a diode, interference filtering is performed according to the second filtering range.
[0122] Further, in the embodiments of the present application, the optical sensor is configured in an electronic device, and the display screen in the electronic device is not configured with a polarizing plate. The light source response data is filtered by an interference filter to obtain the data after interference filtering.
[0123] It should be noted that, in the embodiments of the present application, when the display screen in the electronic device is not configured with a polarizing plate, interference filtering is performed according to the second filtering range.
[0124] Further, in the embodiments of the present application, based on the second filtering range, the light source response data is filtered by an interference filter to obtain the data after interference filtering; wherein, the data after interference filtering belongs to the second filtering range.
[0125] It should be noted that, in the embodiments of the present application, when the display screen in the electronic device is not configured with a polarizing plate, the second filtering range is applied to the scenario without a polarizing plate, and the light source response data is subjected to interference filtering according to the second filtering range.
[0126] Further, in the embodiments of the present application, the upper wavelength limit value of the second filtering range is greater than or equal to 700 nanometers.
[0127] Exemplarily, in the embodiments of the present application, the second filtering range may be 350 nanometers - 800 nanometers, and the upper limit range of this filtering needs to be greater than or equal to 700 nanometers.
[0128] It should be noted that, in the embodiments of the present application, when the display screen in the electronic device is not configured with a polarizing plate, there is no such situation that as the angle increases, the attenuation of the long wavelength (red) is slower than that of the short wavelength (blue). Therefore, if the interference filtering continues to be performed according to the first filtering range, there will be a problem of overcompensation. At this time, it is necessary to increase the filtering range so that the red channel will not attenuate too fast, which belongs to normal attenuation, and a more accurate temperature response can also be obtained.
[0129] It should be noted that, in the embodiments of the present application, the polarizing plate has the greatest influence on the color temperature angle response. The full name of the polarizing plate is the polarization light plate. The imaging of a liquid crystal display must rely on polarized light. All liquid crystals have two polarizing light plates, front and back, closely attached to the liquid crystal glass, forming a liquid crystal sheet with a total thickness of about 1 mm.
[0130] Step 203: Filter the data after interference filtering through an absorption filter to respectively obtain the data corresponding to three color channels.
[0131] In an embodiment of the present application, after obtaining light source response data through a diode and filtering the light source response data through an interference filter to obtain post-interference-filtering data, the post-interference-filtering data can be filtered through an absorption filter, thereby obtaining data corresponding to three color channels. Among them, the three color channels can be a red channel, a green channel, and a blue channel.
[0132] Further, in an embodiment of the present application, the absorption filter includes a first absorption filter corresponding to the first color channel, a second absorption filter corresponding to the second color channel, and a third absorption filter corresponding to the third color channel.
[0133] It should be noted that, in an embodiment of the present application, when performing absorption filtering on different color channels, different absorption filters are required for filtering different color channels.
[0134] Exemplarily, in an embodiment of the present application, the first color channel can be a red channel, the second color channel can be a green channel, and the third color channel can be a blue channel.
[0135] Further, in an embodiment of the present application, when filtering the post-interference-filtering data through the absorption filter, the post-interference-filtering data is filtered through the first absorption filter to obtain first data.
[0136] It should be noted that, in an embodiment of the present application, the first color channel can be a red channel. When filtering the post-interference-filtering data through the first absorption filter, the absorption filtering range of the red channel can be 650 nanometers to 900 nanometers. After filtering the post-interference-filtering data through the first absorption filter, first data can be obtained, and the first data is the data within the absorption filtering range corresponding to the first color channel after being processed by the absorption filter.
[0137] Further, in an embodiment of the present application, when filtering the post-interference-filtering data through the absorption filter, the post-interference-filtering data is filtered through the second absorption filter to obtain second data.
[0138] It should be noted that, in an embodiment of the present application, the second color channel can be a green channel. When filtering the post-interference-filtering data through the second absorption filter, the absorption filtering range of the green channel can be 500 nanometers to 800 nanometers. After filtering the post-interference-filtering data through the second absorption filter, second data can be obtained, and the second data is the data within the absorption filtering range corresponding to the second color channel after being processed by the absorption filter.
[0139] Further, in the embodiments of the present application, when filtering the interferometrically filtered data through an absorption filter, the third absorption filter is used to filter the interferometrically filtered data to obtain third data.
[0140] It should be noted that, in the embodiments of the present application, the third color channel may be the blue channel. When filtering the interferometrically filtered data through the third absorption filter, the absorption filtering range of the blue channel may be 420 nanometers - 800 nanometers. After filtering the interferometrically filtered data through the third absorption filter, third data can be obtained. The third data is the data corresponding to the absorption filtering range of the third color channel after being processed by the absorption filter.
[0141] It should be noted that, in the embodiments of the present application, for the B and G channels, they are mainly affected by absorption filtering. When the light source is tilted at a certain angle, mainly the intensity decreases in an approximately cosine response manner; while for the R channel, because the left sideband is affected by absorption filtering and the right sideband is affected by interferometric filtering, and when the interferometric filtering is incident obliquely, the sideband moves towards the short wavelength direction, so the shape of the R channel will also decrease as the angle increases, and thus the attenuation ratio of the R channel with respect to the angle decay is faster than that of the B and G channels.
[0142] It should be noted that, in the embodiments of the present application, after passing through the POL of the display screen, because the POL will cause the color temperature to be low at large angles; while the design of the Sensor will cause the color temperature to be high at large angles (the smaller the R / B value, the higher the color temperature value). That is to say, the color temperature value is positively correlated with the energy of the B channel.
[0143] Step 204: Determine the color temperature data corresponding to the light source response data according to the data corresponding to the three color channels.
[0144] In the embodiments of the present application, after filtering the interferometrically filtered data through the absorption filter to obtain the data corresponding to the three color channels respectively, the color temperature data corresponding to the light source response data can be determined according to the data corresponding to the color channels.
[0145] Further, in the embodiments of the present application, when determining the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data, first determine the monomer performance ratio according to the first data, the second data, and the third data; then determine the color temperature data according to the monomer performance ratio.
[0146] It should be noted that, in the embodiments of the present application, the monomer performance ratio can be calculated according to the data corresponding to the color channels. Among them, there are three types of monomer performance ratios, specifically, it can be (third data / first data) B / R, (second data / first data) G / R, and (third data / second data) B / G.
[0147] Exemplarily, in the embodiments of the present application, based on Figure 12 , the ratio of the monomer performance of the third data (B) to the first data is determined by the area enclosed by the curve of the third data (B) and the abscissa and the area enclosed by the curve of the first data (R) and the abscissa. The ratio of the monomer performance of the second data (G) to the first data is determined by the area enclosed by the curve of the second data (G) and the abscissa and the area enclosed by the curve of the first data and the abscissa. The ratio of the monomer performance of the third data to the second data is determined by the area enclosed by the curve of the third data and the abscissa and the area enclosed by the curve of the second data and the abscissa.
[0148] It should be noted that in the embodiments of the present application, according to the characteristics of the interference filter, when the light source is obliquely incident, the sidebands of the filter will shift towards the short-wavelength direction to compensate for the phenomenon that the color temperature is low at large angles when passing through the POL of the display screen.
[0149] It should be noted that in the embodiments of the present application, after the final compensation, the ratios of R / B and R / G respond as follows within the range of 0 to 70°, and are basically close to a straight line (ideally, a horizontal line with a vertical coordinate of 1, representing that the color temperature does not change with the angle).
[0150] Furthermore, in the embodiments of the present application, the color temperature data is determined according to the monomer performance ratio.
[0151] It should be noted that in the embodiments of the present application, according to the data corresponding to the color channels, the monomer performance ratio can be calculated, and finally the color temperature data can be calculated through the monomer performance ratio. After compensation, a relatively accurate data can be obtained.
[0152] Exemplarily, in the embodiments of the present application, the color temperature data can be determined by the ratios of different monomer performances, and can be calculated by CCT = k1*B / R + k2*G / R + k3*B / G, where k1, k2, and k3 are coefficients.
[0153] It should be noted that in the embodiments of the present application, the finally calculated color temperature response with an angle basically fluctuates up and down within the range of ±150K of 0°. Compared with the common method of not introducing an interference filter or not applying the preset filtering range for interference filtering by the interference filter, there is a great improvement in the deviation of 400K at 70° and 0°.
[0154] In summary, through the color temperature response method proposed in steps 201 to 204, this method is applied to an optical sensor. The optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. The color temperature response method includes: when a polarizer is configured on the display screen of the electronic device, after obtaining the light source response data through the diode, the interference filter filters the light source response data to obtain the interferometrically filtered data; wherein, the wavelength of the interferometrically filtered data belongs to the first filtering range; when a polarizer is not configured on the display screen of the electronic device, after obtaining the light source response data through the diode, the interference filter filters the light source response data to obtain the interferometrically filtered data; wherein, the wavelength of the interferometrically filtered data belongs to the second filtering range; the absorption filter filters the interferometrically filtered data to obtain the data corresponding to the three color channels respectively; according to the data corresponding to the three color channels, the color temperature data corresponding to the light source response data is determined. Thus, in the embodiments of the present application, for the light source response data obtained through the diode, the interference filter can be used to perform interference filtering based on the corresponding preset filtering range, so that the wavelength of the obtained interferometrically filtered data belongs to the preset filtering range. Among them, the setting of the interference filter and the preset filtering range can compensate for the influence of various complex laminations of the screen on the color temperature angle response, so as to ensure that the finally obtained color temperature data will not fluctuate greatly with the change of the incident light angle, ensuring the accuracy of the color temperature response, and further improving the display effect of the screen.
[0155] Based on the above embodiments, in another embodiment of the present application, Figure 16 Schematic diagram of the composition structure of the optical sensor proposed in the embodiments of the present application Figure 2 , as Figure 16 shown, the optical sensor 110 proposed in the embodiments of the present application may include a filtering unit 111 and a determining unit 112. Among them,
[0156] The filtering unit 111 is configured to, after obtaining the light source response data through the diode, filter the light source response data through an interference filter to obtain interferometrically filtered data; wherein, the wavelength of the interferometrically filtered data belongs to a preset filtering range; filter the interferometrically filtered data through an absorption filter to obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel respectively;
[0157] The determining unit 112 is configured to determine the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data.
[0158] In the embodiments of the present application, further, Figure 17Schematic diagram of the composition structure of the electronic device proposed in the embodiment of the present application, as Figure 17 shown, the electronic device 120 proposed in the embodiment of the present application may include a diode 121, an interference filter 122, and an absorption filter 123. The interference filter 122 performs interference filtering based on a preset filtering range.
[0159] Further, in the embodiment of the present application, the electronic device 120 can obtain light source response data through the diode 121, can perform filtering processing on the light source response data through the interference filter 122 to obtain post-interference-filtering data; wherein, the wavelength of the post-interference-filtering data belongs to the preset filtering range; the absorption filter 123 can perform filtering processing on the post-interference-filtering data to respectively obtain first data corresponding to the first color channel, second data corresponding to the second color channel, and third data corresponding to the third color channel; based on the first data, the second data, and the third data, the color temperature data corresponding to the light source response data is determined.
[0160] In addition, each functional module in this embodiment may be integrated in a processing unit, or may exist physically separately for each unit, or two or more units may be integrated in one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional module.
[0161] If the integrated unit is implemented in the form of a software functional module and is not sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment essentially or the part that contributes to the prior art or all or part of this technical solution may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0162] The embodiment of the present application provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the color temperature response method described above is implemented.
[0163] Specifically, the program instructions corresponding to a color temperature response method in this embodiment can be stored on storage media such as optical discs, hard disks, and USB flash drives. When the program instructions corresponding to a color temperature response method in the storage medium are read or executed by an electronic device, the following steps are included:
[0164] After obtaining the light source response data through the diode, the light source response data is filtered through the interference filter to obtain the interference-filtered data; wherein, the wavelength of the interference-filtered data belongs to the preset filtering range;
[0165] The interference-filtered data is filtered through the absorption filter to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel;
[0166] According to the first data, the second data, and the third data, the color temperature data corresponding to the light source response data is determined.
[0167] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories and optical memories, etc.) containing computer-usable program code.
[0168] The present application is described with reference to the schematic flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each flow and / or block in the schematic flowcharts and / or block diagrams can be implemented by computer program instructions, and the combination of the flows and / or blocks in the schematic flowcharts and / or block diagrams can also be implemented. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified functions in one or more of the following Figure 1 one or more flows and / or blocks Figure 1 one or more blocks
[0169] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the specified functions in one or more of the following Figure 1 one or more flows and / or blocks Figure 1 one or more blocks
[0170] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide for implementing the schematic in the implementation process Figure 1 one process or multiple processes and / or boxes Figure 1 steps for the functions specified in one box or multiple boxes.
[0171] As described above, it is only a preferred embodiment of the present application and is not used to limit the protection scope of the present application.
Claims
1. A color temperature response method, characterized in that, The method is applied to an optical sensor, where the optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. The method includes: After obtaining light source response data through the diode, filtering the light source response data through the interference filter to obtain interference-filtered data; where the wavelength of the interference-filtered data belongs to the preset filtering range; Filtering the interference-filtered data through the absorption filter to respectively obtain first data corresponding to a first color channel, second data corresponding to a second color channel, and third data corresponding to a third color channel; Determining color temperature data corresponding to the light source response data according to the first data, the second data, and the third data.
2. The method according to claim 1, wherein The preset filtering range includes a first filtering range or a second filtering range.
3. The method according to claim 2, characterized in that, The optical sensor is configured in an electronic device, where a polarizer is configured on a display screen in the electronic device. Filtering the light source response data through the interference filter to obtain interference-filtered data includes: Based on the first filtering range, filtering the light source response data through the interference filter to obtain the interference-filtered data; where the interference-filtered data belongs to the first filtering range.
4. The method according to claim 2, wherein The optical sensor is configured in an electronic device, where a polarizer is not configured on a display screen in the electronic device. Filtering the light source response data through the interference filter to obtain interference-filtered data includes: Based on the second filtering range, filtering the light source response data through the interference filter to obtain the interference-filtered data; where the interference-filtered data belongs to the second filtering range.
5. The method according to any one of claims 2-4, wherein The upper wavelength limit value of the first filtering range is less than or equal to 700 nanometers; The upper wavelength limit value of the second filtering range is greater than or equal to 700 nanometers.
6. The method according to any one of claims 1-4, characterized in that, The absorption filter includes a first absorption filter corresponding to the first color channel, a second absorption filter corresponding to the second color channel, and a third absorption filter corresponding to the third color channel. Filtering the interference-filtered data through the absorption filter to respectively obtain first data corresponding to the first color channel, second data corresponding to the second color channel, and third data corresponding to the third color channel includes: Filtering the interference-filtered data through the first absorption filter to obtain the first data; Filtering the interference-filtered data through the second absorption filter to obtain the second data; Filtering the interference-filtered data through the third absorption filter to obtain the third data.
7. The method according to claim 6, characterized in that, Determining the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data includes: Determining a monomer performance ratio according to the first data, the second data, and the third data; Determine the color temperature data according to the monomer performance ratio.
8. An optical sensor, characterized in that, The optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. Among them, the optical sensor is used to implement the method described in any one of claims 1-7.
9. An optical sensor, characterized in that, The optical sensor includes: a filtering unit, a determining unit. The filtering unit is configured to, after obtaining the light source response data through the diode, perform filtering processing on the light source response data through the interference filter to obtain the interference-filtered data. The wavelength of the interference-filtered data belongs to the preset filtering range. Perform filtering processing on the interference-filtered data through the absorption filter to respectively obtain the first data corresponding to the first color channel, the second data corresponding to the second color channel, and the third data corresponding to the third color channel. The determining unit is configured to determine the color temperature data corresponding to the light source response data according to the first data, the second data, and the third data.
10. An electronic device, characterized in that, The electronic device includes an optical sensor. The optical sensor includes a diode, an interference filter, and an absorption filter. The interference filter performs interference filtering based on a preset filtering range. Among them, the electronic device is used to implement the method described in any one of claims 1-7 through the optical sensor.
11. A computer-readable storage medium having a program stored thereon, characterized in that, When the program is executed by a processor, the method described in any one of claims 1-7 is implemented.
