CN115708038A - Photosensitive element adjusting method and device, electronic equipment and storage medium - Google Patents

Photosensitive element adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115708038A
CN115708038A CN202110954385.5A CN202110954385A CN115708038A CN 115708038 A CN115708038 A CN 115708038A CN 202110954385 A CN202110954385 A CN 202110954385A CN 115708038 A CN115708038 A CN 115708038A
Authority
CN
China
Prior art keywords
photosensitive
channel
determining
information
photosensitive element
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.)
Pending
Application number
CN202110954385.5A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110954385.5A priority Critical patent/CN115708038A/en
Publication of CN115708038A publication Critical patent/CN115708038A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Radiation Pyrometers (AREA)

Abstract

The disclosure relates to a method and a device for adjusting a photosensitive element, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring first photosensitive information and second photosensitive information detected by a first photosensitive element; determining target power according to the first photosensitive information and the second photosensitive information; controlling the second photosensitive element to emit an optical signal at the target power, wherein the target power is below an emission power threshold. With the method of the present disclosure, the first photosensitive element is utilized to detect the photosensitive information to dynamically adjust the emission power of the second photosensitive element to keep it within a suitable range. On the basis of realizing the normal distance detection function of the second photosensitive element, normal display of the display screen is not influenced, and user experience is effectively improved.

Description

