CN110728941B - Color gamut mapping method and device - Google Patents

Color gamut mapping method and device Download PDF

Info

Publication number
CN110728941B
CN110728941B CN201910899091.XA CN201910899091A CN110728941B CN 110728941 B CN110728941 B CN 110728941B CN 201910899091 A CN201910899091 A CN 201910899091A CN 110728941 B CN110728941 B CN 110728941B
Authority
CN
China
Prior art keywords
mapping
color
vertex
projection
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910899091.XA
Other languages
Chinese (zh)
Other versions
CN110728941A (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.)
Wuhan China Star Optoelectronics Technology Co Ltd
Original Assignee
Wuhan China Star Optoelectronics Technology 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 Wuhan China Star Optoelectronics Technology Co Ltd filed Critical Wuhan China Star Optoelectronics Technology Co Ltd
Priority to CN201910899091.XA priority Critical patent/CN110728941B/en
Publication of CN110728941A publication Critical patent/CN110728941A/en
Application granted granted Critical
Publication of CN110728941B publication Critical patent/CN110728941B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/2003Display of colours

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

The invention provides a color gamut mapping method and a device, wherein the method comprises the following steps: establishing a first color gamut triangle according to the obtained color gamut range of the first region and the preset central coordinate; establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; respectively projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex onto an extension line of a color purity line of the corresponding color to obtain corresponding projection points; mapping the color coordinates to be mapped onto the corresponding projection purity line to obtain conversion points; mapping the projection point conversion point to a color purity line of a corresponding color to obtain a corresponding mapping point; acquiring a mapping distance between the mapping point and the preset central coordinate; and obtaining the color coordinates of the corresponding mapping points according to the mapping distance. The color gamut mapping method and the device can avoid uneven display and improve the display effect.

Description

Color gamut mapping method and device
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of display technologies, and in particular, to a color gamut mapping method and apparatus.
[ background of the invention ]
With the improvement of the overall process design of the electronic device, the display screen is gradually converted into a full-screen design direction from the previous diversified design. Therefore, the full screen is relatively high, for example, the screen occupancy is gradually increased from 80% to 97%.
One way to achieve a full-screen at present is to hide a front camera, i.e. to utilize a camera arranged below the screen, wherein the display screen comprises a first area and a second area, the first area corresponds to the position of the camera, the second area corresponds to the position of the area part, and the transmittance of the first area is higher than that of the second area. When the camera works, the first area is transparent and does not display images, and when the camera does not work, the first area normally displays images. However, the color gamut of the first region is different from that of the second region, which causes display unevenness, thereby reducing the display effect.
Therefore, it is necessary to provide a method and an apparatus for gamut mapping to solve the problems of the prior art.
[ summary of the invention ]
The invention aims to provide a color gamut mapping method and a color gamut mapping device, which can avoid uneven display and improve the display effect.
In order to solve the above technical problem, the present invention provides a color gamut mapping method, wherein a display panel includes a first region and a second region, the first region corresponds to a position of a camera; the method comprises the following steps:
establishing a first color gamut triangle according to the obtained color gamut range of the first region and the preset central coordinate; wherein the first color gamut triangle comprises a red primary vertex, a green primary vertex, and a blue primary vertex;
establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; wherein the second gamut triangle comprises a red sub-vertex, a green sub-vertex, and a blue sub-vertex; wherein the gamut range of the first region is smaller than the gamut range of the second region;
respectively projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex onto an extension line of a color purity line of the corresponding color to obtain corresponding projection points; the color purity line is a connecting line between the red main vertex, the green main vertex and the blue main vertex and the preset central coordinate respectively;
mapping the color coordinates to be mapped onto corresponding projection purity lines to obtain conversion points, wherein the projection purity lines are connecting lines between the projection points and the preset central coordinates;
mapping the conversion points to color purity lines of corresponding colors to obtain corresponding mapping points;
acquiring a mapping distance between the mapping point and the preset central coordinate;
and obtaining the color coordinates of the corresponding mapping points according to the mapping distance.
The invention also provides a color gamut mapping device, wherein the display panel comprises a first area and a second area, and the first area corresponds to the position of the camera; the device comprises:
the first establishing module is used for establishing a first color gamut triangle according to the obtained color gamut range of the first region and the preset central coordinate; wherein the first color gamut triangle comprises a red primary vertex, a green primary vertex, and a blue primary vertex;
the second establishing module is used for establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; wherein the second gamut triangle comprises a red sub-vertex, a green sub-vertex, and a blue sub-vertex; wherein the gamut range of the first region is smaller than the gamut range of the second region;
the projection module is used for projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex to the extension line of the color purity line of the corresponding color respectively to obtain a corresponding projection point; the color purity line is a connecting line between the red main vertex, the green main vertex and the blue main vertex and the preset central coordinate respectively;
the conversion module is used for mapping the color coordinates to be mapped onto a projection purity line to obtain conversion points, wherein the projection purity line is a connecting line between the projection point and the preset central coordinates;
the mapping module is used for mapping the conversion points to color purity lines of corresponding colors to obtain corresponding mapping points;
the distance acquisition module is used for acquiring the mapping distance between the mapping point and the preset central coordinate;
and the coordinate acquisition module is used for obtaining the color coordinates of the corresponding mapping points according to the mapping distance.
The method and the device for mapping the color gamut comprise the steps of establishing a first color gamut triangle according to the obtained color gamut range of a first area and a preset central coordinate; establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; respectively projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex onto an extension line of a color purity line of the corresponding color to obtain corresponding projection points; mapping the color coordinates to be mapped onto the corresponding projection purity line to obtain conversion points; mapping the projection point conversion point to a color purity line of a corresponding color to obtain a corresponding mapping point; acquiring a mapping distance between the mapping point and the preset central coordinate; obtaining the color coordinates of the corresponding mapping points according to the mapping distance; the large color gamut range is mapped to the small color gamut range, so that the first area and the second area are displayed more uniformly, and the display effect is improved.
[ description of the drawings ]
FIG. 1 is a schematic diagram of the first and second steps of the gamut mapping method of the present invention;
FIG. 2 is a schematic structural diagram of the third step to the fifth step of the color gamut mapping method according to the present invention;
fig. 3 is a schematic diagram of a preferred structure of the gamut mapping device according to the present invention.
[ detailed description ] embodiments
The following description of the embodiments refers to the accompanying drawings for illustrating the specific embodiments in which the invention may be practiced. In the present invention, directional terms such as "up", "down", "front", "back", "left", "right", "inner", "outer", "side", etc. refer to directions of the attached drawings. Accordingly, the directional terms used are used for explanation and understanding of the present invention, and are not used for limiting the present invention. In the drawings, elements having similar structures are denoted by the same reference numerals.
The display panel comprises a first area and a second area, and the first area corresponds to the position of the camera; the second region at least partially surrounds the first region. I.e. the second region is a region other than the first region.
The color gamut mapping method of the embodiment includes:
s101, establishing a first color gamut triangle according to the obtained color gamut range of the first region and a preset central coordinate;
for example, when the camera does not work, the first area and the second area display the test image, and at this time, the color gamut range of the first area and the color gamut range of the second area are obtained; wherein the gamut range of the first region is smaller than the gamut range of the second region. Of course, the second area may also display a prompt.
Then, as shown in fig. 1, a first gamut triangle 101 is created according to the gamut range of the first region and the preset center coordinate p. Wherein the first color gamut triangle 101 includes a red primary vertex, a green primary vertex, and a blue primary vertex. Referring to fig. 2, the first color gamut triangle 101 includes three main vertices B1, B2, B3 corresponding to one of green, red and blue colors, respectively. The preset center coordinate p is, for example, a white point coordinate.
S102, establishing a second color gamut triangle according to the obtained color gamut range of the second region and a preset central coordinate;
for example, as shown in fig. 1, a second gamut triangle 102 is created according to the gamut range of the second region and the preset center coordinate p. Wherein the second gamut triangle 102 includes a red sub-vertex, a green sub-vertex, and a blue sub-vertex. Referring to fig. 2, the second color gamut triangle 102 includes three sub-vertices a1, a2, A3 corresponding to one of green, red, and blue colors, respectively.
S103, projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex to an extension line of a color purity line of the corresponding color respectively to obtain corresponding projection points;
as shown in fig. 2, the color purity lines are connecting lines between the red main vertex, the green main vertex, and the blue main vertex and the preset central coordinate P, and the color purity lines respectively include B1P, B2P, and B3P. Extension lines corresponding to the connection lines between B1, B2 and B3 and p are respectively shown as d1, d2 and d 3.
Where A1 corresponds to the color of B1, A2 corresponds to the color of B2, and A3 corresponds to the color of B3.
As shown in fig. 2, a1 is projected onto d1 to obtain a projected point C1, a2 is projected onto d2 to obtain a projected point C2, and A3 is projected onto d3 to obtain a projected point C3.
S104, mapping the color coordinates to be mapped onto the corresponding projection purity line to obtain conversion points;
for example, the projection purity line is a connecting line between the projection point and the preset central coordinate; the projection purity line is a connecting line between the projection points C1, C2 and C3 and the preset central coordinate p and is respectively C1p, C2p and C3 p.
For example, taking the color coordinate E1 to be mapped in the second color gamut triangle as an example, and taking E1 as a green color coordinate as an example, E1 is mapped onto the corresponding projection purity line C1p, and the conversion point E1 is obtained. E2 is a red color coordinate, and E2 is mapped to the corresponding projected purity line C2p to obtain a conversion point E2. E3 is a blue color coordinate, E3 is mapped to the corresponding projected purity line C3p, and the conversion point E3 is obtained.
S105, mapping the conversion points to color purity lines of corresponding colors to obtain corresponding mapping points;
as shown in fig. 2, for example, the conversion point e1 is mapped onto B1p, resulting in a mapped point f 1. The conversion point e2 is mapped onto B2p, resulting in a mapped point f 2. The conversion point e3 is mapped onto B3p, resulting in a mapped point f 3.
S106, acquiring a mapping distance between the mapping point and the preset central coordinate;
for example, the distances of the mapping points f1, f2, f3 from the point p are acquired, respectively.
And S107, obtaining the color coordinates of the corresponding mapping points according to the mapping distance.
For example, the color coordinates of the mapping point f1 are obtained from the distance between f1 and the p-point, the color coordinates of the mapping point f2 are obtained from the distance between f2 and the p-point, and the color coordinates of the mapping point f3 are obtained from the distance between f3 and the p-point, thereby obtaining the color coordinates in the first gamut triangle to which the color coordinates are to be mapped.
In one embodiment, the step S107, namely the step of obtaining the color coordinates of the corresponding mapping point according to the mapping distance, includes:
s1071, obtaining an included angle between the color purity line and a horizontal line;
for example, the angle between each color purity line and the horizontal line can be calculated according to the color coordinates of B1, B2, and B3 and the preset center coordinates.
S1072, obtaining the color coordinates of the corresponding mapping points according to the included angle, the mapping distance and the preset center coordinates.
For example, the coordinates corresponding to the mapping points are obtained according to the included angle between the corresponding color purity line and the horizontal line, the corresponding mapping distance, and the preset central coordinates. For example, the coordinate of the mapping point f1 is obtained according to the angle between the color purity line B1p and the horizontal line, the distance between f1 and the point p, and the coordinate of the point p. The remaining mapping points are similar thereto.
In an embodiment, the step S106, that is, the step of obtaining the mapping distance between the mapping point and the preset central coordinate may include:
s201, acquiring a projection distance between the conversion point and the preset central coordinate;
for example, the projection distances between the conversion points e1, e2, e3 and the preset center coordinate p are respectively obtained to obtain L1 ', L2 ', and L3 '.
S202, acquiring a mapping distance between a corresponding mapping point and the preset central coordinate according to the projection distance, the length of the corresponding color purity line and the length of the corresponding projection purity line;
for example, a mapping distance L1 between the mapping point f1 and the preset center coordinate p is obtained according to the projection distance L1 ', the length h1 of the corresponding color purity line B1p, and the length h 1' of the corresponding projection purity line C1 p.
And acquiring a mapping distance L2 between the mapping point f2 and the preset central coordinate p according to the projection distance L2 ', the corresponding length h2 of the color purity line B2p and the corresponding length h 2' of the projection purity line C2 p.
And acquiring a mapping distance L3 between the mapping point f3 and the preset central coordinate p according to the projection distance L3 ', the corresponding length h3 of the color purity line B3p and the corresponding length h 3' of the projection purity line C3 p.
In an embodiment, the step S202, namely the step of obtaining the mapping distance between the corresponding mapping point and the preset central coordinate according to the projection distance, the length of the corresponding color purity line, and the length of the corresponding projection purity line, includes:
s2021, obtaining a compression ratio according to the projection distance and the length of the corresponding projection purity line;
for example, the compression ratio is equal to L '/h'.
S2022, obtaining a mapping distance between the corresponding mapping point and the preset central coordinate according to the compression ratio and the length of the corresponding color purity line;
in an embodiment, the mapping distance L between the mapping point and the preset central coordinate is specifically obtained by the following formula:
L=(L’/h’)*h;
wherein L 'is the projection distance of the preset center coordinate, h' is the length of the projection purity line, h is the length of the color purity line, L 'includes the above-mentioned L1' to L3 ', h includes h1 to h3, and h' includes h1 'to h 3'.
In order to further improve the display effect, the step S2022 may include:
s301, compensating the compression ratio by adopting a preset compensation value to obtain a compensation value;
for example, in one embodiment, the compression ratio is exponentially calculated by using a preset compensation value, and the compensation ratio K2 is obtained as:
K2=(L’/h’)n
n is the predetermined compensation value, in one embodiment, n is a Gamma value, and n is preferably equal to 2.2.
S302, obtaining a mapping distance L between the corresponding mapping point and the preset central coordinate according to the compensation ratio and the length of the corresponding color purity line.
L=K2*h=(L’/h’)n*h;
And then acquiring the color coordinates of the corresponding mapping points according to the L.
In a preferred embodiment, the color gamut conversion of the green pixel G is taken as an example, and the following is specifically described:
referring to fig. 2, the white point coordinate is set to P, the color coordinate of green corresponding to the second region is assumed to be a1, and the color coordinate of green corresponding to the first region is assumed to be B1. The color coordinate A1 of the second region green and the white point coordinate p constitute a color purity straight line A1P of green. The green color coordinate B1 and the white point coordinate p in the first region form a green color purity straight line B1P, and a1 is projected onto an extension line d1 of B1P to form a projection point C1.
Assuming that the green color coordinate E1 (i.e. the coordinate to be mapped) of the second region is mapped onto the projection purity straight line C1P to obtain a conversion point E1, the color coordinate of E1 is x, and the distance between E1 and P is L1, and then E1 is mapped into the range of B1P, the color coordinate of E1 corresponding to B1P is y, and the distance between E1 and P is L2, and since the color gamut is compressed in equal proportion, L2 can be obtained as shown in the following formula:
L2=(L1/hC1P)*hB1P
hC1Pis the length of C1P, hB1PIs the length of B1P.
Since the human eye perceives the nonlinear characteristic and the Gamma 2.2 of the commonly used display shows that the human eye has higher resolution capability to the low gray scale than the high gray scale, the compression of the high saturation part needs to be reduced as much as possible in the process of color gamut mapping, and the compression ratio of the low saturation part can be properly increased. Therefore, the above L2 can be adjusted as follows:
L2=(L1/hC1P)2.2*hB1P
then, the corresponding color coordinate after mapping can be obtained according to the length of L2; for example, the end point coordinates (i.e., the mapped color coordinates) are obtained from the length L2 and the white point coordinates p. Of course, in an embodiment, the angle between B1P and the horizontal line may also be obtained, and the mapped color coordinates are obtained according to the angle, the length L2, and the white point coordinate p.
It will be appreciated that the same approach is followed to obtain the color coordinates of the red and blue pixels after mapping from the large gamut to the small gamut.
As shown in fig. 3, the present invention further provides a color gamut mapping device, wherein the display panel includes a first area and a second area, and the first area corresponds to a position of the camera; the device comprises:
the first establishing module 31 is configured to establish a first color gamut triangle according to the obtained color gamut range of the first region and the preset central coordinate; wherein the first color gamut triangle comprises a red primary vertex, a green primary vertex, and a blue primary vertex;
the second establishing module 32 is configured to establish a second color gamut triangle according to the obtained color gamut range of the second region and the preset center coordinate; wherein the second gamut triangle comprises a red sub-vertex, a green sub-vertex, and a blue sub-vertex; wherein the gamut range of the first region is smaller than the gamut range of the second region;
the projection module 33 is configured to project the sub-vertex of each color of the red sub-vertex, the green sub-vertex, and the blue sub-vertex onto an extension line of the color purity line of the corresponding color, respectively, to obtain a corresponding projection point; the color purity line is a connecting line between the red main vertex, the green main vertex and the blue main vertex and the preset central coordinate respectively;
the conversion module 34 is configured to map the color coordinates to be mapped onto a projection purity line, so as to obtain conversion points, where the projection purity line is a connection line between the projection point and the preset central coordinate;
the mapping module 35 is configured to map the conversion point to a color purity line of a corresponding color to obtain a corresponding mapping point;
the distance obtaining module 36 is configured to obtain a mapping distance between the mapping point and the preset center coordinate;
the coordinate obtaining module 37 is configured to obtain color coordinates of the corresponding mapping points according to the mapping distances.
The distance acquisition module 36 includes:
the first obtaining unit 361 is configured to obtain a projection distance between the conversion point and the preset center coordinate;
the second obtaining unit 362 is configured to obtain a mapping distance between the corresponding mapping point and the preset center coordinate according to the projection distance, the length of the corresponding color purity line, and the length of the corresponding projection purity line.
The second obtaining unit 362 is specifically configured to: obtaining a compression ratio according to the projection distance and the length of the corresponding projection purity line; and acquiring the mapping distance between the corresponding mapping point and the preset central coordinate according to the compression ratio and the length of the corresponding color purity line.
The second obtaining unit 362 is further configured to: and compensating the compression ratio by adopting a preset compensation value to obtain a compensation ratio, and acquiring a mapping distance between a corresponding mapping point and the preset central coordinate according to the compensation ratio and the length of the corresponding color purity line.
Wherein the mapping distance L is specifically obtained by the following formula:
L=(L’/h)n*h’
wherein L 'is the projection distance, h is the length of the projection purity line, h' is the length of the color purity line, and n is the preset compensation value.
The coordinate obtaining module 37 is specifically configured to: acquiring an included angle between the color purity line and a horizontal line; and obtaining the color coordinates of the corresponding mapping points according to the included angle, the mapping distance and the preset center coordinates.
The large color gamut range is mapped to the small color gamut range, so that the purpose of color gamut matching is achieved, a displayed picture is more harmonious and natural, the display of the first area and the second area is more uniform, and the display effect is improved.
The method and the device for mapping the color gamut comprise the steps of establishing a first color gamut triangle according to the obtained color gamut range of a first area and a preset central coordinate; establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; respectively projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex onto an extension line of a color purity line of the corresponding color to obtain corresponding projection points; mapping the color coordinates to be mapped onto the corresponding projection purity line to obtain conversion points; mapping the projection point conversion point to a color purity line of a corresponding color to obtain a corresponding mapping point; acquiring a mapping distance between the mapping point and the preset central coordinate; obtaining the color coordinates of the corresponding mapping points according to the mapping distance; the large color gamut range is mapped to the small color gamut range, so that the first area and the second area are displayed more uniformly, and the display effect is improved.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (10)

