CN112116888B - Screen calibration method, calibration device and storage medium - Google Patents

Screen calibration method, calibration device and storage medium Download PDF

Info

Publication number
CN112116888B
CN112116888B CN201910544958.XA CN201910544958A CN112116888B CN 112116888 B CN112116888 B CN 112116888B CN 201910544958 A CN201910544958 A CN 201910544958A CN 112116888 B CN112116888 B CN 112116888B
Authority
CN
China
Prior art keywords
screen
calibration
terminal
parameters
initial optical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910544958.XA
Other languages
Chinese (zh)
Other versions
CN112116888A (en
Inventor
张嫄
钟桂林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910544958.XA priority Critical patent/CN112116888B/en
Publication of CN112116888A publication Critical patent/CN112116888A/en
Application granted granted Critical
Publication of CN112116888B publication Critical patent/CN112116888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0693Calibration of display systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure relates to a screen calibration method, a calibration device and a storage medium, and belongs to the technical field of display. The method is applied to a terminal comprising a light sensor located below a screen, the method comprising: under the condition of shielding ambient light, controlling the screen to display a color calibration picture; acquiring initial optical parameters of the screen tested by the light sensor under each color calibration picture, and storing the tested initial optical parameters; and when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters. The screen calibration method provided by the disclosure can be completed at any time after the terminal is assembled into the whole machine, in addition, the screen calibration accuracy is better after the terminal is assembled into the whole machine, and in the calibration process, no additional optical equipment is needed, so that the screen calibration based on the optical sensor can be completed, and the cost is saved.

Description

Screen calibration method, calibration device and storage medium
Technical Field
The disclosure relates to the field of display technologies, and in particular, to a screen calibration method, a calibration device and a storage medium.
Background
The method is limited by the screen process, and the like, so that the consistency of the brightness and the chromaticity of the screen is poor at present, and the screen is usually required to be calibrated based on the poor consistency, so that the consistency effect of the screen is improved, a user can use the terminal better, and the user experience is improved.
In the related art, because of the lack of optical devices, the calibration of the screen is performed at the screen manufacturer, that is, the optical device is used to perform optical test on the screen before the screen leaves the factory, and the obtained optical parameters are stored in the display (integrated circuit ). In a subsequent process, the AP (Application Processor ) of the terminal performs screen calibration by reading the optical parameters stored in the display ic.
For the screen calibration method, since calibration can only be completed in a screen manufacturer, optical parameter changes generated after the screen leaves the factory can not be detected and recorded, which can lead to poor calibration precision; in addition, the cost is increased because additional optical equipment is required for optical testing.
Disclosure of Invention
The disclosure provides a screen calibration method, a calibration device and a storage medium, which can overcome the problems of poor calibration precision and higher cost in the related technology.
According to a first aspect of embodiments of the present disclosure, there is provided a screen calibration method applied to a terminal including a light sensor located under a screen, the method comprising:
under the condition of shielding ambient light, controlling the screen to display a color calibration picture;
acquiring initial optical parameters of the screen tested by the light sensor under each color calibration picture, and storing the tested initial optical parameters;
and when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters.
In one possible implementation, the control screen displays a color calibration screen, including:
controlling the screen to display any one or more of: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture.
In one possible implementation, the method further includes:
acquiring compensation parameters of the light sensor, wherein the compensation parameters indicate the difference between a test value of the light sensor for performing optical test on the screen and an actual value of the screen;
when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters, including:
And when the terminal is in the first preset state, calibrating the screen based on the compensation parameter and the stored initial optical parameter.
In a possible implementation manner, when the terminal is in the first preset state, calibrating the screen based on the stored initial optical parameters includes:
when the terminal is in a starting-up state, calibrating the screen based on the stored initial optical parameters; or alternatively, the first and second heat exchangers may be,
and calibrating the screen based on the stored initial optical parameters when the screen is changed from the black screen state to the bright screen state.
In a possible implementation manner, before controlling the screen to display different kinds of color calibration pictures respectively, when the terminal is in a second preset state, the light sensor is calibrated under the irradiation of a calibration light source with preset color temperature;
the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
In one possible implementation, the calibrating the screen based on the compensation parameter and the stored initial optical parameter includes:
Performing optical compensation on the stored initial optical parameters based on the compensation parameters to obtain first target optical parameters of the screen;
acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter;
and performing color adjustment on the screen based on the second target optical parameter.
In one possible implementation, the initial optical parameters include a chromaticity value and a luminance value of the screen.
According to a second aspect of embodiments of the present disclosure, there is provided a screen calibration device for use in a terminal including a light sensor located below a screen, the device comprising:
a control module configured to control the screen to display a color calibration screen under the condition of shielding ambient light;
the first acquisition module is configured to acquire initial optical parameters of the screen tested by the light sensor under each color calibration picture;
a storage module configured to store the tested initial optical parameters;
and the calibration module is configured to calibrate the screen based on the stored initial optical parameters when the terminal is in the first preset state.
In one possible implementation, the control module is further configured to control the screen to display any one or more of: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture.
In one possible implementation, the apparatus further includes:
a second acquisition module configured to acquire compensation parameters of the light sensor, the compensation parameters indicating a difference between a test value of the light sensor for optically testing the screen and an actual value of the screen;
the calibration module is further configured to calibrate the screen based on the compensation parameter and the stored initial optical parameter when the terminal is in the first preset state.
In a possible implementation manner, the calibration module is further configured to calibrate the screen based on the stored initial optical parameters when the terminal is in a power-on state; or calibrating the screen based on the stored initial optical parameters when the screen is changed from the black screen state to the bright screen state.
In a possible implementation manner, before controlling the screen to display different kinds of color calibration pictures respectively, when the terminal is in a second preset state, the light sensor is calibrated under the irradiation of a calibration light source with preset color temperature; the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
In a possible implementation manner, the calibration module is further configured to optically compensate the stored initial optical parameter based on the compensation parameter to obtain a first target optical parameter of the screen; acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter; and performing color adjustment on the screen based on the second target optical parameter.
According to a third aspect of embodiments of the present disclosure, there is provided a screen calibration device for use in a terminal including a light sensor located below a screen, the device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: under the condition of shielding ambient light, controlling the screen to display a color calibration picture; acquiring initial optical parameters of the screen tested by the light sensor under each color calibration picture, and storing the tested initial optical parameters; and when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium having stored thereon computer program instructions which, when executed by a processor, implement the screen calibration method of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the screen calibration method provided by the embodiment of the disclosure can realize screen calibration by means of the light sensor positioned below the screen, so that the calibration of the screen can be completed at any time after the terminal is assembled into the whole machine, and the limitation of time and places in the related technology is eliminated;
in addition, after the whole machine is assembled, screen calibration is carried out, the optical parameters obtained by testing the screen are closer to the use condition of a user, the optical parameter changes generated after the screen leaves the factory can be detected and recorded, and the screen calibration precision is better based on the optical parameters;
in addition, the screen calibration based on the light sensor can be realized without additional optical equipment in the calibration process, so that the cost is saved.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a screen calibration method according to an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating a location of a light sensor on a terminal according to an exemplary embodiment.
Fig. 3 is a schematic diagram illustrating a location of a light sensor on a terminal according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a screen calibration method according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a screen calibration apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a screen calibration apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a screen calibration apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Before explaining the embodiments of the present disclosure in detail, some terms related to the embodiments of the present disclosure are explained.
Optical parameters: including luminance and chrominance values of the screen. Wherein a color is commonly represented by luminance and chromaticity, and chromaticity is a property of a color excluding luminance, which reflects the hue and saturation of the color. Luminance is a property of a color or a dimension of a color space that relates to how bright the color is, and is defined to reflect the subjective sensation of brightness in humans. Brightness in this context refers to the brightness of the screen.
For reasons such as screen process, the consistency of brightness and chromaticity of the current screen is relatively poor, and in the actual production process, the situation that the color difference of two screens in the same project is relatively large may occur, which requires secondary calibration of the screens on a software level, and the calibration of the screens at least requires obtaining optical parameters of the screens. Illustratively, the optical parameters of the screen itself may be chromaticity values and luminance values of RGBW (Red-Green-Blue-White), which are not particularly limited by the embodiments of the present disclosure.
In the related art, for an optical parameter test of a single screen, since an assembly factory lacks an optical device, the optical test can only be performed at a screen manufacturer, and then optical parameter data obtained by the test is stored in a display ic, which is generally small in size and limited in storage capacity, so that the data volume requirement of high-precision single screen calibration cannot be met to the maximum extent. In addition, some items require cover attachment after the screen leaves the screen manufacturer, which has an effect on both the brightness and chromaticity of the screen, but this difference cannot be stored in the display ic at this time.
As can be seen from the above description, in the related art, when performing screen calibration, not only additional optical devices are required, but also the calibration accuracy is poor, so as to be seen from fig. 1 and 2, with the push-out of a full-screen terminal, a light sensor (light sensor) is usually disposed under the screen of the terminal, which is equivalent to that each terminal is provided with one optical device, and the working principle is that the optical parameters from the screen are removed from all the tested optical parameters, and the rest is the optical parameters from the ambient light. In another expression, when the outside is in a completely black environment, the light sensor tests the optical parameters of the screen, so that the screen calibration is possible with the help of the light sensor.
In another expression, the screen calibration method provided by the embodiment of the disclosure uses the light sensor located below the screen, so that it is possible to calibrate the screen after the assembly plant of the complete machine or even the terminal leaves the assembly plant and reaches the customer. That is, the embodiments of the present disclosure can assist in completing the screen calibration using the optical sensor disposed below the screen, and since the optical sensor as the optical device is disposed on the terminal, the screen can be optically tested at any time after the terminal is assembled into the whole machine, thereby acquiring the optical parameters of the screen, and completing the screen calibration based on the acquired optical parameters.
It should be noted that, the light sensor includes but is not limited to the following three types: one is a common light sensor, which can only test brightness values; the other is RGB light sensor, which can test the brightness value and the chromaticity value, but the accuracy of testing the chromaticity value is poor; also, an XYZ light sensor is provided, which can test luminance values and chrominance values with good accuracy. For example, the color coordinate accuracy of the present XYZ light sensor can reach 0.01, especially in the color temperature range of 6000K-7500K, and after calibration of the XYZ light sensor, it can reach a test accuracy of ±0.03, which is already equivalent to the test accuracy of the optical device commonly used in factories, so that the optical test can be performed well with the XYZ light sensor.
A detailed implementation of the screen calibration based on an under-screen light sensor is explained below by the following examples.
Fig. 3 is a flowchart illustrating a screen calibration method according to an exemplary embodiment, which is applied to a terminal including a light sensor located under a screen, as shown in fig. 3, the method including the following steps.
In step 301, the control screen displays a color calibration screen under the condition of shielding ambient light.
In step 302, under each color calibration screen, the initial optical parameters of the screen tested by the light sensor are acquired, and the tested initial optical parameters are stored.
In step 303, when the terminal is in a first preset state, the screen is calibrated based on the stored initial optical parameters.
According to the method provided by the embodiment of the disclosure, the screen calibration can be realized by means of the optical sensor positioned below the screen, so that the calibration of the screen can be completed at any time after the terminal is assembled into the whole machine, and the limitation of time and places in the related technology is eliminated; in addition, after the whole machine is assembled, screen calibration is carried out, the optical parameters obtained by testing the screen are closer to the use condition of a user, the optical parameter changes generated after the screen leaves the factory can be detected and recorded, and the screen calibration precision is better based on the optical parameters; in addition, in the calibration process, no additional optical equipment is needed, so that the screen consistency calibration based on the optical sensor can be realized, and the equipment cost is saved.
In one possible implementation, the control screen displays a color calibration screen, including:
controlling the screen to display any one or more of: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture.
In one possible implementation, the method further includes:
acquiring compensation parameters of the light sensor, wherein the compensation parameters indicate the difference between a test value of the light sensor for performing optical test on the screen and an actual value of the screen;
when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters, including:
and when the terminal is in the first preset state, calibrating the screen based on the compensation parameter and the stored initial optical parameter.
In a possible implementation manner, when the terminal is in the first preset state, calibrating the screen based on the stored initial optical parameters includes:
when the terminal is in a starting-up state, calibrating the screen based on the stored initial optical parameters; or alternatively, the first and second heat exchangers may be,
and calibrating the screen based on the stored initial optical parameters when the screen is changed from the black screen state to the bright screen state.
In a possible implementation manner, before controlling the screen to display different kinds of color calibration pictures respectively, when the terminal is in a second preset state, the light sensor is calibrated under the irradiation of a calibration light source with preset color temperature;
the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
In one possible implementation, the calibrating the screen based on the compensation parameter and the stored initial optical parameter includes:
performing optical compensation on the stored initial optical parameters based on the compensation parameters to obtain first target optical parameters of the screen;
acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter;
and performing color adjustment on the screen based on the second target optical parameter.
In one possible implementation, the initial optical parameters include a chromaticity value and a luminance value of the screen.
Any combination of the above-mentioned optional solutions may be adopted to form an optional embodiment of the present disclosure, which is not described herein in detail.
Fig. 4 is a flowchart illustrating a screen calibration method according to an exemplary embodiment, which is applied to calibrate a screen of a terminal including a light sensor located under the screen, as shown in fig. 4, the method including the following steps.
In step 401, during a development testing phase, compensation parameters of the light sensor are acquired, the compensation parameters indicating the difference between the test value of the light sensor for optically testing the screen and the actual value of the screen.
Since the optical test principle of the light sensor is different from that of the optical device used in the factory, there is some linear difference in the data tested by the light sensor. For this purpose, compensation parameters of the light sensor are also acquired during the development test phase, i.e. before production.
The compensation parameter indicates a difference between a test value of the light sensor for performing an optical test on the screen and an actual value of the screen, that is, the step aims to determine a difference between a test value obtained by the light sensor for performing the optical test and a test value obtained by the optical device for performing the optical test, and take the obtained difference value as the compensation parameter.
In one possible implementation, the embodiment of the disclosure performs an optical test on a plurality of pictures to be tested of the screen by using the calibrated light sensor, so as to obtain a difference value between the test value of the light sensor and the actual value of the screen, where this difference value is referred to herein as offset, and applies this difference value to the screen calibration step of the subsequent step 404.
Wherein the plurality of frames to be tested includes, but is not limited to, at least one of a red frame, a green frame, a blue frame, or a white frame, and the embodiments of the present disclosure are not particularly limited thereto.
In another expression, the step uses a more precise optical device to calibrate the data of the screen perceived by the light sensor located below the screen, and the step can obtain the difference between the optical parameters tested by the light sensor and the actual optical parameters of the screen.
Wherein the optical parameters herein refer to chromaticity values and luminance values. For example, assuming that the color coordinates of the light sensor test white screen are (0.2945,0.3166) and, correspondingly, the test values of the optical device are (0.3,0.32) by the test, when the screen calibration is performed based on the screen calibration algorithm in the subsequent step 404, the color coordinate values input into the screen calibration algorithm are the sum of the test values of the light sensor and the obtained difference values. In this example, the offset of color coordinate x is 0.0055 (i.e., 0.3-0.2945) and the offset of color coordinate y is 0.0034 (i.e., 0.32-0.3166).
In step 402, during production, the light sensor is calibrated with the calibration light source while the terminal is in a second preset state.
In the actual production process, after the light sensor is assembled on the terminal, individual calibration is further required to be performed on the light sensor, so as to ensure that the light sensor has good optical test performance.
The second preset state may be a state in which a screen of the terminal is displayed in black or a state in which the screen is closed, which is not particularly limited in the embodiments of the present disclosure.
In embodiments of the present disclosure, the number of calibration light sources may be one or more. In addition, a 6500K color temperature calibration is required to be added in the process of calibrating the light sensor, that is, in the embodiment of the disclosure, a 6500K color temperature calibration light source is also utilized to irradiate the terminal assembled with the light sensor so as to calibrate the light sensor, thereby further improving the testing precision of the light sensor in optical testing.
In step 403, the screen of the control terminal displays color calibration pictures under the condition of shielding ambient light, acquires initial optical parameters of the screen tested by the light sensor under each color calibration picture, and stores the tested initial optical parameters.
In the embodiment of the disclosure, the screen can be calibrated at any time after the terminal is assembled into the whole machine in the factory production line, and the precondition for calibration is to acquire the optical parameters of the screen.
Wherein, to ensure that the light obtained by the light sensor is emitted by the screen, embodiments of the present disclosure test the optical parameters of the screen under conditions that shield ambient light. For example, the terminal may be placed in a darkroom to shield ambient light.
In an embodiment of the present disclosure, the control screen displays color calibration pictures, including but not limited to: the control screen displays any one or more of the following: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture. For example, the control screen displays a white calibration screen, a red calibration screen, a green calibration screen, and a blue calibration screen, and the optical sensor can obtain the initial optical parameters of the screen by displaying customized RGBW colors on the screen.
The first point to be described is that the embodiment of the present disclosure may obtain optical parameters when the screen displays multiple calibration images with different colors, thereby greatly increasing the number of optical parameters of a single screen, so as to maximally satisfy the data volume requirement of high-precision single screen calibration, and further improve the uniformity effect of the screen.
A second point to be described is that for ease of distinction, the disclosed embodiments refer to the optical parameters of the screen that the light sensor tests under shielded ambient light conditions as initial optical parameters.
In addition, after the light sensor test obtains the initial optical parameters, the initial optical parameters may be stored. In one possible implementation, the initial optical parameters may be stored to a register, which may be, for example, a permanent register of the AP (Application Processor ) of the terminal.
Based on the initial optical parameters obtained in the step and the compensation parameters obtained in the step 401, the terminal can complete screen calibration to obtain the optical parameters most suitable for the screen.
For example, after calibrating the light sensor, the terminal may control the screen to display a color calibration screen, and, illustratively, may control the screen to display a calibration screen of four colors of red, green, blue, and white, respectively, and then store the chromaticity value and the luminance value tested by the light sensor located below the screen in a permanent register of the AP.
In step 404, when the terminal is in a first preset state, the screen is calibrated based on the stored initial optical parameters.
In the embodiment of the present disclosure, the first preset state may be that the terminal is turned on or on at each time, which is not specifically limited in the embodiment of the present disclosure.
For example, this step may be performed by the AP of the terminal, that is, the AP may read the optical parameters stored in the register in advance during each power-on and screen-lighting process of the terminal, and input the read optical parameters and the compensation parameters obtained in step 401 into the screen calibration algorithm, thereby completing the calibration of the screen. Alternatively, when the terminal is in the first preset state, the AP of the terminal may calibrate the screen based on the compensation parameter obtained in step 401 and the initial optical parameter tested by the optical sensor in step 403.
Based on the above description, when the terminal is in the first preset state, the screen is calibrated based on the compensation parameters and the stored initial optical parameters, including but not limited to: when the terminal is in a starting-up state, calibrating the screen based on the compensation parameters and the stored initial optical parameters; or, when the screen is changed from the black screen state to the bright screen state, calibrating the screen based on the compensation parameters and the stored initial optical parameters.
As described above, the terminal inputs the compensation parameter and the stored initial optical parameter into the screen calibration algorithm, so as to calibrate the screen. The screen calibration algorithm includes, but is not limited to, matrix, lookup table, and the like, which is not particularly limited by the embodiments of the present disclosure. Whatever screen calibration algorithm is used, the optical parameters of the screen are required to be acquired first, so that the screen calibration can be performed.
In one possible implementation, taking matrix as an example, the screen is calibrated based on the compensation parameters and the stored initial optical parameters, including but not limited to: performing optical compensation on the stored initial optical parameters based on the compensation parameters to obtain first target optical parameters of the screen; acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter; and performing color adjustment on the screen based on the second target optical parameter.
Wherein the first target optical parameter is the sum of the compensation parameter and the stored initial optical parameter.
According to the method provided by the embodiment of the disclosure, the screen calibration can be realized by means of the optical sensor positioned below the screen, so that the calibration of the screen can be completed at any time after the terminal is assembled into the whole machine, and the limitation of time and places in the related technology is eliminated;
in addition, after the whole machine is assembled, screen calibration is carried out, the optical parameters obtained by testing the screen are closer to the use condition of a user, the optical parameter changes generated after the screen leaves the factory can be detected and recorded, and the screen calibration precision is better based on the optical parameters;
in addition, in the calibration process, no additional optical equipment is needed, so that the screen consistency calibration based on the optical sensor can be realized, and the equipment cost is saved.
Fig. 5 is a block diagram illustrating a screen calibration apparatus according to an exemplary embodiment. The device is applied to a terminal comprising a light sensor located below the screen. Referring to fig. 5, the apparatus includes a control module 501, a first acquisition module 502, a storage module 503, and a calibration module 504.
A control module 501 configured to control the screen to display a color calibration screen under shielding ambient light;
A first obtaining module 502 configured to obtain, for each color calibration screen, initial optical parameters of the screen tested by the light sensor;
a storage module 503 configured to store the tested initial optical parameters;
a calibration module 504 configured to calibrate the screen based on the stored initial optical parameters when the terminal is in a first preset state.
The device provided by the embodiment of the disclosure can realize the calibration of the screen by means of the light sensor positioned below the screen, so that the calibration of the screen can be completed at any time after the terminal is assembled into the whole machine, and the limitation of time and places in the related technology is eliminated; in addition, after the whole machine is assembled, screen calibration is carried out, the optical parameters obtained by testing the screen are closer to the use condition of a user, the optical parameter changes generated after the screen leaves the factory can be detected and recorded, and the screen calibration precision is better based on the optical parameters; in addition, in the calibration process, no additional optical equipment is needed, so that the screen consistency calibration based on the optical sensor can be realized, and the equipment cost is saved.
In one possible implementation, the control module 501 is further configured to control the screen to display any one or more of: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture.
In one possible implementation, referring to fig. 6, the apparatus further includes:
a second acquisition module 505 configured to acquire compensation parameters of the light sensor, the compensation parameters indicating a difference between a test value of the light sensor for optically testing the screen and an actual value of the screen;
the calibration module 504 is further configured to calibrate the screen based on the compensation parameter and the stored initial optical parameter when the terminal is in the first preset state.
In a possible implementation, the calibration module 504 is further configured to calibrate the screen based on the stored initial optical parameters when the terminal is in a power-on state; or calibrating the screen based on the stored initial optical parameters when the screen is changed from the black screen state to the bright screen state.
In a possible implementation manner, before controlling the screen to display different kinds of color calibration pictures respectively, when the terminal is in a second preset state, the light sensor is calibrated under the irradiation of a calibration light source with preset color temperature; the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
In a possible implementation, the calibration module 504 is further configured to optically compensate the stored initial optical parameter based on the compensation parameter to obtain a first target optical parameter of the screen; acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter; and performing color adjustment on the screen based on the second target optical parameter.
Any combination of the above-mentioned optional solutions may be adopted to form an optional embodiment of the present disclosure, which is not described herein in detail.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 7 is a block diagram illustrating a screen calibration apparatus 700 according to an exemplary embodiment. For example, apparatus 700 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, an apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power supply component 706, a multimedia component 708, an audio component 710, an i/O (Input/Output) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the apparatus 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on the apparatus 700, contact data, phonebook data, messages, pictures, videos, and the like. The Memory 704 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as SRAM (Static Random Access Memory), EEPROM (Electrically erasable programmable Read Only Memory), EPROM (Erasable Programmable Read Only Memory), PROM (Programmable Read-Only Memory, programmable Read Only Memory), ROM (Read-Only Memory), magnetic Memory, flash Memory, magnetic disk or optical disk.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 700.
The multimedia component 708 includes a screen between the device 700 and the user that provides an output interface. In some embodiments, the screen may include an LCD (Liquid Crystal Display ) and TP (Touch Panel). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 700 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a MIC (Microphone) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an on/off state of the device 700, a relative positioning of the assemblies, such as a display and keypad of the apparatus 700, the sensor assembly 714 may also detect a change in position of the apparatus 700 or one of the assemblies of the apparatus 700, the presence or absence of user contact with the apparatus 700, an orientation or acceleration/deceleration of the apparatus 700, and a change in temperature of the apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide) or CCD (Charge-coupled Device) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes an NFC (Near Field Communication ) module to facilitate short range communications.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more ASICs (Application Specific Integrated Circuit, application specific integrated circuits), DSPs (Digital signal Processor, digital signal processors), DSPDs (Digital signal Processor Device, digital signal processing devices), PLDs (Programmable Logic Device, programmable logic devices), FPGAs) (Field Programmable Gate Array, field programmable gate arrays), controllers, microcontrollers, microprocessors, or other electronic elements for performing the screen calibration method described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of apparatus 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, RAM (Random Access Memory ), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, and the like.
A non-transitory computer readable storage medium, which when executed by a processor of apparatus 700, causes a mobile terminal to perform a screen calibration method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A screen calibration method, wherein the method is applied to a terminal assembled into a complete machine in a production process, the terminal comprising a light sensor positioned below a screen, the method comprising:
Under the condition of shielding ambient light, controlling the screen to display a color calibration picture;
acquiring initial optical parameters of the screen tested by the light sensor under each color calibration picture, and storing the tested initial optical parameters, wherein the initial optical parameters comprise chromaticity values and brightness values of the screen, and the initial optical parameters are stored in a permanent register of an AP;
when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters, wherein the first preset state is that the terminal is started or the screen is lightened;
acquiring compensation parameters of the light sensor, wherein the compensation parameters indicate differences between test values of the light sensor for performing optical test on the screen and actual values of the screen, and the compensation parameters are compensation parameters of linear differences of data tested by the light sensor, which are acquired in a research and development test stage;
when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters, including:
when the terminal is in the first preset state, calibrating the screen based on the compensation parameters and the stored initial optical parameters;
Before the screen is controlled to display different color calibration pictures respectively, when the terminal is in a second preset state, the optical sensor is calibrated under the irradiation of a calibration light source with preset color temperature, and the number of the calibration light sources is multiple;
the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
2. The method of claim 1, wherein the control screen displays a color calibration screen, comprising:
controlling the screen to display any one or more of: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture.
3. The method of claim 1, wherein the calibrating the screen based on the stored initial optical parameters when the terminal is in the first preset state further comprises:
when the terminal is in a starting-up state, calibrating the screen based on the stored initial optical parameters; or alternatively, the first and second heat exchangers may be,
and calibrating the screen based on the stored initial optical parameters when the screen is changed from the black screen state to the bright screen state.
4. The method of claim 1, wherein the calibrating the screen based on the compensation parameters and the stored initial optical parameters comprises:
performing optical compensation on the stored initial optical parameters based on the compensation parameters to obtain first target optical parameters of the screen;
acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter;
and performing color adjustment on the screen based on the second target optical parameter.
5. A screen calibration device for use in a terminal assembled into a complete machine during production, the terminal including a light sensor positioned below a screen, the device comprising:
a control module configured to control the screen to display a color calibration screen under the condition of shielding ambient light;
the first acquisition module is configured to acquire initial optical parameters of the screen tested by the light sensor under each color calibration picture;
a storage module configured to store a tested initial optical parameter, wherein the initial optical parameter comprises a chromaticity value and a brightness value of the screen, and the initial optical parameter is stored in a permanent register of an AP;
The calibration module is configured to calibrate the screen based on the stored initial optical parameters when the terminal is in a first preset state, wherein the first preset state is that the terminal is started or the screen is lightened;
a second acquisition module configured to acquire a compensation parameter of the optical sensor, the compensation parameter indicating a difference between a test value of the optical sensor for optically testing the screen and an actual value of the screen, the compensation parameter being a compensation parameter for a linear difference of data tested by the optical sensor acquired in a development test stage;
the calibration module is further configured to calibrate the screen based on the compensation parameter and the stored initial optical parameter when the terminal is in the first preset state;
before the screen is controlled to display different color calibration pictures respectively, when the terminal is in a second preset state, the optical sensor is calibrated under the irradiation of a calibration light source with preset color temperature, and the number of the calibration light sources is multiple; the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
6. The apparatus of claim 5, wherein the control module is further configured to control the screen to display any one or more of: white calibration picture, red calibration picture, green calibration picture, and blue calibration picture.
7. The apparatus of claim 5, wherein the calibration module is further configured to calibrate the screen based on the stored initial optical parameters when the terminal is in an on state; or calibrating the screen based on the stored initial optical parameters when the screen is changed from the black screen state to the bright screen state.
8. The apparatus of claim 5, wherein the calibration module is further configured to optically compensate the stored initial optical parameter based on the compensation parameter to obtain a first target optical parameter for the screen; acquiring an adjustment proportion of each color component, and determining a second target optical parameter of the screen based on the adjustment proportion of each color component and the first target optical parameter; and performing color adjustment on the screen based on the second target optical parameter.
9. A screen calibration device, the device being applied to a terminal including a light sensor located below a screen, the device comprising:
A processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: under the condition of shielding ambient light, controlling the screen to display a color calibration picture; acquiring initial optical parameters of the screen tested by the light sensor under each color calibration picture, and storing the tested initial optical parameters, wherein the initial optical parameters comprise chromaticity values and brightness values of the screen, and the initial optical parameters are stored in a permanent register of an AP; when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters, wherein the first preset state is that the terminal is started or the screen is lightened; acquiring compensation parameters of the light sensor, wherein the compensation parameters indicate differences between test values of the light sensor for performing optical test on the screen and actual values of the screen, and the compensation parameters are compensation parameters of linear differences of data tested by the light sensor, which are acquired in a research and development test stage;
when the terminal is in a first preset state, calibrating the screen based on the stored initial optical parameters, including: when the terminal is in the first preset state, calibrating the screen based on the compensation parameters and the stored initial optical parameters;
Before the screen is controlled to display different color calibration pictures respectively, when the terminal is in a second preset state, the optical sensor is calibrated under the irradiation of a calibration light source with preset color temperature, and the number of the calibration light sources is multiple; the second preset state is a state that the screen is displayed in black, or the second preset state is that the screen is in a closed state.
10. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the screen calibration method of any of the preceding claims 1 to 4.
CN201910544958.XA 2019-06-21 2019-06-21 Screen calibration method, calibration device and storage medium Active CN112116888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910544958.XA CN112116888B (en) 2019-06-21 2019-06-21 Screen calibration method, calibration device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910544958.XA CN112116888B (en) 2019-06-21 2019-06-21 Screen calibration method, calibration device and storage medium