Photosensitive element adjusting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for adjusting a photosensitive element, an electronic device, and a storage medium.
Background
With the development of technologies, electronic devices such as mobile phones are gradually developed into full-screen devices to maximize the screen occupation ratio. In full screen equipment, the hardware structure that influences the screen proportion often sets up under the screen, for example leading camera, fingerprint sensor or photosensitive element. The photosensitive element can be applied to a scene of receiving and making a call, and the distance of a user is detected according to photosensitive data so as to conveniently realize screen on or screen off. The photosensitive element is an indispensable hardware structure in electronic equipment.
In the related art, during the working process of the photosensitive element, light spots may be excited at corresponding positions of the display screen, which affects the normal display of the display screen and also affects the service life of the display screen.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for adjusting a photosensitive element, an electronic device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a method for adjusting a photosensitive element is provided, which is applied to an electronic device including a display screen, and the method includes:
acquiring first photosensitive information and second photosensitive information detected by a first photosensitive element; wherein the first sensitization information is used for characterizing: the display screen displays the photosensitive information under the scene that the preset content is not emitted by the second photosensitive element, and the second photosensitive information is used for representing: the display screen displays preset content and photosensitive information under a luminous scene of the second photosensitive element; the first photosensitive element and the second photosensitive element are arranged below the display screen, the field angle of the first photosensitive element comprises the field angle of the second photosensitive element, and the first photosensitive element comprises a plurality of photosensitive channels;
determining target power according to the first photosensitive information and the second photosensitive information;
controlling the second photosensitive element to emit an optical signal at the target power, wherein the target power is below an emission power threshold.
In some embodiments, the acquiring the first photosensitive information and the second photosensitive information detected by the first photosensitive element includes:
acquiring first channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that the display screen displays preset contents and the second photosensitive element does not emit light;
acquiring second channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that preset content is displayed on the display screen and the second photosensitive element emits light;
wherein the plurality of photosensitive channels in the first photosensitive element comprise: the first channel is used for detecting the red light component, the second channel is used for detecting the green light component, the third channel is used for detecting the blue light component, and the fourth channel is used for detecting the full spectrum component.
In some embodiments, the determining a target power from the first exposure information and the second exposure information includes:
determining a first color temperature as the first photosensitive information according to the first channel data corresponding to each photosensitive channel;
determining a second color temperature according to the second channel data corresponding to each photosensitive channel, wherein the second color temperature is used as the second photosensitive information;
determining a target color temperature difference according to the first photosensitive information and the second photosensitive information;
and determining the target power corresponding to the target color temperature difference according to the target color temperature difference.
In some embodiments, the determining a first color temperature according to the first channel data corresponding to each light-sensitive channel includes:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding first function model according to the first infrared component;
and determining the first color temperature according to the first channel data corresponding to the first channel, the first channel data corresponding to the third channel and the first function model.
In some embodiments, the determining a first color temperature according to the first channel data corresponding to each light-sensitive channel includes:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding matrix coefficient according to the first infrared component;
determining a first color coordinate according to the matrix coefficient;
and determining the first color temperature according to the first color coordinate and a second function model.
In some embodiments, the determining a target power corresponding to the target color temperature difference according to the target color temperature difference comprises:
acquiring configuration information, wherein the configuration information is used for representing a mapping relation between a color temperature difference and reference emission power;
and determining the target power corresponding to the target color temperature difference in the configuration information according to the target color temperature difference and the configuration information.
In some embodiments, the determining a target power from the first exposure information and the second exposure information includes:
determining the sum of channel data variation of a plurality of photosensitive channels in each wave band in a preset wavelength range, wherein the channel data variation is as follows: a difference value of first channel data and second channel data of each photosensitive channel, wherein the preset wavelength range comprises a plurality of wave bands;
and determining the target power meeting a preset condition in a plurality of transmitting powers corresponding to a plurality of wave bands according to the sum of the channel data variable quantities.
According to a second aspect of the embodiments of the present disclosure, there is provided an adjusting apparatus for a photosensitive element, applied to an electronic device including a display screen, the apparatus including:
the acquisition module is used for acquiring first photosensitive information and second photosensitive information detected by the first photosensitive element; wherein the first sensitization information is used for characterizing: the display screen displays preset content and photosensitive information of a second photosensitive element in a non-luminous scene, wherein the second photosensitive information is used for representing: the display screen displays preset content and photosensitive information of a second photosensitive element in a luminous scene; the first photosensitive element and the second photosensitive element are arranged below the display screen, the field angle of the first photosensitive element comprises the field angle of the second photosensitive element, and the first photosensitive element comprises a plurality of photosensitive channels;
the determining module is used for determining target power according to the first photosensitive information and the second photosensitive information;
and the control module is used for controlling the second photosensitive element to emit the optical signal at the target power, wherein the target power is lower than an emission power threshold.
In some embodiments, the obtaining module is to:
acquiring first channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that the display screen displays preset content and the second photosensitive element does not emit light;
acquiring second channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that preset content is displayed on the display screen and the second photosensitive element emits light;
wherein the plurality of photosensitive channels in the first photosensitive element comprise: a first channel for detecting a red light component, a second channel for detecting a green light component, a third channel for detecting a blue light component, and a fourth channel for detecting a full spectrum component.
In some embodiments, the determination module is to:
determining a first color temperature according to the first channel data corresponding to each light sensing channel, wherein the first color temperature is used as the first light sensing information;
determining a second color temperature as the second photosensitive information according to the second channel data corresponding to each photosensitive channel;
determining a target color temperature difference according to the first photosensitive information and the second photosensitive information;
and determining the target power corresponding to the target color temperature difference according to the target color temperature difference.
In some embodiments, the determining module is further configured to:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding first function model according to the first infrared component;
and determining the first color temperature according to the first channel data corresponding to the first channel, the first channel data corresponding to the third channel and the first function model.
In some embodiments, the determining module is further configured to:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding matrix coefficient according to the first infrared component;
determining a first color coordinate according to the matrix coefficient;
and determining the first color temperature according to the first color coordinate and a second function model.
In some embodiments, the determining module is further to:
acquiring configuration information, wherein the configuration information is used for representing a mapping relation between a color temperature difference and reference transmitting power;
and determining the target power corresponding to the target color temperature difference in the configuration information according to the target color temperature difference and the configuration information.
In some embodiments, the determining module is further configured to:
in each wave band in a preset wavelength range, determining the sum of channel data variation of a plurality of photosensitive channels, wherein the channel data variation is as follows: a difference value between first channel data and second channel data of each photosensitive channel, wherein the preset wavelength range comprises a plurality of wave bands;
and determining the target power meeting a preset condition in a plurality of transmitting powers corresponding to a plurality of wave bands according to the sum of the channel data variable quantities.
According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of adjusting a light-sensitive element as described in any one of the above.
According to a fourth aspect of embodiments of the present disclosure, a non-transitory computer-readable storage medium is presented, in which instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the method of adjusting a light-sensing element as described in any one of the above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: with the method of the present disclosure, the first photosensitive element is utilized to detect the photosensitive information to dynamically adjust the emission power of the second photosensitive element to keep it within a suitable range. On the basis of realizing the normal distance detection function of the second photosensitive element, normal display of the display screen is not influenced, and user experience is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a method according to an example embodiment.
FIG. 3 is a flowchart illustrating a method according to an example embodiment.
FIG. 4 is a flowchart illustrating a method in accordance with an example embodiment.
FIG. 5 is a graphical illustration of spectral responses of different photosensitive channels, shown in accordance with an exemplary embodiment.
Fig. 6 is a schematic structural diagram of an electronic device shown in accordance with an example embodiment.
Fig. 7 is a schematic diagram illustrating changes in screen light information when the second light sensing element emits light according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating an apparatus according to an example embodiment.
FIG. 9 is a block diagram of an electronic device shown in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
With the development of the technology, electronic equipment such as a mobile phone is gradually developed into full-screen equipment so as to improve the screen occupation ratio to the maximum extent. In full screen equipment, the hardware structure that influences the screen proportion often sets up under the screen, for example leading camera, fingerprint sensor or photosensitive element. The photosensitive element can be applied to a scene of receiving and making a call, and the distance of a user is detected according to photosensitive data so as to conveniently realize screen on or screen off. The photosensitive element is an indispensable hardware structure in electronic equipment.
In the related art, when the photosensitive element works, bright spots or light spots may be excited at corresponding positions of the display screen, which affects normal display of the display screen and also affects the service life of the display screen.
The reasons for the light sensing element to excite the display screen to generate light spots at least comprise: when the photosensitive element emits the detection light, the emission power is larger.
In order to solve the above technical problem, an embodiment of the present disclosure provides a method for adjusting a photosensitive element, which is applied to an electronic device including a display screen, and the method includes: acquiring first photosensitive information and second photosensitive information detected by a first photosensitive element; the first sensitization information is used for representing: the display screen displays preset content and photosensitive information of a second photosensitive element in a non-luminous scene, and the second photosensitive information is used for representing: the display screen displays preset content and photosensitive information under a luminous scene of the second photosensitive element; the first photosensitive element and the second photosensitive element are arranged below the display screen, the field angle of the first photosensitive element comprises the field angle of the second photosensitive element, and the first photosensitive element comprises a plurality of photosensitive channels; and determining the target power according to the first photosensitive information and the second photosensitive information. And controlling the second photosensitive element to emit the optical signal at the target power, wherein the target power is lower than an emission power threshold. With the method of the present disclosure, the first photosensitive element is utilized to detect the photosensitive information to dynamically adjust the emission power of the second photosensitive element to keep it within a suitable range. On the basis of realizing the normal distance detection function of the second photosensitive element, the normal display of the display screen is not influenced, and the user experience is effectively improved.
In an exemplary embodiment, the method for adjusting the photosensitive element in the present embodiment is applied to an electronic device. Wherein, electronic equipment for example can be comprehensive screen equipment such as smart mobile phone, panel computer, notebook computer, intelligent wearing equipment.
As shown in fig. 1, the method in this embodiment may include the following steps:
and S110, acquiring first photosensitive information and second photosensitive information detected by the first photosensitive element.
And S120, determining the target power according to the first photosensitive information and the second photosensitive information.
And S130, controlling the second photosensitive element to emit the optical signal with the target power.
In step S110, the first photosensitive element includes a plurality of photosensitive channels. The first light sensitive element, which may for example be arranged as a multi-channel gamut sensing sensor, or as an RGB sensor, comprises a receiving sensor, such as a photodiode pd, which may receive a light signal. The first photosensitive element is used for detecting screen light information when the display screen emits light or reflects light. The processor of the electronic device may obtain the light sensing information detected by the first light sensing element.
In this step, the first photosensitive information and the second photosensitive information respectively represent screen light information in different scenes. The first sensitization information is used for representing: the display screen displays preset content and photosensitive information of a second photosensitive element in a non-luminous scene, and the second photosensitive information is used for representing: the display screen displays the preset content and the photosensitive information of the second photosensitive element in the luminous scene. The preset content may be a call interface, for example.
The second light sensing element (psensor) has an emitting part (e.g., 945nm light source) and a receiving sensor (e.g., photodiode pd) that can emit a light signal and receive a feedback signal of the light signal, thereby determining the distance of the user. The processor of the electronic device can adjust the screen on or off of the display screen according to the distance determined by the second photosensitive element.
In this step, the first photosensitive element and the second photosensitive element are both disposed below the display screen, and the field angle FOV of the first photosensitive element) includes the same field angle (FOV) of the second photosensitive element. For example, the wide sides or the long sides of the first photosensitive element and the second photosensitive element are overlapped, or the first photosensitive element and the second photosensitive element are integrated into one photosensitive element. As shown in fig. 6, the viewing angle of the first photosensitive element when receiving light includes the viewing angle of the second photosensitive element when emitting light, or the two viewing angles have an overlapping region, and the overlapping region needs to cover the viewing angle of the second photosensitive element when emitting light.
In this embodiment, the receiving sensor of the first photosensitive element and the receiving sensor of the second photosensitive element may be integrally provided as an integral receiving module (pd). Alternatively, the receiving sensor of the first photosensitive element and the receiving sensor of the second photosensitive element may be independently provided, respectively. The receiving module or the receiving sensor corresponds to different photosensitive channels, and films (coating films with different transmission performances) can be coated above each photosensitive channel (in the light incidence direction), so that different photosensitive channels can respectively detect spectra of different wave bands. As shown in fig. 5, after the upper portions of the different photosensitive channels are respectively coated with films, the spectral responses of the different photosensitive channels are different.
As shown in fig. 6, the first photosensitive element and the second photosensitive element are integrated into a whole photosensitive element 10, and the photosensitive element 10 is disposed under a display screen 20 (e.g., an OLED display screen). Wherein, a receiving sensor of the first photosensitive element and a receiving sensor of the second photosensitive element are integrally provided as a receiving module (Rx) 30. The receiving module 30 may include an ASIC (application specific integrated circuit), and the second photosensitive element may control the transmitting part (Tx) 50 to transmit the optical signal through the internal driving part 40. The light sensing element 10 may be communicatively coupled to a processor 60 (e.g., AP) of the electronic device via a micro control unit (Mcu). The processor 60 includes: a control module 70 (e.g., a control core sensor core) and a display control core 80. The control module 70 is used for controlling the photosensitive element 10; the display control core 80 is communicatively connected to the screen drive IC 90 for controlling the display of the display screen. One or more of the ASICs, mcu, or sensor core may incorporate the sensitization algorithm, such as the color temperature algorithm, involved in the present embodiment. Therefore, after the first photosensitive element detects the photosensitive data, the required photosensitive information (such as color temperature, light intensity or flicker value) can be calculated inside the photosensitive element 10, or the photosensitive data can be sent to a processor, and the processor calculates the required photosensitive information. The processor controls the first photosensitive element or the display screen according to the photosensitive information.
In step S120, the electronic device may determine, according to the first exposure information and the second exposure information, a change of the exposure information in a scene where the second exposure element emits light or does not emit light when the display screen displays the same content.
In one example, when the variation of the light sensing information is large, it indicates that the current emission power of the second light sensing element emitting light at this time has a large influence on the display screen, and bright spots are easily generated on the display screen. The present example can adjust the current transmit power down to obtain the target power to improve the hot spot phenomenon.
In another example, when the change in the light sensing information is small, it indicates that the current emission power of the second light sensing element emitting light at that time is within a safe range. The present example can increase the current transmission power as required to obtain the target power, so as to improve the distance detection effect.
An emission power threshold (Pmax) can be preset in the electronic device, and the emission power of the second photosensitive element is required to be always smaller than the emission power threshold. The electronic equipment also prestores corresponding reference emission power (all of which are smaller than an emission power threshold) suitable for different photosensitive information change scenes. Therefore, the electronic equipment can determine the corresponding target power according to different photosensitive information changes.
In step S130, the processor of the electronic device adjusts the reflected power of the second photosensitive element, and controls the second photosensitive element to emit the optical signal at the target power. The target power may be greater than, less than, or equal to the current emission power of the second photosensitive element. When the second photosensitive element works at the target power, the detection function can be normally played, and bright spots on a screen cannot be excited.
In other examples, the processor may further control a display screen of the display screen in a region corresponding to the second photosensitive element, so as to achieve an effect of improving the bright spots.
It should be noted that, in this embodiment, the process of displaying the predetermined content and the non-light-emitting scene of the second photosensitive element by the display screen is switched to the process of displaying the predetermined content and the light-emitting scene of the second photosensitive element by the display screen, which is a primary excitation process of the second photosensitive element. Under a conventional scene, based on the refresh rate of the screen, when the preset content is displayed on the front frame and the rear frame of the display screen, the photosensitive information cannot be mutated. As shown in fig. 7, when the emitting power of the second photosensitive element is too high, the photosensitive information of the display screen may be suddenly changed. For example, the peak in the figure is a B component, a G component and an R component (the abscissa is the wavelength) from left to right, and when the transmission power is too large, the B component, the G component and the R component all increase to some extent. The display screen may produce bright spots when displayed.
In an exemplary embodiment, step S110 of the present embodiment may include the following steps:
s1101, under the scene that preset content is displayed on a display screen and the second photosensitive element does not emit light, acquiring first channel data corresponding to each photosensitive channel in the first photosensitive element.
S1102, acquiring second channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that preset content is displayed on the display screen and the second photosensitive element emits light;
wherein, a plurality of sensitization passageways in first photosensitive element include: a first channel (R channel) for detecting a red light component, a second channel (G channel) for detecting a green light component, a third channel (B channel) for detecting a blue light component, and a fourth channel (C channel) for detecting a full spectrum component.
In step S1101, in a scene where the display screen displays the preset content and the second photosensitive element does not emit light, the first photosensitive element can detect and obtain the R channel, the G channel, the B channel, and the B channelThe first channel data of each channel in the C channels, and the first channel data of the R channel are marked as R 1 And the first channel data of the G channel is recorded as G 1 And the first channel data of the B channel is recorded as B 1 And the first channel data of the C channel is recorded as C 1
In step S1102, in a scene where the display screen displays preset content and the second photosensitive element emits light, the first photosensitive element may detect and obtain second channel data of each of the R channel, the G channel, the B channel, and the C channel, and the second channel data of each channel may be respectively recorded as R 2 、G 2 、B 2 And C 2
In this embodiment, a processor of the electronic device may obtain the first channel data and the second channel data of each channel.
In an exemplary embodiment, as shown in fig. 2, step S120 in this embodiment may include the following steps:
s1201, determining a first color temperature as first photosensitive information according to the first channel data corresponding to each photosensitive channel.
And S1202, determining a second color temperature as second photosensitive information according to the second channel data corresponding to each photosensitive channel.
And S1203, determining a target color temperature difference according to the first photosensitive information and the second photosensitive information.
And S1204, determining target power corresponding to the target color temperature difference according to the target color temperature difference.
In step S1201, the first photosensitive information is characterized by a first color temperature. The first color temperature represents the screen color temperature of the display screen under the scene that the display screen displays the preset content and the second photosensitive element does not emit light. In conjunction with the foregoing embodiments, a processor of an electronic device may obtain first channel data for each photosensitive channel, such as obtaining R 1 、G 1 、B 1 And C 1 And the first color temperature CCT is calculated and determined by combining a color temperature algorithm 1
In other examples, the first light-sensing element may calculate and determine the first color temperature CCT according to the first channel data and the color temperature algorithm 1 . The electronic equipmentThe processor directly obtains the first color temperature CCT 1
In step S1202, the second photosensitive information is characterized by a second color temperature. And the second color temperature represents the screen color temperature of the display screen under the scene that the display screen displays the preset content and the second photosensitive element emits light. In conjunction with the foregoing embodiments, the processor of the electronic device may obtain the second channel data of each photosensitive channel, such as obtaining R 2 、G 2 、B 2 And C 2 And the second color temperature CCT is calculated and determined by combining the color temperature algorithm 2
In other examples, the first photosensitive element can calculate and determine the second color temperature CCT according to the second channel data and the color temperature algorithm 2 . Directly acquiring second color temperature CCT by processor of electronic equipment 2
In step S1203, according to the first color temperature CCT 1 And a second color temperature CCT 2 The processor of the electronic device may determine a target color temperature difference Δ CCT for the two scenes.
In step S1204, a corresponding relationship between the target color temperature difference and the reference emission power may be stored in the electronic device in advance, and the adaptive target power may be determined according to the photosensitive information.
It can be understood that the color temperature is a data basis for the electronic device to adjust the color consistency displayed by the display screen (adjust the cold light or warm light of the screen); the illumination intensity is a data basis for the electronic device to adjust the brightness change displayed by the display screen. Color temperature is a physical quantity defining the color of a light source, i.e. the temperature at which a black body is heated to emit light of the same color as the light source, and is referred to as the color temperature of the light source. The color temperature of the screen represents the color or hue displayed by the screen, such as a cool or warm hue.
In an exemplary embodiment, as shown in fig. 3, step S1201 in this example may include the following steps:
s1201-1, determining a first infrared component according to first channel data corresponding to each photosensitive channel.
S1201-2, determining a corresponding first function model according to the first infrared component.
S1201-3, determining a first color temperature according to first channel data corresponding to the first channel, first channel data corresponding to the third channel and the first function model.
Wherein the first color temperature CCT 1 And a second color temperature CCT 2 The same way of calculation. In this embodiment, the first color temperature CCT is calculated 1 For example, the second color temperature CCT is calculated 2 The manner of which is not described in detail. The processor of the electronic device may incorporate a color temperature algorithm and determine the color temperature from the channel data collected by the first photosensitive element. In other examples, the control module corresponding to the first photosensitive element may integrate a color temperature algorithm, determine a color temperature according to the collected channel data, and a processor of the electronic device obtains the color temperature.
In step S1201-1, the infrared component IR in the sensed information may be calculated by the following formula: IR = (R + G + B-C)/2C, where R, G, B, and C represent channel data of the corresponding channel.
In this step, the first IR component is determined from the first channel data 1 =(R 1 +G 1 +B 1 -C 1 )/2C 1 . Similarly, a second IR component can be determined from the second channel data 2 =(R 2 +G 2 +B 2 -C 2 )/2C 2
In step S1201-2, a range in which the color temperature is located can be determined according to the difference in the infrared component IR. For example, the infrared component in warm light is greater than the infrared component in cool light. In this step, the first function model for calculating the color temperature (CCT) may have the following two examples according to the range of the color temperature.
In a first example, when the first infrared component IR 0 Above the threshold, the color temperature can be calculated using the following first functional model: CCT = k11 (B/R) + k12, where k11 and k12 are coefficients.
In this example, k11 and k12 may be predetermined and stored. For example, the coefficients are fitted by data software such as MATLAB (Matrix Laboratory) based on a linear form of the first function model. The fitting procedure may for example comprise the following steps:
(1) Obtaining a plurality of sets (for example, 10 sets) of test data pairs, where each set of test data pairs includes: first channel data (red light component) of a first channel (R channel) and first channel data (blue light component) of a corresponding third channel (B channel). It will be appreciated that the more data pairs, the more accurate the coefficients are fit. (2) And inputting the plurality of groups of test data pairs into MATLAB data software, and setting a linear form of the first function model in the MATLAB data software. It should be noted that, in addition to MATLAB data software, other data software having a data processing function, such as EXCEL or orgin, may be used. (3) And solving k11 and k12 in the first function model according to multiple groups of test data.
In a second example, when the first infrared component IR 0 Less than or equal to the threshold, the color temperature can be calculated using the following first functional model: CCT = k21 (B/R) + k22, where k21 and k22 are coefficients.
In this example, k21 and k22 may be predetermined and stored. The manner in which the fit determines k21 and k22 may be referred to the above example.
In step S1201-3, after the first function model is determined, a first color temperature CCT may be calculated according to first channel data corresponding to the first channel and first channel data corresponding to the third channel 1
For example, in this step, the first infrared component IR 0 Above the threshold, the first function model determined is: CCT = k11 (B/R) + k12. The first color temperature CCT 1 =k11*(B 1 /R 1 )+k12。
In the above calculation manner, the second color temperature CCT can be calculated 2 =k11*(B 2 /R 2 ) + k12 according to the first color temperature CCT 1 And a second color temperature CCT 2 The target color temperature difference Δ CCT is determined.
In an exemplary embodiment, as shown in fig. 4, step S1201 in this example may include the following steps:
s1201-5, determining a first infrared component according to the first channel data corresponding to each photosensitive channel.
S1201-6, determining a corresponding matrix coefficient according to the first infrared component.
And S1201-7, determining the first color coordinate according to the matrix coefficient.
And S1201-8, determining a first color temperature according to the first color coordinate and the second function model.
Unlike the previous embodiment, in which the color temperature is calculated using a linear function mode, the color temperature is calculated in the present embodiment in a matrix manner. The color temperature algorithms corresponding to the two embodiments can be integrated into a processor of the electronic device for the processor to call.
The implementation of step S1201-5 can refer to step S1201-1 in the above embodiments, and details are not repeated here.
In step S1201-6, the processor may determine a range in which the color temperature is located according to the difference in the infrared component IR. For example, the infrared component in warm light is greater than the infrared component in cool light. In the process of calculating color temperatures in a matrix manner, corresponding matrix coefficients may be different (the form of the matrix coefficients is the same) according to different ranges of the color temperatures.
For example, with a first infrared component IR 1 Above the threshold, the color temperature is at warm light for illustration. The matrix coefficients are for example of the form:
Figure BDA0003219701810000111
where i, j denote the rows and columns of the matrix and channel j denotes the channel data of the jth channel. It is to be understood that the first channel (R channel) may be provided in plurality, the second channel (G channel) may be provided in plurality, and the third channel (B channel) may be provided in plurality in the first photosensitive element. X represents data corresponding to all first channels (R channels) determined by matrix calculation, Y represents data corresponding to all second channels (G channels) determined by matrix calculation, and Z represents data corresponding to all third channels (B channels) determined by matrix calculation.
The channel data for each channel can be substituted into channel j to calculate the corresponding X, Y, Z.
In step S1201-7, the processThe machine may call a computational model of the color coordinates (x, y), such as:
Figure BDA0003219701810000112
Figure BDA0003219701810000113
in this step, the processor, in conjunction with the substitution of the corresponding first channel data and the determined corresponding X, Y, Z in step S1201-6, may further determine the first color coordinate (X) 1 ,y 1 ). Similarly, the processor may determine a second color coordinate (x) based on the second channel data 2 ,y 2 )。
In step S1201-8, the second function model may be a color temperature calculation model pre-stored in the electronic device, and the processor may call the second function model. The way of calculating the color temperature CCT by the second function model is as follows:
Figure BDA0003219701810000114
wherein k is 1 、k 2 、k 3 、k 4 T1, t2, t3, t4, t5 and t6 are all coefficients, which can be determined by MATLAB fitting. In the fitting process, the model is in an exponential form, and the test data pairs are a plurality of sets of color coordinates obtained based on different first channel data. The specific fitting process is not described herein.
According to a second function model, and a first color coordinate (x) 1 ,y 1 ) The first color temperature CCT can be determined 1 . In the same way, according to the second color coordinate (x) 2 ,y 2 ) The second color temperature CCT can be determined 2 . According to the first color temperature CCT 1 And a second color temperature CCT 2 The target color temperature difference Δ CCT is determined.
In an exemplary embodiment, step S1204 in this embodiment may include the following steps:
s1204-1, obtaining the configuration information.
S1204-2, determining target power corresponding to the target color temperature difference in the configuration information according to the target color temperature difference and the configuration information.
In step S1204-1, the configuration information is used to represent a mapping relationship between the color temperature difference and the reference transmission power. The configuration information may be predetermined and stored in a memory of the electronic device. The processor of the electronic device obtains the configuration information.
In this step, the color temperature difference and the transmission power P are in a direct proportion relationship, that is, the larger the transmission power is, the larger the color temperature difference is, that is, the larger the color temperature jump is caused. The color temperature is greatly increased, and the service life L of the display screen is easily influenced when the degree of exciting bright spots on the display screen is higher. Namely, the service life L, the color temperature difference and the transmitting power P all have a direct proportion relation or a mapping relation.
The target power is below the transmit power threshold. The emission power threshold value can be tested in advance and stored in the factory process of the electronic device, the closer the emission power of the second photosensitive element is to the emission power threshold value, the larger the detectable distance d is, but the heavier the degree of exciting the bright spot to the display screen may be, that is, the emission power P is in direct proportion to the detection distance d. Where the transmit power P is a function of voltage and current, i.e. P = UI. Then, the service life L, the color temperature difference and the transmission power P (UI) have a direct proportional relationship, and a mapping table of the service life L, the color temperature difference and the transmission power P (UI) may be stored in the test process.
Therefore, in obtaining the configuration information, the upper limit of the reference transmission power may be set separately: transmit power threshold Pmax, and lower limit: pmin. Pmin should satisfy: the second photosensitive element can effectively realize distance detection under the power. And determining the target power in the interval [ Pmin, pmax), so that the second photosensitive element can always play a normal function, and bright spots of a screen cannot be excited to influence the service life of the display screen.
In step S1204-2, after determining the target color temperature difference, the processor may determine the target power in the configuration information by looking up a table or traversing a query.
In an exemplary embodiment, step S120 in the present embodiment may further include the following steps:
and S1206, determining the sum of the channel data variable quantities of the multiple photosensitive channels in each wave band in the preset wavelength range.
S1207, determining the target power meeting the preset condition in a plurality of transmitting powers corresponding to a plurality of wave bands one by one.
In step S1206, the preset wavelength range includes a plurality of wavelength bands. The predetermined wavelength range may be a system setting or spectrally divided, such as the predetermined wavelength range being a wavelength range of visible light. Assuming that the preset wavelength range is [ A, B ], in the preset wavelength range, the N nm wavelength is used as a step length, and the [ A, B ] is divided into a plurality of wave bands. The plurality of bands are, for example, in sequence: [ A, A + N ], (A + N, A +2N ] \8230; (B-2N, B-N ], (B-N, B).
In this step, the processor may determine that the channel data variation is: and the difference value of the first channel data and the second channel data of each photosensitive channel. With reference to the foregoing embodiments, the first photosensitive element includes a plurality of photosensitive channels. The processor may first determine the amount of channel data change for each photosensitive channel in each band. For example, in the [ a, a + N ] band, the channel data variation of the first channel is Δ channel 1, and the channel data variation of the second channel is Δ channel 2. Then, the SUM of the channel data variation amounts SUM of the multiple photosensitive channels in this band is determined, and is recorded as:
Figure BDA0003219701810000131
i denotes a photosensitive channel.
It should be noted that, in conjunction with the foregoing embodiment, each time a set of first channel data and second channel data is obtained, it is a single excitation process of the second photosensitive element. In each wave band, the second photosensitive element can emit light or not, and the change amount of the channel data can be determined when the second photosensitive element emits light; when the light is not emitted, the second photosensitive element in the wave band does not work, and the variation of the channel data is smaller or 0. The second photosensitive element may therefore operate multiple times during the summing of the different wavelength bands.
In step S1207, a SUM is associated with each of the bands, and the processor determines whether the second photosensitive element is operating in the present band based on the determined SUM. For example, if SUM is greater than 0, indicating that the second photosensitive element is operating, the emission power in this band is determined.
In this step, the larger SUM indicates the larger emission power of the second photosensitive element. A maximum SUMax of the plurality of SUM may be determined, as well as its corresponding transmit power maximum P1. And judging whether the P1 meets a preset condition or not.
The preset conditions may be, for example: whether the service life L1 corresponding to the transmitting power P1 is longer than the current service life of the display screen but shorter than the theoretical service life of the display screen. If yes, determining the transmitting power P1 as the target power.
In an exemplary embodiment, the present disclosure further provides an adjusting apparatus for a photosensitive element, which is applied to an electronic device including a display screen, as shown in fig. 8, the apparatus of the present embodiment includes: an acquisition module 110, a determination module 120, and a control module 130. The method of the present embodiment is used to implement the method as shown in fig. 1. The acquiring module 110 is configured to acquire first photosensitive information and second photosensitive information detected by a first photosensitive element; wherein the first sensitization information is used for characterizing: the display screen displays the photosensitive information under the scene that the preset content is not emitted by the second photosensitive element, and the second photosensitive information is used for representing: the display screen displays preset content and photosensitive information of a second photosensitive element in a luminous scene; the first photosensitive element and the second photosensitive element are arranged below the display screen, the field angle of the first photosensitive element comprises the field angle of the second photosensitive element, and the first photosensitive element comprises a plurality of photosensitive channels. The determining module 120 is configured to determine the target power according to the first exposure information and the second exposure information. The control module 130 is configured to control the second photosensitive element to emit the optical signal at a target power, wherein the target power is lower than the emission power threshold.
In an exemplary embodiment, still referring to fig. 8, in this embodiment, the obtaining module is configured to: acquiring first channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that the display screen displays preset contents and the second photosensitive element does not emit light; acquiring second channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that preset content is displayed on the display screen and the second photosensitive element emits light; wherein, a plurality of sensitization passageways in first photosensitive element include: a first channel for detecting a red light component, a second channel for detecting a green light component, a third channel for detecting a blue light component, and a fourth channel for detecting a full spectrum component.
In an exemplary embodiment, still referring to FIG. 8, the apparatus of the present embodiment is used to implement the method shown in FIG. 2. Wherein the determining module 120 is configured to: determining a first color temperature as first photosensitive information according to first channel data corresponding to each photosensitive channel; determining a second color temperature as second photosensitive information according to second channel data corresponding to each photosensitive channel; determining a target color temperature difference according to the first photosensitive information and the second photosensitive information; and determining the target power corresponding to the target color temperature difference according to the target color temperature difference.
In an exemplary embodiment, still referring to the figures, the apparatus of the present embodiment is used to implement the method as shown in figure 3. The determination module 120 is further configured to: determining a first infrared component according to first channel data corresponding to each photosensitive channel; determining a corresponding first function model according to the first infrared component; and determining a first color temperature according to the first channel data corresponding to the first channel, the first channel data corresponding to the third channel and the first function model.
In an exemplary embodiment, still referring to FIG. 8, the apparatus of the present embodiment is used to implement the method shown in FIG. 4. The determination module 120 is further configured to: determining a first infrared component according to first channel data corresponding to each photosensitive channel; determining a corresponding matrix coefficient according to the first infrared component; determining a first color coordinate according to the matrix coefficient; and determining the first color temperature according to the first color coordinate and the second function model.
In this embodiment, the determining module 120 is further configured to: acquiring configuration information, wherein the configuration information is used for representing a mapping relation between the color temperature difference and the reference emission power; and determining the target power corresponding to the target color temperature difference in the configuration information according to the target color temperature difference and the configuration information.
In an exemplary embodiment, still referring to fig. the determination module 120 is further configured to: in each wave band in a preset wavelength range, determining the sum of channel data variation of a plurality of photosensitive channels, wherein the channel data variation is as follows: the difference value of the first channel data and the second channel data of each photosensitive channel, wherein the preset wavelength range comprises a plurality of wave bands; and determining target power meeting preset conditions in a plurality of transmitting powers corresponding to a plurality of wave bands according to the sum of the channel data variable quantities.
Fig. 9 is a block diagram of an electronic device. The present disclosure also provides for an electronic device, for example, the device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 506 provides power to the various components of device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the device 500, the sensor assembly 514 may also detect a change in the position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, orientation or acceleration/deceleration of the device 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communications between the device 500 and other devices in a wired or wireless manner. The device 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the methods described above.
A non-transitory computer readable storage medium, such as the memory 504 including instructions executable by the processor 520 of the device 500 to perform the method, is provided in another exemplary embodiment of the present disclosure. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The instructions in the storage medium, when executed by a processor of the electronic device, enable the electronic device to perform the above-described method.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (16)