1. A color gamut mapping method is characterized in that a display panel comprises a first area and a second area, wherein the first area corresponds to the position of a camera; the method comprises the following steps:
establishing a first color gamut triangle according to the obtained color gamut range of the first region and the preset central coordinate; wherein the first color gamut triangle comprises a red primary vertex, a green primary vertex, and a blue primary vertex;
establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; wherein the second gamut triangle comprises a red sub-vertex, a green sub-vertex, and a blue sub-vertex; wherein the gamut range of the first region is smaller than the gamut range of the second region;
respectively projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex onto an extension line of a color purity line of the corresponding color to obtain corresponding projection points; the color purity line is a connecting line between the red main vertex, the green main vertex and the blue main vertex and the preset central coordinate respectively;
mapping the color coordinates to be mapped onto corresponding projection purity lines to obtain conversion points, wherein the projection purity lines are connecting lines between the projection points and the preset central coordinates;
mapping the conversion points to color purity lines of corresponding colors to obtain corresponding mapping points;
acquiring a mapping distance between the mapping point and the preset central coordinate;
and obtaining the color coordinates of the corresponding mapping points according to the mapping distance.
2. The method of claim 1, wherein the step of obtaining the mapping distance between the mapping point and the preset center coordinate comprises:
acquiring a projection distance between the conversion point and the preset central coordinate;
and acquiring the mapping distance between the corresponding mapping point and the preset central coordinate according to the projection distance, the length of the corresponding color purity line and the length of the corresponding projection purity line.
3. The method of claim 2, wherein the step of obtaining the mapping distance between the corresponding mapping point and the preset center coordinate according to the projection distance, the length of the corresponding color purity line, and the length of the corresponding projection purity line comprises:
obtaining a compression ratio according to the projection distance and the length of the corresponding projection purity line;
and acquiring the mapping distance between the corresponding mapping point and the preset central coordinate according to the compression ratio and the length of the corresponding color purity line.
4. The method of claim 3, wherein the step of obtaining the mapping distance between the corresponding mapping point and the preset center coordinate according to the compression ratio and the length of the corresponding color purity line comprises:
compensating the compression ratio by adopting a preset compensation value to obtain a compensation ratio;
and acquiring the mapping distance between the corresponding mapping point and the preset central coordinate according to the compensation ratio and the length of the corresponding color purity line.
5. The method of gamut mapping according to claim 4, wherein the mapping distance L is specifically obtained by the following equation:
L=(L’/h’)n*h
wherein L 'is the projection distance, h' is the length of the projection purity line, h is the length of the color purity line, and n is the preset compensation value.
6. The method of claim 1, wherein the step of obtaining the color coordinates of the corresponding mapping points according to the mapping distances comprises:
acquiring an included angle between the color purity line and a horizontal line;
and obtaining the color coordinates of the corresponding mapping points according to the included angle, the mapping distance and the preset center coordinates.
7. A color gamut mapping device is characterized in that a display panel comprises a first area and a second area, wherein the first area corresponds to the position of a camera; the device comprises:
the first establishing module is used for establishing a first color gamut triangle according to the obtained color gamut range of the first region and the preset central coordinate; wherein the first color gamut triangle comprises a red primary vertex, a green primary vertex, and a blue primary vertex;
the second establishing module is used for establishing a second color gamut triangle according to the obtained color gamut range of the second region and the preset central coordinate; wherein the second gamut triangle comprises a red sub-vertex, a green sub-vertex, and a blue sub-vertex; wherein the gamut range of the first region is smaller than the gamut range of the second region;
the projection module is used for projecting the sub-vertex of each color of the red sub-vertex, the green sub-vertex and the blue sub-vertex to the extension line of the color purity line of the corresponding color respectively to obtain a corresponding projection point; the color purity line is a connecting line between the red main vertex, the green main vertex and the blue main vertex and the preset central coordinate respectively;
the conversion module is used for mapping the color coordinates to be mapped onto a projection purity line to obtain conversion points, wherein the projection purity line is a connecting line between the projection point and the preset central coordinates;
the mapping module is used for mapping the conversion points to color purity lines of corresponding colors to obtain corresponding mapping points;
the distance acquisition module is used for acquiring the mapping distance between the mapping point and the preset central coordinate;
and the coordinate acquisition module is used for obtaining the color coordinates of the corresponding mapping points according to the mapping distance.
8. The gamut mapping device according to claim 7, wherein the distance acquisition module comprises:
the first acquisition unit is used for acquiring the projection distance between the conversion point and the preset central coordinate;
and the second acquisition unit is used for acquiring the mapping distance between the corresponding mapping point and the preset central coordinate according to the projection distance, the length of the corresponding color purity line and the length of the corresponding projection purity line.
9. The gamut mapping device according to claim 8, wherein the second obtaining unit is specifically configured to: obtaining a compression ratio according to the projection distance and the length of the corresponding projection purity line; and acquiring the mapping distance between the corresponding mapping point and the preset central coordinate according to the compression ratio and the length of the corresponding color purity line.
10. The gamut mapping device according to claim 9, wherein the second obtaining unit is further configured to: and compensating the compression ratio by adopting a preset compensation value to obtain a compensation ratio, and acquiring a mapping distance between a corresponding mapping point and the preset central coordinate according to the compensation ratio and the length of the corresponding color purity line.
CN201910899091.XA 2019-09-23 2019-09-23 Color gamut mapping method and device Active CN110728941B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910899091.XA CN110728941B (en) 2019-09-23 2019-09-23 Color gamut mapping method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910899091.XA CN110728941B (en) 2019-09-23 2019-09-23 Color gamut mapping method and device