Publications (2)

Publication Number Publication Date
CN112116888A CN112116888A (en) 2020-12-22
CN112116888B true CN112116888B (en) 2024-01-30

Family

ID=73796440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910544958.XA Active CN112116888B (en) 2019-06-21 2019-06-21 Screen calibration method, calibration device and storage medium

Country Status (1)

Country Link
CN (1) CN112116888B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113205780B (en) * 2021-04-16 2022-08-30 广州朗国电子科技股份有限公司 Adaptive method and system for integrated I2C light sensing module of all-in-one machine
WO2023142059A1 (en) * 2022-01-29 2023-08-03 京东方科技集团股份有限公司 Brightness detection method, computer device and readable medium
CN115236862A (en) * 2022-08-24 2022-10-25 歌尔科技有限公司 Screen uniformity calibration method and device and computer readable storage medium
CN116737243B (en) * 2022-09-29 2024-04-16 荣耀终端有限公司 Screen parameter patch upgrading method and terminal equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010256489A (en) * 2009-04-22 2010-11-11 Canon Inc Apparatus and method for processing image
CN102265707A (en) * 2011-04-29 2011-11-30 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN103426403A (en) * 2013-08-16 2013-12-04 西安诺瓦电子科技有限公司 Image acquisition method for calibration, picture display method and calibration method for LED display screen
CN105161071A (en) * 2015-10-21 2015-12-16 维沃移动通信有限公司 Backlight brightness adjusting method and electronic equipment
EP2998952A2 (en) * 2014-04-18 2016-03-23 Panoramic Imaging Solutions LTD. Image self calibration method and device for lcd displays
CN106448618A (en) * 2016-12-16 2017-02-22 北京小米移动软件有限公司 Brightness compensation method, brightness compensation device and electronic equipment
CN107271145A (en) * 2017-05-19 2017-10-20 西安诺瓦电子科技有限公司 The detection method and system of display unit
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN107818753A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Screen brightness regulation method, device, storage medium and electronic equipment
CN108267223A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 A kind of method and apparatus of calibration environment optical sensor
CN109272968A (en) * 2018-11-21 2019-01-25 维沃移动通信有限公司 A kind of screen nonuniformity calibration method and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9754543B2 (en) * 2015-04-16 2017-09-05 Panoramic Imaging Solutions Ltd. Image self-calibration method and device for LCD displays
CN107068114B (en) * 2017-04-24 2019-04-30 北京小米移动软件有限公司 Screen color method of adjustment, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010256489A (en) * 2009-04-22 2010-11-11 Canon Inc Apparatus and method for processing image
CN102265707A (en) * 2011-04-29 2011-11-30 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN103426403A (en) * 2013-08-16 2013-12-04 西安诺瓦电子科技有限公司 Image acquisition method for calibration, picture display method and calibration method for LED display screen
EP2998952A2 (en) * 2014-04-18 2016-03-23 Panoramic Imaging Solutions LTD. Image self calibration method and device for lcd displays
CN105161071A (en) * 2015-10-21 2015-12-16 维沃移动通信有限公司 Backlight brightness adjusting method and electronic equipment
CN106448618A (en) * 2016-12-16 2017-02-22 北京小米移动软件有限公司 Brightness compensation method, brightness compensation device and electronic equipment
CN108267223A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 A kind of method and apparatus of calibration environment optical sensor
CN107271145A (en) * 2017-05-19 2017-10-20 西安诺瓦电子科技有限公司 The detection method and system of display unit
CN107367327A (en) * 2017-07-18 2017-11-21 广东欧珀移动通信有限公司 Calibration method, device, mobile terminal and the readable storage medium storing program for executing of optical sensor
CN107818753A (en) * 2017-11-22 2018-03-20 广东欧珀移动通信有限公司 Screen brightness regulation method, device, storage medium and electronic equipment
CN109272968A (en) * 2018-11-21 2019-01-25 维沃移动通信有限公司 A kind of screen nonuniformity calibration method and terminal device

Also Published As

Publication number Publication date
CN112116888A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN112116888B (en) Screen calibration method, calibration device and storage medium
EP3131087A1 (en) Method and device for reducing display brightness
CN108986053B (en) Screen display method and device
CN109461409B (en) Screen display method and device
US10109248B2 (en) Method and device for adjusting liquid crystal display
CN112449026A (en) Ambient light compensation method, ambient light compensation device, terminal and storage medium
CN112710383A (en) Light sensor calibration method and device and storage medium
CN107808626B (en) Method and device for adjusting color temperature of display screen and computer readable storage medium
CN108184103B (en) Method and apparatus for displaying image
CN109308861B (en) Color calibration method, device, equipment and storage medium
CN112905135A (en) Screen brightness processing method, electronic device and storage medium
US10827156B2 (en) Light filling method and apparatus for photographing environment, and computer-readable storage medium
CN111131596B (en) Screen brightness adjusting method and device
CN112781832A (en) Method, apparatus, device and medium for determining ambient light for terminal device
CN114333716A (en) Display control method, device, terminal equipment and storage medium
US11991300B2 (en) Photographing method and apparatus, terminal, and storage medium
CN111383583B (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN111383568B (en) Display control method and device, electronic equipment and computer readable storage medium
CN108538261B (en) Display control method and device and display equipment
CN114067740A (en) Screen calibration method and device, electronic equipment and storage medium
CN116801112A (en) Color calibration method, device, storage medium and display equipment
CN118101913A (en) Image processing method, device, electronic equipment, storage medium and chip
CN114067739B (en) Color gamut mapping method and device, electronic equipment and storage medium
CN116453459A (en) Screen display method and device, readable storage medium and electronic equipment
CN116795317A (en) Image display method, device and readable storage medium

Legal Events

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