1. A method for adjusting a photosensitive element is applied to an electronic device comprising a display screen, and the method comprises the following steps:
acquiring first photosensitive information and second photosensitive information detected by a first photosensitive element; wherein the first sensitization information is used for characterizing: the display screen displays preset content and photosensitive information of a second photosensitive element in a non-luminous scene, wherein the second photosensitive information is used for representing: the display screen displays preset content and photosensitive information of a second photosensitive element in a luminous scene; the first photosensitive element and the second photosensitive element are arranged below the display screen, the field angle of the first photosensitive element comprises the field angle of the second photosensitive element, and the first photosensitive element comprises a plurality of photosensitive channels;
determining target power according to the first photosensitive information and the second photosensitive information;
controlling the second photosensitive element to emit an optical signal at the target power, wherein the target power is lower than an emission power threshold.
2. The adjusting method according to claim 1, wherein the acquiring the first exposure information and the second exposure information detected by the first exposure element includes:
acquiring first channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that the display screen displays preset content and the second photosensitive element does not emit light;
acquiring second channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that preset content is displayed on the display screen and the second photosensitive element emits light;
wherein the plurality of photosensitive channels in the first photosensitive element comprise: the first channel is used for detecting the red light component, the second channel is used for detecting the green light component, the third channel is used for detecting the blue light component, and the fourth channel is used for detecting the full spectrum component.
3. The adjusting method according to claim 2, wherein the determining a target power according to the first exposure information and the second exposure information comprises:
determining a first color temperature as the first photosensitive information according to the first channel data corresponding to each photosensitive channel;
determining a second color temperature according to the second channel data corresponding to each photosensitive channel, wherein the second color temperature is used as the second photosensitive information;
determining a target color temperature difference according to the first photosensitive information and the second photosensitive information;
and determining the target power corresponding to the target color temperature difference according to the target color temperature difference.
4. The adjusting method according to claim 3, wherein the determining a first color temperature according to the first channel data corresponding to each photosensitive channel comprises:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding first function model according to the first infrared component;
and determining the first color temperature according to the first channel data corresponding to the first channel, the first channel data corresponding to the third channel and the first function model.
5. The adjusting method according to claim 3, wherein the determining a first color temperature according to the first channel data corresponding to each photosensitive channel comprises:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding matrix coefficient according to the first infrared component;
determining a first color coordinate according to the matrix coefficient;
and determining the first color temperature according to the first color coordinate and a second function model.
6. The method of claim 3, wherein determining a target power corresponding to the target color temperature difference based on the target color temperature difference comprises:
acquiring configuration information, wherein the configuration information is used for representing a mapping relation between a color temperature difference and reference emission power;
and determining the target power corresponding to the target color temperature difference in the configuration information according to the target color temperature difference and the configuration information.
7. The adjusting method according to claim 2, wherein the determining a target power according to the first exposure information and the second exposure information comprises:
in each wave band in a preset wavelength range, determining the sum of channel data variation of a plurality of photosensitive channels, wherein the channel data variation is as follows: a difference value of first channel data and second channel data of each photosensitive channel, wherein the preset wavelength range comprises a plurality of wave bands;
and determining the target power meeting a preset condition in a plurality of transmitting powers corresponding to a plurality of wave bands according to the sum of the channel data variable quantities.
8. A light sensing element adjusting device is applied to an electronic device comprising a display screen, and comprises:
the acquisition module is used for acquiring first photosensitive information and second photosensitive information detected by the first photosensitive element; wherein the first sensitization information is used for characterizing: the display screen displays preset content and photosensitive information of a second photosensitive element in a non-luminous scene, wherein the second photosensitive information is used for representing: the display screen displays preset content and photosensitive information of a second photosensitive element in a luminous scene; the first photosensitive element and the second photosensitive element are arranged below the display screen, the field angle of the first photosensitive element comprises the field angle of the second photosensitive element, and the first photosensitive element comprises a plurality of photosensitive channels;
the determining module is used for determining target power according to the first photosensitive information and the second photosensitive information;
and the control module is used for controlling the second photosensitive element to emit the optical signal at the target power, wherein the target power is lower than an emission power threshold.
9. The adjustment device of claim 8, wherein the acquisition module is configured to:
acquiring first channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that the display screen displays preset content and the second photosensitive element does not emit light;
acquiring second channel data corresponding to each photosensitive channel in the first photosensitive element under the scene that preset content is displayed on the display screen and the second photosensitive element emits light;
wherein the plurality of photosensitive channels in the first photosensitive element comprise: a first channel for detecting a red light component, a second channel for detecting a green light component, a third channel for detecting a blue light component, and a fourth channel for detecting a full spectrum component.
10. The adjustment device of claim 9, wherein the determination module is configured to:
determining a first color temperature as the first photosensitive information according to the first channel data corresponding to each photosensitive channel;
determining a second color temperature according to the second channel data corresponding to each photosensitive channel, wherein the second color temperature is used as the second photosensitive information;
determining a target color temperature difference according to the first photosensitive information and the second photosensitive information;
and determining the target power corresponding to the target color temperature difference according to the target color temperature difference.
11. The adjustment device of claim 10, wherein the determination module is further configured to:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding first function model according to the first infrared component;
and determining the first color temperature according to the first channel data corresponding to the first channel, the first channel data corresponding to the third channel and the first function model.
12. The adjustment device of claim 10, wherein the determination module is further configured to:
determining a first infrared component according to the first channel data corresponding to each photosensitive channel;
determining a corresponding matrix coefficient according to the first infrared component;
determining a first color coordinate according to the matrix coefficient;
and determining the first color temperature according to the first color coordinate and a second function model.
13. The adjustment device of claim 10, wherein the determination module is further configured to:
acquiring configuration information, wherein the configuration information is used for representing a mapping relation between a color temperature difference and reference emission power;
and determining the target power corresponding to the target color temperature difference in the configuration information according to the target color temperature difference and the configuration information.
14. The adjustment device of claim 9, wherein the determination module is further configured to:
determining the sum of channel data variation of a plurality of photosensitive channels in each wave band in a preset wavelength range, wherein the channel data variation is as follows: a difference value of first channel data and second channel data of each photosensitive channel, wherein the preset wavelength range comprises a plurality of wave bands;
and determining the target power meeting a preset condition in a plurality of transmitting powers corresponding to a plurality of wave bands according to the sum of the channel data variable quantities.
15. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the method of adjusting a photosensitive element according to any one of claims 1 to 7.
16. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of adjusting a light-sensing element according to any one of claims 1 to 7.
CN202110954385.5A 2021-08-19 2021-08-19 Photosensitive element adjusting method and device, electronic equipment and storage medium Pending CN115708038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110954385.5A CN115708038A (en) 2021-08-19 2021-08-19 Photosensitive element adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110954385.5A CN115708038A (en) 2021-08-19 2021-08-19 Photosensitive element adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115708038A true CN115708038A (en) 2023-02-21