Publications (2)

Publication Number Publication Date
CN110728941A CN110728941A (en) 2020-01-24
CN110728941B true CN110728941B (en) 2022-04-01

Family

ID=69218303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910899091.XA Active CN110728941B (en) 2019-09-23 2019-09-23 Color gamut mapping method and device

Country Status (1)

Country Link
CN (1) CN110728941B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222103B (en) 2021-12-13 2023-07-07 惠州华星光电显示有限公司 Color gamut mapping method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599636A (en) * 2015-02-10 2015-05-06 西安诺瓦电子科技有限公司 Brightness and chrominance correction coefficient generation device and brightness and chrominance correction method for LED (light emitting diode) display screen
CN107888893A (en) * 2017-11-07 2018-04-06 深圳市华星光电半导体显示技术有限公司 A kind of method of color gamut mapping of color and gamut mapping apparatus

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8289344B2 (en) * 2008-09-11 2012-10-16 Apple Inc. Methods and apparatus for color uniformity
US8902246B2 (en) * 2010-12-22 2014-12-02 Apple Inc. Color correction for wide gamut systems
KR20120118383A (en) * 2011-04-18 2012-10-26 삼성전자주식회사 Image compensation device, image processing apparatus and methods thereof
WO2014145003A1 (en) * 2013-03-15 2014-09-18 Ostendo Technologies, Inc. Dynamic gamut display systems, methods, and applications thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104599636A (en) * 2015-02-10 2015-05-06 西安诺瓦电子科技有限公司 Brightness and chrominance correction coefficient generation device and brightness and chrominance correction method for LED (light emitting diode) display screen
CN107888893A (en) * 2017-11-07 2018-04-06 深圳市华星光电半导体显示技术有限公司 A kind of method of color gamut mapping of color and gamut mapping apparatus

Also Published As

Publication number Publication date
CN110728941A (en) 2020-01-24

Similar Documents

Publication Publication Date Title
JP3792246B2 (en) Crosstalk elimination circuit, liquid crystal display device, and display control method
CN109147712B (en) Method and system for improving visual angle color cast of display panel
JP4681033B2 (en) Image correction data generation system, image data generation method, and image correction circuit
EP2538402A1 (en) Display device
US10347198B2 (en) Image displaying methods and display devices
CN109246405B (en) Method and system for adjusting uniformity of image tone
KR20060109451A (en) Smart clipper for mobile displays
CN108122546B (en) Display apparatus and image processing method thereof
CN103325351A (en) Image processing apparatus and image processing method
TWI588814B (en) Driving method of pixel
CN108615496B (en) Image data processing method and device
WO2011118083A1 (en) Image-display device and control method of same
CN103714771A (en) Image display unit, method of driving image display unit, signal generator, signal generation program, and signal generation method
CN102376292A (en) Display unit brightness correcting method
US20130106840A1 (en) Apparatus and method for correcting image projected by projector
CN110223625A (en) The display methods and display device of display panel
US9659520B2 (en) Gamma correction method based on a gamma curve obtained from single or multiple primary-color frames
CN110728941B (en) Color gamut mapping method and device
US11749215B2 (en) Display driving device and driving method
WO2020186433A1 (en) Display substrate, display device, control method and control circuit
US20210241717A1 (en) Image display system and image display method
JP2017173666A (en) Image display device and image display method
JP2007324665A (en) Image correction apparatus and video display apparatus
JP5207832B2 (en) Display device
CN109194994B (en) Figure conversion player

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