CN107680544A - A kind of colour temperature calibration method and mobile terminal - Google Patents

A kind of colour temperature calibration method and mobile terminal Download PDF

Info

Publication number
CN107680544A
CN107680544A CN201710825733.2A CN201710825733A CN107680544A CN 107680544 A CN107680544 A CN 107680544A CN 201710825733 A CN201710825733 A CN 201710825733A CN 107680544 A CN107680544 A CN 107680544A
Authority
CN
China
Prior art keywords
mtd
colour temperature
mrow
cie
display screen
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
Application number
CN201710825733.2A
Other languages
Chinese (zh)
Other versions
CN107680544B (en
Inventor
陈诗
陈一诗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710825733.2A priority Critical patent/CN107680544B/en
Publication of CN107680544A publication Critical patent/CN107680544A/en
Application granted granted Critical
Publication of CN107680544B publication Critical patent/CN107680544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Computer Hardware Design (AREA)
  • Chemical & Material Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention provides a kind of colour temperature calibration method and mobile terminal, the colour temperature calibration method includes:Detect display screen to be calibrated color whether occurs and decline;If detecting, the display screen occurs color and declined, and obtains the current RGBW data of the display screen;According to the current RGBW data and predetermined target colour temperature, RGB component is adjusted, the RGB component is the foundation that the display screen shows white picture.Therefore, the solution of the present invention, the work for carrying out colour temperature calibration is not carried out at display screen end, but is carried out in mobile terminal side, therefore whole calibration process, and without repeatedly carrying out MTP, so as to save later maintenance expense, the work of complexity is simplified.

Description

A kind of colour temperature calibration method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of colour temperature calibration method and mobile terminal.
Background technology
At present, white point calibration common on mobile terminal display screen is the color temperature information needs at LCDs end Multiple programmable (Many Times Programming, abbreviation MTP) enters LCDs module, then completes colour temperature calibration.
But traditional colour temperature calibration is to start with calibrating from LCDs end, due to liquid crystal display die set Display brightness can have color and decline, i.e., color can drift about with the time for lighting screen, so display screen is in MTP, Because the color factor such as decline influences the calibration colour temperature later stage great variety can occur, then need to carry out display screen MTP amendments, and MTP Process inherently need to take a significant amount of time, so substantial amounts of expense can be increased and go to safeguard by so doing, colour temperature school could be caused Standard reaches target colour temperature set in advance.
The content of the invention
The embodiment provides a kind of colour temperature calibration method and mobile terminal, to solve display screen in the prior art Colour temperature calibration process it is time-consuming the problem of.
In a first aspect, the embodiment provides a kind of colour temperature calibration method, applied to mobile terminal, the colour temperature Calibration method includes:
Detect display screen to be calibrated color whether occurs and decline;
If detecting, the display screen occurs color and declined, and obtains the current RGBW data of the display screen;
According to the current RGBW data and predetermined target colour temperature, RGB component is adjusted, the RGB component is institute State the foundation that display screen shows white picture.
Second aspect, the embodiment provides a kind of mobile terminal, including:
Detection module, color whether occurs for detecting display screen to be calibrated and declines;
Data acquisition module, for when detecting that the display screen generation color declines, obtaining the current of the display screen RGBW data;
Adjusting module, for according to the current RGBW data and predetermined target colour temperature, adjusting RGB component, institute State the foundation that RGB component shows white picture for the display screen.
The third aspect, the embodiment provides a kind of mobile terminal, including processor, memory and it is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is by the computing device The step of realizing colour temperature calibration method described above.
Fourth aspect, it is described computer-readable to deposit the embodiment provides a kind of computer-readable recording medium Computer program is stored with storage media, the computer program realizes colour temperature calibration side described above when being executed by processor The step of method.
In embodiments of the present invention, when display screen generation color to be calibrated declines, the acquisition for mobile terminal display screen is passed through Current RGBW data, and then current RGBW data and predetermined target colour temperature, adjustment display screen show white picture institute The RGB component of foundation so that display screen according to after adjustment RGB component show white picture when colour temperature as close possible to Target colour temperature.Therefore, embodiments of the invention, the work for carrying out colour temperature calibration are not carried out at display screen end, but mobile whole Side is carried out, therefore whole calibration process, without repeatedly carrying out MTP, so as to save later maintenance expense, the work of complexity Simplified.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 represents the flow chart of the colour temperature calibration method of the embodiment of the present invention;
Fig. 2 represents the flow chart of the sub-step of step 101;
Fig. 3 represents the flow chart of the sub-step of step 103;
Fig. 4 represents one of structured flowchart of mobile terminal in embodiments of the invention;
Fig. 5 represents two of the structured flowchart of mobile terminal in embodiments of the invention;
Fig. 6 represents three of the structured flowchart of mobile terminal in embodiments of the invention;
Fig. 7 represents four of the structured flowchart of mobile terminal in embodiments of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
As shown in figure 1, being the step flow chart of colour temperature calibration method in embodiments of the invention, the colour temperature calibration method should For mobile terminal side, the colour temperature calibration method includes:
Step 101:Detect display screen to be calibrated color whether occurs and decline.
Wherein, display screen to be calibrated is the display screen of mobile terminal.
In addition, color declines when referring to just light display screen, colour temperature can slowly decay and diminish with lasting lighting time. When color, which occurs, for display screen declines, the color shown by it can drift about with lighting time, so as to cause color to show not Accurately.Therefore, it is necessary to for display screen color decline carry out colour temperature calibration, to allow the colour temperature of display screen to reach expected mesh Colour temperature is marked, so as to ensure that display screen shows accurate color.
In addition, further, in this step 101, detect display screen to be calibrated the step of color declines whether occurs can be with It is shown in Figure 2, including following sub-step:
Step 1011:Read the Initial R GBW data in display screen to be calibrated.
Wherein, source RGBW data when Initial R GBW data are dispatched from the factory for display screen in MTP to display screen.
Further, the Initial R GBW data include red sub-pixel the first coordinate in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 4-coordinate (wx, wy) of the 3rd coordinate (bx, by) and white sub-pixels in CIE xyY color spaces in color space.
Step 1012:According to the Initial R GBW data, it is determined that first RGB corresponding with predetermined target colour temperature points Amount.
Wherein, the transformational relation of CIE XYZ and CIE rgb color spaces can be determined according to Initial R GBW data.And by All it is the coordinate that colour temperature is expressed with CIE xyY colour systems in most of current mobile terminal.Therefore, target colour temperature is existed Coordinate in CIE xyY color spaces, the coordinate being transformed into CIE XYZ color spaces, then according to CIE XYZ to CIE The transformational relation of rgb color space, it is possible to further conversion obtains coordinate of the target colour temperature in CIE rgb color spaces, Obtain the first RGB component corresponding with target colour temperature.Therefore, embodiments of the invention, CIE XYZ colors sky is taken full advantage of Between, the characteristic that can mutually change of CIE rgb color spaces, CIE xyY color spaces, it is corresponding with target colour temperature to have reached determination The first RGB component purpose.
Therefore, further, step 1012 includes:According to the Initial R GBW data, determine that CIE XYZ color spaces arrive The transformational relation of CIE rgb color spaces;Transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that The first RGB component corresponding with predetermined target colour temperature.
Wherein, it is above-mentioned according to the Initial R GBW data, determine CIE XYZ color spaces to CIE rgb color spaces The step of transformational relation, including:
According to 4-coordinate of the white sub-pixels that the Initial R GBW data include in CIE xyY color spaces (wx, wy) and the first preset formulaWhite sub-pixels are calculated in CIE XYZ Five Axis (wX, wY, wZ) in color space;
According to the first coordinate of the Five Axis (wX, wY, wZ), red sub-pixel in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 3rd coordinate (bx, by), the second preset formula in color spaceIt is pre- with the 3rd If formula
Calculate the transition matrix M by CIE rgb color spaces to CIE XYZ color spaces;
Determine the inverse matrix of the transition matrix M;
The conversion that the inverse matrix of the transition matrix M is defined as to CIE XYZ color spaces to CIE rgb color spaces is closed System;
Wherein, rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by.
The transformational relation of i.e. known CIE xyY color spaces and CIE XYZ color spaces is as follows:
Therefore, when presetting wY=1,4-coordinate (wx, wy) of the white sub-pixels in CIE xyY color spaces then can be with It is transformed into CIE XYZ color spaces, that is, obtains Five Axis (wX, wY, wZ).
Further, since rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by, it is possible to obtain (rx, ry, rz), (gx, gy, gz), (bx, by, bz), thus, by (rx, ry, rz), (gx, gy, gz), (bx, by, bz) and above-mentioned Five Axis (wX, wY, wZ) substitutes into the second preset formulaIn, then can be with Obtain rX+rY+rZ, gX+gY+gZ, bX+bY+bZ value.
And then by (rx, ry, rz), (gx, gy, gz), (bx, by, bz) and rX+rY+rZ, gX+gY+gZ, bX+bY+bZ Substitute into the 3rd preset formula:
CIE rgb color spaces can be obtained to the transformational relation of CIE XYZ color spaces, i.e. RGB=M × XYZ.Enter one Step ground, the inverse matrix for obtaining M can be also calculated according to Metzler matrix, so as to obtain CIE XYZ color spaces to CIE rgb color spaces Transformational relation, i.e. XYZ=Mn × RGB (Mn be M inverse matrix).
From the foregoing, embodiments of the invention, are progressively derived using known formula and given data, so as to calculate For CIE XYZ color spaces to the transformational relation of CIE rgb color spaces, calculating process is simple and convenient.
In addition, the target colour temperature white sub-pixels represent in the coordinates of targets (tx, ty) of CIE xyY color spaces; The then above-mentioned transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with predetermined target colour temperature The step of corresponding first RGB component, including:
According to the 4th preset formulaThe target colour temperature is calculated in CIE XYZ colors The 6th coordinate (tX, tY, tZ) in color space, wherein, tY values successively between 1~0 according to predetermined gradient;
Transformational relation according to CIE XYZ color spaces to CIERGB color spaces, the 6th coordinate is calculated in CIE The 7th coordinate under rgb color space, until the coordinate value of the 7th coordinate is within preset range;
Coordinate value is in the 7th coordinate within the preset range and is defined as corresponding with the target colour temperature One RGB component.Further, the preset range is 0~255.
That is, the definition of colour temperature is to be calculated with white sub-pixels in the coordinates of targets (tx, ty) of CIE xyY color spaces 's.So in order to obtain RGB component corresponding with target colour temperature, it is necessary to first by target colour temperature in CIE xyY color spaces Coordinate Conversion into CIE XYZ color spaces, and then the conversion according to CIE XYZ color spaces to CIE rgb color spaces Relation, obtain corresponding RGB component.
However, because the transformational relation of CIE xyY color spaces and CIE XYZ color spaces is:
And Y is brightness percentage, maximum 1, minimum is 0.Therefore, by target colour temperature in CIE xyY color spaces When Coordinate Conversion is to CIE XYZ color spaces, it is also necessary to known Y value.And embodiments of the invention, by the coordinate of colour temperature (tx, Ty above-mentioned transformational relation) is substituted into, the 4th preset formula can be obtained:And by tY according to Predetermined gradient between 1~0 successively value (for example, predetermined gradient is 0.001, then Y values be followed successively by 1,9.999, 9.998 ...), so as to which each values of the tY between 1~0 be updated into the 4th preset formula successively, corresponding to acquisition (tX, TY, tZ), and then the transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, obtain and each gradient pair The RGB component answered.
However, CIE XYZ color spaces are to describe all colours set that human eye can be seen, and RGB component is hardware The color table of equipment reaches, and the maximum color species that hardware device can express at present is approximately equal to 16,000,000 colors, so needing hard The RGB of part equipment meets the requirement being within the scope of 0~255.
But the RGB component corresponding with each gradient of above-mentioned acquisition may be more than 255 or less than 0, from causing Requirement of the current display device RGB maximum between 0 to 255 is not met.Therefore, set tY between 1~0 according to When predetermined gradient carries out value, for the RGB component being calculated at each gradient, it is also necessary to judge whether to be in 0~255 Within the scope of, if the RGB component being calculated, not in the range of 0~255, cycle calculations are gone down always, until RGB first It is secondary be in 0~255 in the range of when stop.
From the foregoing, in the transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that and mesh During marking the first RGB component corresponding to colour temperature, embodiments of the invention, display screen has been fully taken into account to RGB value models The requirement enclosed, so as to avoid occurring calibration accuracy that is abnormal, and then being further ensured that colour temperature calibration in colour temperature calibration process.
Step 1013:According to first RGB component, the display screen is controlled to show the first white picture.
After corresponding with target colour temperature the first RGB component being obtained by above-mentioned steps 1011~1012, mobile terminal then root The first white picture is shown according to the first RGB component control display screen.Wherein, due to embodiments of the invention, applied to mobile whole Side, thus control display screen directly being shown to, the RGB component in the relative program of white picture is rewritten by mobile terminal side For first RGB component, so that it may realize to the display control of display screen, without by the way of MTP, so as to save color The time of temperature calibration.
Step 1014:Obtain the display screen and show the first colour temperature after the preset time of the first white picture first.
Step 1015:If the absolute value of the difference of first colour temperature and the target colour temperature is less than or equal to predetermined threshold value, Then determine that color does not occur and declines for the display screen.
Step 1016:If the absolute value of the difference of first colour temperature and the target colour temperature is more than the predetermined threshold value, Determine that the display screen occurs color and declined.
Wherein, color declines when refer to just light display screen, and colour temperature can slowly decline with the time for persistently lighting screen Subtract and diminish.And when illuminated between reach preset time after, colour temperature then drops to a stationary value.
In addition, the RGBW data of display screen can change with the generation that coloring declines.And embodiments of the invention, according to The anti-display screen that pushes away of Initial R GBW data can reach the first RGB component of target colour temperature institute foundation, then, according to the first RGB points Amount control display screen shows first the first preset time of white picture, to verify whether display screen can reach target colour temperature.Cause And after display screen shows first the first preset time of white picture according to the first RGB component, when being unable to reach target colour temperature, Then represent that there occurs color to decline for display screen.
That is embodiments of the invention, it is only necessary to read the RGBW data that MTP enters when display screen to be calibrated dispatches from the factory, then Using above-mentioned intelligent algorithm to go to detect display screen to be calibrated by mobile terminal and color whether occurs decline, detection process is simple and convenient, It need not require considerable time and effort.
Step 102:If detecting, the display screen occurs color and declined, and obtains the current RGBW data of the display screen.
Wherein, the current RGBW data equally includes red sub-pixel the first coordinate in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 4-coordinate (wx, wy) of the 3rd coordinate (bx, by) and white sub-pixels in CIE xyY color spaces in color space.
In addition, the current RGBW data is, it is necessary to use related equipment and instrument to be obtained after being detected to display screen.
Step 103:According to the current RGBW data and predetermined target colour temperature, RGB component, the RGB are adjusted Component is the foundation that the display screen shows white picture.
Wherein, after display screen generation color declines, RGBW data changes, then CIE XYZ color spaces to CIE rgb colors The transformational relation in space changes, so as to cause the transformational relation according to CIE XYZ color spaces to CIE rgb color spaces The RGB component corresponding with target colour temperature determined changes.Thus, after display screen generation color declines, after being declined according to color The anti-display screen of releasing of RGBW data can reach the new RGB component of target colour temperature institute foundation.
Further, in this step 103, according to the current RGBW data and predetermined target colour temperature, adjustment The step of RGB component, may refer to shown in Fig. 3, including following sub-step:
Step 1031:According to the current RGBW data, it is determined that twoth RGB corresponding with predetermined target colour temperature points Amount.
Wherein, " according to the current RGBW data, it is determined that the second RGB component corresponding with predetermined target colour temperature " Detailed process, with " according to the Initial R GBW data, it is determined that the first RGB component corresponding with predetermined target colour temperature " Detailed process it is identical.
I.e. further, step 1031 includes:According to the current RGBW data, determine CIE XYZ color spaces to CIE The new transformational relation of rgb color space;According to the new transformational relation of CIE XYZ color spaces to CIE rgb color spaces, It is determined that the second RGB component corresponding with target colour temperature.
Step 1032:According to second RGB component, the display screen is controlled to show the second white picture.
After obtaining the second RGB component corresponding with target colour temperature by above-mentioned steps 1031, mobile terminal is then according to second RGB component control display screen shows the second white picture.Wherein, due to embodiments of the invention, applied to mobile terminal side, because And control display screen is directly shown to the RGB component in the relative program of white picture is rewritten as described the by mobile terminal side Two RGB components, so that it may realize to the display control of display screen, without using MTP by the way of, calibrate so as to saving colour temperature Time.
Step 1033:Obtain the display screen and show the second colour temperature after the preset time of the second white picture second.
Step 1034:If the absolute value of the difference of second colour temperature and the target colour temperature is more than predetermined threshold value, obtain The display screen shows the RGBW data updated after the second preset time described in second white picture.
Step 1035:According to the RGBW data after renewal, it is determined that the 3rd RGB component corresponding with the target colour temperature, directly The absolute value of the extremely difference of the colour temperature of the display screen and the target colour temperature is less than or equal to the predetermined threshold value.
From above-mentioned steps 1031~1035, when display screen generation color declines, according to the current RGBW data of display screen With target colour temperature, during adjusting the RGB component that the display screen shows white picture institute foundation, each time according to renewal after RGBW data, after determining new RGB component corresponding with target colour temperature, if display screen is shown in vain according to new RGB component The absolute value of the difference of colour temperature and target colour temperature after color picture preset time goes down still above predetermined threshold value, then cycle calculations, When the colour temperature of final display screen and the absolute value of difference of target colour temperature are less than or equal to predetermined threshold value, the color of display screen is completed Warm calibration.
Therefore, embodiments of the invention, the RGB component of white picture institute foundation is shown by adjusting display screen repeatedly, and After adjusting each time, judge whether the deviation between the colour temperature of display screen and target colour temperature meets to require, be further ensured that The accuracy of colour temperature calibration.
In summary, embodiments of the invention, should by acquisition for mobile terminal when display screen generation color to be calibrated declines The current RGBW data of display screen, and then current RGBW data and predetermined target colour temperature, adjustment display screen display white The RGB component of picture institute foundation, so that display screen shows that colour temperature during white picture to the greatest extent may be used according to the RGB component after adjustment Can be close to target colour temperature.Therefore, embodiments of the invention, the work for carrying out colour temperature calibration are not carried out at display screen end, but Mobile terminal side is carried out, therefore whole calibration process, without repeatedly carrying out MTP, so as to save later maintenance expense, complexity Work simplified, quick, simple and efficient colour temperature calibration is realized, so as to save life for mobile terminal Produce a large amount of maintenance costs brought.
In addition, the colour temperature calibration of prior art is carried out when display screen dispatches from the factory, and after display screen dispatches from the factory, then Secondary generation colour temperature is abnormal, then is difficult to be calibrated.And embodiments of the invention, after mobile terminal dispatches from the factory, if the color of display screen Exception occurs for temperature, can equally use the colour temperature calibration method of the embodiment of the present invention, can directly enter by mobile terminal control Row colour temperature is calibrated, very convenient, it is not necessary to which that taking a significant amount of time can complete with energy.
Embodiments of the invention additionally provide a kind of mobile terminal, as shown in figure 4, the mobile terminal 400 includes:
Detection module 401, color whether occurs for detecting display screen to be calibrated and declines;
Data acquisition module 402, for when detecting that the display screen generation color declines, obtaining the current of the display screen RGBW data;
Adjusting module 403, for according to the current RGBW data and predetermined target colour temperature, adjusting RGB component, The RGB component is the foundation that the display screen shows white picture.
Preferably, as shown in figure 5, the detection module 401 includes:
Data-reading unit 4011, for reading the Initial R GBW data in display screen to be calibrated;
First computing unit 4012, for according to the Initial R GBW data, it is determined that with predetermined target colour temperature pair The first RGB component answered;
First control unit 4013, for according to first RGB component, controlling the display screen to show that the first white is drawn Face;
First colour temperature acquiring unit 4014, when showing that first white picture first is preset for obtaining the display screen Between after the first colour temperature;
First determining unit 4015, for when the absolute value of first colour temperature and the difference of the target colour temperature is less than or waits When predetermined threshold value, determine that color does not occur and declines for the display screen;
Second determining unit 4016, described in being more than when the absolute value of first colour temperature and the difference of the target colour temperature During predetermined threshold value, determine that the display screen occurs color and declined.
Preferably, as shown in figure 5, the adjusting module 403 includes:
Second computing unit 4031, for according to the current RGBW data, it is determined that with predetermined target colour temperature pair The second RGB component answered;
Second control unit 4032, for according to second RGB component, controlling the display screen to show that the second white is drawn Face;
Second colour temperature acquiring unit 4033, when showing that second white picture second is preset for obtaining the display screen Between after the second colour temperature;
Data updating unit 4034, for being preset when the absolute value of second colour temperature and the difference of the target colour temperature is more than During threshold value, obtain the display screen and show the RGBW data updated after the second preset time described in second white picture;
Adjustment unit 4035, for according to the RGBW data after renewal, it is determined that threeth RGB corresponding with the target colour temperature Component, until the absolute value of the difference of the colour temperature of the display screen and the target colour temperature is less than or equal to the predetermined threshold value.
Preferably, as shown in figure 5, first computing unit 4012 includes:
Transformational relation determination subelement 40121, for according to the Initial R GBW data, determining CIE XYZ color spaces To the transformational relation of CIE rgb color spaces;
RGB component determination subelement 40122, for the conversion according to CIE XYZ color spaces to CIE rgb color spaces Relation, it is determined that the first RGB component corresponding with predetermined target colour temperature.
Preferably, the Initial R GBW data include red sub-pixel the first coordinate in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 4-coordinate (wx, wy) of the 3rd coordinate (bx, by) and white sub-pixels in CIE xyY color spaces in color space;
The transformational relation determination subelement 40121 is specifically used for:
According to 4-coordinate of the white sub-pixels that the Initial R GBW data include in CIE xyY color spaces (wx, wy) and the first preset formulaWhite sub-pixels are calculated in CIE XYZ Five Axis (wX, wY, wZ) in color space;
According to the first coordinate of the Five Axis (wX, wY, wZ), red sub-pixel in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 3rd coordinate (bx, by), the second preset formula in color space With the 3rd preset formula
Calculate the transition matrix M by CIE rgb color spaces to CIE XYZ color spaces;
Determine the inverse matrix of the transition matrix M;
The conversion that the inverse matrix of the transition matrix M is defined as to CIE XYZ color spaces to CIE rgb color spaces is closed System;
Wherein, rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by.
Preferably, coordinates of targets (tx, the ty) table of the target colour temperature white sub-pixels in CIE xyY color spaces Show;
The RGB component determination subelement 40122 is specifically used for:
According to the 4th preset formulaThe target colour temperature is calculated in CIE XYZ The 6th coordinate (tX, tY, tZ) in color space, wherein, tY values successively between 1~0 according to predetermined gradient;
Transformational relation according to CIE XYZ color spaces to CIERGB color spaces, the 6th coordinate is calculated in CIE The 7th coordinate under rgb color space, until the coordinate value of the 7th coordinate is within preset range;
Coordinate value is in the 7th coordinate within the preset range and is defined as corresponding with the target colour temperature One RGB component.
From the foregoing, embodiments of the invention, when display screen generation color to be calibrated declines, pass through acquisition for mobile terminal The current RGBW data of the display screen, and then current RGBW data and predetermined target colour temperature, adjustment display screen are shown in vain The RGB component of color picture institute foundation, so that display screen shows that colour temperature during white picture is use up according to the RGB component after adjustment It may be close to target colour temperature.Therefore, embodiments of the invention, the work for carrying out colour temperature calibration are not carried out at display screen end, but Carried out in mobile terminal side, therefore whole calibration process, without repeatedly carrying out MTP, so as to save later maintenance expense, multiple Miscellaneous work is simplified.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, is stored on the memory simultaneously The computer program that can be run on the processor, above-mentioned colour temperature is realized when the computer program is by the computing device Each process of calibration method embodiment, and identical technique effect can be reached, to avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned colour temperature calibration method embodiment when being executed by processor, and Identical technique effect can be reached, to avoid repeating, repeated no more here.Wherein, described computer-readable recording medium, such as Read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
In addition, the as shown in fig. 6, structured flowchart of the mobile terminal provided for embodiments of the invention.Wherein, shown in Fig. 6 Mobile terminal 600 include:At least one processor 601, memory 602, at least one network interface 604 and other users connect Mouth 603, wherein, user interface 603 includes display screen 6031.Each component in mobile terminal 600 passes through bus system 605 It is coupled.It is understood that bus system 605 is used to realize the connection communication between these components.Bus system 605, which is removed, to be included Outside data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in Fig. 6 It is middle that various buses are all designated as bus system 605.
Wherein, user interface 603 can also include keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen.
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 602 be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 6022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 602, specifically, can be application The program stored in program 6022 or instruction.
In embodiments of the present invention, processor 601 is used to detect display screen 6031 to be calibrated color whether occurs to decline;If inspection Measure the generation of display screen 6031 color to decline, then obtain the current RGBW data of the display screen 6031;According to described current RGBW data and predetermined target colour temperature, adjust RGB component, and the RGB component is that the display screen 6031 shows white The foundation of picture.
The method that the embodiments of the present invention disclose can apply in processor 601, or be realized by processor 601. Processor 601 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 602, processor 601 read the information in memory 602, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field Programmable Gate Array, FPGA), general place Manage in device, controller, microcontroller, microprocessor, other electronic units for performing the application function or its combination.
Realize, can be realized by performing the module (such as process, function etc.) of function of the embodiment of the present invention for software The technology of the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can handled Realized in device or outside processor.
Alternatively, processor 601 is specifically used for when detecting display screen 6031 to be calibrated and whether color occurring and decline:Read Initial R GBW data in display screen 6031 to be calibrated;According to the Initial R GBW data, it is determined that with predetermined target First RGB component corresponding to colour temperature;According to first RGB component, the display screen 6031 is controlled to show the first white picture; Obtain the display screen 6031 and show the first colour temperature after the preset time of the first white picture first;If first colour temperature And the absolute value of the difference of the target colour temperature is less than or equal to predetermined threshold value, it is determined that color does not occur and declines for the display screen 6031; If the absolute value of the difference of first colour temperature and the target colour temperature is more than the predetermined threshold value, it is determined that the display screen 6031 Generation color declines.
Alternatively, processor 601 is according to the current RGBW data and predetermined target colour temperature, RGB points of adjustment During amount, it is specifically used for:According to the current RGBW data, it is determined that the second RGB component corresponding with predetermined target colour temperature; According to second RGB component, the display screen 6031 is controlled to show the second white picture;The display screen 6031 is obtained to show The second colour temperature after the preset time of second white picture second;If the difference of second colour temperature and the target colour temperature is exhausted Predetermined threshold value is more than to value, then obtains the display screen 6031 and shows after the second preset time described in second white picture more New RGBW data;According to the RGBW data after renewal, it is determined that the 3rd RGB component corresponding with the target colour temperature, until institute The absolute value for stating the colour temperature of display screen 6031 and the difference of the target colour temperature is less than or equal to the predetermined threshold value.
Alternatively, processor 601 is according to the Initial R GBW data, it is determined that corresponding with predetermined target colour temperature During the first RGB component, it is specifically used for:According to the Initial R GBW data, determine CIE XYZ color spaces to CIE rgb colors The transformational relation in space;Transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with predefining Target colour temperature corresponding to the first RGB component.
Alternatively, the Initial R GBW data include red sub-pixel the first coordinate in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 4-coordinate (wx, wy) of the 3rd coordinate (bx, by) and white sub-pixels in CIE xyY color spaces in color space;Place Device 601 is managed according to the Initial R GBW data, determines CIE XYZ color spaces to the transformational relation of CIE rgb color spaces When, it is specifically used for:
According to 4-coordinate of the white sub-pixels that the Initial R GBW data include in CIE xyY color spaces (wx, wy) and the first preset formulaWhite sub-pixels are calculated in CIE XYZ Five Axis (wX, wY, wZ) in color space;
According to the first coordinate of the Five Axis (wX, wY, wZ), red sub-pixel in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 3rd coordinate (bx, by), the second preset formula in color spaceWith the 3rd Preset formula
Calculate the transition matrix M by CIE rgb color spaces to CIE XYZ color spaces;
Determine the inverse matrix of the transition matrix M;
The conversion that the inverse matrix of the transition matrix M is defined as to CIE XYZ color spaces to CIE rgb color spaces is closed System;
Wherein, rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by.
Alternatively, coordinates of targets (tx, the ty) table of the target colour temperature white sub-pixels in CIE xyY color spaces Show;The processor 601 in the transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with advance really Corresponding to fixed target colour temperature during the first RGB component, it is specifically used for:
According to the 4th preset formulaThe target colour temperature is calculated in CIE XYZ The 6th coordinate (tX, tY, tZ) in color space, wherein, tY values successively between 1~0 according to predetermined gradient;
Transformational relation according to CIE XYZ color spaces to CIERGB color spaces, the 6th coordinate is calculated in CIE The 7th coordinate under rgb color space, until the coordinate value of the 7th coordinate is within preset range;
Coordinate value is in the 7th coordinate within the preset range and is defined as corresponding with the target colour temperature One RGB component.
Mobile terminal 600 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
The mobile terminal 600 provided in the above embodiment of the present invention, when display screen generation color to be calibrated declines, pass through The current RGBW data of the acquisition for mobile terminal display screen, and then current RGBW data and predetermined target colour temperature, adjustment Display screen shows the RGB component of white picture institute foundation, so that display screen is drawn according to the RGB component display white after adjustment Colour temperature during face is as close possible to target colour temperature.Therefore, embodiments of the invention, the work of colour temperature calibration is carried out not in display screen End is carried out, but is carried out in mobile terminal side, therefore whole calibration process, without repeatedly carrying out MTP, so as to save later stage dimension Shield expense, the work of complexity is simplified.
As shown in fig. 7, the structural representation for another mobile terminal provided in an embodiment of the present invention.Specifically, in Fig. 7 Mobile terminal 700 can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, ) or vehicle-mounted computer etc. PDA.
Mobile terminal 700 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memory 720, input Unit 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) module 780, power supply 790。
Wherein, input block 730 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 700 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 730 can With including contact panel 731.Contact panel 731, also referred to as touch-screen, shooting are first-class.Wherein, touch-screen collects user at it On or near touch operation (such as user using any suitable object or annex such as finger, stylus on contact panel 731 Operation), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 731 may include to touch inspection Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives the processor 760, and the order sent of reception processing device 760 and can be performed.This Outside, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 731.Except touch-control Panel 731, input block 730 can also include other input equipments 732, and other input equipments 732 can include but is not limited to One kind or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 740 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 700.Display unit 740 may include display panel 741, optionally, can use LCD or organic hairs The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 741.
It should be noted that contact panel 731 can cover display panel 741, touch display screen is formed, when the touch is shown After screen detects the touch operation on or near it, processor 760 is sent to determine the type of touch event, is followed by subsequent processing Device 760 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein, processor 760 is the control centre of mobile terminal 700, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 721, and call and deposit The data in second memory 722 are stored up, perform the various functions and processing data of mobile terminal 700, so as to mobile terminal 700 carry out integral monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, processor 760 is used to detect display screen to be calibrated color whether occurs to decline;If detect The display screen occurs color and declined, then obtains the current RGBW data of the display screen;According to the current RGBW data and in advance The target colour temperature of determination, adjusts RGB component, and the RGB component is the foundation that the display screen shows white picture
Alternatively, processor 760 is specifically used for when detecting display screen to be calibrated and whether color occurring and decline:School is treated in reading Initial R GBW data in accurate display screen;According to the Initial R GBW data, it is determined that corresponding with predetermined target colour temperature The first RGB component;According to first RGB component, the display screen is controlled to show the first white picture;Obtain the display Screen shows the first colour temperature after the preset time of the first white picture first;If first colour temperature and the target colour temperature it The absolute value of difference is less than or equal to predetermined threshold value, it is determined that color does not occur and declines for the display screen;If first colour temperature with it is described The absolute value of the difference of target colour temperature is more than the predetermined threshold value, it is determined that the display screen occurs color and declined.
Alternatively, processor 760 is according to the current RGBW data and predetermined target colour temperature, RGB points of adjustment During amount, it is specifically used for:According to the current RGBW data, it is determined that the second RGB component corresponding with predetermined target colour temperature; According to second RGB component, the display screen is controlled to show the second white picture;Obtain the display screen and show described second The second colour temperature after the preset time of white picture second;If the absolute value of the difference of second colour temperature and the target colour temperature is more than Predetermined threshold value, then obtain the display screen and show the RGBW numbers updated after the second preset time described in second white picture According to;According to the RGBW data after renewal, it is determined that the 3rd RGB component corresponding with the target colour temperature, until the display screen The absolute value of the difference of colour temperature and the target colour temperature is less than or equal to the predetermined threshold value.
Alternatively, processor 760 is according to the Initial R GBW data, it is determined that corresponding with predetermined target colour temperature During the first RGB component, it is specifically used for:According to the Initial R GBW data, determine CIE XYZ color spaces to CIE rgb colors The transformational relation in space;Transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with predefining Target colour temperature corresponding to the first RGB component.
Alternatively, the Initial R GBW data include red sub-pixel the first coordinate in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 4-coordinate (wx, wy) of the 3rd coordinate (bx, by) and white sub-pixels in CIE xyY color spaces in color space;Place Device 601 is managed according to the Initial R GBW data, determines CIE XYZ color spaces to the transformational relation of CIE rgb color spaces When, it is specifically used for:
According to 4-coordinate of the white sub-pixels that the Initial R GBW data include in CIE xyY color spaces (wx, wy) and the first preset formulaWhite sub-pixels are calculated in CIE XYZ colors Five Axis (wX, wY, wZ) in color space;
According to the first coordinate of the Five Axis (wX, wY, wZ), red sub-pixel in CIE xyY color spaces The second coordinate (gx, gy) in CIE xyY color spaces of (rx, ry), green sub-pixels, blue subpixels are in CIE xyY colors The 3rd coordinate (bx, by), the second preset formula in color spaceWith the 3rd Preset formula
Calculate the transition matrix M by CIE rgb color spaces to CIE XYZ color spaces;
Determine the inverse matrix of the transition matrix M;
The conversion that the inverse matrix of the transition matrix M is defined as to CIE XYZ color spaces to CIE rgb color spaces is closed System;
Wherein, rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by.
Alternatively, coordinates of targets (tx, the ty) table of the target colour temperature white sub-pixels in CIE xyY color spaces Show;The processor 760 in the transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with advance really Corresponding to fixed target colour temperature during the first RGB component, it is specifically used for:
According to the 4th preset formulaThe target colour temperature is calculated in CIE XYZ The 6th coordinate (tX, tY, tZ) in color space, wherein, tY values successively between 1~0 according to predetermined gradient;
Transformational relation according to CIE XYZ color spaces to CIERGB color spaces, the 6th coordinate is calculated in CIE The 7th coordinate under rgb color space, until the coordinate value of the 7th coordinate is within preset range;
Coordinate value is in the 7th coordinate within the preset range and is defined as corresponding with the target colour temperature One RGB component.
Mobile terminal 700 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
It can be seen that the mobile terminal 700 provided in the above embodiment of the present invention, occurs color in display screen to be calibrated and declines When, by the current RGBW data of the acquisition for mobile terminal display screen, and then current RGBW data and predetermined aim colour Temperature, adjustment display screen shows the RGB component of white picture institute foundation, so that display screen shows according to the RGB component after adjustment Colour temperature when showing white picture is as close possible to target colour temperature.Therefore, embodiments of the invention, the work of colour temperature calibration is carried out not Carry out at display screen end, but carried out in mobile terminal side, therefore whole calibration process, without repeatedly carrying out MTP, so as to save Later maintenance expense, the work of complexity is simplified.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of colour temperature calibration method, it is characterised in that applied to mobile terminal, the colour temperature calibration method includes:
Detect display screen to be calibrated color whether occurs and decline;
If detecting, the display screen occurs color and declined, and obtains the current RGBW data of the display screen;
According to the current RGBW data and predetermined target colour temperature, RGB component is adjusted, the RGB component is described aobvious Display screen shows the foundation of white picture.
2. according to the method for claim 1, it is characterised in that whether detection display screen to be calibrated occurs what color declined Step, including:
Read the Initial R GBW data in display screen to be calibrated;
According to the Initial R GBW data, it is determined that the first RGB component corresponding with predetermined target colour temperature;
According to first RGB component, the display screen is controlled to show the first white picture;
Obtain the display screen and show the first colour temperature after the preset time of the first white picture first;
If the absolute value of the difference of first colour temperature and the target colour temperature is less than or equal to predetermined threshold value, it is determined that the display Color does not occur and declines for screen;
If the absolute value of the difference of first colour temperature and the target colour temperature is more than the predetermined threshold value, it is determined that the display screen Generation color declines.
3. according to the method for claim 1, it is characterised in that described according to the current RGBW data and predetermined Target colour temperature, adjust RGB component the step of, including:
According to the current RGBW data, it is determined that the second RGB component corresponding with predetermined target colour temperature;
According to second RGB component, the display screen is controlled to show the second white picture;
Obtain the display screen and show the second colour temperature after the preset time of the second white picture second;
If the absolute value of the difference of second colour temperature and the target colour temperature is more than predetermined threshold value, obtains the display screen and show The RGBW data updated after second preset time described in second white picture;
According to the RGBW data after renewal, it is determined that the 3rd RGB component corresponding with the target colour temperature, until the display screen The absolute value of the difference of colour temperature and the target colour temperature is less than or equal to the predetermined threshold value.
4. according to the method for claim 2, it is characterised in that it is described according to the Initial R GBW data, it is determined that with it is advance Corresponding to the target colour temperature of determination the step of the first RGB component, including:
According to the Initial R GBW data, determine CIE XYZ color spaces to the transformational relation of CIE rgb color spaces;
Transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with predetermined target colour temperature pair The first RGB component answered.
5. according to the method for claim 4, it is characterised in that the Initial R GBW data include red sub-pixel in CIE The first coordinate (rx, ry), green sub-pixels in xyY color spaces in CIE xyY color spaces the second coordinate (gx, Gy), the 3rd coordinate (bx, by) and white sub-pixels of the blue subpixels in CIE xyY color spaces are empty in CIE xyY colors Between in 4-coordinate (wx, wy);
It is described according to the Initial R GBW data, determine CIE XYZ color spaces to the transformational relation of CIE rgb color spaces Step, including:
According to the white sub-pixels that the Initial R GBW data include in CIE xyY color spaces 4-coordinate (wx, ) and the first preset formula wyIt is empty in CIE XYZ colors to calculate white sub-pixels Between in Five Axis (wX, wY, wZ);
According to the Five Axis (wX, wY, wZ), red sub-pixel in CIE xyY color spaces the first coordinate (rx, Ry), the second coordinate (gx, gy), blue subpixels of the green sub-pixels in CIE xyY color spaces are empty in CIE xyY colors Between in the 3rd coordinate (bx, by), the second preset formula With the 3rd preset formula
<mrow> <mi>M</mi> <mo>=</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mrow> <mi>r</mi> <mi>x</mi> </mrow> </mtd> <mtd> <mrow> <mi>g</mi> <mi>x</mi> </mrow> </mtd> <mtd> <mrow> <mi>b</mi> <mi>x</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mi>r</mi> <mi>y</mi> </mrow> </mtd> <mtd> <mrow> <mi>g</mi> <mi>y</mi> </mrow> </mtd> <mtd> <mrow> <mi>b</mi> <mi>y</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mi>r</mi> <mi>z</mi> </mrow> </mtd> <mtd> <mrow> <mi>g</mi> <mi>z</mi> </mrow> </mtd> <mtd> <mrow> <mi>b</mi> <mi>z</mi> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>&amp;times;</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mrow> <mo>(</mo> <mi>r</mi> <mi>X</mi> <mo>+</mo> <mi>r</mi> <mi>Y</mi> <mo>+</mo> <mi>r</mi> <mi>Z</mi> <mo>)</mo> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mrow> <mo>(</mo> <mi>g</mi> <mi>X</mi> <mo>+</mo> <mi>g</mi> <mi>Y</mi> <mo>+</mo> <mi>g</mi> <mi>Z</mi> <mo>)</mo> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mrow> <mo>(</mo> <mi>b</mi> <mi>X</mi> <mo>+</mo> <mi>b</mi> <mi>Y</mi> <mo>+</mo> <mi>b</mi> <mi>Z</mi> <mo>)</mo> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>,</mo> </mrow>
Calculate the transition matrix M by CIE rgb color spaces to CIE XYZ color spaces;
Determine the inverse matrix of the transition matrix M;
The inverse matrix of the transition matrix M is defined as CIE XYZ color spaces to the transformational relation of CIE rgb color spaces;
Wherein, rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by.
6. according to the method for claim 4, it is characterised in that the target colour temperature white sub-pixels are in CIE xyY colors The coordinates of targets (tx, ty) of color space represents;
The transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that with predetermined aim colour Corresponding to temperature the step of the first RGB component, including:
According to the 4th preset formulaIt is empty in CIE XYZ colors to calculate the target colour temperature Between in the 6th coordinate (tX, tY, tZ), wherein, tY values successively between 1~0 according to predetermined gradient;
Transformational relation according to CIE XYZ color spaces to CIERGB color spaces, the 6th coordinate is calculated in CIE RGB colors The 7th coordinate under color space, until the coordinate value of the 7th coordinate is within preset range;
Coordinate value is in the 7th coordinate within the preset range and is defined as first RGB corresponding with the target colour temperature Component.
A kind of 7. mobile terminal, it is characterised in that including:
Detection module, color whether occurs for detecting display screen to be calibrated and declines;
Data acquisition module, for when detecting that the display screen generation color declines, obtaining the current RGBW numbers of the display screen According to;
Adjusting module, for according to the current RGBW data and predetermined target colour temperature, adjusting RGB component, the RGB Component is the foundation that the display screen shows white picture.
8. mobile terminal according to claim 7, it is characterised in that the detection module includes:
Data-reading unit, for reading the Initial R GBW data in display screen to be calibrated;
First computing unit, for according to the Initial R GBW data, it is determined that with predetermined target colour temperature corresponding first RGB component;
First control unit, for according to first RGB component, controlling the display screen to show the first white picture;
First colour temperature acquiring unit, for obtain the display screen show after the preset time of the first white picture first Color temperature;
First determining unit, for being less than or equal to default threshold when the absolute value of first colour temperature and the difference of the target colour temperature During value, determine that color does not occur and declines for the display screen;
Second determining unit, for being more than the predetermined threshold value when the absolute value of first colour temperature and the difference of the target colour temperature When, determine that the display screen occurs color and declined.
9. mobile terminal according to claim 7, it is characterised in that the adjusting module includes:
Second computing unit, for according to the current RGBW data, it is determined that with predetermined target colour temperature corresponding second RGB component;
Second control unit, for according to second RGB component, controlling the display screen to show the second white picture;
Second colour temperature acquiring unit, for obtain the display screen show after the preset time of the second white picture second Two colour temperatures;
Data updating unit, for when the absolute value of second colour temperature and the difference of the target colour temperature is more than predetermined threshold value, Obtain the display screen and show the RGBW data updated after the second preset time described in second white picture;
Adjustment unit, for according to the RGBW data after renewal, it is determined that the 3rd RGB component corresponding with the target colour temperature, directly The absolute value of the extremely difference of the colour temperature of the display screen and the target colour temperature is less than or equal to the predetermined threshold value.
10. mobile terminal according to claim 8, it is characterised in that first computing unit includes:
Transformational relation determination subelement, for according to the Initial R GBW data, determining CIE XYZ color spaces to CIE RGB The transformational relation of color space;
RGB component determination subelement, for the transformational relation according to CIE XYZ color spaces to CIE rgb color spaces, it is determined that The first RGB component corresponding with predetermined target colour temperature.
11. mobile terminal according to claim 10, it is characterised in that the Initial R GBW data include red sub-pixel The second coordinate of the first coordinate (rx, ry), green sub-pixels in CIE xyY color spaces in CIE xyY color spaces The 3rd coordinate (bx, by) and white sub-pixels of (gx, gy), blue subpixels in CIE xyY color spaces are in CIE xyY colors 4-coordinate (wx, wy) in color space;
The transformational relation determination subelement is specifically used for:
According to the white sub-pixels that the Initial R GBW data include in CIE xyY color spaces 4-coordinate (wx, ) and the first preset formula wyIt is empty in CIE XYZ colors to calculate white sub-pixels Between in Five Axis (wX, wY, wZ);
According to the Five Axis (wX, wY, wZ), red sub-pixel in CIE xyY color spaces the first coordinate (rx, Ry), the second coordinate (gx, gy), blue subpixels of the green sub-pixels in CIE xyY color spaces are empty in CIE xyY colors Between in the 3rd coordinate (bx, by), the second preset formula With the 3rd preset formula
<mrow> <mi>M</mi> <mo>=</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mrow> <mi>r</mi> <mi>x</mi> </mrow> </mtd> <mtd> <mrow> <mi>g</mi> <mi>x</mi> </mrow> </mtd> <mtd> <mrow> <mi>b</mi> <mi>x</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mi>r</mi> <mi>y</mi> </mrow> </mtd> <mtd> <mrow> <mi>g</mi> <mi>y</mi> </mrow> </mtd> <mtd> <mrow> <mi>b</mi> <mi>y</mi> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mi>r</mi> <mi>z</mi> </mrow> </mtd> <mtd> <mrow> <mi>g</mi> <mi>z</mi> </mrow> </mtd> <mtd> <mrow> <mi>b</mi> <mi>z</mi> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>&amp;times;</mo> <mfenced open = "[" close = "]"> <mtable> <mtr> <mtd> <mrow> <mo>(</mo> <mi>r</mi> <mi>X</mi> <mo>+</mo> <mi>r</mi> <mi>Y</mi> <mo>+</mo> <mi>r</mi> <mi>Z</mi> <mo>)</mo> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mrow> <mo>(</mo> <mi>g</mi> <mi>X</mi> <mo>+</mo> <mi>g</mi> <mi>Y</mi> <mo>+</mo> <mi>g</mi> <mi>Z</mi> <mo>)</mo> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mrow> <mo>(</mo> <mi>b</mi> <mi>X</mi> <mo>+</mo> <mi>b</mi> <mi>Y</mi> <mo>+</mo> <mi>b</mi> <mi>Z</mi> <mo>)</mo> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>,</mo> </mrow>
Calculate the transition matrix M by CIE rgb color spaces to CIE XYZ color spaces;
Determine the inverse matrix of the transition matrix M;
The inverse matrix of the transition matrix M is defined as CIE XYZ color spaces to the transformational relation of CIE rgb color spaces;
Wherein, rz=1-rx-ry, gz=1-gx-gy, bz=1-bx-by.
12. mobile terminal according to claim 10, it is characterised in that the target colour temperature white sub-pixels are in CIE The coordinates of targets (tx, ty) of xyY color spaces represents;
The RGB component determination subelement is specifically used for:
According to the 4th preset formulaIt is empty in CIEXYZ colors to calculate the target colour temperature Between in the 6th coordinate (tX, tY, tZ), wherein, tY values successively between 1~0 according to predetermined gradient;
Transformational relation according to CIE XYZ color spaces to CIERGB color spaces, the 6th coordinate is calculated in CIE RGB colors The 7th coordinate under color space, until the coordinate value of the 7th coordinate is within preset range;
Coordinate value is in the 7th coordinate within the preset range and is defined as first RGB corresponding with the target colour temperature Component.
13. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, the computer program is realized such as claim 1 to 6 during the computing device Any one of colour temperature calibration method the step of.
14. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, the colour temperature calibration method as any one of claim 1 to 6 is realized when the computer program is executed by processor The step of.
CN201710825733.2A 2017-09-14 2017-09-14 Color temperature calibration method and mobile terminal Active CN107680544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710825733.2A CN107680544B (en) 2017-09-14 2017-09-14 Color temperature calibration method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710825733.2A CN107680544B (en) 2017-09-14 2017-09-14 Color temperature calibration method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107680544A true CN107680544A (en) 2018-02-09
CN107680544B CN107680544B (en) 2020-07-17

Family

ID=61136530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710825733.2A Active CN107680544B (en) 2017-09-14 2017-09-14 Color temperature calibration method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107680544B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108711396A (en) * 2018-05-30 2018-10-26 京东方科技集团股份有限公司 Processing method and processing unit, the display device and display methods of pixel data
CN109616078A (en) * 2018-12-04 2019-04-12 深圳市华星光电半导体显示技术有限公司 The method of display color temperature is set
CN109817130A (en) * 2019-01-30 2019-05-28 努比亚技术有限公司 A kind of colour temperature regulation method, equipment and computer readable storage medium
CN111091789A (en) * 2018-10-23 2020-05-01 纬联电子科技(中山)有限公司 Display device and color correction method thereof
US11984066B2 (en) 2018-05-30 2024-05-14 Hefei Xinsheng Optoelectronics Technology Co., Ltd. Processing method and processing device for pixel data, display device, display method, and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894541A (en) * 2009-12-31 2010-11-24 四川虹欧显示器件有限公司 Method and system for correcting color temperature of display device
EP2267690A1 (en) * 2009-06-16 2010-12-29 Ignis Innovation Inc. Compensation technique for color shift in displays
US20130070007A1 (en) * 2011-09-19 2013-03-21 Lg Display Co., Ltd. Optical Compensation Method and Driving Method For Organic Light Emitting Display Device
KR20130035004A (en) * 2011-09-29 2013-04-08 엘지디스플레이 주식회사 Correlated color temperature transition method for rgbw organic light emitting display device
CN105047147A (en) * 2014-04-15 2015-11-11 三星显示有限公司 Method of compensating an image based on light adaptation, display device employing the same, and electronic device
CN105161057A (en) * 2015-07-01 2015-12-16 深圳天珑无线科技有限公司 Method and system for automatically calibrating chromaticity coordinates of display screen of mobile terminal
CN105336306A (en) * 2014-07-11 2016-02-17 联想(北京)有限公司 Color temperature adjustment method and electronic equipment
CN105959491A (en) * 2016-06-30 2016-09-21 维沃移动通信有限公司 Method for compensating screen color temperature and mobile terminal
CN106373527A (en) * 2016-11-11 2017-02-01 武汉精测电子技术股份有限公司 Maximum and minimum gray scale gamma and color temperature automatic adjusting method
CN107038995A (en) * 2017-04-19 2017-08-11 京东方科技集团股份有限公司 A kind of white point color-complementing method, device and the display device of WOLED devices
CN107134260A (en) * 2017-06-30 2017-09-05 京东方科技集团股份有限公司 A kind of display control method, device and display device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2267690A1 (en) * 2009-06-16 2010-12-29 Ignis Innovation Inc. Compensation technique for color shift in displays
CN101894541A (en) * 2009-12-31 2010-11-24 四川虹欧显示器件有限公司 Method and system for correcting color temperature of display device
US20130070007A1 (en) * 2011-09-19 2013-03-21 Lg Display Co., Ltd. Optical Compensation Method and Driving Method For Organic Light Emitting Display Device
KR20130035004A (en) * 2011-09-29 2013-04-08 엘지디스플레이 주식회사 Correlated color temperature transition method for rgbw organic light emitting display device
CN105047147A (en) * 2014-04-15 2015-11-11 三星显示有限公司 Method of compensating an image based on light adaptation, display device employing the same, and electronic device
CN105336306A (en) * 2014-07-11 2016-02-17 联想(北京)有限公司 Color temperature adjustment method and electronic equipment
CN105161057A (en) * 2015-07-01 2015-12-16 深圳天珑无线科技有限公司 Method and system for automatically calibrating chromaticity coordinates of display screen of mobile terminal
CN105959491A (en) * 2016-06-30 2016-09-21 维沃移动通信有限公司 Method for compensating screen color temperature and mobile terminal
CN106373527A (en) * 2016-11-11 2017-02-01 武汉精测电子技术股份有限公司 Maximum and minimum gray scale gamma and color temperature automatic adjusting method
CN107038995A (en) * 2017-04-19 2017-08-11 京东方科技集团股份有限公司 A kind of white point color-complementing method, device and the display device of WOLED devices
CN107134260A (en) * 2017-06-30 2017-09-05 京东方科技集团股份有限公司 A kind of display control method, device and display device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108711396A (en) * 2018-05-30 2018-10-26 京东方科技集团股份有限公司 Processing method and processing unit, the display device and display methods of pixel data
US11984066B2 (en) 2018-05-30 2024-05-14 Hefei Xinsheng Optoelectronics Technology Co., Ltd. Processing method and processing device for pixel data, display device, display method, and computer readable storage medium
CN111091789A (en) * 2018-10-23 2020-05-01 纬联电子科技(中山)有限公司 Display device and color correction method thereof
CN109616078A (en) * 2018-12-04 2019-04-12 深圳市华星光电半导体显示技术有限公司 The method of display color temperature is set
WO2020113842A1 (en) * 2018-12-04 2020-06-11 深圳市华星光电半导体显示技术有限公司 Method for setting color temperature of display
CN109817130A (en) * 2019-01-30 2019-05-28 努比亚技术有限公司 A kind of colour temperature regulation method, equipment and computer readable storage medium
CN109817130B (en) * 2019-01-30 2023-11-10 西藏创煌信息科技有限公司 Color temperature regulating method, device and computer readable storage medium