Family

ID=85212707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110954385.5A Pending CN115708038A (en) 2021-08-19 2021-08-19 Photosensitive element adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115708038A (en)

Similar Documents

Publication Publication Date Title
JP6396455B2 (en) Color temperature adjusting method and apparatus
US11302283B2 (en) Screen color conversion method, storage medium, and electronic device
WO2018107752A1 (en) Screen luminance control method and device
US10921584B2 (en) Method and device for displaying image
EP3674837A1 (en) Parameter adjustment method, apparatus and storage medium
US20170092213A1 (en) Method and device for adjusting liquid crystal display
CN107677377B (en) Method and device for determining color temperature
CN109461409A (en) Screen display method and device
CN112710383A (en) Light sensor calibration method and device and storage medium
CN111696479B (en) Color gamut adjusting method and device
EP3629318A2 (en) Method and apparatus for compensating operating parameter of display circuit
CN107808626B (en) Method and device for adjusting color temperature of display screen and computer readable storage medium
CN115546035A (en) Data processing method and device, electronic equipment and storage medium
WO2024045967A1 (en) Model adjustment method and device, display device, and storage medium
CN115731836A (en) Display effect control method and device of display screen, terminal equipment and medium
CN115708038A (en) Photosensitive element adjusting method and device, electronic equipment and storage medium
CN115145662A (en) Screen display brightness adjusting method and device and storage medium
CN114187860B (en) Spectrum information determining method and device, electronic equipment and medium
WO2023221052A1 (en) Display screen control method and apparatus, electronic device and readable storage medium
WO2023240624A1 (en) Brightness adjustment method, apparatus and storage medium
WO2023240444A1 (en) Image processing method, apparatus and storage medium
CN115527511A (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN111785207B (en) Method and device for adjusting brightness of OLED display screen and electronic equipment
CN116486729A (en) Display calibration method and device, chip, electronic equipment and storage medium
CN115831076A (en) Screen brightness adjusting method and device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination