CN116052568A - Display screen calibration method and related equipment - Google Patents
Display screen calibration method and related equipment Download PDFInfo
- Publication number
- CN116052568A CN116052568A CN202210877806.3A CN202210877806A CN116052568A CN 116052568 A CN116052568 A CN 116052568A CN 202210877806 A CN202210877806 A CN 202210877806A CN 116052568 A CN116052568 A CN 116052568A
- Authority
- CN
- China
- Prior art keywords
- original
- white point
- color
- standard
- area
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/03—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays
- G09G3/035—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays for flexible display surfaces
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control 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 using controlled light sources
- G09G3/30—Control 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 using controlled light sources using electroluminescent panels
- G09G3/32—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control 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 using controlled light sources
- G09G3/30—Control 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 using controlled light sources using electroluminescent panels
- G09G3/32—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
- G09G3/3208—Control 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 using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED] organic, e.g. using organic light-emitting diodes [OLED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2300/00—Aspects of the constitution of display devices
- G09G2300/04—Structural and physical details of display devices
- G09G2300/0439—Pixel structures
- G09G2300/0452—Details of colour pixel setup, e.g. pixel composed of a red, a blue and two green components
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0233—Improving the luminance or brightness uniformity across the screen
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0242—Compensation of deficiencies in the appearance of colours
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0666—Adjustment of display parameters for control of colour parameters, e.g. colour temperature
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/06—Colour space transformation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a display screen calibration method and related equipment. According to the method, the electronic device can determine the conversion relation between the original RGB color system and the XYZ color system and the conversion relation between the standard RGB color system and the XYZ color system based on the original WRGB color coordinate and the standard WRGB color coordinate respectively, and determine the calibration coefficient based on the two conversion relations. The electronic device may calibrate the display screen based on the calibration coefficients. The electronic device can divide the white point area into a plurality of white point block areas, determine the calibration coefficients corresponding to the white point block areas, and calibrate the display screen based on the calibration coefficients corresponding to the white point block areas to which the original W-color coordinates belong. According to the method, the calibration result can be updated through system updating, so that the calibration time can be saved, the flexible adjustment of the calibration coefficient can be realized, a user can timely and quickly use the calibrated display screen, and the user experience is improved.
Description
Technical Field
The application relates to the technical field of terminals, in particular to a display screen calibration method and related equipment.
Background
The colors of the display screens of different terminal devices may not be the same in the case of displaying white, i.e., there is a problem of inconsistency in white point color coordinates of the display screens of different terminal devices, because of manufacturing process, cost difference, and the like. Even if the display screens of the same model produced by the same manufacturer display white, the colors seen by human eyes are different. That is, the display screen may have color cast problems. For example, a portion of the display screen may be reddish when it is displaying white, and a portion of the display screen may be bluish when it is displaying white. The above problems affect the screen look and feel and user experience.
Therefore, how to calibrate the display screen to avoid the color cast problem is a problem to be solved.
Disclosure of Invention
The application provides a display screen calibration method and related equipment. According to the display screen calibration method, the electronic device can determine the mapping relation between the original RGB color system and the standard RGB color system after starting, and calibrate the RGB values in the original RGB color system to the RGB values in the standard RGB color system based on a conversion matrix (i.e. calibration coefficient) for representing the mapping relation between the original RGB color system and the standard RGB color system. The method does not need to finish the calibration of the display screen before leaving the factory, the calibration coefficient can be placed in the system program package to realize the calibration of the display screen after being started, and the calibration coefficient can also be placed in the system update program package if the subsequent calibration mode and the calibration coefficient need to be updated. That is, the method can update the calibration coefficient through the updated software version, so that not only can the calibration time of the electronic equipment be saved, but also the flexible adjustment of the calibration coefficient can be realized, so that a user can timely and quickly use the calibrated display screen, and the user experience is improved.
In a first aspect, the present application provides a display screen calibration method. The method may be applied to a first device. The method may include: acquiring a first calibration coefficient after the first equipment is started; the first device determines an original RGB value corresponding to a target pixel point on a display screen of the first device, multiplies the first calibration coefficient by the original RGB value corresponding to the target pixel point, and obtains an RGB value corresponding to the calibrated target pixel point. Wherein the first calibration coefficient is a conversion matrix for characterizing a mapping relationship between the original RGB color system and the standard RGB color system. The original RGB value corresponding to the target pixel point is the RGB value in the original RGB color system. The RGB value corresponding to the calibrated target pixel point is the RGB value in the standard RGB color system.
In the scheme provided by the application, the first calibration coefficient can be obtained after the first device is started, the original RGB value corresponding to the target pixel point on the display screen of the first device can be determined, the first calibration coefficient is multiplied by the original RGB value corresponding to the target pixel point, the RGB value corresponding to the calibrated target pixel point is obtained, and the RGB value is applied. According to the method, the display screen is not required to be calibrated before leaving the factory, a plurality of automatic devices are not required to be used for calibrating a plurality of display screens, the calibration time can be saved, a user can timely and quickly use the calibrated display screen, the user experience is improved, and meanwhile, the equipment cost and the time cost can be saved.
It is understood that the first device may be an electronic device in the present application, and may also be an electronic device 100 in the present application.
In some embodiments of the present application, the first calibration coefficient may be a calibration coefficient E3.
In some embodiments of the present application, the first calibration coefficient may be a calibration coefficient Fn.
It is understood that the target pixel may be any pixel in the display screen of the first device. The description of the target pixel point is specifically referred to later, and will not be described here.
In some embodiments of the present application, the calibration coefficients may be placed in a system program package to implement calibration of the display screen after the display screen is turned on, and if the subsequent calibration mode and the calibration coefficients need to be updated, the calibration coefficients may also be placed in a system update program package. That is, the first device may obtain updated calibration coefficients through the updated software version. In this case, the electronic device can achieve flexible adjustment of the calibration coefficients.
In some embodiments of the present application, the starting of the first device may include a first start-up of the first device after shipment. In further embodiments of the present application, the booting of the first device may include a first booting after a first device system update.
In some embodiments of the present application, the first device may acquire the first calibration coefficient immediately after starting, and calibrate the original RGB value corresponding to the target pixel point on the current display screen according to the first calibration coefficient. In still other embodiments of the present application, after the first device is started, an original RGB value corresponding to the target pixel point on the display screen of the first device is changed. In this case, the first device may acquire the first calibration coefficient, and calibrate the changed original RGB value corresponding to the target pixel point according to the first calibration coefficient.
With reference to the first aspect, in one possible implementation manner, the acquiring, after the first device is started, a first calibration coefficient specifically includes: the first device determines a first calibration coefficient based on the original WRGB color coordinates and the standard WRGB color coordinates after startup. The RGB color system corresponding to the original WRGB color coordinate is an original RGB color system, and the RGB color system corresponding to the standard WRGB color coordinate is a standard RGB color system. The original WRGB color coordinates include an original W color coordinate, an original R color coordinate, an original G color coordinate, and an original B color coordinate. The original W color coordinate, the original R color coordinate, the original G color coordinate and the original B color coordinate are color coordinates corresponding to white, red, green and blue displayed by the display screen before calibration. The standard WRGB color coordinates include a standard W color coordinate, a standard R color coordinate, a standard G color coordinate, and a standard B color coordinate. The standard W color coordinate, the standard R color coordinate, the standard G color coordinate and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green and blue displayed on the display screen respectively.
In the scheme provided by the application, after the first device is started, a first calibration coefficient can be determined based on the original WRGB color coordinate and the standard WRGB color coordinate, and the original RGB value corresponding to the target pixel point on the display screen is calibrated based on the first calibration coefficient. According to the method, calibration of a plurality of display screens is completed without using a plurality of automatic devices before leaving a factory, the first device automatically determines the calibration coefficient after the first device is started, flexible adjustment of the calibration coefficient can be achieved, a user can timely and quickly use the calibrated display screens, user experience is improved, and meanwhile equipment cost and time cost can be saved.
It can be appreciated that the original W color coordinates are the original white point color coordinates. I.e. the original W color coordinates are the color coordinates of the original white point. In some embodiments of the present application, the original W color coordinates may be burned into the chip of the display screen. It will be appreciated that the relevant description of the original WRGB color coordinates and standard WRGB color coordinates may be referred to hereinafter and will not be described here.
With reference to the first aspect, in one possible implementation manner, determining, by the first device, a first calibration coefficient based on the original WRGB color coordinate and the standard WRGB color coordinate specifically includes: the first device determines a first conversion matrix based on the raw WRGB color coordinates and a second conversion matrix based on the standard WRGB color coordinates. The first device multiplies the inverse of the second transformation matrix by the first transformation matrix to obtain a first calibration coefficient. The first conversion matrix is a conversion matrix between an original RGB color system and an XYZ color system, and the second conversion matrix is a conversion matrix between a standard RGB color system and an XYZ color system.
In the scheme provided by the application, the first device may determine the mapping relationship between the original RGB color system and the standard RGB color system based on the conversion matrix between the original RGB color system and the XYZ color system and the conversion matrix between the standard RGB color system and the XYZ color system. It is understood that the mapping relationship between the original RGB color system and the standard RGB color system can be represented by the first calibration factor. According to the method, after the first device is started, the first device automatically determines the calibration coefficient, the first device adjusts the RGB values of the pixel points on the display screen, a plurality of automatic devices are not required to be used for completing the calibration of a plurality of display screens before delivery, a plurality of calibration steps are not required, flexible adjustment of the calibration coefficient can be achieved, a user can timely and rapidly use the calibrated display screen, and equipment cost and time cost are saved.
In some embodiments of the present application, the first transformation matrix is transformation matrix E1 and the second transformation matrix is transformation matrix E2. In this case, the first calibration coefficient is the calibration coefficient E3.
With reference to the first aspect, in one possible implementation manner, determining, by the first device, a first calibration coefficient based on the original WRGB color coordinate and the standard WRGB color coordinate specifically includes: the first equipment determines a white point area and divides the white point area into a plurality of white point block areas; the first equipment determines standard W color coordinates corresponding to each white point block area; the first device determines a first conversion matrix based on the original WRGB color coordinates, and determines a conversion matrix set based on standard W color coordinates, standard R color coordinates, standard G color coordinates and standard B color coordinates corresponding to each white point block area; the first equipment multiplies the inverse matrix of each conversion matrix in the conversion matrix set by the first conversion matrix to obtain a calibration coefficient corresponding to each white point block area; the first device determines a white point blocking area to which the original W color coordinate belongs, and determines a first calibration coefficient based on a calibration coefficient corresponding to the white point blocking area to which the original W color coordinate belongs. The white point area is the range of white displayed by the display screen on the chromaticity diagram. The first conversion matrix is a conversion matrix between the original RGB color system and the XYZ color system. The conversion matrix set comprises a conversion matrix between a standard RGB color system and an XYZ color system corresponding to each white point block area.
In the scheme provided by the application, the first device can conduct block processing on the white point area to obtain a plurality of white point block areas. The first device may determine a calibration coefficient corresponding to each white point block area according to the above method, and calibrate an original RGB value corresponding to the target pixel point on the display screen based on the calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs. This provides several calibration coefficients for selection, rather than having all displays calibrated according to the same calibration coefficient, calibration of multiple displays can be achieved with less error. Since the calibration coefficient is determined based on the original WRGB color coordinate and the standard WRGB color coordinate, once the distance between the original W color coordinate and the standard W color coordinate is large, the brightness loss of the calibrated display screen may be large, which may cause the display effect of the calibrated display screen to be not ideal. In this scheme, the distance between the original W color coordinate and the standard W color coordinate is smaller. Therefore, according to the method, under the condition of ensuring that the brightness loss of the calibrated display screen is smaller, the calibrated display screen can realize better display effect
It will be appreciated that the relevant description of the white point region and the white point blocking region may be referred to hereinafter and will not be described here.
In some embodiments of the present application, the first device determines the first calibration coefficient based on the calibration coefficient corresponding to the white point blocking area to which the original W color coordinate belongs, and may specifically include: the first device may use, as the first calibration coefficient, a calibration coefficient corresponding to the white point block region to which the original W color coordinate belongs.
In some embodiments of the present application, the first device determines the first calibration coefficient based on the calibration coefficient corresponding to the white point blocking area to which the original W color coordinate belongs, and may specifically include: the first device may perform weighting processing on the calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs and the calibration coefficient corresponding to the white point block area adjacent to the white point block area to which the original W color coordinate belongs, to obtain a first calibration coefficient. Such an implementation may be specifically referred to later, and will not be described herein.
In some embodiments of the present application, the first transformation matrix may be transformation matrix E1, the transformation matrix in the set of transformation matrices may be Rn,and the calibration coefficient corresponding to the white point blocking area corresponding to Rn is Fn. It is understood that the first calibration factor may be Fn. Exemplary, the white point block region to which the original W color coordinate belongs is R1 in the conversion matrix set, the calibration coefficient corresponding to the white point block region is F1, and f1=r1 -1 E1. The first device may determine that the first calibration factor is F1.
With reference to the first aspect, in one possible implementation manner, the dividing, by the first device, the white point area into a plurality of white point block areas may specifically include: the first device divides the white point area according to the shape and the size of the preset white point block area to obtain H1 white point block areas. Wherein, the shape and the size of each white point block area in the H1 white point block areas are the same as the shape and the size of the preset white point block area. If the first device divides the white point area according to the shape and the size of the preset white point block area and then the first residual white point area exists, the first device divides the first residual white point area according to the size of the preset white point block area and obtains H2 white point block areas. The first remaining white point area is an area which is the same as the preset white point block area in shape and size after the white point area is divided by the preset white point block area in shape and size, and the size of each of the H2 white point block areas is the same as the preset white point block area. If the first device divides the first residual white point area by the size of the preset white point block area and then the second residual white point area exists, the first device takes the second residual white point area as one white point block area in the white point block areas. The second remaining white point area is an area which is not divided into the same size as the preset white point block area after the first remaining white point area is divided into the preset white point block area.
In the scheme provided by the application, the first device can divide according to the shape and the size of the preset white point block area, and under the condition that the first device cannot be completely divided, the first device can divide the part which is not divided according to the size of the preset white point block area again, and if the second division is not divided, the part which is not divided finally is used as a white point block area. It will be appreciated that the shape of the majority of the white point patch area obtained by the first device is uniform and that the size of the majority of the white point patch area is also uniform. That is, the white point segmented areas obtained by the first device are relatively uniformly distributed, and the standard W color coordinates corresponding to the white point segmented areas are relatively uniformly distributed on the whole white point area. By the method, no matter where the original W-color coordinate of the display screen falls in the white point area, the first device can find the calibration coefficient optimally adapted to the display screen, so that the calibrated display screen can achieve a good display effect under the condition of ensuring smaller brightness loss of the calibrated display screen.
Illustratively, the first device may divide the white point region shown in fig. 6 according to the above implementation, and specific reference is made to the following, which will not be explained here.
It will be appreciated that the relevant description of the above implementation may also be referred to in detail below.
With reference to the first aspect, in one possible implementation manner, the dividing, by the first device, the white point area into a plurality of white point block areas may specifically include: the first equipment divides the white point area based on a preset division interval to obtain a plurality of white point block areas.
In the scheme provided by the application, the first device can divide the white point area based on the preset division interval so as to realize uniform division of the white point area. By the method, no matter where the original W-color coordinate of the display screen falls in the white point area, the first device can find the calibration coefficient optimally adapted to the display screen, so that the calibrated display screen can achieve a good display effect under the condition of ensuring smaller brightness loss of the calibrated display screen.
It is understood that the description of the preset division interval may be referred to later and will not be explained here.
With reference to the first aspect, in one possible implementation manner, the dividing, by the first device, the white point area into a plurality of white point block areas may specifically include: the first device divides the white point area based on the historical white point distribution data to obtain a plurality of white point block areas. Wherein the historical white point distribution data includes historical raw W color coordinates. The historical raw W color coordinates are the color coordinates of the historical raw white point. It is understood that the white dot region includes a first region and a second region. The first area is an area with dense distribution of historical original white spots, and the second area is an area with sparse distribution of the historical original white spots. The first region includes a smaller area of white dot blocking area than the second region.
In the scheme provided by the application, the first device can divide the white point areas based on the historical white point distribution data to obtain a plurality of white point block areas. And the first device divides a portion of the white point region where the history white point distribution is denser into white point block regions of smaller area, and divides a portion of the white point region where the history white point distribution is sparser into white point block regions of larger area. By the mode, the first equipment can calibrate different display screens more accurately, and brightness loss after calibration can be reduced as much as possible under the condition of ensuring a good calibration effect.
In some embodiments of the present application, the first device may obtain historical white point distribution data from the big data. In still other embodiments of the present application, the technician may write the measured raw W color coordinates of the different display screens to the database while measuring the raw W color coordinates. The subsequent first device may call the database to obtain historical white point distribution data.
With reference to the first aspect, in one possible implementation manner, after the first device obtains the RGB values corresponding to the calibrated target pixel point, the method may further include: the first device determining a first luminance value; under the condition that the first brightness value is smaller than the brightness threshold value, the first equipment adjusts the first calibration coefficient to obtain a second calibration coefficient; and the first equipment multiplies the second calibration coefficient by the original RGB value corresponding to the target pixel point to obtain the RGB value corresponding to the target pixel point after final calibration. The first brightness value is the brightness value of the display screen after being calibrated based on the first calibration coefficient, the second brightness value is the brightness value of the display screen after being calibrated based on the second calibration coefficient, and the second brightness value is not smaller than the brightness threshold.
In the scheme that this application provided, after accomplishing the calibration, the luminance loss degree of display screen can be confirmed to first equipment to adjust first calibration coefficient under the great circumstances of display screen luminance loss, so as to guarantee to reduce the luminance loss of display screen as far as possible under the circumstances of realizing the display screen calibration, make the display screen obtain better display effect, improved user experience.
In some embodiments of the present application, the first luminance value may be Y2. The second luminance value may be Y3.
It is understood that the first luminance value may be a calibrated luminance value mentioned later, and the second luminance value may be a calibrated luminance value mentioned later based on an adjusted calibration coefficient.
With reference to the first aspect, in one possible implementation manner, after the first device obtains the RGB values corresponding to the calibrated target pixel point, the method may further include: the first device determining a first luminance value and determining a first luminance loss ratio based on the first luminance value and the original luminance value; under the condition that the first brightness loss ratio is larger than the preset brightness loss ratio, the first equipment adjusts the first calibration coefficient to obtain a second calibration coefficient; and the first equipment multiplies the second calibration coefficient by the original RGB value corresponding to the target pixel point to obtain the RGB value corresponding to the target pixel point after final calibration. The first brightness value is the brightness value of the display screen after the calibration based on the first calibration coefficient, and the original brightness value is the brightness value of the display screen before the calibration. The first luminance loss ratio is a ratio of a difference value between the original luminance value and the first luminance value to the original luminance value. The second brightness value is the brightness value of the display screen after calibration based on the second calibration coefficient. The second luminance loss ratio is a ratio of a difference value between the original luminance value and the second luminance value to the original luminance value. The second luminance loss ratio is not greater than the preset luminance loss ratio.
In the scheme that this application provided, after accomplishing the calibration, the luminance loss degree of display screen can be confirmed to first equipment to adjust first calibration coefficient under the great circumstances of display screen luminance loss, so as to guarantee to reduce the luminance loss of display screen as far as possible under the circumstances of realizing the display screen calibration, make the display screen obtain better display effect, improved user experience.
It will be appreciated that the specific manner in which the first device adjusts the first calibration factor may be referred to hereinafter and will not be described herein.
In some embodiments of the present application, the first luminance value may be Y2. The original luminance value may be Y1. In this case, the first luminance loss ratio is (Y1-Y2)/Y1.
In some embodiments of the present application, the second luminance value may be Y3. The original luminance value may be Y1. In this case, the second luminance loss ratio is (Y1-Y3)/Y1.
It is understood that the first luminance loss ratio may be a luminance loss ratio determined based on a luminance value after calibration and an original luminance value (i.e., a luminance value before calibration) mentioned later. The second luminance loss ratio may be a redetermined luminance loss ratio mentioned later.
With reference to the first aspect, in one possible implementation manner, the determining, by the first device, a first luminance value may specifically include: the first equipment determines the RGB value corresponding to the display screen after calibration when displaying white; the first device converts the RGB values corresponding to the display screen after calibration when the display screen displays white into tristimulus values; the first device determines a Y value of the tristimulus values as a first luminance value.
In the scheme provided by the application, the first device can convert the corresponding RGB value when the calibrated display screen displays white into the tristimulus value XYZ, and determine the first brightness value through Y in the tristimulus value. That is, the first device determines the luminance value by the conversion relationship between the RGB color system and the XYZ color system. Similarly, the first device may also determine the luminance value through a conversion relationship between the RGB color system and other color systems (e.g., xyY color system, lab color system, etc.). By the method, the first device determines the first brightness value only through the RGB color system and the XYZ color system, the first brightness value is not required to be determined through conversion of a plurality of color systems, time is saved, and brightness loss of the display screen after calibration can be determined quickly.
It is understood that the RGB values corresponding to the display screen displaying white can be understood as the RGB values corresponding to the pixel points on the display screen displaying white.
It will be appreciated that the determination of the luminance values, such as the second luminance value and the original luminance value, may also be performed by the methods described above, which are not limited in this application.
With reference to the first aspect, in one possible implementation manner, the acquiring, after the first device is started, a first calibration coefficient may specifically include: the first device reads the first calibration coefficient determined by the second device after being started. The first calibration coefficient is a conversion matrix determined by the second device based on the original WRGB color coordinates and the standard WRGB color coordinates. The RGB color system corresponding to the original WRGB color coordinate is an original RGB color system, and the RGB color system corresponding to the standard WRGB color coordinate is a standard RGB color system. The original WRGB color coordinates include an original W color coordinate, an original R color coordinate, an original G color coordinate, and an original B color coordinate. The original W color coordinate, the original R color coordinate, the original G color coordinate and the original B color coordinate are color coordinates corresponding to white, red, green and blue displayed by the display screen before calibration. The standard WRGB color coordinates include a standard W color coordinate, a standard R color coordinate, a standard G color coordinate, and a standard B color coordinate. The standard W color coordinate, the standard R color coordinate, the standard G color coordinate and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green and blue displayed on the display screen respectively.
In the scheme provided by the application, the second device can determine the first calibration coefficient, and write the first calibration coefficient into the first device. Under the condition that the first device is started, the first device acquires the first calibration coefficient written before, and the calibration of the display screen of the first device is completed through the first calibration coefficient. By the method, the first device does not need to determine the first calibration coefficient by itself, and the calibration time can be saved. The first device can quickly calibrate the display screen after being started, and user experience is improved.
In some embodiments of the present application, the second device may be the electronic device 200.
With reference to the first aspect, in one possible implementation manner, the original R color coordinate is the same as the standard R color coordinate, the original G color coordinate is the same as the standard G color coordinate, and the original B color coordinate is the same as the standard B color coordinate.
In the scheme provided by the application, the original R color coordinate may be the same as the standard R color coordinate, the original G color coordinate may be the same as the standard G color coordinate, and the original B color coordinate may be the same as the standard B color coordinate. This means that the original R color coordinate, the original G color coordinate, and the original B color coordinate do not need to be measured, but are set as same as the standard R color coordinate, the standard G color coordinate, and the standard B color coordinate, respectively, and the measurement time can be saved.
In a second aspect, the present application provides an electronic device. The electronic device may include a display screen, a memory, and one or more processors. The memory is used for storing a computer program. The processor is configured to invoke a computer program to cause the electronic device to perform: acquiring a first calibration coefficient after starting; and determining an original RGB value corresponding to the target pixel point on the display screen of the first device, and multiplying the first calibration coefficient by the original RGB value corresponding to the target pixel point to obtain the RGB value corresponding to the calibrated target pixel point. Wherein the first calibration coefficient is a conversion matrix for characterizing a mapping relationship between the original RGB color system and the standard RGB color system. The original RGB value corresponding to the target pixel point is the RGB value in the original RGB color system. The RGB value corresponding to the calibrated target pixel point is the RGB value in the standard RGB color system.
With reference to the second aspect, in one possible implementation manner, the processor is configured to invoke the computer program, and when configured to cause the electronic device to obtain the first calibration coefficient after the electronic device is started, specifically invoke the computer program, and cause the electronic device to perform: and determining a first calibration coefficient based on the original WRGB color coordinate and the standard WRGB color coordinate after starting. The RGB color system corresponding to the original WRGB color coordinate is an original RGB color system, and the RGB color system corresponding to the standard WRGB color coordinate is a standard RGB color system. The original WRGB color coordinates include an original W color coordinate, an original R color coordinate, an original G color coordinate, and an original B color coordinate. The original W color coordinate, the original R color coordinate, the original G color coordinate and the original B color coordinate are color coordinates corresponding to white, red, green and blue displayed by the display screen before calibration. The standard WRGB color coordinates include a standard W color coordinate, a standard R color coordinate, a standard G color coordinate, and a standard B color coordinate. The standard W color coordinate, the standard R color coordinate, the standard G color coordinate and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green and blue displayed on the display screen respectively.
With reference to the second aspect, in one possible implementation manner, when the processor is configured to invoke the computer program to cause the electronic device to determine the first calibration coefficient based on the original WRGB color coordinate and the standard WRGB color coordinate after the electronic device is started, the processor is specifically configured to invoke the computer program to cause the electronic device to perform: determining a first conversion matrix based on the original WRGB color coordinates, and determining a second conversion matrix based on the standard WRGB color coordinates; and multiplying the inverse matrix of the second conversion matrix by the first conversion matrix to obtain a first calibration coefficient. The first conversion matrix is a conversion matrix between an original RGB color system and an XYZ color system, and the second conversion matrix is a conversion matrix between a standard RGB color system and an XYZ color system.
With reference to the second aspect, in one possible implementation manner, when the processor is configured to invoke the computer program to cause the electronic device to determine the first calibration coefficient based on the original WRGB color coordinate and the standard WRGB color coordinate after the electronic device is started, the processor is specifically configured to invoke the computer program to cause the electronic device to perform: determining a white point area, and dividing the white point area into a plurality of white point block areas; determining standard W color coordinates corresponding to each white point blocking area; determining a first conversion matrix based on the original WRGB color coordinates, and determining a conversion matrix set based on standard W color coordinates, standard R color coordinates, standard G color coordinates and standard B color coordinates corresponding to each white point block area; multiplying the inverse matrix of each conversion matrix in the conversion matrix set by the first conversion matrix to obtain a calibration coefficient corresponding to each white point blocking area; and determining a white point block area to which the original W color coordinate belongs, and determining a first calibration coefficient based on the calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs. The white point area is the range of white displayed by the display screen on the chromaticity diagram. The first conversion matrix is a conversion matrix between the original RGB color system and the XYZ color system. The conversion matrix set comprises a conversion matrix between a standard RGB color system and an XYZ color system corresponding to each white point block area.
With reference to the second aspect, in one possible implementation manner, the processor is configured to invoke a computer program, and when configured to cause the electronic device to perform dividing the white point area into a plurality of white point block areas, specifically configured to invoke the computer program, cause the electronic device to perform: dividing the white point area according to the shape and the size of a preset white point block area to obtain H1 white point block areas; if the white point area is divided according to the shape and the size of the preset white point block area, and then a first residual white point area exists, dividing the first residual white point area according to the size of the preset white point block area, and obtaining H2 white point block areas; and if the second residual white point area exists after the first residual white point area is divided by the size of the preset white point block area, taking the second residual white point area as one white point block area in the white point block areas. Wherein, the shape and the size of each white point block area in the H1 white point block areas are the same as the shape and the size of the preset white point block area. The first remaining white point region is a region which is not able to be divided into the same shape and size as the preset white point block region after the white point region is divided into the preset white point block regions, and the size of each of the H2 white point block regions is the same as the size of the preset white point block region. The second remaining white point region is a region which cannot be divided into the same size as the preset white point block region after the first remaining white point region is divided into the preset white point block region.
With reference to the second aspect, in one possible implementation manner, the processor is configured to invoke a computer program, and when configured to cause the electronic device to perform dividing the white point area into a plurality of white point block areas, specifically configured to invoke the computer program, cause the electronic device to perform: and dividing the white point area based on a preset division interval to obtain a plurality of white point block areas.
With reference to the second aspect, in one possible implementation manner, the processor is configured to invoke a computer program, and when configured to cause the electronic device to perform dividing the white point area into a plurality of white point block areas, specifically configured to invoke the computer program, cause the electronic device to perform: and dividing the white point areas based on the historical white point distribution data to obtain a plurality of white point block areas. Wherein the historical white point distribution data includes historical raw W color coordinates. The historical raw W color coordinates are the color coordinates of the historical raw white point. It is understood that the white dot region includes a first region and a second region. The first area is an area with dense distribution of historical original white spots, and the second area is an area with sparse distribution of the historical original white spots. The first region includes a smaller area of white dot blocking area than the second region.
With reference to the second aspect, in one possible implementation manner, after the processor is configured to invoke the computer program to cause the electronic device to execute the RGB values corresponding to the calibrated target pixel point, the processor may be further configured to invoke the computer program to cause the electronic device to execute: determining a first luminance value; under the condition that the first brightness value is smaller than the brightness threshold value, the first calibration coefficient is adjusted to obtain a second calibration coefficient; and multiplying the second calibration coefficient by the original RGB value corresponding to the target pixel point to obtain the RGB value corresponding to the target pixel point after final calibration. The first brightness value is the brightness value of the display screen after being calibrated based on the first calibration coefficient, the second brightness value is the brightness value of the display screen after being calibrated based on the second calibration coefficient, and the second brightness value is not smaller than the brightness threshold.
With reference to the second aspect, in one possible implementation manner, after the processor is configured to invoke the computer program to cause the electronic device to execute the RGB values corresponding to the calibrated target pixel point, the processor may be further configured to invoke the computer program to cause the electronic device to execute: determining a first luminance value and determining a first luminance loss ratio based on the first luminance value and the original luminance value; under the condition that the first brightness loss ratio is larger than the preset brightness loss ratio, the first calibration coefficient is adjusted to obtain a second calibration coefficient; and multiplying the second calibration coefficient by the original RGB value corresponding to the target pixel point to obtain the RGB value corresponding to the target pixel point after final calibration. The first brightness value is the brightness value of the display screen after the calibration based on the first calibration coefficient, and the original brightness value is the brightness value of the display screen before the calibration. The first luminance loss ratio is a ratio of a difference value between the original luminance value and the first luminance value to the original luminance value. The second brightness value is the brightness value of the display screen after calibration based on the second calibration coefficient. The second luminance loss ratio is a ratio of a difference value between the original luminance value and the second luminance value to the original luminance value. The second luminance loss ratio is not greater than the preset luminance loss ratio.
With reference to the second aspect, in a possible implementation manner, the processor is configured to invoke the computer program, when configured to cause the electronic device to execute determining the first luminance value, specifically configured to invoke the computer program, to cause the electronic device to execute: determining the RGB value corresponding to the display screen after calibration when displaying white; converting the RGB value corresponding to the display screen after calibration to a tristimulus value when the display screen displays white; and determining the Y value in the tristimulus values as a first brightness value.
With reference to the second aspect, in one possible implementation manner, the processor is configured to invoke the computer program, when configured to invoke the computer program to cause the electronic device to obtain the first calibration coefficient after the electronic device is started, specifically configured to invoke the computer program to cause the electronic device to perform: and after the start-up, reading the first calibration coefficient determined by the second device. The first calibration coefficient is a conversion matrix determined by the second device based on the original WRGB color coordinates and the standard WRGB color coordinates. The RGB color system corresponding to the original WRGB color coordinate is an original RGB color system, and the RGB color system corresponding to the standard WRGB color coordinate is a standard RGB color system. The original WRGB color coordinates include an original W color coordinate, an original R color coordinate, an original G color coordinate, and an original B color coordinate. The original W color coordinate, the original R color coordinate, the original G color coordinate and the original B color coordinate are color coordinates corresponding to white, red, green and blue displayed by the display screen before calibration. The standard WRGB color coordinates include a standard W color coordinate, a standard R color coordinate, a standard G color coordinate, and a standard B color coordinate. The standard W color coordinate, the standard R color coordinate, the standard G color coordinate and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green and blue displayed on the display screen respectively.
With reference to the second aspect, in one possible implementation manner, the original R color coordinate is the same as the standard R color coordinate, the original G color coordinate is the same as the standard G color coordinate, and the original B color coordinate is the same as the standard B color coordinate.
In a third aspect, the present application provides a computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform any one of the possible implementations of the first aspect described above.
In a fourth aspect, embodiments of the present application provide a chip that may be applied to an electronic device, the chip including one or more processors configured to invoke computer instructions to cause the electronic device to perform any of the possible implementations of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising instructions which, when run on an electronic device, cause the electronic device to perform any one of the possible implementations of the first aspect described above.
It will be appreciated that the electronic device provided in the second aspect, the computer storage medium provided in the third aspect, the chip provided in the fourth aspect, and the computer program product provided in the fifth aspect are all configured to perform any one of the possible implementations of the first aspect. Thus, reference may be made to the advantages of any one of the possible implementation manners of the first aspect, and the description is omitted here.
Drawings
Fig. 1 is a flowchart of a display screen calibration method provided in an embodiment of the present application;
FIG. 2 is a flowchart of another display calibration method according to an embodiment of the present application;
FIG. 3 is a flowchart of another display calibration method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a white point area provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a white point partitioning area provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of yet another white point blocking area provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of yet another white point blocking area provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of yet another white point blocking area provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of yet another white point blocking area provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a distribution of historical raw white points according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of a distribution of standard white points and original white points according to an embodiment of the present disclosure;
fig. 12 is a schematic hardware structure of an electronic device 100 according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
It should be understood that the terms first, second, and the like in the description and in the claims and drawings of the present application are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
First, some of the terms and related techniques referred to in the present application are explained for easy understanding by those skilled in the art.
1. Color system
The representation of colors may be referred to as a color system, or a color space, or a color system, or a chromaticity system. The quantitative expression of color is the Munsell color system, the RGB color system, the CIE color system, etc.
2. RGB color system
The perception of color is a comprehensive result of the three primary RGB (i.e., red, green, blue) stimulus of light. The system that uses RGB to represent colors is called an "RGB color system". In the RGB color system R, G, B represents the unit quantity of the three primary colors red, green, and blue that produce a mixed color. Currently, the CIE-RGB color system (or RGB1931 color system) established by the international commission on illumination (International Commission on Illumination, CIE) in 1931 is often used.
However, experiments have found that negative values occur when some spectral colors are represented by the color matching functions of the RGB color system. That is, there are spectral colors that cannot be represented by the three primary colors RGB.
3. CIE color system
(1) CIE1931XYZ color System
The international commission on illumination theoretically assumes three primary colors that do not exist in nature, namely the theoretical three primary colors XYZ, on the basis of the RGB color system in order to match all colors theoretically and represent colors in a non-negative value. The international commission on illumination has established a new color system, the CIE1931XYZ color system, abbreviated XYZ color system, using the three primary colors XYZ. In the XYZ color system, the stimulus amount of the three primary colors XYZ can be represented by X, Y, Z, that is, XYZ is the tristimulus value in the XYZ color system.
(2) CIE chromaticity diagram and color coordinates
The tristimulus values X, Y and Z in the XYZ color system are useful for defining colors, and have the disadvantage of being relatively complex to use and not intuitive. Accordingly, the 1931 international commission on illumination has defined a color space called CIE xyY (i.e., xyY color system) to overcome this deficiency. The CIE xyY color space is defined based on the fact that for a given color, if its brightness is increased, the luminous flux of each primary color is also scaled up so that the color can be matched.
The CIE xyY color space is a color space directly derived from the CIE 1931XYZ color system that describes colors using the luminance Y parameter and the color coordinates x, Y. Wherein Y represents luminance, consistent with Y stimulus values in the CIE 1931XYZ color system. x and y reflect the chromaticity characteristics of the color. x represents the relative magnitude related to red (i.e. the proportion of the red primary) and y represents the relative magnitude related to green (i.e. the proportion of the green primary). It is understood that the red and green primary colors refer to red and green, respectively, of the three primary colors. x and y are determined by scaling the tristimulus values X, Y, Z in the CIE 1931XYZ color system. And x+y+z=1. Where z represents the relative magnitude associated with blue (i.e., the proportion of the blue primary). It is understood that the blue primary color refers to blue of the three primary colors. The obtained graph that can represent all colors using x and y obtained by the above-described equal-ratio conversion as the horizontal axis and the vertical axis, respectively, is called a CIE chromaticity diagram. It is understood that the coordinates of each point in the CIE chromaticity diagram may represent a color. The color coordinates x, y in the CIE chromaticity diagram are also referred to as color coordinates.
4. White point
White points refer to points in the chromaticity diagram that represent white. The location of the white point in the chromaticity diagram affects the behavior of most colors of the display screen.
It is understood that the colors displayed by the display screen can be obtained by mixing three primary colors, namely red, green and blue according to a certain proportion. According to the above, x and y in the white point color coordinates correspond to the ratio of red and green, respectively, in the three primary colors. If the white point coordinates of different display screens are inconsistent, that is, there is a difference between x, y and z corresponding to the white point coordinates, it means that the white colors displayed by the different display screens are mixed by red, green and blue in different proportions. Therefore, when the different display screens display white, color shift (such as redness, greenness, blueness and the like) may occur.
The triangular area formed by the red, green and blue points in the chromaticity diagram corresponding to the display screen is the color gamut range of the display screen. It will be appreciated that the position in the chromaticity diagram of the color resulting from the mixing of the two primary colors of the display screen is on the line of points in the chromaticity diagram representing the two primary colors. For convenience of description, the color obtained by mixing two primary colors is referred to as primary mixed color in this application. It is understood that the primary mixed colors are 3 in total-yellow, purple and cyan. Yellow is a color obtained by mixing red with green, violet is a color obtained by mixing red with blue, and cyan is a color obtained by mixing blue with green.
The intersection of the line representing two points of red and cyan in the chromaticity diagram, the line representing two points of green and purple in the chromaticity diagram, and the line representing two points of blue and yellow in the chromaticity diagram is a white point. This means that the position of the white point affects the position of the 3 points representing the primary mixed color in the chromaticity diagram. It will be appreciated that there are points on the three lines that represent other colors. The related art document based on chromaticity diagram can be known: although not all lines of points in the chromaticity diagram representing any two colors pass through the white point, the colors are interrelated due to the linear nature of the color mixture. In short, the location of the white point affects the location of points representing other colors in the chromaticity diagram. That is, if the white point coordinates of different display screens are not consistent, the color shift problem will occur when other colors are displayed on the display screens as when white is displayed.
Aiming at the problem that the display effects of different display screens are inconsistent (for example, color cast) caused by inconsistent white point color coordinates of different display screens, technicians can calibrate the display screens of the electronic equipment at an assembly stage before the electronic equipment leaves a factory, and check the calibration result until the calibration is to a target value. For example, a technician may calibrate the electronic device's white point color coordinates to target values prior to shipment. Although the calibration can be completed before the electronic equipment leaves the factory, the method is long in time consumption and high in cost, and the calibration effect cannot be updated later. That is, if the calibration target values of the display screens of the different batches are different, the display effects of the display screens of some batches shipped earlier and the display screens of some batches shipped later are different, and the display screens cannot be recovered for the calibration later.
The invention provides a display screen calibration method and related equipment. According to the method, the electronic device can determine the conversion relation between the original RGB color system and the XYZ color system based on the original WRGB color coordinates, determine the conversion relation between the standard RGB color system and the XYZ color system based on the standard WRGB color coordinates, and determine the conversion matrix between the original RGB color system and the standard RGB color system based on the two conversion relations. The conversion matrix is the calibration coefficient. The electronic device may calibrate the RGB values when the pixels on the display screen display different colors based on the calibration coefficients. In one possible implementation manner, the electronic device may divide the white point area into a plurality of white point block areas, determine a calibration coefficient corresponding to each white point block area based on the above method, and then calibrate the RGB values when the pixels on the display screen display different colors based on the calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs. The method does not need to finish the calibration of the display screen before leaving the factory, the calibration coefficient can be placed in the system program package to realize the calibration of the display screen after being started, and the calibration coefficient can also be placed in the system update program package if the subsequent calibration mode and the calibration coefficient need to be updated. That is, the method can update the calibration coefficient through the updated software version, so that not only can the calibration time of the electronic equipment be saved, but also the flexible adjustment of the calibration coefficient can be realized, so that a user can timely and quickly use the calibrated display screen, and the user experience is improved.
The following describes a display screen calibration method provided in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of a display calibration method according to an embodiment of the present application. The method may include, but is not limited to, the steps of:
s101: and acquiring a first calibration coefficient after the electronic equipment is started. The first calibration factor is a conversion matrix used to characterize the mapping between the original RGB color system and the standard RGB color system.
In some embodiments of the present application, the electronic device may determine the first calibration coefficient according to the original WRGB color coordinate and the standard WRGB color coordinate by itself after being started, and a specific implementation manner may be referred to hereinafter, which is not described herein.
In still other embodiments of the present application, the electronic device may acquire the first calibration coefficient that is originally stored in the electronic device after being started, and specific implementation may be referred to hereinafter and will not be described herein. For example, the electronic device may acquire a first calibration factor stored in a system package prior to shipment after start-up.
Of course, the electronic device may also obtain the first calibration coefficient in other manners, which is not limited in this application.
It can be understood that the start-up of the electronic device mentioned herein may refer to the first start-up of the electronic device after shipment, and may also refer to the state in which the electronic device is currently located after start-up. The state after the electronic device is started may include a state at the time of the electronic device just started and a state after a period of time of the start.
It is understood that the original RGB color system and the standard RGB color system are two different RGB color systems. In this application, the electronic device may correlate the two RGB color systems by a first calibration factor.
S102: the electronic equipment determines an original RGB value corresponding to a target pixel point on a display screen of the electronic equipment, multiplies the first calibration coefficient by the original RGB value corresponding to the target pixel point, and obtains an RGB value corresponding to the calibrated target pixel point. The original RGB value corresponding to the target pixel point is an RGB value in an original RGB color system, and the RGB value corresponding to the calibrated target pixel point is an RGB value in a standard RGB color system.
It can be understood that the pixel point is the minimum luminous unit of the display screen and consists of three pixel units of red, green and blue. The fluorescent layer of the display screen adopts trinity fluorescent bodies, namely red, green and blue fluorescent bodies, the arrangement mode of the fluorescent bodies is the same as that of the electron gun, and the fluorescent bodies of the three primary colors can generate various colors through different brightness combinations. That is, the RGB values corresponding to the pixels represent the brightness of the three primary colors of red, green and blue, respectively, and the RGB values corresponding to the pixels are different, so that the colors displayed are different.
It will be appreciated that the original RGB values corresponding to the target pixel may be represented by a 3*1 matrix, and the RGB values corresponding to the calibrated target pixel may be represented by a 3*1 matrix. Wherein three elements in the matrix of 3*1 represent the brightness of the three primary colors red, green and blue, respectively. The first calibration factor may be represented by a matrix of 3*3.
The electronic device may include two embodiments when performing step S102:
in one embodiment, when a corresponding interface is displayed on the current display screen, the electronic device may determine, for the interface displayed on the display screen, an original RGB value corresponding to a target pixel on the display screen, multiply the first calibration coefficient by the changed original RGB value corresponding to the target pixel, obtain a new RGB value corresponding to the calibrated target pixel, and apply the RGB value. It can be understood that the target pixel point may refer to a pixel point specifically used on the display screen when the display screen displays the corresponding interface.
In another embodiment, the electronic device may determine an original RGB value corresponding to the target pixel when displaying different colors, and multiply the first calibration coefficient by the original RGB value corresponding to the target pixel when displaying different colors, to obtain the RGB value corresponding to the calibrated target pixel when displaying different colors. The electronic device may store a correspondence between the original RGB values corresponding to the target pixel point when displaying the different colors and the RGB values corresponding to the calibrated target pixel point when displaying the different colors. It is understood that the target pixel may be any pixel on the display screen of the electronic device. Under the condition that a corresponding interface is displayed on the current display screen, aiming at the interface displayed on the display screen, the electronic equipment can acquire the original RGB value corresponding to the target pixel point on the display screen, find the RGB value corresponding to the corresponding calibrated target pixel point according to the corresponding relation and apply the RGB value.
The following describes a display screen calibration method provided in the embodiments of the present application.
Referring to fig. 2, fig. 2 is a schematic diagram of a display calibration method according to an embodiment of the present application. The method may include, but is not limited to, the steps of:
s201: the electronic device 100 obtains the original WRGB color coordinates and the standard WRGB color coordinates. The original WRGB color coordinates comprise an original W color coordinate, an original R color coordinate, an original G color coordinate and an original B color coordinate. The standard WRGB color coordinates include a standard W color coordinate, a standard R color coordinate, a standard G color coordinate, and a standard B color coordinate. The original W color coordinate, the original R color coordinate, the original G color coordinate, and the original B color coordinate are color coordinates corresponding to white, red, green, and blue colors displayed by the display screen of the electronic device 100 before calibration, respectively. The standard W color coordinate, the standard R color coordinate, the standard G color coordinate, and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green, and blue colors displayed on the display screen of the electronic device 100, respectively.
In some embodiments of the present application, the electronic device 100 may acquire the original WRGB color coordinates and the standard WRGB color coordinates after first startup after shipment, and then perform subsequent steps.
It is understood that the raw W color coordinates refer to raw white point color coordinates. I.e. the white point color coordinates of the display screen of the electronic device 100 before calibration. In short, the raw W color coordinates are the color coordinates of the raw white point corresponding to the display screen of the electronic device 100 before calibration. The original W color coordinates and the original RGB color coordinates may be measured in advance and stored in the electronic device 100. It is understood that the original RGB color coordinates include an original R color coordinate, an original G color coordinate, and an original B color coordinate.
In some embodiments of the present application, the raw W color coordinates (i.e., raw white point color coordinates) may be stored in the display screen chip. The electronic device 100 may read the original W color coordinates in the display screen chip. It will be appreciated that during the display module production phase, the technician may measure the current white point color coordinates (i.e., the raw W color coordinates) of the display and store them in the display chip. It is understood that a display screen chip may refer to a display screen Integrated Circuit (IC) chip. Of course, the display screen chip may be other types of chips, which are not limited in this application.
It is understood that the lighting capabilities of different display screens may not be the same. The standard RGB color coordinates are determined by the dominant wavelength of the light emitting devices in the display. That is, standard RGB color coordinates may be predetermined and stored in the electronic device 100. On the chromaticity diagram, an area surrounded by three points corresponding to standard RGB color coordinates is a color coordinate range of a color that can be displayed by the display screen of the electronic device 100, that is, a color gamut range of the display screen of the electronic device 100. The standard W color coordinates are standard white point color coordinates of the display screen of the electronic device 100. It can be appreciated that the standard W color coordinate may be set according to practical requirements, which is not limited in this application. For example, the standard W color coordinates may be (0.33 ). The standard RGB color coordinates include a standard R color coordinate, a standard G color coordinate, and a standard B color coordinate.
In some embodiments of the present application, standard WRGB color coordinates may be stored in memory space. The electronic device 100 may obtain standard WRGB color coordinates based on the address of the memory space.
In some embodiments of the present application, the original RGB color coordinates set by the electronic device 100 may be the same as the standard RGB color coordinates.
It is understood that the electronic device 100 may be a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented Reality (Augmented Reality, AR)/Virtual Reality (VR) device, a notebook computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a personal digital assistant (Personal Digital Assistant, PDA), or a dedicated camera (e.g., a single-lens reflex camera, a card-type camera), and the like, and the specific type of the electronic device 100 is not limited in this application.
S202: the electronic device 100 determines a conversion matrix between the original RGB color system and the XYZ color system based on the original WRGB color coordinates, determines a conversion matrix between the standard RGB color system and the XYZ color system based on the standard WRGB color coordinates, and determines a conversion matrix between the original RGB color system and the standard RGB color system. The original RGB color system is an RGB color system corresponding to the original WRGB color coordinate, and the standard RGB color system is an RGB color system corresponding to the standard WRGB color coordinate.
It is understood that the electronic device 100 may determine the conversion matrix E1 between the original RGB color system and the XYZ color system based on the original WRGB color coordinates, and the conversion matrix E2 between the standard RGB color system and the XYZ color system based on the standard WRGB color coordinates. The conversion matrix E1 is a coefficient matrix converted from an original RGB color system to an XYZ color system, and the conversion matrix E2 is a coefficient matrix converted from a standard RGB color system to an XYZ color system. The electronic device 100 may also determine the calibration coefficient E3 based on the transformation matrix E1 and the transformation matrix E2. The calibration coefficient E3 is a conversion matrix between the original RGB color system and the standard RGB color system, i.e., a coefficient matrix converted from the original RGB color system to the standard RGB color system. The calibration factor E3 can also be understood in this application as a conversion matrix for characterizing the mapping relationship between the original RGB color system and the standard RGB color system. It can be understood that the original RGB color system is an RGB color system to which the RGB values corresponding to the pixels on the display screen before calibration belong when displaying different colors. And the standard RGB color system is an RGB color system to which the corresponding RGB values belong when the pixel points on the display screen display different colors after calibration.
For ease of understanding, the RGB values in the original RGB color system are expressed herein asThe RGB values in the standard RGB color system are expressed as +.>The tristimulus values XYZ in XYZ color system are expressed as +.>It will be appreciated that the number of components,then->I.e. e3=e2 -1 E1。
In some embodiments of the present application, the calibration factor E3 is a matrix of 3*3.
It should be noted that the conversion relationship between the RGB color system and the XYZ color system may be determined based on WRGB color coordinates (i.e., color coordinates corresponding to white, red, green, and blue colors displayed on the display screen), and specific reference may be made to the related art documents, which are not described herein.
S203: the electronic device 100 multiplies the conversion matrix between the original RGB color system and the standard RGB color system by the original RGB value corresponding to the target pixel point on the display screen of the electronic device 100, to obtain the RGB value corresponding to the calibrated target pixel point.
It can be appreciated that the electronic device 100 may multiply the conversion matrix E3 between the original RGB color system and the standard RGB color system by the original RGB value corresponding to the target pixel on the display screen of the electronic device 100, where the obtained RGB value is the RGB value corresponding to the calibrated target pixel. The target pixel point on the display screen can be any pixel point on the display screen.
In some embodiments of the present application, the electronic device 100 may multiply the calibration coefficient E3 by the original RGB value corresponding to each pixel on the display screen, where the obtained RGB value is the RGB value corresponding to each pixel on the calibrated display screen.
According to the above, in the original RGB color system, the RGB value corresponding to the target pixel point on the display screen is expressed asIn the standard RGB color system, the RGB value corresponding to the target pixel point on the display screen is expressed as +.>It will be appreciated that the number of components,the electronic device 100 may substitute the original RGB values corresponding to the target pixel point on the display screen before calibration into +.>In (1) obtained->The specific value of the pixel point is the RGB value corresponding to the target pixel point on the calibrated display screen.
Illustratively, the target pixel point on the display screen before calibration is displayed in white, and the corresponding original RGB value can be expressed asBased on the above equation: the RGB values corresponding to the target pixel points on the display screen after calibration can be expressed as
It is noted that, by the method, not only the RGB values corresponding to the pixels displaying white on the display screen can be calibrated, but also the RGB values corresponding to the pixels displaying other colors on the display screen can be calibrated.
In some embodiments of the present application, after the electronic device 100 executes step S202, a conversion matrix between the original RGB color system and the standard RGB color system may be stored, and in the case that the original RGB value corresponding to the target pixel on the display screen changes, the original RGB value corresponding to the target pixel on the display screen is calibrated based on the conversion matrix between the original RGB color system and the standard RGB color system. Reference is made to the above for specific ways of calibration, and no further description is given here.
In some embodiments of the present application, the electronic device 200 may perform the above-described step S201 and step S202. After performing step S202, the electronic device 200 may send a conversion matrix (i.e., calibration coefficients) between the original RGB color system and the standard RGB color system to the electronic device 100, so that the electronic device 100 calibrates its display screen based on the conversion matrix.
It is understood that after the electronic device 200 performs step S202, the conversion matrix (i.e., calibration coefficients) between the original RGB color system and the standard RGB color system may be encapsulated in the system of the electronic device 100. Once the electronic device 100 is powered on, the electronic device 100 may calibrate its display screen according to the transition matrix.
In some embodiments of the present application, the calibration coefficients may be updated according to actual requirements. The updated calibration coefficients may be placed in a system update package of the electronic device 100.
It should be noted that, the electronic device 200 may be an electronic device such as a notebook computer or an ultra mobile personal computer, and the specific type of the electronic device 200 is not limited in this application.
The following describes another display screen calibration method provided in the embodiments of the present application.
Referring to fig. 3, fig. 3 is a display screen calibration method according to an embodiment of the present application. The method may include, but is not limited to, the steps of:
s301: the electronic device 100 determines a white dot region and divides the white dot region to obtain a plurality of white dot block regions.
It is understood that the electronic device 100 may determine a white point region on the chromaticity diagram and divide the white point region into a number of white point tile regions.
It will be appreciated that the chromaticity diagram is horseshoe-shaped, as shown in fig. 4. It will be appreciated that the chromaticity diagram shown in fig. 4 only represents the general shape of the chromaticity diagram, and in practice, the chromaticity diagram may be filled with colors, and the chromaticity diagram includes a region that is a gamut visible to the human eye. The white dot region is a region associated with white in the chromaticity diagram. The white dot area is used for determining standard W color coordinates, so that calibration of the original W color coordinates is realized. In this application, the electronic device 100 may determine the standard W color coordinates based on the white point region and calibrate the original W color coordinates based on the standard W color coordinates.
It should be noted that the white point area may be set according to actual requirements, which is not limited in this application. In some embodiments of the present application, the shape and size of the white spot area may be preset, as this application is not limited. For example, the shape of the white dot region may be a parallelogram, may be a rectangle, or may be a circle. Of course, the shape of the white dot block area may be other shapes, which the present application does not limit.
In some embodiments of the present application, information about the white point region may be stored in the electronic device 100, and the range of the white point region may be determined based on the information about the white point region. For example, the vertex coordinates, center point coordinates, shape, etc. of the white point region.
For example, the electronic device 100 may acquire the color coordinates of the four vertices of the preset white point region as (0.275,0.295), (0.3,0.295), (0.295,0.315), and (0.32,0.315), respectively, and determine the white point region from the color coordinates of the four vertices. It will be appreciated that the shape of the white spot area is a parallelogram.
For example, the electronic device 100 may determine that the shape of the white point region is a rectangle with a side length of 0.2 and a color coordinate of the center point (0.295,0.315). The electronic device 100 may determine the white point region based on the above-described information about the white point region.
It will be appreciated that the shape and size of the white point blocking area may also be set according to actual requirements, which is not limited in this application. For example, the shape of the white dot block area may be a parallelogram, or may be a rectangle. Of course, the shape of the white dot block area may be other shapes, which the present application does not limit.
The method of dividing the white point region into white point block regions is briefly described below.
The method comprises the following steps: the electronic device 100 may divide the white point region based on the shape and size of the preset white point block region.
In some embodiments of the present application, the electronic device 100 may first divide a number of white point blocking areas meeting the requirements in the white point area according to the shape and size of the preset white point blocking area. And then uniformly dividing the rest part of the white point area into a plurality of white point block areas. It is understood that the resulting satisfactory white point tile area divided in the white point area refers to a white point tile area that satisfies the requirements in shape and size. That is, the shape and size of the white point blocking area satisfying the requirement are identical to those of the preset white point blocking area. These white spot blocking areas may be evenly distributed in the white spot area.
In some embodiments of the present application, the white point region may be divided into a number of white point tiles regions that each meet the requirements in shape and size.
In still other embodiments of the present application, the white point region may be divided into a number of white point tile regions that each meet the requirements in shape and size, and a number of white point tile regions that do not meet the requirements. It will be appreciated that the number of unsatisfactory white point block areas refers to white point block areas that do not have a shape and size that is exactly the same as the shape and size of the preset white point block area. In this case, the electronic device 100 may divide the remaining white point region by the size or shape of the divided white point block region after first dividing a number of white point block regions each having a shape and size satisfying the requirement in the white point region. That is, the white point block areas which are not satisfied by the division of the white point area have the same shape or size as the white point block areas which are satisfied by the division of the white point area.
For example, the white dot region is a parallelogram, and the white dot block region is also a parallelogram. The two sets of opposite sides of the white dot region and the white dot block region are parallel to each other. The electronic device 100 may divide the white point region based on the height of the preset white point block region and the length of a set of opposite sides thereof.
For example, as shown in fig. 5, the electronic device 100 may divide the white point region into several parallelograms with sides and heights that meet the requirements. Each parallelogram is a white dot blocking area.
For example, as shown in fig. 6, the electronic device 100 may divide the white point region into 9 rows and 5 columns of white point block regions, each of which is in the shape of a parallelogram. The height of the white dot block area of 4 columns and 8 rows at the left upper part of the white dot area and the length of one group of opposite sides of the white dot block area are respectively consistent with the preset height and side length. The side length of the 9 th row white dot block area is a preset side length, but the height of the 9 th row white dot block area is different from the preset height. Similarly, the height of the column 5 white dot block area is a preset height, but the side length is different from the preset side length.
For example, as shown in fig. 7, the electronic device 100 may divide the white point region into 9 rows and 5 columns of white point block regions, each of which is in the shape of a parallelogram. The height of the white dot block area of 4 columns and 8 rows at the left upper part of the white dot area and the length of one group of opposite sides of the white dot block area are respectively consistent with the preset height and side length. And the side length of the white dot block areas of the 9 th row and the 5 th column is different from the preset side length, and the height is also different from the preset height. However, the size of the white point block areas of the 9 th and 5 th rows and columns is the same as the size of the other white point block areas, that is, the areas of all the white point block areas obtained by dividing the white point areas by the electronic device 100 are the same.
It will be appreciated that the preset heights and preset side lengths mentioned above may be set according to practical situations, and this is not a limitation in the present application.
The second method is as follows: the electronic device 100 divides the white point region based on a preset division interval.
It can be appreciated that the preset dividing interval can be set according to actual requirements, which is not limited in this application. For example, the preset division interval may be 0.005.
In some embodiments of the present application, the electronic device 100 may divide the white point region based on the preset division interval in the horizontal direction and the vertical direction. It is understood that the preset division interval in the horizontal direction may be the same as or different from the preset division interval in the vertical direction. Of course, the electronic device 100 may divide the white point region based on the preset division interval in other directions. For example, the electronic apparatus 100 may divide the white point region based on a preset division interval in a direction of a vertical 45 degree angle to the left and a direction of a vertical 45 degree angle to the right.
For example, the electronic device 100 divides the white point region based on the same preset division interval in the horizontal direction and the vertical direction, thereby obtaining a plurality of white point block regions. The shape and size of these white spot blocking areas are not exactly the same. As shown in fig. 8, the shape of the white dot region is circular, and the shape of the white dot block region is partially rectangular and partially irregular quadrilateral.
And a third method: the electronic device 100 divides the white point region based on the preset white point block region number and the shape of the preset white point block region.
Specifically, the electronic device 100 may divide the white point region based on the preset white point block region number and the shape of the preset white point block region. The preset white point block area number may include the white point block area number in the horizontal direction and the white point block area number in the vertical direction, that is, the white point block area number in each row and the white point block area number in each column. The shape of the preset white point blocking area may include a side length of the preset white point blocking area.
In some embodiments of the present application, the shape of the preset white point blocking area is the same as the shape of the white point area.
In some embodiments of the present application, the white point region and the preset white point blocking region are both rectangular in shape. The electronic device 100 may determine the number of tiles in the horizontal direction and the number of tiles in the vertical direction based on the preset number of white point tiles and the side length of the white point region (which may be determined by the color coordinates of its four vertices). The electronic device 100 may determine each white point tile region (e.g., the color coordinates of its four vertices) based on the number of tiles in the horizontal direction, the number of tiles in the vertical direction, the color coordinates of the four vertices of the white point tile region.
Specifically, as shown in fig. 9, in the case where the shape of the white point region and the white point block region is rectangular, the side lengths of the white point region are denoted as a1 and b1 in the present application, and the preset number of white point block regions per row and the preset number of white point block regions per column are denoted as m and n, respectively. The electronic device 100 may determine that the white point tile region has sides a1/m and b1/n, respectively.
In some embodiments of the present application, the electronic device 100 may divide the white point region in combination with the historical white point distribution data and the above-described dividing method. It is understood that the historical white point distribution data includes historical raw white point color coordinates (i.e., historical raw W color coordinates). The historical raw white point color coordinates are the color coordinates of the historical raw white point. Specifically, the electronic device 100 may divide the area in the white point area where the historical raw white point distribution is dense into smaller white point blocked areas, and divide the area in the white point area where the historical raw white point distribution is sparse into larger white point blocked areas. It is understood that references herein to "smaller" and "larger" refer to the size of the area.
Illustratively, as shown in FIG. 10, more historical raw white points are distributed in the middle region of the white point region, while less historical raw white points are distributed in the edge regions of the white point region. Accordingly, the electronic apparatus 100 divides the middle area of the white point area into a plurality of white point block areas, and divides the edge area of the white point area into a small number of white point block areas.
It is understood that the method for dividing the white point region by combining the historical white point distribution data can be used alone or in combination with the first method, the second method or the third method, and the application is not limited thereto. Of course, the method of dividing the white point region is not limited to the above, and other specific ways are possible, which are not limited in this application.
S302: the electronic device 100 determines standard W color coordinates for each white point tile region.
It can be appreciated that after the electronic device 100 divides the white point area and obtains a plurality of white point block areas, the standard W color coordinates corresponding to each white point block area can be determined.
In some embodiments of the present application, the standard W color coordinate corresponding to the white point tile region may be the color coordinate of the center point of the white point tile region.
Of course, the standard W color coordinates corresponding to the white point block region may be color coordinates of other positions (for example, a vertex, a point with an upper center point, a point with a lower center point, etc.) in the white point block region, which is not limited in this application.
S303: the electronic device 100 determines a calibration coefficient corresponding to each white point block region based on the original WRGB color coordinates, the standard RGB color coordinates, and the standard W color coordinates corresponding to each white point block region.
It is understood that the electronic device 100 may determine the conversion matrix E1 between the original RGB color system and the XYZ color system based on the original WRGB color coordinates. The electronic device 100 may determine a set of conversion matrices between the standard RGB color system and the XYZ color system corresponding to the white point block region based on the standard RGB color coordinates and the standard W color coordinates corresponding to the respective white point block region. The electronic device 100 may also determine a conversion matrix between the original RGB color system and the standard RGB color system corresponding to the respective white point block region, i.e., determine the calibration coefficients corresponding to the respective white point block region, based on the conversion matrix E1 and each conversion matrix in the conversion matrix set. For convenience of description, the conversion matrix in the conversion matrix set is denoted as Rn, and the calibration coefficient corresponding to the white point block region corresponding to Rn is denoted as Fn. It can be appreciated that fn=rn -1 E1. It can be appreciated that the specific process of determining the conversion matrix may refer to step S202, which is not described herein.
For example, a transformation matrix corresponding to one of the white point block areasR1 in the transformation matrix set. The electronic device 100 may determine that the conversion matrix between the original RGB color system and the standard RGB color system corresponding to the white point block region is F1, and f1=r1 -1 E1. The conversion matrix F1 is the calibration coefficient corresponding to the white point block area.
It can be appreciated that, before the electronic device 100 performs step S303, the original WRGB color coordinates and the standard RGB color coordinates may be obtained, and specific reference may be made to step S201, which is not described herein.
S304: the electronic device 100 determines a white point block area to which the original W color coordinate belongs, and determines a calibration coefficient corresponding to a display screen of the electronic device 100 based on the calibration coefficient corresponding to the white point block area.
It can be appreciated that the electronic device 100 may determine the white point block area to which the original W color coordinate belongs, and determine the calibration coefficient corresponding to the display screen of the electronic device 100 based on the calibration coefficient corresponding to the white point block area.
In some embodiments of the present application, the electronic device 100 may determine the white point block area where the standard W color coordinate closest to the original W color coordinate is located as the white point block area where the original W color coordinate belongs.
In some embodiments of the present application, electronic device 100 may determine the white point tile region including the original W color coordinate as the white point tile region to which the original W color coordinate belongs.
In some embodiments of the present application, the electronic device 100 may determine a calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs as the calibration coefficient corresponding to the display screen of the electronic device 100.
In some embodiments of the present application, the electronic device 100 may determine the calibration coefficient corresponding to the display screen of the electronic device 100 based on the calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs and the calibration coefficient corresponding to the white point block area adjacent to the white point block area to which the original W color coordinate belongs. For example, the electronic device 100 may perform interpolation operation on the calibration coefficient corresponding to the white point block area to which the original W color coordinate belongs and the calibration coefficient corresponding to the white point block area adjacent to the white point block area to which the original W color coordinate belongs, so as to obtain the calibration coefficient corresponding to the display screen of the electronic device 100.
Illustratively, as shown in fig. 11, the O-point is an original white point of the display screen of the electronic device 100 on the chromaticity diagram, that is, the color coordinate of the O-point is an original W-color coordinate (that is, an original white point color coordinate) of the display screen of the electronic device 100. The point A is a standard W color coordinate corresponding to a white point block area to which the original W color coordinate belongs. And the point B, the point C and the point D are all standard W color coordinates corresponding to the white point block area adjacent to the white point block area to which the point O belongs. As shown in fig. 11, the sides of a parallelogram with points a and O as vertices are q and v, respectively, and the sides of a parallelogram with points O and D as vertices are p and u, respectively. For convenience of description, calibration coefficients corresponding to the white point block areas to which the points a, B, C and D belong are respectively denoted as F1, F2, F3 and F4 in the present application. The electronic device 100 may determine that the calibration coefficients corresponding to the display screen are:
S305: the electronic device 100 multiplies the calibration coefficient corresponding to the display screen by the original RGB value corresponding to the target pixel point on the display screen of the electronic device 100, to obtain the RGB value corresponding to the calibrated target pixel point.
According to the related description of step S203, the RGB values corresponding to the pixels are different, and the colors displayed by the pixels are also different. It can be appreciated that the electronic device 100 may multiply the calibration coefficient corresponding to the display screen by the original RGB value corresponding to the target pixel point on the display screen of the electronic device 100, to obtain the RGB value corresponding to the calibrated target pixel point, and apply the RGB value. The description of the target pixel point may refer to step S203, which is not described herein. It should be noted that, the original RGB value corresponding to the target pixel point on the display screen is the RGB value corresponding to the target pixel point before calibration.
In some embodiments of the present application, the electronic device 100 may directly obtain RGB values corresponding to different colors displayed on a target pixel point on a display screen of the electronic device, and determine the RGB values corresponding to different colors displayed on the target pixel point after calibration according to the above manner. The electronic device 100 may store the corresponding relationship between the original RGB value corresponding to the target pixel point when displaying different colors and the calibrated target pixel point when displaying different colors, find the RGB value corresponding to the calibrated target pixel point according to the corresponding relationship when the original RGB value corresponding to the target pixel point on the display screen changes, and then apply the RGB value.
In some embodiments of the present application, once the electronic device 100 detects that an original RGB value corresponding to a target pixel point on a display screen of the electronic device changes, a calibration coefficient corresponding to the display screen may be multiplied by the original RGB value corresponding to the changed target pixel point to obtain an RGB value corresponding to the calibrated target pixel point, and the RGB value corresponding to the calibrated target pixel point is applied.
In some embodiments of the present application, the electronic device 100 may convert the original W color coordinate into a corresponding RGB value, where the RGB value is a RGB value corresponding to when the target pixel point on the display screen of the electronic device 100 displays white before calibration. After the electronic device 100 processes the RGB values in the above manner, an RGB value corresponding to the target pixel point when the target pixel point displays white after calibration can be obtained, and the electronic device 100 can convert the RGB value corresponding to the target pixel point when the target pixel point displays white after calibration into corresponding color coordinates, where the color coordinates are calibrated white point color coordinates.
It should be noted that, the electronic device 100 may calibrate not only the white color displayed by the pixel point on the display screen, but also other colors displayed by the pixel point. That is, the electronic device 100 may calibrate not only the RGB values corresponding to the pixels on the display screen when displaying white, but also the RGB values corresponding to the pixels displaying other colors.
In some embodiments of the present application, after the electronic device 100 performs the above step S305, it may further determine the calibrated luminance value, and determine whether the calibrated luminance value is not less than the luminance threshold. If the calibrated luminance value is not less than the luminance threshold, the electronic device 100 may determine that the calibration result after performing step S305 is the final calibration result, and apply the calibration result. If the calibrated luminance value is smaller than the luminance threshold, the electronic device 100 adjusts the calibration coefficient corresponding to the display screen determined in step S304, and obtains the adjusted calibration coefficient, so that the luminance value calibrated based on the adjusted calibration coefficient is smaller than the luminance threshold. It can be appreciated that the electronic device 100 calibrates the display screen based on the adjusted calibration coefficients and determines the calibration result as a final calibration result.
It is understood that the electronic device 100 may convert the corresponding RGB values when the display screen displays white into tristimulus values (i.e., XYZ). Wherein the value corresponding to Y is the brightness value.
Specifically, the electronic device 100 may convert, into tristimulus values, RGB values corresponding to when the pixels on the display screen before calibration display white and RGB values corresponding to when the pixels on the display screen after calibration display white, respectively. For convenience of description, the tristimulus values of the RGB value conversions corresponding to the pixels on the display screen before calibration when displaying white are denoted as X1Y1Z1, and the tristimulus values of the RGB value conversions corresponding to the pixels on the display screen after calibration when displaying white are denoted as X2Y2Z2. The electronic device 100 may determine whether Y2 is not less than the brightness threshold. If Y2 is not less than the brightness threshold, the electronic device 100 determines that the RGB value corresponding to the pixel point on the calibrated display screen when displaying white is the final calibration result, and applies the calibration result. If Y2 is smaller than the brightness threshold, the electronic device 100 adjusts the calibration coefficient corresponding to the display screen determined in step 204, and recalibrates the RGB value corresponding to the pixel point on the display screen when displaying white based on the adjusted calibration coefficient corresponding to the display screen, so as to obtain a new calibrated RGB value corresponding to the pixel point on the display screen when displaying white. The electronic device 100 may convert the RGB values corresponding to the pixels on the new calibrated display screen when displaying white into tristimulus values, and for convenience of description, the tristimulus values converted from the RGB values corresponding to the pixels on the new calibrated display screen when displaying white are denoted as X3Y3Z3 in the present application. It is understood that Y3 is not less than the luminance threshold.
It is understood that the brightness threshold may be set according to actual requirements, which is not limited in this application. It is understood that the luminance value in the present application may be determined based on the normalized tristimulus values. In this case, the luminance threshold is within the range (0, 1). Illustratively, the brightness threshold may be 0.85.
It will be appreciated that the specific manner in which the RGB values are converted to tristimulus values may be found in the related art documents and will not be described in detail herein.
In some embodiments of the present application, after performing the above step S305, the electronic device 100 may further determine a calibrated luminance value, determine a luminance loss ratio based on the calibrated luminance value and the original luminance value (i.e., the luminance value before calibration), and then determine whether the luminance loss ratio is not greater than a preset luminance loss ratio. If the brightness loss ratio is not greater than the preset brightness loss ratio, the electronic device 100 may determine that the calibration result after performing step S305 is the final calibration result, and apply the calibration result. If the brightness loss ratio is greater than the preset brightness loss ratio, the electronic device 100 adjusts the calibration coefficient corresponding to the display screen determined according to step S304, obtains the adjusted calibration coefficient, and calibrates the display screen based on the adjusted calibration coefficient. It is understood that after calibrating the display screen based on the adjusted calibration coefficients, the electronic device 100 may re-determine the brightness loss ratio. The redetermined luminance loss ratio is not greater than a preset luminance loss ratio.
It is understood that the preset brightness loss ratio may be set according to actual requirements, which is not limited in this application. For example, the preset luminance loss ratio may be 0.1.
In some embodiments of the present application, the electronic device 100 may adjust the calibration coefficients corresponding to the display screen based on the historical adjustment data.
In some embodiments of the present application, the electronic device 100 may reversely derive the calibrated luminance value based on a preset luminance threshold or a preset maximum luminance loss ratio, reversely derive a trend of change of the RGB value corresponding to the pixel point on the calibrated display screen when displaying white based on the calibrated luminance value, and finally adjust the calibration coefficient based on the trend.
It is understood that the luminance loss ratio refers to the ratio of the luminance loss caused by calibration to the original luminance value. The original luminance value refers to the luminance value of the display screen before calibration. For example, the electronic device 100 may determine elements that need to be adjusted in the calibration coefficient based on the trend of change in the RGB values corresponding to when the pixel points on the calibrated display screen display white, and determine whether the elements that need to be adjusted need to be increased or decreased.
Exemplary, after the electronic device 100 performs step S304, it determines that the calibration coefficient corresponding to the display screen is Electronic device 100 may adjust the calibration coefficient to +.>
In some embodiments of the present application, a technician may adjust the calibration coefficients of the display screen of the electronic device 100 based on empirical values.
It will be appreciated that the above considerations for luminance values also apply to the display screen calibration method shown in fig. 2.
In some embodiments of the present application, the electronic device 200 may perform the above-described step S301-step S304. After performing step S304, the electronic device 200 may send the calibration coefficient corresponding to the display screen of the electronic device 100 to the electronic device 100, so that the electronic device 100 calibrates the display screen thereof based on the calibration coefficient.
It can be appreciated that after the electronic device 200 performs step S304, the calibration coefficients corresponding to the display screen of the electronic device 100 may be stored in the system of the electronic device 100. Once the electronic device 100 is turned on, the electronic device 100 may calibrate its display according to the calibration factor.
In some embodiments of the present application, the calibration coefficients may be updated according to actual requirements. The updated calibration coefficients may be placed in a system update package of the electronic device 100.
The following describes the apparatus according to the embodiments of the present application.
Fig. 12 is a schematic hardware structure of an electronic device 100 according to an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (Universal Serial Bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (Subscriber Identification Module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (Application Processor, AP), a modem processor, a graphics processor (Graphics Processing unit, GPU), an image signal processor (Image Signal Processor, ISP), a controller, a memory, a video codec, a digital signal processor (Digital Signal Processor, DSP), a baseband processor, and/or a Neural network processor (Neural-network Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
It is understood that an AE system may also be included in the processor 110. The AE system may be specifically provided in the ISP. AE systems may be used to enable automatic adjustment of exposure parameters. Alternatively, the AE system may also be integrated in other processor chips. The embodiments of the present application are not limited in this regard.
In the embodiments provided herein, the electronic device 100 may perform the display screen calibration method described above through the processor 110.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices 100, such as AR devices, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (Wireless Local Area Networks, WLAN) (e.g., wireless fidelity (Wireless Fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (Global Navigation Satellite System, GNSS), frequency modulation (Frequency Modulation, FM), near field wireless communication technology (Near Field Communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), an Active-matrix Organic Light-Emitting Diode (AMOLED) or an Active-matrix Organic Light-Emitting Diode (Matrix Organic Light Emitting Diode), a flexible Light-Emitting Diode (Flex), a Mini LED, a Micro-OLED, a quantum dot Light-Emitting Diode (Quantum Dot Light Emitting Diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments of the present application, the raw W color coordinates (i.e., raw white point color coordinates) may be burned into the chip of the display screen.
The electronic device 100 may implement acquisition functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image or video visible to the naked eye. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (Charge Coupled Device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to an ISP to be converted into a digital image or video signal. The ISP outputs digital image or video signals to the DSP for processing. The DSP converts digital image or video signals into standard RGB, YUV, etc. format image or video signals. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1. For example, in some embodiments, the electronic device 100 may acquire images of a plurality of exposure coefficients using the N cameras 193, and in turn, in the video post-processing, the electronic device 100 may synthesize an HDR image by an HDR technique from the images of the plurality of exposure coefficients.
The digital signal processor is used to process digital signals, and may process other digital signals in addition to digital image or video signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (Moving Picture Experts Group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a Neural-Network (NN) computing processor, and can rapidly process input information by referencing a biological Neural Network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code that includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image video playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal.
The earphone interface 170D is used to connect a wired earphone.
The sensor module 180 may include 1 or more sensors, which may be of the same type or different types. It is understood that the sensor module 180 shown in fig. 12 is only an exemplary division, and other divisions are possible, which the present application is not limited to.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. When a touch operation is applied to the display 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The method can also be used for identifying the gesture of the electronic equipment 100, and can be applied to applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100.
The ambient light sensor 180L is used to sense ambient light level.
The fingerprint sensor 180H is used to acquire a fingerprint.
The temperature sensor 180J is for detecting temperature.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
In one embodiment of the present application, a user takes a series of images using the electronic device 100 for time-lapse or continuous shooting. In a scene of time-lapse imaging or continuous shooting, the electronic apparatus 100 may take an AE mode. That is, the electronic apparatus 100 automatically adjusts the AE value, and if a touch operation is applied to the display screen 194 by the user during the preview of the series of images, the touch hae mode may be triggered. In the touchAE mode, the electronic device 100 may adjust the brightness of the corresponding position of the touch display screen of the user, and perform high-weight photometry. When the average brightness of the picture is calculated, the weight of the user touch area is obviously higher than that of other areas, and the average brightness of the picture is calculated to be closer to the average brightness of the user touch area.
The bone conduction sensor 180M may acquire a vibration signal.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It will be appreciated that the electronic device 200 may also include a hardware configuration as shown in fig. 12, which is not limited in this application.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims (14)
1. A method of calibrating a display screen, the method comprising:
acquiring a first calibration coefficient after the first equipment is started;
the first device determines an original RGB value corresponding to a target pixel point on a display screen of the first device, multiplies the first calibration coefficient by the original RGB value corresponding to the target pixel point, and obtains a calibrated RGB value corresponding to the target pixel point;
the first calibration coefficient is a conversion matrix used for representing the mapping relation between the original RGB color system and the standard RGB color system; the original RGB value corresponding to the target pixel point is the RGB value in the original RGB color system; and the RGB value corresponding to the calibrated target pixel point is the RGB value in the standard RGB color system.
2. The method of claim 1, wherein the first device obtains a first calibration coefficient after startup, specifically comprising:
determining the first calibration coefficient based on an original WRGB color coordinate and a standard WRGB color coordinate after the first device is started;
the RGB color system corresponding to the original WRGB color coordinate is the original RGB color system; the RGB color system corresponding to the standard WRGB color coordinate is the standard RGB color system; the original WRGB color coordinates comprise an original W color coordinate, an original R color coordinate, an original G color coordinate and an original B color coordinate; the original W color coordinate, the original R color coordinate, the original G color coordinate and the original B color coordinate are color coordinates corresponding to white, red, green and blue displayed by the display screen before calibration; the standard WRGB color coordinates comprise a standard W color coordinate, a standard R color coordinate, a standard G color coordinate and a standard B color coordinate; and the standard W color coordinate, the standard R color coordinate, the standard G color coordinate and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green and blue displayed by the display screen respectively.
3. The method of claim 2, wherein the first device determines the first calibration factor based on the original WRGB color coordinates and the standard WRGB color coordinates after the first device is booted, specifically comprising:
The first device determines a first conversion matrix based on the original WRGB color coordinates and a second conversion matrix based on the standard WRGB color coordinates; the first conversion matrix is a conversion matrix between the original RGB color system and an XYZ color system; the second conversion matrix is a conversion matrix between the standard RGB color system and the XYZ color system;
the first device multiplies the inverse of the second transformation matrix by the first transformation matrix to obtain the first calibration coefficient.
4. The method of claim 2, wherein the first device determines the first calibration factor based on the original WRGB color coordinates and the standard WRGB color coordinates after the first device is booted, specifically comprising:
the first equipment determines a white point area and divides the white point area into a plurality of white point block areas; the white point area is the range of the white color displayed by the display screen on a chromaticity diagram;
the first device determines standard W color coordinates corresponding to each white point blocking area;
the first device determines a first conversion matrix based on the original WRGB color coordinates, and determines a conversion matrix set based on standard W color coordinates, standard R color coordinates, standard G color coordinates and standard B color coordinates corresponding to each white point block area; the first conversion matrix is a conversion matrix between the original RGB color system and an XYZ color system; the conversion matrix set comprises a conversion matrix between a standard RGB color system corresponding to each white point block area and the XYZ color system;
The first device multiplies the inverse matrix of each conversion matrix in the conversion matrix set by the first conversion matrix to obtain a calibration coefficient corresponding to each white point block area;
the first device determines a white point blocking area to which the original W color coordinate belongs, and determines the first calibration coefficient based on a calibration coefficient corresponding to the white point blocking area to which the original W color coordinate belongs.
5. The method of claim 4, wherein the dividing the white point region into a number of white point tile regions, specifically comprises:
the first equipment divides the white point area according to the shape and the size of a preset white point block area to obtain H1 white point block areas; the shape and the size of each white point block area in the H1 white point block areas are the same as those of the preset white point block areas;
if a first residual white point area exists after the white point area is divided according to the shape and the size of the preset white point block area, the first equipment divides the first residual white point area according to the size of the preset white point block area, and H2 white point block areas are obtained; the first residual white point area is an area which is not divided into the same shape and size as the preset white point block area after the white point area is divided into the preset white point block areas; the size of each white point block area in the H2 white point block areas is the same as the size of the preset white point block area;
If a second residual white point area exists after the first residual white point area is divided by the size of the preset white point block area, the first device takes the second residual white point area as one white point block area in the white point block areas; the second remaining white point area is an area which is not divided into the same size as the preset white point block area after the first remaining white point area is divided into the preset white point block area.
6. The method of claim 4, wherein the dividing the white point region into a number of white point tile regions, specifically comprises:
the first device divides the white point area based on a preset division interval to obtain the white point block areas.
7. The method of claim 4, wherein the dividing the white point region into a number of white point tile regions, specifically comprises:
the first equipment divides the white point areas based on historical white point distribution data to obtain a plurality of white point block areas; the historical white point distribution data comprises historical original W-color coordinates; the historical original W color coordinates are the color coordinates of the historical original white point;
The white dot region comprises a first region and a second region; the first area is an area with dense distribution of the historical original white points; the second area is an area with sparse distribution of the historical original white points; the first region includes a white dot blocking region having an area smaller than an area of the white dot blocking region included in the second region.
8. The method according to any one of claims 1-7, wherein after obtaining the RGB values corresponding to the calibrated target pixel point, the method further comprises:
the first device determining a first luminance value; the first brightness value is the brightness value of the display screen after being calibrated based on the first calibration coefficient;
when the first brightness value is smaller than a brightness threshold value, the first device adjusts the first calibration coefficient to obtain a second calibration coefficient;
the first device multiplies the second calibration coefficient by an original RGB value corresponding to the target pixel point to obtain a final calibrated RGB value corresponding to the target pixel point;
wherein the second luminance value is not less than the luminance threshold; the second brightness value is the brightness value of the display screen after calibration based on the second calibration coefficient.
9. The method according to any one of claims 1-7, wherein after obtaining the RGB values corresponding to the calibrated target pixel point, the method further comprises:
the first device determining a first luminance value and determining a first luminance loss ratio based on the first luminance value and an original luminance value; the first brightness value is the brightness value of the display screen after being calibrated based on the first calibration coefficient; the original brightness value is the brightness value of the display screen before calibration; the first brightness loss ratio is the ratio of the difference value of the original brightness value and the first brightness value to the original brightness value;
when the first brightness loss ratio is larger than a preset brightness loss ratio, the first device adjusts the first calibration coefficient to obtain a second calibration coefficient;
the first device multiplies the second calibration coefficient by an original RGB value corresponding to the target pixel point to obtain a final calibrated RGB value corresponding to the target pixel point;
wherein the second luminance loss ratio is not greater than the preset luminance loss ratio; the second brightness loss ratio is the ratio of the difference value of the original brightness value and the second brightness value to the original brightness value; the second brightness value is the brightness value of the display screen after calibration based on the second calibration coefficient.
10. The method according to claim 8 or 9, wherein the first device determines a first luminance value, in particular comprising:
the first device determines RGB values corresponding to the display screen which displays white after calibration;
the first device converts the RGB values corresponding to the display screen after the calibration when the display screen displays white into tristimulus values;
the first device determines a Y value of the tristimulus values as the first luminance value.
11. The method of claim 1, wherein the first device obtains a first calibration coefficient after startup, specifically comprising:
reading the first calibration coefficient determined by the second device after the first device is started;
the first calibration coefficient is a conversion matrix determined by the second device based on the original WRGB color coordinate and the standard WRGB color coordinate;
the RGB color system corresponding to the original WRGB color coordinate is the original RGB color system; the RGB color system corresponding to the standard WRGB color coordinate is the standard RGB color system; the original WRGB color coordinates comprise an original W color coordinate, an original R color coordinate, an original G color coordinate and an original B color coordinate; the original W color coordinate, the original R color coordinate, the original G color coordinate and the original B color coordinate are color coordinates corresponding to white, red, green and blue displayed by the display screen before calibration; the standard WRGB color coordinates comprise a standard W color coordinate, a standard R color coordinate, a standard G color coordinate and a standard B color coordinate; and the standard W color coordinate, the standard R color coordinate, the standard G color coordinate and the standard B color coordinate are standard values of color coordinates corresponding to white, red, green and blue displayed by the display screen respectively.
12. The method of any one of claims 2-11, wherein the original R-color coordinates are the same as the standard R-color coordinates; the original G color coordinate is the same as the standard G color coordinate; the original B color coordinates are the same as the standard B color coordinates.
13. An electronic device comprising a display screen, a memory, and one or more processors, wherein the memory is for storing a computer program; the processor is configured to invoke the computer program to cause the electronic device to perform the method of any of claims 1-12.
14. A computer storage medium, comprising: computer instructions; when executed on an electronic device, the computer instructions cause the electronic device to perform the method of any of claims 1-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210877806.3A CN116052568B (en) | 2022-07-25 | 2022-07-25 | Display screen calibration method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210877806.3A CN116052568B (en) | 2022-07-25 | 2022-07-25 | Display screen calibration method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116052568A true CN116052568A (en) | 2023-05-02 |
CN116052568B CN116052568B (en) | 2023-10-10 |
Family
ID=86130066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210877806.3A Active CN116052568B (en) | 2022-07-25 | 2022-07-25 | Display screen calibration method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116052568B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117316122A (en) * | 2023-11-21 | 2023-12-29 | 荣耀终端有限公司 | Color temperature calibration method, electronic equipment and medium |
WO2024067041A1 (en) * | 2022-09-30 | 2024-04-04 | 深圳市汇顶科技股份有限公司 | Color temperature measurement method and apparatus, and electronic device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0575917A (en) * | 1991-09-10 | 1993-03-26 | Minolta Camera Co Ltd | Device for adjusting white balance |
KR20010002261A (en) * | 1999-06-14 | 2001-01-15 | 박승옥 | Revising system and method of color in display for video |
CN101958996A (en) * | 2009-07-17 | 2011-01-26 | 富士施乐株式会社 | Image read-out, image processing system and image information conversion method |
CN102005181A (en) * | 2010-11-19 | 2011-04-06 | 深圳市金立翔光电科技有限公司 | Standard dot matrix light source and image point correction method of LED display screen |
CN107068114A (en) * | 2017-04-24 | 2017-08-18 | 北京小米移动软件有限公司 | Screen color method of adjustment, device, equipment and storage medium |
US20200043201A1 (en) * | 2018-08-03 | 2020-02-06 | Magic Leap, Inc. | Method and system for subgrid calibration of a display device |
CN111010557A (en) * | 2019-12-26 | 2020-04-14 | 昆山锐芯微电子有限公司 | White point range determining method, white balance correcting method and device, and storage medium |
US20200243042A1 (en) * | 2019-01-30 | 2020-07-30 | Beijing Xiaomi Mobile Software Co., Ltd. | Screen color conversion method, storage medium, and electronic device |
CN114222105A (en) * | 2021-12-16 | 2022-03-22 | 苏州科达科技股份有限公司 | White balance adjusting method, white balance adjusting system, white balance terminal and storage medium |
-
2022
- 2022-07-25 CN CN202210877806.3A patent/CN116052568B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0575917A (en) * | 1991-09-10 | 1993-03-26 | Minolta Camera Co Ltd | Device for adjusting white balance |
KR20010002261A (en) * | 1999-06-14 | 2001-01-15 | 박승옥 | Revising system and method of color in display for video |
CN101958996A (en) * | 2009-07-17 | 2011-01-26 | 富士施乐株式会社 | Image read-out, image processing system and image information conversion method |
CN102005181A (en) * | 2010-11-19 | 2011-04-06 | 深圳市金立翔光电科技有限公司 | Standard dot matrix light source and image point correction method of LED display screen |
CN107068114A (en) * | 2017-04-24 | 2017-08-18 | 北京小米移动软件有限公司 | Screen color method of adjustment, device, equipment and storage medium |
US20200043201A1 (en) * | 2018-08-03 | 2020-02-06 | Magic Leap, Inc. | Method and system for subgrid calibration of a display device |
US20200243042A1 (en) * | 2019-01-30 | 2020-07-30 | Beijing Xiaomi Mobile Software Co., Ltd. | Screen color conversion method, storage medium, and electronic device |
CN111010557A (en) * | 2019-12-26 | 2020-04-14 | 昆山锐芯微电子有限公司 | White point range determining method, white balance correcting method and device, and storage medium |
CN114222105A (en) * | 2021-12-16 | 2022-03-22 | 苏州科达科技股份有限公司 | White balance adjusting method, white balance adjusting system, white balance terminal and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024067041A1 (en) * | 2022-09-30 | 2024-04-04 | 深圳市汇顶科技股份有限公司 | Color temperature measurement method and apparatus, and electronic device |
CN117316122A (en) * | 2023-11-21 | 2023-12-29 | 荣耀终端有限公司 | Color temperature calibration method, electronic equipment and medium |
CN117316122B (en) * | 2023-11-21 | 2024-04-09 | 荣耀终端有限公司 | Color temperature calibration method, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN116052568B (en) | 2023-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116052568B (en) | Display screen calibration method and related equipment | |
EP4231147A1 (en) | Drawing command processing method and related device therefor | |
CN112598594A (en) | Color consistency correction method and related device | |
US20240212229A1 (en) | Image Color Adjustment Method for Electronic Device and Apparatus | |
US20240119566A1 (en) | Image processing method and apparatus, and electronic device | |
WO2023273844A1 (en) | Display method and electronic device | |
CN113766204A (en) | Method for adjusting light source color of image, electronic device and storage medium | |
US9549160B2 (en) | Portable terminal device and image correction method | |
CN115631250B (en) | Image processing method and electronic equipment | |
US20240144451A1 (en) | Image Processing Method and Electronic Device | |
CN112383719B (en) | Image brightness adjusting method, device and equipment and readable storage medium | |
US12081879B2 (en) | Method for generating image and electronic device therefor | |
CN115118963A (en) | Image quality adjusting method, electronic device and storage medium | |
CN115691370A (en) | Display control method and related device | |
CN118158374B (en) | Color correction method and related equipment | |
CN117119314B (en) | Image processing method and related electronic equipment | |
CN115619628B (en) | Image processing method and terminal equipment | |
CN117119316B (en) | Image processing method, electronic device, and readable storage medium | |
US20240155254A1 (en) | Image Processing Method and Related Electronic Device | |
CN116229884B (en) | Screen display method and related electronic equipment | |
CN115526786B (en) | Image processing method and related device | |
CN116107465A (en) | Processing method of icon color on desktop and electronic equipment | |
CN118430406A (en) | Brightness display method and electronic equipment | |
KR20210101999A (en) | An electronic device for supporting image quality adjustment and a method thereof | |
CN117528265A (en) | Video shooting method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |