CN109584768A - The acquisition methods of photo dazzle color temperature - Google Patents
The acquisition methods of photo dazzle color temperature Download PDFInfo
- Publication number
- CN109584768A CN109584768A CN201811460280.9A CN201811460280A CN109584768A CN 109584768 A CN109584768 A CN 109584768A CN 201811460280 A CN201811460280 A CN 201811460280A CN 109584768 A CN109584768 A CN 109584768A
- Authority
- CN
- China
- Prior art keywords
- pixel
- value
- area
- weight
- preset
- 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
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
- G09G3/2003—Display 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
- 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]
- G09G3/3225—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] using an active matrix
-
- 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
- G09G3/3611—Control of matrices with row and column drivers
- G09G3/3648—Control of matrices with row and column drivers using an active matrix
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)
- Processing Of Color Television Signals (AREA)
- Color Image Communication Systems (AREA)
- Image Processing (AREA)
Abstract
The present invention provides a kind of acquisition methods of photo dazzle color temperature.Color gamut space is divided into the firstth area by the acquisition methods of photo dazzle color temperature of the invention, secondth area and third area, calculate weight parameter of the value of chromatism as pixel in a later frame image in adjacent two frames image between the identical pixel in position, judge the position of the chromaticity coordinates of pixel in a later frame image, the color temperature value of pixel is calculated using pixel colour temperature formula when it is located in the firstth area and the weight of the color temperature value in statistical form is added into corresponding weight parameter, the weighted value of pixel then is calculated using the positional relationship and weight parameter of the chromaticity coordinates of pixel and reference point when it is located at the secondth area and is added into the weight of maximum reference color temperature in statistical form, the weighted value of pixel then is calculated using the positional relationship and weight parameter of the chromaticity coordinates of pixel and reference point when it is located at third area and is added into the weight of the smallest reference color temperature in statistical form, in conjunction with The colour temperature of weight calculation a later frame image can more accurately obtain the colour temperature of image.
Description
Technical field
The present invention relates to field of display technology more particularly to a kind of acquisition methods of photo dazzle color temperature.
Background technique
With the development of display technology, liquid crystal display device (Liquid Crystal Display, LCD) and organic hair
The flat display apparatus such as optical diode display device (Organic Light Emitting Display, OLED) are because having height
The advantages that image quality, power saving, fuselage are thin and have a wide range of application, and it is widely used in mobile phone, TV, personal digital assistant, number
The various consumer electrical products such as word camera, laptop, desktop computer, become the mainstream in display device.
Existing liquid crystal display device largely generally comprises: liquid crystal display panel and backlight module (backlight
module).The working principle of liquid crystal display panel is that liquid crystal molecule, two panels glass are placed in the parallel glass substrate of two panels
There are many tiny electric wires vertically and horizontally among glass substrate, and liquid crystal molecule is controlled whether by being powered and changes direction, will be carried on the back
The light refraction of optical mode group, which comes out, generates picture.
Existing OLED display generally includes: substrate, the anode on substrate, organic hair on anode
Photosphere, the electron transfer layer on organic luminous layer and the cathode on electron transfer layer.To organic luminous layer when work
Emit the hole from anode and the electronics from cathode, combines these electrons and holes and generate excitability electron-hole
It is right, and excitability electron-hole pair is exported from excited state and is shone for ground state realization.
In display industry, colour temperature is the important parameter for characterizing the color characteristics of light, and colour temperature is lower, photochromic more inclined
It is red, conversely, photochromic more inclined.The colour temperature of image entirety can characterize image to the overall feeling of viewer.Existing photo dazzle color temperature
Acquisition modes in, be to calculate the colour temperature of the image of single frame, and in actually using, shadow that display device is shown
As constantly variation, human eye can be more sensitive to the pixel region changed greatly in the image of consecutive frame, and existing photo dazzle color temperature obtains
Take method that can not carry out local directed complete set to the pixel region changed greatly in consecutive frame image in conjunction with human eye concern, so that finally
The photo dazzle color temperature of acquisition has differences with actual human eye perception situation.
Summary of the invention
The purpose of the present invention is to provide a kind of acquisition methods of photo dazzle color temperature, can more accurately obtain the color of image
Temperature.
To achieve the above object, the present invention provides a kind of acquisition methods of photo dazzle color temperature, includes the following steps:
Step S1, statistical form is established;The statistical form include multiple preset reference color temperatures and respectively with multiple reference colors
The corresponding multiple weights of temperature, the multiple reference color temperature are sequentially increased, and the corresponding weight of multiple reference color temperatures is 0;
Step S2, chromatogram is provided, the color gamut space in chromatogram is divided into the firstth connected two-by-two area, the secondth area
And third area;The boundary line in the firstth area and the secondth area, the secondth area and the boundary line in third area and the boundary in third area and the firstth area
Line converges at a reference point, and the boundary line in the firstth area and the secondth area is corresponding with maximum reference color temperature in multiple reference color temperatures
Isotemperature line is overlapped, the isotemperature line of the smallest reference color temperature in the boundary line and multiple reference color temperatures in the firstth area and third area
It is overlapped, the boundary line in the secondth area and third area is parallel to the y-axis of chromatogram;
Step S3, the display data of adjacent two frames image are provided;Each frame image includes multiple pixels of array arrangement,
The display data of each frame image include multiple rgb digital values corresponding with multiple pixels respectively;
Step S4, it is calculated using the display data of adjacent two frames image corresponding with multiple pixels of a later frame image respectively
Multiple weight parameters, the corresponding weight parameter of pixel of the i-th row jth column is equal to i-th in a later frame image in a later frame image
Value of chromatism in the pixel and former frame image of row jth column between the pixel of the i-th row jth column, i, j are positive integer;
Step S5, one in multiple pixels of a later frame image is chosen as processing pixel;The rgb number of pixel will be handled
Word value is converted to the chromaticity coordinates that pixel is handled in chromatogram;
Step S6, position of the chromaticity coordinates of judgement processing pixel in color gamut space;If the chromaticity coordinates of processing pixel is located at
Sentence then according to the chromaticity coordinates of processing pixel and the color temperature value of preset pixel colour temperature calculation formula calculation processing pixel in the first area
Whether the color temperature value of disconnected processing pixel is one in multiple reference color temperatures, if then by the color in statistical form with processing pixel
The corresponding weight of temperature value increases the corresponding weight parameter of processing pixel, otherwise will handle the color temperature value and the processing picture of pixel
The corresponding weight parameter of element increases in statistical form respectively as reference color temperature and its corresponding weight;If handling the color of pixel
Coordinate is located at the secondth area, then the line and the firstth area and second of point and reference point corresponding to the chromaticity coordinates according to processing pixel
Angle, the processing corresponding weight parameter of pixel and preset first weighted value calculation formula calculation processing between the boundary line in area
The weighted value of pixel, and the weighted value is added in statistical form and a corresponding weight maximum in reference color temperature;If processing
The chromaticity coordinates of pixel is located at third area, then the line and first of point and reference point corresponding to the chromaticity coordinates according to processing pixel
Angle, the processing corresponding weight parameter of pixel and preset second weighted value calculation formula between area and the boundary line in third area
The weighted value of calculation processing pixel, and the weighted value is added in statistical form and a corresponding power the smallest in reference color temperature
Weight;
Step S7, step S5 and S6 are repeated, until multiple pixels of a later frame image are performed both by step S5 and S6;
Step S8, by reference color temperature each in statistical form and corresponding multiplied by weight, by multiple reference color temperatures with it is corresponding
The sum of the sum of products of weight weight corresponding with multiple reference color temperatures is divided by, and the color temperature value of a later frame image is obtained.
The rgb digital value for handling pixel is converted to the tool that the chromaticity coordinates of pixel is handled in chromatogram in the step S5
Body process are as follows: according to the rgb digital value of processing pixel and the rgb light of preset rgb optical value calculation formula calculation processing pixel
Value, the optics rgb value of foundation processing pixel and the tristimulus values of preset tristimulus values calculation formula calculation processing pixel,
According to the chromaticity coordinates for handling pixel in the tristimulus values of processing pixel and preset chromaticity coordinates calculation formula computer chromatography figure.
The preset rgb optical value calculation formula are as follows:
Wherein, R is the red optical value in rgb optical value, and G is the green optical value in rgb optical value, and B is rgb light
Blue optical value in value, r are the red numerical value in rgb digital value, and g is the green digital value in rgb digital value, and b is
Blue digital value in rgb digital value,It indicates to carry out the value obtained after gamma transformation processing to r,It indicates to carry out the value obtained after gamma transformation processing to b,It indicates to carry out gal to g
The value obtained after horse conversion process.
The preset tristimulus values calculation formula are as follows:
Wherein, X is the red values in tristimulus values, and Y is the green values in tristimulus values, and Z is tristimulus values
In blue values, M be preset transformed matrix.
The preset chromaticity coordinates formula are as follows:
Wherein, u is the abscissa of the chromaticity coordinates in chromatogram, and v is the ordinate of the chromaticity coordinates in chromatogram.
In the chromatogram boundary line in the firstth area and the secondth area, the secondth area and the boundary line in third area and third area with
The coordinate of the reference point of the boundary line convergence in the firstth area is (0.332,0.1858).
The preset pixel colour temperature calculation formula are as follows: CT=-437 × n3+3601 × 6861 × n+5514.31 of n2-;
Wherein, CT is pixel color temperature value,
The preset first weighted value calculation formula are as follows: γ 1=(1/ β 1 of 1- α) × k;
Wherein, γ 1 is to handle the weighted value that pixel is handled when the chromaticity coordinates of pixel is located at the secondth area, and α 1 is to handle pixel
Chromaticity coordinates corresponding to angle between point and the line and the firstth area and the boundary line in the secondth area of reference point, β 1 is the firstth area
With the angle between the boundary line and the secondth area and the boundary line in third area in the secondth area, for the corresponding weight parameter of processing pixel;
The preset second weighted value calculation formula are as follows: γ 2=(2/ β 2 of 1- α) × k;
Wherein, γ 2 is to handle the weighted value that pixel is handled when the chromaticity coordinates of pixel is located at third area, and α 2 is to handle pixel
Chromaticity coordinates corresponding to angle between point and the line and the firstth area and the boundary line in third area of reference point, β 2 is the firstth area
With the angle between the boundary line and the secondth area and the boundary line in third area in third area.
The chromatogram is CIE1931 chromatogram;
The smallest one is 1000K in the reference color temperature;Maximum one is 15000K in the reference color temperature.
The step S4 specifically:
Step S41, one in multiple pixels of a later frame image is set as the first weight extraction pixel, by former frame
Ranks number pixel identical with ranks number of the first weight extraction pixel in a later frame image is set as the second weight and mentions in image
Capture element calculates the first weight according to the rgb digital value of the first weight extraction pixel and preset rgb optical value calculation formula
The rgb optical value for extracting pixel, rgb optical value and preset tristimulus values calculation formula according to the first weight extraction pixel
The tristimulus values of the first weight extraction pixel is calculated, the tristimulus values and preset Lab space according to the first weight extraction pixel
Conversion formula calculates luminance component, the first color component and the second color component of the first weight extraction pixel, weighs according to second
The rgb digital value and preset rgb optical value calculation formula of bringing up again capture element calculate the rgb optics of the second weight extraction pixel
Value calculates three thorns of the second weight extraction pixel according to the rgb optical value of the second weight and preset tristimulus values calculation formula
Swash value, calculates the second weight extraction picture according to the tristimulus values of the second weight extraction pixel and preset Lab space conversion formula
Luminance component, the first color component and the second color component of element;
The preset Lab space conversion formula are as follows:
Wherein, L is luminance component, and a is the first color component, and b ' is the second color component, and X1 is preset first ginseng
Number, Y1 are preset second parameter, and Z1 is preset third parameter,
T is real number;
Step S42, according to luminance component, the first color component and the second color component of the first weight extraction pixel, the
Luminance component, the first color component and the second color component of two weight extraction pixels and preset value of chromatism calculation formula
The first weight extraction pixel and the value of chromatism of the second weight extraction pixel are calculated as the corresponding weight of the first weight extraction pixel
Parameter;
The preset value of chromatism calculation formula are as follows:
Wherein, L1For the luminance component of the first weight extraction pixel, a1For the first color point of the first weight extraction pixel
Amount, b '1For the second color component of the first weight extraction pixel, L2For the luminance component of the second weight extraction pixel, a2It is
First color component of two weight extraction pixels, b '2For the second color component of the second weight extraction pixel, Δ E is the first power
Bring up again the value of chromatism of capture element and the second weight extraction pixel;
Step S43, repeat the above steps S41 and S42, until completing the corresponding weight of all pixels in a later frame image
The acquisition of parameter.
Beneficial effects of the present invention: color gamut space is divided into the firstth area, by the acquisition methods of photo dazzle color temperature of the invention
2nd area and third area calculate the value of chromatism in adjacent two frames image between the identical pixel in position as picture in a later frame image
The weight parameter of element, judges the position of the chromaticity coordinates of pixel in a later frame image, and pixel color is used when it is located in the firstth area
The weight of the color temperature value in statistical form is simultaneously added corresponding weight parameter by the color temperature value that warm formula calculates pixel, when it is located at the
It then utilizes the chromaticity coordinates of pixel and the positional relationship of reference point and weight parameter to calculate the weighted value of pixel when 2 areas and is added
The weight for entering maximum reference color temperature in statistical form then utilizes when it is located at third area the chromaticity coordinates and reference point of pixel
Positional relationship and weight parameter calculate the weighted value of pixel and are added into the weight of the smallest reference color temperature in statistical form, knot
The colour temperature for closing weight calculation a later frame image, can more accurately obtain the colour temperature of image.
Detailed description of the invention
For further understanding of the features and technical contents of the present invention, it please refers to below in connection with of the invention detailed
Describe bright and attached drawing in detail, however, the drawings only provide reference and explanation, is not intended to limit the present invention.
In attached drawing,
Fig. 1 is the flow chart of the acquisition methods of photo dazzle color temperature of the invention;
Fig. 2 is the schematic diagram of the chromatogram in the acquisition methods of photo dazzle color temperature of the invention.
Specific embodiment
Further to illustrate technological means and its effect adopted by the present invention, below in conjunction with preferred reality of the invention
It applies example and its attached drawing is described in detail.
Referring to Fig. 1, the present invention provides a kind of acquisition methods of photo dazzle color temperature, include the following steps:
Step S1, statistical form is established.The statistical form include multiple preset reference color temperatures and respectively with multiple reference colors
The corresponding multiple weights of temperature, the multiple reference color temperature are sequentially increased, and the corresponding weight of multiple reference color temperatures is 0.
Specifically, in the reference color temperature the smallest one be 1000K.Maximum one is in the reference color temperature
15000K。
Preferably, the difference between adjacent reference color temperature can be 500K, and the statistical form can be following table 1
Statistical form.
Table 1, statistical form
Reference color temperature | 1000K | 1500K | …… | 15000K |
Weight | 0 | 0 | …… | 0 |
Step S2, referring to Fig. 2, providing chromatogram, the color gamut space in chromatogram is divided into first to be connected two-by-two
Area A, the second area B and third area C;The boundary line and third of the boundary line of first area A and the second area B, the second area B and third area C
The boundary line of area C and the first area A converge in boundary line and the multiple reference color temperatures of reference point an O, the first area A and the second area B
The corresponding isotemperature line of maximum reference color temperature is overlapped, in the boundary line and multiple reference color temperatures of the first area A and third area C most
The isotemperature line of small reference color temperature is overlapped, and the boundary line of the second area B and third area C are parallel to the y-axis of chromatogram.
Specifically, the chromatogram is CIE1931 chromatogram.
Specifically, all isotemperature lines in the chromatogram converge on reference point O.
Specifically, the coordinate of the reference point O is (0.332,0.1858).
Step S3, the display data of adjacent two frames image are provided.Each frame image includes multiple pixels of array arrangement,
The display data of each frame image include multiple rgb digital values corresponding with multiple pixels respectively.
Specifically, the rgb digital value includes red numerical value, green digital value and blue digital value.
Step S4, it is calculated using the display data of adjacent two frames image corresponding with multiple pixels of a later frame image respectively
Multiple weight parameters, the corresponding weight parameter of pixel of the i-th row jth column is equal to i-th in a later frame image in a later frame image
Value of chromatism in the pixel and former frame image of row jth column between the pixel of the i-th row jth column, i, j are positive integer.
Specifically, the step S4 specifically:
Step S41, one in multiple pixels of a later frame image is set as the first weight extraction pixel, by former frame
Ranks number pixel identical with ranks number of the first weight extraction pixel in a later frame image is set as the second weight and mentions in image
Capture element calculates the first weight according to the rgb digital value of the first weight extraction pixel and preset rgb optical value calculation formula
The rgb optical value for extracting pixel, rgb optical value and preset tristimulus values calculation formula according to the first weight extraction pixel
The tristimulus values of the first weight extraction pixel is calculated, the tristimulus values and preset Lab space according to the first weight extraction pixel
Conversion formula calculates luminance component, the first color component and the second color component of the first weight extraction pixel, weighs according to second
The rgb digital value and preset rgb optical value calculation formula of bringing up again capture element calculate the rgb optics of the second weight extraction pixel
Value calculates three thorns of the second weight extraction pixel according to the rgb optical value of the second weight and preset tristimulus values calculation formula
Swash value, calculates the second weight extraction picture according to the tristimulus values of the second weight extraction pixel and preset Lab space conversion formula
Luminance component, the first color component and the second color component of element.
Specifically, the preset rgb optical value calculation formula are as follows:
Wherein, R is the red optical value in rgb optical value, and G is the green optical value in rgb optical value, and B is rgb light
Blue optical value in value, r are the red numerical value in rgb digital value, and g is the green digital value in rgb digital value, and b is
Blue digital value in rgb digital value,It indicates to carry out the value obtained after gamma transformation processing to r,It indicates to carry out the value obtained after gamma transformation processing to b,It indicates to carry out gal to g
The value obtained after horse conversion process.
Specifically, the preset tristimulus values calculation formula are as follows:
Wherein, X is the red values in tristimulus values, and Y is the green values in tristimulus values, and Z is tristimulus values
In blue values, M be preset transformed matrix.
Specifically, the preset Lab space conversion formula are as follows:
Wherein, L is luminance component, and a is the first color component, and b ' is the second color component, and X1 is preset first ginseng
Number, Y1 are preset second parameter, and Z1 is preset third parameter,
T is real number.
Step S42, according to luminance component, the first color component and the second color component of the first weight extraction pixel, the
Luminance component, the first color component and the second color component of two weight extraction pixels and preset value of chromatism calculation formula
The first weight extraction pixel and the value of chromatism of the second weight extraction pixel are calculated as the corresponding weight of the first weight extraction pixel
Parameter.
Specifically, the preset value of chromatism calculation formula are as follows:
Wherein, L1For the luminance component of the first weight extraction pixel, a1For the first color point of the first weight extraction pixel
Amount, b '1For the second color component of the first weight extraction pixel, L2For the luminance component of the second weight extraction pixel, a2It is
First color component of two weight extraction pixels, b '2For the second color component of the second weight extraction pixel, Δ E is the first power
Bring up again the value of chromatism of capture element and the second weight extraction pixel.
Step S43, repeat the above steps S41 and S42, until completing the corresponding weight of all pixels in a later frame image
The acquisition of parameter.
Step S5, one in multiple pixels of a later frame image is chosen as processing pixel.The rgb number of pixel will be handled
Word value is converted to the chromaticity coordinates that pixel is handled in chromatogram.
Specifically, the rgb digital value for handling pixel is converted to the color seat that pixel is handled in chromatogram in the step S5
Target detailed process are as follows: rgb digital value and preset rgb optical value calculation formula calculation processing pixel according to processing pixel
Rgb optical value, according to processing pixel optics rgb value and preset tristimulus values calculation formula calculation processing pixel three
Values, according to the color for handling pixel in the tristimulus values of processing pixel and preset chromaticity coordinates calculation formula computer chromatography figure
Coordinate.
Specifically, the preset rgb optical value calculation formula and preset tristimulus calculation formula that are utilized in step S5 with
The preset rgb optical value calculation formula and preset tristimulus values calculation formula utilized in step S41 is identical.
Specifically, the preset chromaticity coordinates formula are as follows:
Wherein, u is the abscissa of the chromaticity coordinates in chromatogram, and v is the ordinate of the chromaticity coordinates in chromatogram.
Step S6, position of the chromaticity coordinates of judgement processing pixel in color gamut space.If the chromaticity coordinates of processing pixel is located at
First area A, such as P (A) point in Fig. 2, then according to the chromaticity coordinates and preset pixel colour temperature calculation formula for handling pixel
The color temperature value of calculation processing pixel, whether the color temperature value for judging to handle pixel is one in multiple reference color temperatures, if then will
Weight corresponding with the processing color temperature value of pixel increases the corresponding weight parameter of processing pixel in statistical form, otherwise will processing
The color temperature value of pixel and the corresponding weight parameter of processing pixel increase to system respectively as reference color temperature and its corresponding weight
It counts in table.If the chromaticity coordinates of processing pixel is located at the second area B, such as P (B) point in Fig. 2, the point and reference point O it
Between line and the first area A and the boundary line of the second area B between angle be α 1, and the boundary line of the first area A and the second area B and
Angle between second area B and the boundary line of third area C is β 1, at this time point and ginseng corresponding to the chromaticity coordinates according to processing pixel
The corresponding weight parameter of angle namely α 1 between the line of examination point O and the first area A and the boundary line of the second area B, processing pixel and
The weighted value of preset first weighted value calculation formula calculation processing pixel, and the weighted value is added in statistical form and reference
Maximum one namely the corresponding weight of 15000K in colour temperature.If the chromaticity coordinates of processing pixel is located at third area C, such as positioned at
P (C) point in Fig. 2, the angle between line and the first area A and the boundary line of third area C between the point and reference point O are α 2,
And the angle between the boundary line and the second area B and the boundary line of third area C of the first area A and third area C is β 2, at this time according at
Manage the angle corresponding to the chromaticity coordinates of pixel between point and the line and the first area A and the boundary line of third area C of reference point O
That is the weighted value of α 2, the processing corresponding weight parameter of pixel and preset second weighted value calculation formula calculation processing pixel,
And weight corresponding with the smallest one in reference color temperature namely 1000K in statistical form is added in the weighted value.
Specifically, the preset pixel colour temperature calculation formula are as follows: CT=-437 × n3+3601 × 6861 × n+ of n2-
5514.31.Wherein, CT is pixel color temperature value,
Specifically, the preset first weighted value calculation formula are as follows: γ 1=(1/ β 1 of 1- α) × k.
Wherein, γ 1 is to handle the weighted value that pixel is handled when the chromaticity coordinates of pixel is located at the secondth area, and α 1 is to handle pixel
Chromaticity coordinates corresponding to angle between point and the line and the firstth area and the boundary line in the secondth area of reference point, β 1 is the firstth area
With the angle between the boundary line and the secondth area and the boundary line in third area in the secondth area, k is the corresponding weight parameter of processing pixel.
Specifically, the preset second weighted value calculation formula are as follows: γ 2=(2/ β 2 of 1- α) × k.
Wherein, γ 2 is to handle the weighted value that pixel is handled when the chromaticity coordinates of pixel is located at third area, and α 2 is to handle pixel
Chromaticity coordinates corresponding to angle between point and the line and the firstth area and the boundary line in third area of reference point, β 2 is the firstth area
With the angle between the boundary line and the secondth area and the boundary line in third area in third area.
Step S7, step S5 and S6 are repeated, until multiple pixels of a later frame image are performed both by step S5 and S6.
Step S8, by reference color temperature each in statistical form and corresponding multiplied by weight, by multiple reference color temperatures with it is corresponding
The sum of the sum of products of weight weight corresponding with multiple reference color temperatures is divided by, and the color temperature value of a later frame image is obtained.
It should be noted that the acquisition methods of photo dazzle color temperature of the invention can be according to pixel color by color gamut space division
Warm calculation formula calculates the firstth area of colour temperature, can not calculate colour temperature according to pixel colour temperature calculation formula but to photo dazzle color temperature keynote
There are the secondth area and third area of image, wherein the secondth area is cool colour and muted color transition region, and third area is warm colour and muted color
Transition region calculates power of the value of chromatism in adjacent two frames image between the identical pixel in position as pixel in a later frame image
Weight parameter, judges the position of the chromaticity coordinates of pixel in a later frame image, and pixel colour temperature formula is used when it is located in the firstth area
It calculates the color temperature value of pixel and the weight of the color temperature value in statistical form is added into corresponding weight parameter, when it is located at the secondth area
The weighted value of pixel then is calculated using the positional relationship and weight parameter of the chromaticity coordinates of pixel and reference point and is added into system
The weight for counting maximum reference color temperature in table, then utilizes the chromaticity coordinates of pixel and the position of reference point when it is located at third area
Relationship and weight parameter calculate the weighted value of pixel and are added into the weight of the smallest reference color temperature in statistical form, in conjunction with power
The colour temperature of re-computation a later frame image, can obtain the colour temperature of image according to the variation characteristic of the image of consecutive frame, so that obtaining
Image color temperature value it is more accurate, with actual human eye perception situation match.
In conclusion color gamut space is divided into the firstth area, the secondth area and by the acquisition methods of photo dazzle color temperature of the invention
3rd area calculate weight of the value of chromatism in adjacent two frames image between the identical pixel in position as pixel in a later frame image
Parameter judges the position of the chromaticity coordinates of pixel in a later frame image, and pixel colour temperature formula meter is used when it is located in the firstth area
It calculates the color temperature value of pixel and the weight of the color temperature value in statistical form is added into corresponding weight parameter, when it is located at the second area Shi Ze
The weighted value of pixel is calculated using the chromaticity coordinates of pixel and the positional relationship of reference point and weight parameter and is added into statistical form
In maximum reference color temperature weight, then utilize the chromaticity coordinates of pixel and the positional relationship of reference point when it is located at third area
And weight parameter calculates the weighted value of pixel and is added into the weight of the smallest reference color temperature in statistical form, in conjunction with weight meter
The colour temperature for calculating a later frame image, can more accurately obtain the colour temperature of image.
The above for those of ordinary skill in the art can according to the technique and scheme of the present invention and technology
Other various corresponding changes and modifications are made in design, and all these change and modification all should belong to the claims in the present invention
Protection scope.
Claims (10)
1. a kind of acquisition methods of photo dazzle color temperature, which comprises the steps of:
Step S1, statistical form is established;The statistical form include multiple preset reference color temperatures and respectively with multiple reference color temperatures pair
The multiple weights answered, the multiple reference color temperature are sequentially increased, and the corresponding weight of multiple reference color temperatures is 0;
Step S2, chromatogram is provided, the color gamut space in chromatogram is divided into connected two-by-two the firstth area, the secondth area and third
Area;The boundary line in the boundary line in the firstth area and the secondth area, the boundary line in the secondth area and third area and third area and the firstth area converges
In a reference point, the boundary line in the firstth area and the secondth area isotemperature line corresponding with reference color temperature maximum in multiple reference color temperatures
It being overlapped, the firstth area is overlapped with the boundary line in third area with the isotemperature line of the smallest reference color temperature in multiple reference color temperatures, and second
The boundary line in area and third area is parallel to the y-axis of chromatogram;
Step S3, the display data of adjacent two frames image are provided;Each frame image includes multiple pixels of array arrangement, each frame
The display data of image include multiple rgb digital values corresponding with multiple pixels respectively;
Step S4, it is calculated using the display data of adjacent two frames image corresponding multiple with multiple pixels of a later frame image respectively
Weight parameter, the corresponding weight parameter of pixel of the i-th row jth column is equal to the i-th row jth column in a later frame image in a later frame image
Pixel and former frame image in the i-th row jth column pixel between value of chromatism, i, j are positive integer;
Step S5, one in multiple pixels of a later frame image is chosen as processing pixel;The rgb digital value for handling pixel is turned
It is changed to the chromaticity coordinates that pixel is handled in chromatogram;
Step S6, position of the chromaticity coordinates of judgement processing pixel in color gamut space;If the chromaticity coordinates for handling pixel is located at first
Area judges to locate then according to the chromaticity coordinates of processing pixel and the color temperature value of preset pixel colour temperature calculation formula calculation processing pixel
Whether the color temperature value for managing pixel is one in multiple reference color temperatures, if then by the color temperature value pair in statistical form with processing pixel
The weight answered increases the corresponding weight parameter of processing pixel, otherwise that the color temperature value and the processing pixel that handle pixel is corresponding
Weight parameter increases in statistical form respectively as reference color temperature and its corresponding weight;If the chromaticity coordinates for handling pixel is located at the
2nd area, then corresponding to the chromaticity coordinates according to processing pixel between point and the line and the firstth area and the boundary line in the secondth area of reference point
Angle, processing the corresponding weight parameter of pixel and preset first weighted value calculation formula calculation processing pixel weighted value,
And the weighted value is added in statistical form and a corresponding weight maximum in reference color temperature;If handling the chromaticity coordinates position of pixel
In third area, then foundation handles the boundary of the line and the firstth area and third area of point and reference point corresponding to the chromaticity coordinates of pixel
The weight of angle, the processing corresponding weight parameter of pixel between line and preset second weighted value calculation formula calculation processing pixel
Value, and the weighted value is added in statistical form and a corresponding weight the smallest in reference color temperature;
Step S7, step S5 and S6 are repeated, until multiple pixels of a later frame image are performed both by step S5 and S6;
Step S8, by reference color temperature each in statistical form and corresponding multiplied by weight, by multiple reference color temperatures and corresponding weight
The sum of sum of products weight corresponding with multiple reference color temperatures be divided by, obtain the color temperature value of a later frame image.
2. the acquisition methods of photo dazzle color temperature as described in claim 1, which is characterized in that pixel will be handled in the step S5
Rgb digital value be converted in chromatogram handle pixel chromaticity coordinates detailed process are as follows: according to processing pixel rgb digital value and
The rgb optical value of preset rgb optical value calculation formula calculation processing pixel according to the optics rgb value for handling pixel and is preset
Tristimulus values calculation formula calculation processing pixel tristimulus values, according to processing pixel tristimulus values and preset chromaticity coordinates
The chromaticity coordinates of pixel is handled in calculation formula computer chromatography figure.
3. the acquisition methods of photo dazzle color temperature as claimed in claim 2, which is characterized in that the preset rgb optical value calculates
Formula are as follows:
Wherein, R is the red optical value in rgb optical value, and G is the green optical value in rgb optical value, and B is in rgb optical value
Blue optical value, r be rgb digital value in red numerical value, g be rgb digital value in green digital value, b be rgb number
Blue digital value in value,It indicates to carry out the value obtained after gamma transformation processing to r,It indicates to carry out the value obtained after gamma transformation processing to b,It indicates to carry out gal to g
The value obtained after horse conversion process.
4. the acquisition methods of photo dazzle color temperature as claimed in claim 3, which is characterized in that the preset tristimulus values calculates public
Formula are as follows:
Wherein, X is the red values in tristimulus values, and Y is the green values in tristimulus values, and Z is in tristimulus values
Blue values, M are preset transformed matrix.
5. the acquisition methods of photo dazzle color temperature as claimed in claim 4, which is characterized in that the preset chromaticity coordinates formula are as follows:
Wherein, u is the abscissa of the chromaticity coordinates in chromatogram, and v is the ordinate of the chromaticity coordinates in chromatogram.
6. the acquisition methods of photo dazzle color temperature as claimed in claim 5, which is characterized in that the firstth area and second in the chromatogram
The coordinate of the reference point of the boundary line convergence in the boundary line in area, the boundary line in the secondth area and third area and third area and the firstth area is
(0.332,0.1858).
7. the acquisition methods of photo dazzle color temperature as claimed in claim 6, which is characterized in that the preset pixel colour temperature calculates public
Formula are as follows: CT=-437 × n3+3601×n2-6861×n+5514.31;
Wherein, CT is pixel color temperature value,
8. the acquisition methods of photo dazzle color temperature as described in claim 1, which is characterized in that preset first weighted value calculates
Formula are as follows: γ 1=(1/ β 1 of 1- α) × k;
Wherein, γ 1 is to handle the weighted value that pixel is handled when the chromaticity coordinates of pixel is located at the secondth area, and α 1 be the color seat of processing pixel
Angle between the corresponding point of mark and the line and the firstth area and the boundary line in the secondth area of reference point, β 1 are the firstth area and the secondth area
Boundary line and the secondth area and the boundary line in third area between angle, k is the corresponding weight parameter of processing pixel;
The preset second weighted value calculation formula are as follows: γ 2=(2/ β 2 of 1- α) × k;
Wherein, γ 2 is to handle the weighted value that pixel is handled when the chromaticity coordinates of pixel is located at third area, and α 2 be the color seat of processing pixel
Angle between the corresponding point of mark and the line and the firstth area and the boundary line in third area of reference point, β 2 are the firstth area and third area
Boundary line and the secondth area and the boundary line in third area between angle.
9. the acquisition methods of photo dazzle color temperature as described in claim 1, which is characterized in that the chromatogram is CIE1931 chromatography
Figure;
The smallest one is 1000K in the reference color temperature;Maximum one is 15000K in the reference color temperature.
10. the acquisition methods of photo dazzle color temperature as claimed in claim 4, which is characterized in that the step S4 specifically:
Step S41, one in multiple pixels of a later frame image is set as the first weight extraction pixel, it will be in former frame image
Ranks number pixel identical with ranks number of the first weight extraction pixel in a later frame image is set as the second weight extraction pixel,
The first weight extraction pixel is calculated according to the rgb digital value of the first weight extraction pixel and preset rgb optical value calculation formula
Rgb optical value, according to the first weight extraction pixel rgb optical value and preset tristimulus values calculation formula calculate first power
The tristimulus values of capture element is brought up again, tristimulus values and preset Lab space conversion formula meter according to the first weight extraction pixel
The luminance component, the first color component and the second color component of the first weight extraction pixel are calculated, according to the second weight extraction pixel
Rgb digital value and preset rgb optical value calculation formula calculate the rgb optical value of the second weight extraction pixel, according to second
The rgb optical value of weight and preset tristimulus values calculation formula calculate the tristimulus values of the second weight extraction pixel, according to the
The tristimulus values of two weight extraction pixels and preset Lab space conversion formula calculate the brightness point of the second weight extraction pixel
Amount, the first color component and the second color component;
The preset Lab space conversion formula are as follows:
Wherein, L is luminance component, and a is the first color component, and b ' is the second color component, and X1 is preset first parameter, and Y1 is
Preset second parameter, Z1 are preset third parameter,
T is real number;
Step S42, according to luminance component, the first color component and the second color component of the first weight extraction pixel, the second power
Luminance component, the first color component and the second color component and preset value of chromatism calculation formula for bringing up again capture element calculate the
One weight extraction pixel and the value of chromatism of the second weight extraction pixel are as the corresponding weight parameter of the first weight extraction pixel;
The preset value of chromatism calculation formula are as follows:
Wherein, L1For the luminance component of the first weight extraction pixel, a1For the first color component of the first weight extraction pixel, b '1
For the second color component of the first weight extraction pixel, L2For the luminance component of the second weight extraction pixel, a2It is mentioned for the second weight
First color component of capture element, b '2For the second color component of the second weight extraction pixel, Δ E is the first weight extraction picture
The value of chromatism of element and the second weight extraction pixel;
Step S43, repeat the above steps S41 and S42, until completing the corresponding weight parameter of all pixels in a later frame image
It obtains.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811460280.9A CN109584768B (en) | 2018-11-30 | 2018-11-30 | Method for acquiring color temperature of image |
PCT/CN2019/070914 WO2020107661A1 (en) | 2018-11-30 | 2019-01-08 | Image color temperature acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811460280.9A CN109584768B (en) | 2018-11-30 | 2018-11-30 | Method for acquiring color temperature of image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109584768A true CN109584768A (en) | 2019-04-05 |
CN109584768B CN109584768B (en) | 2020-09-01 |
Family
ID=65926323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811460280.9A Active CN109584768B (en) | 2018-11-30 | 2018-11-30 | Method for acquiring color temperature of image |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109584768B (en) |
WO (1) | WO2020107661A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110211062A (en) * | 2019-05-20 | 2019-09-06 | 深圳市华星光电半导体显示技术有限公司 | A kind of scene light source color temperature control method |
CN110388987A (en) * | 2019-07-24 | 2019-10-29 | 深圳市华星光电技术有限公司 | The method for obtaining photo dazzle color temperature |
CN115412711A (en) * | 2022-09-16 | 2022-11-29 | 集创北方(珠海)科技有限公司 | Color temperature adjusting method, color temperature adjusting device and display device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079954A (en) * | 2007-06-26 | 2007-11-28 | 北京中星微电子有限公司 | Method and device for realizing white balance correction |
CN101616332A (en) * | 2008-06-26 | 2009-12-30 | 北京中视中科光电技术有限公司 | A kind of color domain expanding system and method |
CN102332242A (en) * | 2011-04-29 | 2012-01-25 | Geo半导体有限公司 | Be used to improve the color of backlight LCD display and the system and method for brightness uniformity |
JP2013013134A (en) * | 2012-09-05 | 2013-01-17 | Nikon Corp | Imaging apparatus |
US20140139570A1 (en) * | 2012-11-21 | 2014-05-22 | Apple Inc. | Dynamic Color Adjustment for Displays Using Local Temperature Measurements |
CN103927974A (en) * | 2013-01-11 | 2014-07-16 | 索尼公司 | Display, Image Processing Unit, Image Processing Method, And Electronic Apparatus |
US20140285477A1 (en) * | 2013-03-25 | 2014-09-25 | Lg Display Co., Ltd. | Image processing method for display apparatus and image processing apparatus |
CN106128373A (en) * | 2015-05-07 | 2016-11-16 | 钰纬科技开发股份有限公司 | Image processing device with image compensation function and image processing method thereof |
CN106409251A (en) * | 2016-09-06 | 2017-02-15 | 武汉华星光电技术有限公司 | Display panel brightness and chroma adjustment and calculation method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009162946A (en) * | 2007-12-28 | 2009-07-23 | Sharp Corp | Image display device |
CN104766574B (en) * | 2015-03-24 | 2019-02-12 | 小米科技有限责任公司 | Color temperature adjusting method and device |
-
2018
- 2018-11-30 CN CN201811460280.9A patent/CN109584768B/en active Active
-
2019
- 2019-01-08 WO PCT/CN2019/070914 patent/WO2020107661A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079954A (en) * | 2007-06-26 | 2007-11-28 | 北京中星微电子有限公司 | Method and device for realizing white balance correction |
CN101616332A (en) * | 2008-06-26 | 2009-12-30 | 北京中视中科光电技术有限公司 | A kind of color domain expanding system and method |
CN102332242A (en) * | 2011-04-29 | 2012-01-25 | Geo半导体有限公司 | Be used to improve the color of backlight LCD display and the system and method for brightness uniformity |
JP2013013134A (en) * | 2012-09-05 | 2013-01-17 | Nikon Corp | Imaging apparatus |
US20140139570A1 (en) * | 2012-11-21 | 2014-05-22 | Apple Inc. | Dynamic Color Adjustment for Displays Using Local Temperature Measurements |
CN103927974A (en) * | 2013-01-11 | 2014-07-16 | 索尼公司 | Display, Image Processing Unit, Image Processing Method, And Electronic Apparatus |
US20140285477A1 (en) * | 2013-03-25 | 2014-09-25 | Lg Display Co., Ltd. | Image processing method for display apparatus and image processing apparatus |
CN106128373A (en) * | 2015-05-07 | 2016-11-16 | 钰纬科技开发股份有限公司 | Image processing device with image compensation function and image processing method thereof |
CN106409251A (en) * | 2016-09-06 | 2017-02-15 | 武汉华星光电技术有限公司 | Display panel brightness and chroma adjustment and calculation method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110211062A (en) * | 2019-05-20 | 2019-09-06 | 深圳市华星光电半导体显示技术有限公司 | A kind of scene light source color temperature control method |
WO2020232812A1 (en) * | 2019-05-20 | 2020-11-26 | 深圳市华星光电半导体显示技术有限公司 | Scene illuminant color temperature control method |
CN110388987A (en) * | 2019-07-24 | 2019-10-29 | 深圳市华星光电技术有限公司 | The method for obtaining photo dazzle color temperature |
CN110388987B (en) * | 2019-07-24 | 2020-11-10 | 深圳市华星光电技术有限公司 | Method for acquiring color temperature of image |
CN115412711A (en) * | 2022-09-16 | 2022-11-29 | 集创北方(珠海)科技有限公司 | Color temperature adjusting method, color temperature adjusting device and display device |
Also Published As
Publication number | Publication date |
---|---|
WO2020107661A1 (en) | 2020-06-04 |
CN109584768B (en) | 2020-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107274834B (en) | A kind of AMOLED display panel luminance compensation method and device | |
CN108063935B (en) | White balance adjusting method and system, the display device of display screen | |
CN110444176B (en) | Pixel color difference compensation method and system of display panel and display device | |
US9613553B2 (en) | Method and device for detecting uniformity of a dark state image of display | |
CN107230446B (en) | The driving method and system of display device | |
CN109493829A (en) | The acquisition methods of photo dazzle color temperature | |
US10008148B2 (en) | Image processing apparatus, image processing method, display device, computer program and computer-readable medium | |
CN107784975B (en) | Automatic brightness and chromaticity adjusting method and system of AMOLED display device | |
CN110444152A (en) | Optical compensation method and device, display device, display methods and storage medium | |
CN103996374A (en) | Device and method for achieving external dynamic compensation for display screen active area direct-current voltage drop | |
US10339849B2 (en) | Method and system for regulating brightness and chromaticity of display panel | |
CN107705753B (en) | Brightness compensation method of AMOLED display panel | |
CN104332143B (en) | Display device and color conversion method thereof | |
CN109584768A (en) | The acquisition methods of photo dazzle color temperature | |
CN107134260A (en) | A kind of display control method, device and display device | |
WO2020001003A1 (en) | Display data adjustment system and display data adjustment method | |
CN109658864B (en) | Display panel display processing method and display processing device | |
WO2020172921A1 (en) | Image processing system and image processing method | |
WO2019080446A1 (en) | Display apparatus driving method, and display apparatus | |
WO2017173682A1 (en) | Driving method for graphene display and graphene display | |
CN105306917B (en) | Low gray level white balance control method, control system and display | |
WO2017063223A1 (en) | Method and system for improving contrast of oled display panel | |
CN110136631B (en) | Method for adjusting display picture of display device | |
US11087690B2 (en) | Display substrate, display device, control method and control circuit | |
Yao et al. | P‐7.12: Research on High Brightness Mode Uniformity Problem of Flexible AMOLED Mobile |
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 |