Also Published As

Publication number Publication date
CN107680544B (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN107680544A (en) A kind of colour temperature calibration method and mobile terminal
CN105976760B (en) A kind of brightness adjusting method and mobile terminal of terminal screen
CN106384573B (en) The OLED module Gamma adjusting process calculated based on linear interpolation
US20140043369A1 (en) Displays and Display Pixel Adaptation
CN103426391B (en) For the method and apparatus of display calibration
US10706794B2 (en) Adjustment method and device for gamma circuit
US8687026B2 (en) Systems and method for display temperature detection
CN106057169B (en) A kind of eye care method and mobile terminal of mobile terminal
CN110444152A (en) Optical compensation method and device, display device, display methods and storage medium
CN105247607A (en) Methods and systems for measuring and correcting electronic visual displays
CN104021759A (en) Luminance supplementing method and device for display device, and display device
US20100225663A1 (en) Method for creating gamma look-up table and display device
CN109410839B (en) Correction optimization method and device for display screen, electronic equipment and storage medium
CN105280098A (en) Display device for correcting display non-uniformity
CN105824496A (en) Method for setting icon brightness based on use of users and mobile terminal
CN105959491A (en) Method for compensating screen color temperature and mobile terminal
CN110223650A (en) The white balance parameter generation method and display device of four color pixels
US20150049045A1 (en) Active integrated touch/display
CN107037659A (en) A kind of sheen lamp control method and mobile terminal
CN107566624A (en) A kind of power consumption of terminal and the display methods of temperature and terminal
CN109257507A (en) A kind of method, mobile terminal and storage medium adjusting screen intensity
CN104240629A (en) Information processing method and electronic equipment
CN106909334A (en) A kind of method and mobile terminal for adjusting screen color temp
CN107122097A (en) The recommendation method and mobile terminal of a kind of mobile terminal wallpaper
CN106297614B (en) A kind of test method of liquid crystal product

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