WO2023108682A1 - 色域映射方法及装置 - Google Patents

色域映射方法及装置 Download PDF

Info

Publication number
WO2023108682A1
WO2023108682A1 PCT/CN2021/139708 CN2021139708W WO2023108682A1 WO 2023108682 A1 WO2023108682 A1 WO 2023108682A1 CN 2021139708 W CN2021139708 W CN 2021139708W WO 2023108682 A1 WO2023108682 A1 WO 2023108682A1
Authority
WO
WIPO (PCT)
Prior art keywords
color gamut
triangle
color
connecting line
main vertex
Prior art date
Application number
PCT/CN2021/139708
Other languages
English (en)
French (fr)
Inventor
王中彬
Original Assignee
惠州华星光电显示有限公司
Tcl华星光电技术有限公司
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 惠州华星光电显示有限公司, Tcl华星光电技术有限公司 filed Critical 惠州华星光电显示有限公司
Priority to US17/622,811 priority Critical patent/US12015885B2/en
Publication of WO2023108682A1 publication Critical patent/WO2023108682A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/67Circuits for processing colour signals for matrixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/74Circuits for processing colour signals for obtaining special effects
    • H04N9/76Circuits for processing colour signals for obtaining special effects for mixing of colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6027Correction or control of colour gradation or colour contrast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer
    • H04N1/6052Matching two or more picture signal generators or two or more picture reproducers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6058Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut
    • H04N1/6061Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut involving the consideration or construction of a gamut surface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/643Hue control means, e.g. flesh tone control
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/302Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements characterised by the form or geometrical disposition of the individual elements
    • G09F9/3026Video wall, i.e. stackable semiconductor matrix display modules
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/33Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements being semiconductor devices, e.g. diodes

Definitions

  • the present invention relates to the field of display technology, in particular to a color gamut mapping method and device.
  • different splicing screens display different images, and the images displayed by multiple splicing screens are spliced into a complete image.
  • Embodiments of the present invention provide a color gamut mapping method and device, aiming at solving the problem of inhomogeneous images of spliced display panels affecting image display quality in the prior art.
  • the present application provides a color gamut mapping method, which is applied to a spliced display device, and the spliced display device includes a spliced first display screen and a second display screen, and the color gamut of the first display screen is within a preset
  • the color gamut coordinate system corresponds to the first color gamut triangle
  • the color of the second display screen corresponds to the second color gamut triangle in the preset color gamut coordinate system and corresponds to the first color gamut triangle established in the preset coordinate system
  • the color gamut of the second display screen corresponds to the second color gamut triangle established in the preset coordinate system
  • the color gamuts of the first display screen and the second display screen are different
  • the method includes:
  • the third color gamut triangle is proportionally scaled, so that the third color gamut triangle is transformed into the second color gamut triangle, and the first display screen and the second color gamut triangle Display color gamut matching.
  • different color gamut triangles corresponding to different splicing screens are mapped to the uniquely determined display screen in the splicing display device, so that the color gamuts corresponding to all the display screens in the splicing display device are the same, and different screens display The color of the screen is also the same, which improves the unevenness of the picture and affects the quality of the picture.
  • the first color gamut triangle includes a first red main vertex, a first green main vertex, and a first blue main vertex
  • the second color gamut triangle includes a second red main vertex, the second green main vertex and the second blue main vertex
  • the first color gamut triangle is rotated so that each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle to obtain a transformed third color domain triangle, including:
  • This embodiment provides a specific way to obtain the transformed third color gamut triangle, by rotating the first color gamut triangle so that the three color gamut sides in the first color gamut triangle are the same as the unrotated third color gamut triangle.
  • the three color gamut sides in the gamut triangle are respectively parallel, and the first color gamut triangle is mapped to the plane where the third color gamut triangle is located, so as to obtain the transformed third color gamut triangle through fewer adjustment steps.
  • the first red main vertex, the first green main vertex, and the first blue main vertex are rotated around the white point of the color gamut, so that the rotated first color gamut
  • Each color gamut edge of the triangle is parallel to each color gamut edge of the second color gamut triangle to obtain a transformed third color gamut triangle, including:
  • the first connecting line is the connecting line between the white point of the color gamut and the first red main vertex
  • the second connecting line is the connecting line between the white point of the color gamut and the The connection line between the second red main vertex
  • the third connection line is the connection line between the white point of the color gamut and the third red main vertex
  • the fourth connecting line is the connecting line between the white point of the color gamut and the first green main vertex
  • the fifth connecting line is the connecting line between the white point of the color gamut and the The connecting line between the second green main vertex
  • the sixth connecting line is the connecting line between the white point of the color gamut and the third green main vertex
  • the seventh connecting line is the connecting line between the white point of the color gamut and the first blue main vertex
  • the eighth connecting line is the connecting line between the white point of the color gamut and the first blue main vertex.
  • the connecting line between the second blue main vertex, the ninth connecting line is the connecting line between the white point of the color gamut and the third blue main vertex;
  • the enclosed area between the third red main vertex, the third blue main vertex and the third green main vertex is the third color gamut triangle.
  • connection line between different color gamut vertices and color gamut white points in the first color gamut triangle is further rotated, and rotated to the connection line between different color gamut vertices and color gamut white points in the third color gamut triangle
  • the extension line three color gamut sides after the rotation of the first color gamut triangle are obtained, and the second color gamut triangle after the rotation of the first color gamut triangle is determined by the three rotated color gamut sides, and the adjustment method is simple.
  • the determining the color gamut adjustment ratio coefficient of the first color gamut triangle according to the third color gamut triangle and the first color gamut triangle includes:
  • the first color is determined by the first angle parameter and the second angle parameter
  • the color gamut adjustment scale factor after the gamut triangle is rotated, and the calculation method is simple.
  • the calculating the first angle parameter of the connection line between each color vertex in the first color gamut triangle and the white point of the color gamut includes:
  • the first angle parameter includes the first included angle, the second included angle and the third included angle.
  • angles corresponding to different vertex angles in the first color gamut triangle are respectively calculated to determine the first angle parameter corresponding to the first color gamut triangle.
  • the calculating the first angle parameter of the connection line between each color vertex in the third color gamut triangle and the white point of the color gamut includes:
  • the second angle parameter includes the fourth included angle, the fifth included angle and the sixth included angle.
  • angles corresponding to different vertex angles in the third color gamut triangle are respectively calculated to determine the second angle parameter corresponding to the third color gamut triangle.
  • the calculating the color gamut adjustment ratio coefficient of the first color gamut triangle according to the first angle parameter and the second angle parameter includes:
  • the color gamut adjustment proportional coefficient includes the first color gamut adjustment proportional coefficient, the second color gamut adjustment proportional coefficient and the third color gamut adjustment proportional coefficient.
  • each included angle in the first color gamut triangle determines the corresponding different color gamut adjustment proportional coefficients after each included angle in the first color gamut triangle is rotated, so as to adjust the proportional coefficient according to the color gamut , to adjust the rotated third gamut triangle.
  • the scaling coefficient is adjusted according to the color gamut, and the third color gamut triangle is proportionally scaled, so that the third color gamut triangle is transformed into the second color gamut triangle,
  • the color gamut matching of the first display screen and the second display screen includes:
  • the coordinates of the target color point are adjusted based on the color gamut coordinates, so that the target color point is transformed into the second color gamut triangle.
  • the color gamut coordinates of the color points in the first color gamut triangle in the second color gamut triangle can be calculated, and then it can be determined that all the color points in each first color gamut triangle are in the second color gamut triangle.
  • the color gamut coordinates in to map the first color gamut triangle to the second color gamut triangle realize the mapping from the first color gamut triangle to the second color gamut triangle, and improve the picture inhomogeneity of the first display screen and the second display screen , A problem that affects the picture quality.
  • the adjusting the proportional coefficient according to the color gamut and calculating the middle color gamut coordinates of the target color point in the second color gamut triangle includes:
  • the color gamut of the target color point in the second color gamut triangle is calculated coordinate.
  • the preset coordinate system is composed of mutually perpendicular X-axis, Y-axis and the white point of the color gamut, and the horizontal line in the preset coordinate system is the X-axis; the calculation The angle between the target color point and the connecting line between the color gamut white point and the horizontal line in the preset coordinate system includes determining the connecting line between the target color point and the color gamut white point, and the preset Set the line angle of the X-axis in the coordinate system.
  • the embodiment of the present application provides a color gamut mapping device, which is applied to a spliced display device.
  • the spliced display device includes a spliced first display screen and a second display screen, and the color gamut of the first display screen corresponds to The first color gamut triangle established in the preset coordinate system, the color gamut of the second display screen corresponds to the second color gamut triangle established in the preset coordinate system, the first display screen and the second display screen Different color gamuts, the device includes:
  • a rotation module configured to rotate the first color gamut triangle, so that each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle, to obtain the transformed The third color gamut triangle;
  • a determining module configured to determine a color gamut adjustment ratio coefficient of the first color gamut triangle according to the third color gamut triangle and the first color gamut triangle;
  • a scaling module configured to adjust a proportional coefficient according to the color gamut, scale the third color gamut triangle, and convert the third color gamut triangle to the second color gamut triangle, and the first display screen Match the color gamut of the second display screen.
  • the first color gamut triangle includes a first red main vertex, a first green main vertex, and a first blue main vertex
  • the second color gamut triangle includes a second red main vertex, A second green main vertex and a second blue main vertex
  • the rotation module is used to:
  • This embodiment provides a specific way to obtain the transformed third color gamut triangle, by rotating the first color gamut triangle so that the three color gamut sides in the first color gamut triangle are the same as the unrotated third color gamut triangle.
  • the three color gamut sides in the gamut triangle are respectively parallel, and the first color gamut triangle is mapped to the plane where the third color gamut triangle is located, so as to obtain the transformed third color gamut triangle through fewer adjustment steps.
  • the rotating module is used for:
  • the first connecting line is the connecting line between the white point of the color gamut and the first red main vertex
  • the second connecting line is the connecting line between the white point of the color gamut and the The connection line between the second red main vertex
  • the third connection line is the connection line between the white point of the color gamut and the third red main vertex
  • the fourth connecting line is the connecting line between the white point of the color gamut and the first green main vertex
  • the fifth connecting line is the connecting line between the white point of the color gamut and the The connecting line between the second green main vertex
  • the sixth connecting line is the connecting line between the white point of the color gamut and the third green main vertex
  • the seventh connecting line is the connecting line between the white point of the color gamut and the first blue main vertex
  • the eighth connecting line is the connecting line between the white point of the color gamut and the first blue main vertex.
  • the connecting line between the second blue main vertex, the ninth connecting line is the connecting line between the white point of the color gamut and the third blue main vertex;
  • the enclosed area between the third red main vertex, the third blue main vertex and the third green main vertex is the third color gamut triangle.
  • connection line between different color gamut vertices and color gamut white points in the first color gamut triangle is further rotated, and rotated to the connection line between different color gamut vertices and color gamut white points in the third color gamut triangle
  • the extension line three color gamut sides after the rotation of the first color gamut triangle are obtained, and the second color gamut triangle after the rotation of the first color gamut triangle is determined by the three rotated color gamut sides, and the adjustment method is simple.
  • the determination module is used for:
  • the first color is determined by the first angle parameter and the second angle parameter
  • the color gamut adjustment scale factor after the gamut triangle is rotated, and the calculation method is simple.
  • the determination module is used for:
  • the first angle parameter includes the first included angle, the second included angle and the third included angle.
  • angles corresponding to different vertex angles in the first color gamut triangle are respectively calculated to determine the first angle parameter corresponding to the first color gamut triangle.
  • the determination module is used for:
  • the second angle parameter includes the fourth included angle, the fifth included angle and the sixth included angle.
  • angles corresponding to different vertex angles in the third color gamut triangle are respectively calculated to determine the second angle parameter corresponding to the third color gamut triangle.
  • the determination module is used for:
  • the color gamut adjustment proportional coefficient includes the first color gamut adjustment proportional coefficient, the second color gamut adjustment proportional coefficient and the third color gamut adjustment proportional coefficient.
  • each included angle in the first color gamut triangle determines the corresponding different color gamut adjustment proportional coefficients after each included angle in the first color gamut triangle is rotated, so as to adjust the proportional coefficient according to the color gamut , to adjust the rotated third gamut triangle.
  • the scaling module is used for:
  • the coordinates of the target color point are adjusted based on the color gamut coordinates, so that the target color point is transformed into the second color gamut triangle.
  • the color gamut coordinates of the color points in the first color gamut triangle in the second color gamut triangle can be calculated, and then it can be determined that all the color points in each first color gamut triangle are in the second color gamut triangle.
  • the color gamut coordinates in to map the first color gamut triangle to the second color gamut triangle realize the mapping from the first color gamut triangle to the second color gamut triangle, and improve the picture inhomogeneity of the first display screen and the second display screen , A problem that affects the picture quality.
  • the scaling module is used for:
  • the color gamut of the target color point in the second color gamut triangle is calculated coordinate.
  • the preset coordinate system is composed of mutually perpendicular X-axis, Y-axis and the white point of the color gamut, the horizontal line in the preset coordinate system is the X-axis; the scaling The module is used to: determine the angle between the connecting line between the target color point and the white point of the color gamut and the X-axis in the preset coordinate system.
  • the line angle is the line angle between the connecting line between the target color point and the white point of the color gamut, and the X-axis in the preset coordinate system.
  • Embodiments of the present invention provide a color gamut mapping method and device, which are applied to a spliced display device; multiple display screens in the spliced display device have different color gamuts.
  • mapping the color gamut of multiple display screens to the display screen corresponding to the uniquely determined display screen in the splicing display device the color gamuts corresponding to all the display screens in the splicing display device are the same, and the colors displayed on different screens are also the same , to improve the unevenness of the picture and the problem that affects the quality of the picture.
  • FIG. 1 is a schematic diagram of a scene of a color gamut mapping system provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of an embodiment of a color gamut mapping method provided by an embodiment of the present application
  • FIG. 3 is a schematic flow chart of an embodiment of determining the color gamut adjustment ratio coefficient provided by the embodiment of the present application
  • Fig. 4 is a schematic flow chart of an embodiment of zooming the third color gamut triangle provided by the embodiment of the present application.
  • Fig. 5 is a schematic diagram of an embodiment of determining the color gamut coordinates of the target color point in the second color gamut triangle provided by the embodiment of the present application;
  • Figure 6 is a schematic diagram of an embodiment of the color coordinate system provided by the embodiment of the present application.
  • FIG. 7 is a schematic diagram of an embodiment of a color gamut mapping device provided in an embodiment of the present application.
  • FIG. 8 shows a schematic structural diagram of an electronic device involved in an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of said features.
  • “plurality” means two or more, unless otherwise specifically defined.
  • FIG. 1 is a schematic diagram of a scene of a color gamut mapping system provided by an embodiment of the present application.
  • the color gamut mapping system may include an electronic device 100, and a color gamut mapping device is integrated in the electronic device 100, such as the electronic device in FIG. equipment.
  • the electronic device 100 can be an independent server, or a server network or server cluster composed of servers, for example, the electronic device 100 described in the embodiment of the present application, which includes but not limited to computers, network A host, a single web server, a collection of multiple web servers, or a cloud server composed of multiple servers.
  • the cloud server is composed of a large number of computers or network servers based on cloud computing (Cloud Computing).
  • the application environment shown in Figure 1 is only an application scenario of the application solution, and does not constitute a limitation on the application scenario of the application solution.
  • the color gamut mapping system may further include a memory 200 for storing data.
  • the color gamut mapping method provided in the embodiment of the present application is applied to a spliced display device, and the spliced display device includes a spliced first display screen and a second display screen.
  • a color gamut coordinate system can be established for the pixels in the first display screen and the second display screen, and the pixels in the first display screen and the second display screen can be mapped to the color gamut coordinate system to obtain the first display screen corresponding to the color gamut coordinate system.
  • FIG. 2 it is a schematic flowchart of an embodiment of the color gamut mapping method provided in the embodiment of the present application, which may include:
  • the first color gamut triangle corresponding to the first display screen and the second color gamut triangle corresponding to the second display screen exist in the preset color gamut coordinate system at the same time, but the first color gamut triangle and the second color gamut triangle correspond to The color gamut is different.
  • the color gamut coordinate system includes a color gamut white point and two different coordinate axes, which are X axis and Y axis respectively. It should be noted that the color gamut coordinate system usually only includes the X axis and the Y axis; however, since the color picture displayed on the display screen is usually composed of three primary colors, the corresponding color gamut of the display screen is three color gamut areas.
  • Both the first color gamut triangle and the second color gamut triangle in the embodiment of the present application correspond to multiple different color gamut sides.
  • the sides are adjusted to be parallel.
  • the first color gamut triangle can be rotated so that each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle, and the transformed third color gamut triangle is obtained .
  • the first color gamut triangle After rotating the first color gamut triangle to obtain the rotated third color gamut triangle, it is also necessary to scale the third color gamut triangle to match the size of the second color gamut triangle, so that the first color gamut triangle can be considered It matches with the second color gamut triangle, that is, the color gamuts of the first display screen and the second display screen match.
  • the embodiment of the present application mainly determines the color gamut adjustment proportional coefficient corresponding to the first color gamut triangle according to the rotated third color gamut triangle and the unrotated first color gamut triangle;
  • the three color gamut triangles are correspondingly scaled to transform the rotated third color gamut triangle into the second color gamut triangle.
  • the color gamut mapping method provided in the embodiment of the present application is applied to a spliced display device; the color gamuts of the multiple display screens in the spliced display device are different.
  • the color gamuts corresponding to all the display screens in the splicing display device are the same, and the colors displayed on different screens are also the same , to improve the unevenness of the picture and the problem that affects the quality of the picture.
  • the first color gamut triangle may include a first red main vertex, a second green main vertex, and a first blue main vertex; while the second color gamut triangle includes a second red main vertex, a second green main vertex and the second blue main vertex. Vertices of different colors can be combined to obtain different color gamut edges.
  • the first color gamut triangle is rotated so that each color gamut edge of the rotated first color gamut triangle is parallel to the three new color gamut edges of the second color gamut to obtain the transformed third color gamut Triangles, which can include:
  • any one of the first red main vertex, the first green main vertex, and the first blue main vertex and the white point of the color gamut can form a connecting line to rotate different color vertices around the white point of the color gamut , which actually rotates different connection lines around the white point of the color gamut.
  • the first red main vertex, the first green main vertex, and the first blue main vertex are rotated around the white point of the color gamut, so that each color gamut of the rotated first color gamut triangle
  • the sides are parallel to each color gamut edge of the second color gamut triangle to obtain a transformed third color gamut triangle, which may include:
  • the first connecting line is the connecting line between the white point of the color gamut and the first red main vertex
  • the second connecting line is the connecting line between the white point of the color gamut and the second main red vertex
  • the third connecting line is the white of the color gamut The connecting line between the point and the third red main vertex.
  • the fourth connecting line is the connecting line between the white point of the color gamut and the first green main vertex
  • the fifth connecting line is the connecting line between the white point of the color gamut and the second green main vertex
  • the sixth connecting line is the color Connecting line between the domain white point and the third green main vertex.
  • the seventh connecting line is the connecting line between the white point of the color gamut and the first blue main vertex
  • the eighth connecting line is the connecting line between the white point of the color gamut and the second blue main vertex
  • the ninth connecting line is the connecting line between the white point of the gamut and the third blue main vertex.
  • the enclosed area between the third red main vertex, the third blue main vertex and the third green main vertex is the third color gamut triangle.
  • the three main vertices in the first color gamut triangle and the three different connecting lines determined by the color gamut white point are rotated respectively, and rotated to the three main vertices in the second color gamut triangle.
  • the main vertex is in the direction corresponding to the three different connecting lines determined by the white point of the color gamut, and the lengths of the connecting lines before and after rotation are also the same.
  • the third color gamut triangle After rotating to obtain a plurality of different intersection points to obtain the third color gamut triangle, the third color gamut triangle needs to be scaled; specifically, the third color gamut triangle is scaled by adjusting the proportional coefficient according to the color gamut.
  • the flowchart of an embodiment of determining the color gamut adjustment ratio coefficient provided by the embodiment of the present application may include: 31. Calculate the connection between each color vertex in the first color gamut triangle and the color gamut white point The first angle parameter of the line.
  • calculating the first angle parameter of the connecting line between each color vertex in the first color gamut triangle and the white point of the color gamut may include:
  • the first angle parameter includes a first included angle, a second included angle and a third included angle.
  • calculating the first angle parameter of the connecting line between each color vertex in the third color gamut triangle and the white point of the color gamut may include:
  • the second angle parameter includes a fourth included angle, a fifth included angle and a sixth included angle.
  • calculating the color gamut adjustment ratio coefficient of the first color gamut triangle according to the first angle parameter and the second angle parameter may include:
  • the first included angle and the fourth included angle calculate the first color gamut adjustment proportional coefficient; according to the first included angle and the fifth included angle, calculate the second color gamut adjustment proportional coefficient; according to the first included angle and the sixth included angle , to calculate the third color gamut adjustment scale coefficient.
  • the color gamut adjustment ratio coefficient includes a first color gamut adjustment ratio coefficient, a second color gamut adjustment ratio coefficient and a third color gamut adjustment ratio coefficient.
  • the color gamut adjustment proportional coefficients calculated in the embodiments of the present application are calculated for different color vertices respectively, that is, the color gamut adjustment proportional coefficients corresponding to different color vertices are generally different.
  • the color gamut adjustment ratio coefficient may be: second angle parameter/first angle parameter.
  • the third color gamut triangle can be scaled to transform the third color gamut triangle into the second The corresponding size of the gamut triangle.
  • a schematic flowchart of an embodiment of zooming the third color gamut triangle provided in the embodiment of the present application may include:
  • the first color gamut triangle is rotated to obtain the third color gamut triangle, and the color gamut adjustment ratio coefficient is mainly determined by using the third color gamut triangle.
  • a schematic diagram of an embodiment of determining the color gamut coordinates of the target color point in the second color gamut triangle may include:
  • the first color gamut triangle can be split into the first color gamut area, the second color gamut area and the third color gamut area, and the first color gamut area is the second color gamut area.
  • One red main vertex, the white point of color gamut and the enclosed area of the first green main vertex, the second color gamut area is the enclosed area of the first green main vertex, the color gamut white point and the first blue main vertex, the third The color gamut area is the enclosed area of the first blue main vertex, the color gamut white point and the first red main vertex.
  • the target color point is any color point in the first color gamut triangle, that is, any color coordinate point in the first color gamut area, the second color gamut area and the third color gamut area.
  • the linear distance between the target color point and the white point of the color gamut can be determined first; and then the angle between the connecting line between the target color point and the white point of the color gamut and the horizontal line in the preset color coordinate system can be determined.
  • the preset coordinate system is a color coordinate system
  • the color coordinate system is usually composed of mutually perpendicular X-axis, Y-axis and color gamut white point
  • the horizontal line in the embodiment of the present application usually refers to the X-axis. Therefore, determining the angle between the connecting line between the target color point and the white point of the color gamut and the horizontal line in the preset color coordinate system is actually to determine the connecting line between the target color point and the white point of the color gamut, and the X axis in the preset color coordinate system line angle.
  • the color gamut coordinates of the target color point in the second color gamut triangle can be determined.
  • the line angle corresponding to the color point S is ⁇ 1
  • the angle between the surfaces corresponding to the color point S is ⁇ 2.
  • the new plane angle corresponding to the transformed color point can be determined by using the plane angle corresponding to the color point before transformation and the color gamut adjustment ratio coefficient.
  • the color gamut adjustment ratio coefficient depends on the color gamut area where the color point is located. When the color point is in a different color gamut area, the color gamut adjustment ratio coefficient is also different.
  • ⁇ 5 is the angle between the connecting line between any color vertex in the third color gamut triangle and the white point W of the color gamut, and the horizontal line (ie, the X axis).
  • the line angle corresponding to the transformed color point at any point in the first color gamut triangle is, the surface angle corresponding to the changed color point S1 plus, the third color gamut triangle The angle between the connecting line between the target color vertex and the white point of the color gamut and the horizontal line (that is, the X axis).
  • the angle between the planes of the transformed color point S1 is directly determined by the color gamut adjustment ratio coefficient and the plane angle of the color point S before transformation; and the line angle of the transformed color point S1
  • the angle needs to be determined by using the surface angle of the transformed color point S1, and the angle between the connecting line between the target color vertex and the white point of the color gamut in the rotated third color gamut triangle and the horizontal line (that is, the X axis) .
  • the orientation of the new color point can be determined, and the coordinates of the new color point need to be further determined to determine the position of the new color point in the color coordinates.
  • S X and S Y are the xy coordinates corresponding to the new color point S1; and in the embodiment of this application, the distance L between the color point S before transformation and the white point of the color gamut, and the color point after transformation can be used
  • the new plane angle corresponding to S1 determines the coordinates of the new color point S1.
  • 42. Adjust the coordinates of the target color point based on the color gamut coordinates, so that the target color point is transformed into the second color gamut triangle. Since the target color point can be any color coordinate point in the first color gamut triangle, the above method can be used to determine the adjusted color coordinates of each color coordinate point in the first color gamut triangle, and then obtain a new second color domain triangle.
  • the second color gamut triangle is the color gamut triangle obtained after adjusting the first color gamut triangle; the adjusted color gamut triangle matches the original second color gamut triangle.
  • the first color gamut triangle can be R 1 G 1 B 1 , that is, the color gamut triangle formed by the dotted line in Figure 6; and the third color gamut triangle is R 3 G 3 B 3 , that is, the The color gamut triangle formed by the thickened solid line; the second color gamut triangle is R 2 G 2 B 2 , which is the color gamut triangle formed by the thickened solid line in the figure; W is the color gamut white point in the color coordinate system .
  • the first color gamut triangle can be divided into three different areas, including R 1 WG 1 , G 1 WB 1 , and B 1 WR 1 .
  • the first color gamut triangle is actually the first color gamut triangle, including three different color gamut areas; the same is true for the second color gamut triangle and the third color gamut triangle For the domain triangle, it is also a cube structure.
  • ⁇ RG ⁇ G 2 WR 2 / ⁇ G 1 WR 1
  • ⁇ BR ⁇ R 2 WB 2 / ⁇ R 1 WB 1
  • ⁇ GB ⁇ B 2 WG 2 / ⁇ B 1 WG 1 .
  • ⁇ RG , ⁇ BR and ⁇ GB are the color gamut adjustment scale coefficients.
  • the first color gamut triangle needs to be converted into the second color gamut triangle.
  • the color point S is in the R 1 WG 1 region, and the angle ⁇ S corresponding to the color point S is ⁇ SWR 1 .
  • the color point S is adjusted to correspond to the third color gamut triangle. face angle.
  • ⁇ RG is the color gamut adjustment ratio coefficient.
  • ⁇ S'WX is the line angle corresponding to the color point S' in the converted second color gamut triangle
  • ⁇ S' is the surface angle corresponding to the color point S' in the converted second color gamut triangle angle
  • ⁇ R 2 WX is the angle between the connecting line between the second red main vertex R 2 in the second color gamut triangle and the white point W of the color gamut, and the horizontal line.
  • the embodiment of the present application since the display screen displays a color picture formed by mixing three primary colors, the color gamut triangle in the embodiment of the present application is actually a cubic structure formed by three triangles. However, the embodiment of the present application can perform color gamut mapping for any color gamut region of the cube structure shown in FIG. 6 , and the steps of the mapping method remain unchanged.
  • the cube structure in Figure 6 includes three different color gamut areas, namely R 1 WG 1 , G 1 WB 1 , B 1 WR 1 , when the color points are located in different color gamut areas, the color gamut corresponding to the color point
  • the adjustment scale factor is also different.
  • the spliced display device described in the embodiment of this application includes a first display screen and a second display screen with different color gamuts.
  • the splicing display device described in this embodiment The gamut mapping method is also applicable.
  • the embodiment of the present invention also provides a color gamut mapping device, which is applied to a spliced display device.
  • the spliced display device includes a spliced first a display screen and a second display screen, the color gamut of the first display screen corresponds to the first color gamut triangle established in the preset coordinate system, and the color gamut of the second display screen corresponds to the second color gamut triangle established in the preset coordinate system, The color gamut of the first display and the second display are different.
  • FIG. 7 it is a schematic diagram of an embodiment of a color gamut mapping device provided in the embodiment of the present application, which may include:
  • the rotation module 701 is configured to rotate the first color gamut triangle, so that each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle, to obtain the transformed third color domain triangle;
  • a determining module 702 configured to determine a color gamut adjustment ratio coefficient of the first color gamut triangle according to the third color gamut triangle and the first color gamut triangle;
  • the scaling module 703 is configured to adjust the proportional coefficient according to the color gamut, and scale the third color gamut triangle, so that the third color gamut triangle is transformed into the second color gamut triangle, and the color gamuts of the first display screen and the second display screen match.
  • the color gamut mapping device provided in the embodiment of the present application is applied to a spliced display device; the color gamuts of the multiple display screens in the spliced display device are different.
  • the color gamuts corresponding to all the display screens in the splicing display device are the same, and the colors displayed on different screens are also the same , to improve the unevenness of the picture and the problem that affects the quality of the picture.
  • the first color gamut triangle includes a first red main vertex, a first green main vertex, and a first blue main vertex
  • the second color gamut triangle includes a second red main vertex, a second green main vertex vertex as well as a second blue main vertex.
  • the rotation module 701 can specifically be used to: determine the position of the white point of the color gamut in the second display screen; rotate the first red main vertex, the first green main vertex, and the first blue main vertex around the color gamut white point, so that Each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle to obtain a transformed third color gamut triangle.
  • the rotation module 701 can also be specifically configured to: rotate the first connecting line around the white point of the color gamut to the extension line of the second connecting line, and determine that the rotation intersection point is the third triangle of the third color gamut.
  • the length of the first connecting line is the same as the length of the third connecting line
  • the first connecting line is the connecting line between the white point of the color gamut and the first red main vertex
  • the second connecting line is the white point of the color gamut
  • the third connecting line is the connecting line between the white point of the color gamut and the third red main vertex.
  • the fourth connecting line is the connecting line between the white point of the color gamut and the first green main vertex
  • the fifth connecting line is the connecting line between the white point of the color gamut and the second green main vertex
  • the sixth connecting line is the color Connecting line between the domain white point and the third green main vertex
  • the seventh connecting line is the connecting line between the white point of the color gamut and the first blue main vertex
  • the eighth connecting line is the connecting line between the white point of the color gamut and the second blue main vertex
  • the ninth connecting line is the connecting line between the white point of the gamut and the third blue main vertex
  • the enclosed area between the third red main vertex, the third blue main vertex and the third green main vertex is the third color gamut triangle.
  • the determination module 702 can be specifically used to: calculate the first angle parameter of the connecting line between each color vertex in the first color gamut triangle and the color gamut white point; The second angle parameter of the connecting line between each color vertex and the white point of the color gamut; according to the first angle parameter and the second angle parameter, calculate the color gamut adjustment ratio coefficient of the first color gamut triangle.
  • the determining module 702 can also be specifically configured to: determine the first included angle between the first green main vertex, the white point of the color gamut, and the first red main vertex; determine the first red main vertex, the color gamut The second included angle between the white point and the first green main vertex; determine the third included angle between the first red main vertex, the color gamut white point and the first blue main vertex; the first angle parameter includes the first included angle, the second angle and third angle.
  • the determination module 702 can also be specifically configured to: calculate the first included angle between the third blue main vertex, the white point of the color gamut, and the third red main vertex; calculate the third red main vertex, the color The second included angle between the gamut white point and the third green main vertex; calculate the third included angle between the third red main vertex, the color gamut white point and the third blue main vertex; the second angle parameters include the fourth included angle, the first Fifth angle and sixth angle.
  • the determining module 702 can also be specifically configured to: calculate the first color gamut adjustment proportional coefficient according to the first included angle and the fourth included angle; calculate The second color gamut adjustment proportional coefficient; calculate the third color gamut adjustment proportional coefficient according to the first included angle and the sixth included angle; the color gamut adjusted proportional coefficient includes the first color gamut adjusted proportional coefficient, the second color gamut adjusted proportional coefficient and The third color gamut adjustment scale factor.
  • the scaling module 703 can be specifically configured to: take any color point in the first color gamut triangle as the target color point, adjust the proportional coefficient according to the color gamut, and calculate the target color point in the second color gamut Color gamut coordinates in the triangle; adjust the coordinates of the target color point based on the color gamut coordinates, so that the target color point is transformed into the second color gamut triangle.
  • the scaling module 703 can also be specifically used to: calculate the distance between the target color point and the white point of the color gamut; calculate the distance between the target color point and the white point of the color gamut, and the horizontal line in the preset coordinate system Line angle; calculate the surface angle between the color gamut area where the target color point is located and the horizontal area in the preset coordinate system; calculate the color gamut of the target color point in the second color gamut triangle according to the distance, line angle and surface angle coordinate.
  • the embodiment of the present application further provides an electronic device, which integrates any color gamut mapping apparatus provided in the embodiment of the present application.
  • an electronic device which integrates any color gamut mapping apparatus provided in the embodiment of the present application.
  • Figure 8 it shows a schematic structural diagram of the electronic device involved in the embodiment of the present application, specifically:
  • the electronic device may include a processor 801 of one or more processing cores, a memory 802 of one or more computer-readable storage media, a power supply 803, an input unit 804 and other components.
  • a processor 801 of one or more processing cores may include a processor 801 of one or more processing cores, a memory 802 of one or more computer-readable storage media, a power supply 803, an input unit 804 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than those shown in the figure, or combine some components, or arrange different components. in:
  • the processor 801 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 802, and calling the Data, perform various functions of electronic equipment and process data, so as to monitor electronic equipment as a whole.
  • the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 801 .
  • the memory 802 can be used to store software programs and modules, and the processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802 .
  • the memory 802 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of electronic devices, etc.
  • the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the memory 802 may further include a memory controller to provide the processor 801 with access to the memory 802.
  • the electronic device also includes a power supply 803 for supplying power to various components.
  • the power supply 803 can be logically connected to the processor 801 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system.
  • the power supply 803 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
  • the electronic device can also include an input unit 804, which can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • an input unit 804 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
  • the electronic device may also include a display unit, etc., which will not be repeated here.
  • the processor 801 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 will run the executable file stored in the The application program in memory 802, thus realizes various functions, as follows:
  • the first color gamut triangle is rotated so that each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle to obtain a transformed third color gamut triangle; according to the third The color gamut triangle and the first color gamut triangle determine the color gamut adjustment scale coefficient of the first color gamut triangle; according to the color gamut adjustment scale coefficient, the third color gamut triangle is scaled to make the third color gamut triangle transform to the second Gamut triangle, the color gamut of the first display and the second display match.
  • the embodiment of the present application provides a kind of computer-readable storage medium, and this storage medium can comprise: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk etc. .
  • a computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any color gamut mapping method provided by the embodiments of the present application. For example, when a computer program is loaded by a processor, the following steps may be performed:
  • the first color gamut triangle is rotated so that each color gamut edge of the rotated first color gamut triangle is parallel to each color gamut edge of the second color gamut triangle to obtain a transformed third color gamut triangle; according to the third The color gamut triangle and the first color gamut triangle determine the color gamut adjustment scale coefficient of the first color gamut triangle; according to the color gamut adjustment scale coefficient, the third color gamut triangle is scaled to make the third color gamut triangle transform to the second Gamut triangle, the color gamut of the first display and the second display match.
  • each of the above units or structures can be implemented as an independent entity, or can be combined arbitrarily as the same or several entities.
  • each of the above units or structures please refer to the previous method embodiments, here No longer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

本申请实施例提供的色域映射方法及装置,应用于拼接显示装置;该拼接显示装置中的多个显示屏的色域不同。通过将多个显示屏的色域映射到拼接显示装置中的唯一确定的显示屏对应的显示屏中,使得拼接显示装置中的所有显示屏对应的色域相同,进而不同画面显示的颜色也相同,改善画面不均一,影响画面质量的问题。

Description

色域映射方法及装置 技术领域
本发明涉及显示技术领域,具体涉及一种色域映射方法及装置。
背景技术
在目前的拼接显示领域中,不同的拼接屏显示不同的画面,而多个拼接屏显示的画面拼接成一副完整的画面。
技术问题
然而现有拼接屏中,通常将不同种类的显示屏拼接在一起,例如将LED屏幕与LCD屏幕拼接一起显示。然而不同种类的显示屏对应的色域不同,导致人眼观看拼接屏画面时,出现画面不均一的问题,影响画面显示质量。
技术解决方案
本发明实施例提供一种色域映射方法及装置,旨在解决现有技术下的拼接显示面板画面不均一,影响画面显示质量的问题。
第一方面,本申请提供一种色域映射方法,应用于拼接显示装置,所述拼接显示装置包括拼接的第一显示屏和第二显示屏,所述第一显示屏的色域在预设色域坐标系中对应第一色域三角形,所述第二显示屏的色在所述预设色域坐标系中对应第二色域三角形对应在预设坐标系建立的第一色域三角形,所述第二显示屏的色域对应在所述预设坐标系建立的第二色域三角形,所述第一显示屏和第二显示屏的色域不同,所述方法包括:
对所述第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;
根据所述第三色域三角形和所述第一色域三角形,确定所述第一色域三角形的色域调整比例系数;
根据所述色域调整比例系数,对所述第三色域三角形进行比例缩放,使所述第三色域三角形变换至所述第二色域三角形,所述第一显示屏和所述第二显示屏色域匹配。
本实施例中通过将不同的拼接屏对应的不同色域三角形,映射到拼接显示装置中的唯一确定的显示屏中,使得拼接显示装置中的所有显示屏对应的色域相同,进而不同画面显示的颜色也相同,改善画面不均一,影响画面质量的问题。
在一种可能的实施例中,所述第一色域三角形包括第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点,所述第二色域三角形包括第二红色主顶点、第二绿色主顶点以及第二蓝色主顶点;
所述对所述第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形,包括:
确定所述第二显示屏中的色域白点的位置;
将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着所述色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
本实施例中提供一种得到变换后的第三色域三角形的具体方式,通过将第一色域三角形进行旋转,使得第一色域三角形中的三条色域边,与未旋转的第三色域三角形中的三条色域边分别平行,将第一色域三角形映射到第三色域三角形所在的平面中,以通过较少的调整步骤得 到变换后的第三色域三角形。
在一种可能的实施例中,所述将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着所述色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形,包括:
将第一连接线绕着所述色域白点旋转到第二连接线的延长线上,确定旋转交点为所述第三色域三角形的第三红色主顶点,所述第一连接线的长度和第三连接线的长度相同,所述第一连接线为所述色域白点与第一红色主顶点之间的连接线,所述第二连接线为所述色域白点与所述第二红色主顶点之间的连接线,所述第三连接线为所述色域白点与第三红色主顶点之间的连接线;
将第四连接线绕着所述色域白点旋转到第五连接线的延长线上,确定旋转交点为所述第三色域三角形的第三绿色主顶点,所述第四连接线的长度和第六连接线的长度相同,所述第四连接线为所述色域白点与第一绿色主顶点之间的连接线,所述第五连接线为所述色域白点与所述第二绿色主顶点之间的连接线,所述第六连接线为所述色域白点与第三绿色主顶点之间的连接线;
将第七连接线绕着所述色域白点旋转到第八连接线的延长线上,确定旋转交点为所述第三色域三角形的第三蓝色主顶点,所述第七连接线的长度和第九连接线的长度相同,所述第七连接线为所述色域白点与第一蓝色主顶点之间的连接线,所述第八连接线为所述色域白点与所述第二蓝色主顶点之间的连接线,所述第九连接线为所述色域白点与第三蓝色主顶点之间的连接线;
其中,所述第三红色主顶点,所述第三蓝色主顶点和所述第三绿色主顶点之间的围合区域为所述第三色域三角形。
本实施例中进一步通过将第一色域三角形中不同色域顶点与色域白点的连接线进行旋转,且旋转到第三色域三角形中不同色域顶点与色域白点的连接线的延长线上,进而得到第一色域三角形旋转后的三条色域边,通过旋转后的三条色域边确定第一色域三角形旋转后的第二色域三角形,调整方式简单。
在一种可能的实施例中,所述根据所述第三色域三角形和所述第一色域三角形,确定所述第一色域三角形的色域调整比例系数,包括:
计算所述第一色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数;
计算所述第二色域三角形中各颜色顶点与所述色域白点之间的连接线的第二角度参数;
根据所述第一角度参数和所述第二角度参数,计算所述第一色域三角形的色域调整比例系数。
本实施例中通过计算旋转前的第一色域三角形对应的第一角度参数,和旋转后的第二色域三角形的第二角度参数,通过第一角度参数和第二角度参数确定第一色域三角形旋转后的色域调整比例系数,计算方式简单。
在一种可能的实施例中,所述计算所述第一色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数,包括:
确定所述第一绿色主顶点、所述色域白点和所述第一红色主顶点的第一夹角;
确定所述第一红色主顶点、所述色域白点和所述第一绿色主顶点的第二夹角;
确定所述第一红色主顶点、所述色域白点和所述第一蓝色主顶点的第三夹角;
所述第一角度参数包括所述第一夹角、所述第二夹角和所述第三夹角。
本实施例中通过分别计算第一色域三角形中不同顶角对应的角度,以确定第一色域三角形对应的第一角度参数。
在一种可能的实施例中,所述计算所述第三色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数,包括:
计算所述第三蓝色主顶点、所述色域白点和所述第三红色主顶点的第一夹角;
计算所述第三红色主顶点、所述色域白点和所述第三绿色主顶点的第二夹角;
计算所述第三红色主顶点、所述色域白点和所述第三蓝色主顶点的第三夹角;
所述第二角度参数包括所述第四夹角、所述第五夹角和所述第六夹角。
本实施例通过分别计算第三色域三角形中不同顶角对应的角度,以确定第三色域三角形对应的第二角度参数。
在一种可能的实施例中,所述根据所述第一角度参数和所述第二角度参数,计算所述第一色域三角形的色域调整比例系数,包括:
根据所述第一夹角和第四夹角,计算第一色域调整比例系数;
根据所述第一夹角和第五夹角,计算第二色域调整比例系数;
根据所述第一夹角和第六夹角,计算第三色域调整比例系数;
所述色域调整比例系数包括所述第一色域调整比例系数、所述第二色域调整比例系数和所述第三色域调整比例系数。
根据第一色域三角形中每个夹角旋转前后对应的两个角度,分别确定第一色域三角形中每个夹角旋转后对应的不同的色域调整比例系数,以根据色域调整比例系数,调整旋转后的第三色域三角形。
在一种可能的实施例中,所述根据所述色域调整比例系数,对所述第三色域三角形进行比例缩放,使所述第三色域三角形变换至所述第二色域三角形,所述第一显示屏和所述第二显示屏色域匹配,包括:
分别以所述第一色域三角形中任意一个色点为目标色点,根据所述色域调整比例系数,计算所述目标色点在所述第二色域三角形中的色域坐标;
基于所述色域坐标对所述目标色点的坐标进行调整,使得所述目标色点变换到所述第二色域三角形。
根据色域调整比例系数,可以计算第一色域三角形中的色点在第二色域三角形中的色域坐标,进而确定每个第一色域三角形中的所有色点在第二色域三角形中的色域坐标,以将第一色域三角形映射到第二色域三角形,实现第一色域三角形到第二色域三角形的映射,改善了第一显示屏和第二显示屏画面不均一,影响画面质量的问题。
在一种可能的实施例中,所述根据所述色域调整比例系数,计算所述目标色点在所述第二色域三角形的中色域坐标,包括:
计算所述目标色点与所述色域白点的距离;
计算所述目标色点和所述色域白点连接线,与所述预设坐标系中水平线的线夹角;
计算所述目标色点所在色域区域与所述预设坐标系中水平区域的面夹角;
根据所述距离、所述线夹角和所述面夹角,计算所述目标色点在所述第二色域三角形中的色域坐标。
通过计算第一色域三角形中目标色点与色域白点的距离,以及确定目标色点对应的线夹角和面夹角,进而计算出目标色点在第二色域三角形中的色域坐标。
在一种可能的实施例中,所述预设坐标系由互相垂直的X轴、Y轴以及所述色域白点组成,所述预设坐标系中水平线为所述X轴;所述计算所述目标色点和所述色域白点连接线,与所述预设坐标系中水平线的线夹角,包括确定所述目标色点与所述色域白点连接线,与所述预设坐标系中X轴的线夹角。
该实施例进一步确定了线夹角是目标色点与色域白点连接线,与预设坐标系中X轴的线夹角。第二方面,本申请实施例提供一种色域映射装置,应用于拼接显示装置,所述拼接显示装置包括拼接的第一显示屏和第二显示屏,所述第一显示屏的色域对应在预设坐标系建立的第一色域三角形,所述第二显示屏的色域对应在所述预设坐标系建立的第二色域三角形,所述第一显示屏和第二显示屏的色域不同,所述装置包括:
旋转模块,用于对所述第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;
确定模块,用于根据所述第三色域三角形和所述第一色域三角形,确定所述第一色域三角形的色域调整比例系数;
缩放模块,用于根据所述色域调整比例系数,对所述第三色域三角形进行比例缩放,使所述第三色域三角形变换至所述第二色域三角形,所述第一显示屏和所述第二显示屏色域匹配。在一种可能的实施例中,所述第一色域三角形包括第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点,所述第二色域三角形包括第二红色主顶点、第二绿色主顶点以及第二蓝色主顶点;所述旋转模块用于:
确定所述第二显示屏中的色域白点的位置;
将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着所述色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
本实施例中提供一种得到变换后的第三色域三角形的具体方式,通过将第一色域三角形进行旋转,使得第一色域三角形中的三条色域边,与未旋转的第三色域三角形中的三条色域边分别平行,将第一色域三角形映射到第三色域三角形所在的平面中,以通过较少的调整步骤得到变换后的第三色域三角形。
在一种可能的实施例中,所述旋转模块用于:
将第一连接线绕着所述色域白点旋转到第二连接线的延长线上,确定旋转交点为所述第三色域三角形的第三红色主顶点,所述第一连接线的长度和第三连接线的长度相同,所述第一连接线为所述色域白点与第一红色主顶点之间的连接线,所述第二连接线为所述色域白点与所述第二红色主顶点之间的连接线,所述第三连接线为所述色域白点与第三红色主顶点之间的连接线;
将第四连接线绕着所述色域白点旋转到第五连接线的延长线上,确定旋转交点为所述第三色域三角形的第三绿色主顶点,所述第四连接线的长度和第六连接线的长度相同,所述第四连接线为所述色域白点与第一绿色主顶点之间的连接线,所述第五连接线为所述色域白点与所述第二绿色主顶点之间的连接线,所述第六连接线为所述色域白点与第三绿色主顶点之间的连接线;
将第七连接线绕着所述色域白点旋转到第八连接线的延长线上,确定旋转交点为所述第三色域三角形的第三蓝色主顶点,所述第七连接线的长度和第九连接线的长度相同,所述第七连接线为所述色域白点与第一蓝色主顶点之间的连接线,所述第八连接线为所述色域白点与所述第二蓝色主顶点之间的连接线,所述第九连接线为所述色域白点与第三蓝色主顶点之间的连接线;
其中,所述第三红色主顶点,所述第三蓝色主顶点和所述第三绿色主顶点之间的围合区域为所述第三色域三角形。
本实施例中进一步通过将第一色域三角形中不同色域顶点与色域白点的连接线进行旋转,且旋转到第三色域三角形中不同色域顶点与色域白点的连接线的延长线上,进而得到第一色域三角形旋转后的三条色域边,通过旋转后的三条色域边确定第一色域三角形旋转后的第二色域三角形,调整方式简单。
在一种可能的实施例中,所述确定模块用于:
计算所述第一色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数;
计算所述第二色域三角形中各颜色顶点与所述色域白点之间的连接线的第二角度参数;
根据所述第一角度参数和所述第二角度参数,计算所述第一色域三角形的色域调整比例系数。
本实施例中通过计算旋转前的第一色域三角形对应的第一角度参数,和旋转后的第二色域三 角形的第二角度参数,通过第一角度参数和第二角度参数确定第一色域三角形旋转后的色域调整比例系数,计算方式简单。
在一种可能的实施例中,所述确定模块用于:
确定所述第一绿色主顶点、所述色域白点和所述第一红色主顶点的第一夹角;
确定所述第一红色主顶点、所述色域白点和所述第一绿色主顶点的第二夹角;
确定所述第一红色主顶点、所述色域白点和所述第一蓝色主顶点的第三夹角;
所述第一角度参数包括所述第一夹角、所述第二夹角和所述第三夹角。
本实施例中通过分别计算第一色域三角形中不同顶角对应的角度,以确定第一色域三角形对应的第一角度参数。
在一种可能的实施例中,所述确定模块用于:
计算所述第三蓝色主顶点、所述色域白点和所述第三红色主顶点的第一夹角;
计算所述第三红色主顶点、所述色域白点和所述第三绿色主顶点的第二夹角;
计算所述第三红色主顶点、所述色域白点和所述第三蓝色主顶点的第三夹角;
所述第二角度参数包括所述第四夹角、所述第五夹角和所述第六夹角。
本实施例通过分别计算第三色域三角形中不同顶角对应的角度,以确定第三色域三角形对应的第二角度参数。
在一种可能的实施例中,所述确定模块用于:
根据所述第一夹角和第四夹角,计算第一色域调整比例系数;
根据所述第一夹角和第五夹角,计算第二色域调整比例系数;
根据所述第一夹角和第六夹角,计算第三色域调整比例系数;
所述色域调整比例系数包括所述第一色域调整比例系数、所述第二色域调整比例系数和所述第三色域调整比例系数。
根据第一色域三角形中每个夹角旋转前后对应的两个角度,分别确定第一色域三角形中每个夹角旋转后对应的不同的色域调整比例系数,以根据色域调整比例系数,调整旋转后的第三色域三角形。
在一种可能的实施例中,所述缩放模块用于:
分别以所述第一色域三角形中任意一个色点为目标色点,根据所述色域调整比例系数,计算所述目标色点在所述第二色域三角形中的色域坐标;
基于所述色域坐标对所述目标色点的坐标进行调整,使得所述目标色点变换到所述第二色域三角形。
根据色域调整比例系数,可以计算第一色域三角形中的色点在第二色域三角形中的色域坐标,进而确定每个第一色域三角形中的所有色点在第二色域三角形中的色域坐标,以将第一色域三角形映射到第二色域三角形,实现第一色域三角形到第二色域三角形的映射,改善了第一显示屏和第二显示屏画面不均一,影响画面质量的问题。
在一种可能的实施例中,所述缩放模块用于:
计算所述目标色点与所述色域白点的距离;
计算所述目标色点和所述色域白点连接线,与所述预设坐标系中水平线的线夹角;
计算所述目标色点所在色域区域与所述预设坐标系中水平区域的面夹角;
根据所述距离、所述线夹角和所述面夹角,计算所述目标色点在所述第二色域三角形中的色域坐标。
通过计算第一色域三角形中目标色点与色域白点的距离,以及确定目标色点对应的线夹角和面夹角,进而计算出目标色点在第二色域三角形中的色域坐标。
在一种可能的实施例中,所述预设坐标系由互相垂直的X轴、Y轴以及所述色域白点组成,所述预设坐标系中水平线为所述X轴;所述缩放模块用于:确定所述目标色点与所述色域白 点连接线,与所述预设坐标系中X轴的线夹角。
该实施例进一步确定了线夹角是目标色点与色域白点连接线,与预设坐标系中X轴的线夹角。
有益效果
本发明实施例提供一种色域映射方法及装置,应用于拼接显示装置;该拼接显示装置中的多个显示屏的色域不同。通过将多个显示屏的色域映射到拼接显示装置中的唯一确定的显示屏对应的显示屏中,使得拼接显示装置中的所有显示屏对应的色域相同,进而不同画面显示的颜色也相同,改善画面不均一,影响画面质量的问题。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例所提供的色域映射系统的场景示意图;
图2为本申请实施例提供的色域映射方法一实施例流程示意图;
图3为本申请实施例提供的确定色域调整比例系数一实施例流程示意图;
图4为本申请实施例提供的缩放第三色域三角形一实施例流程示意图;
图5为本申请实施例提供的确定目标色点在第二色域三角形中的色域坐标一实施例示意图;
图6为本申请实施例提供的色坐标系一实施例示意图;
图7为本申请实施例提供的色域映射装置一实施例示意图;
图8其示出了本申请实施例所涉及的电子设备的结构示意图。
本发明的实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本发明,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本发明。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本发明的描述变得晦涩。因此,本发明并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。
需要说明的是,本申请实施例方法由于是在电子设备中执行,各电子设备的处理对象均以数据或信息的形式存在,例如时间,实质为时间信息,可以理解的是,后续实施例中若提及尺 寸、数量、位置等,均为对应的数据存在,以便电子设备进行处理,具体此处不作赘述。本发明实施例提供一种色域映射方法及装置。以下分别进行详细说明。
请参阅图1,图1为本申请实施例所提供的色域映射系统的场景示意图,该色域映射系统可以包括电子设备100,电子设备100中集成有色域映射装置,如图1中的电子设备。
本申请实施例中,该电子设备100可以是独立的服务器,也可以是服务器组成的服务器网络或服务器集群,例如,本申请实施例中所描述的电子设备100,其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云服务器。其中,云服务器由基于云计算(Cloud Computing)的大量计算机或网络服务器构成。
本领域技术人员可以理解,图1中示出的应用环境,仅仅是本申请方案一种应用场景,并不构成对本申请方案应用场景的限定,其他的应用环境还可以包括比图1中所示更多或更少的电子设备,例如图1中仅示出1个电子设备,可以理解的,该色域映射系统还可以包括一个或多个其他服务器,具体此处不作限定。
另外,如图1所示,该色域映射系统还可以包括存储器200,用于存储数据。
需要说明的是,图1所示的色域映射系统的场景示意图仅仅是一个示例,本申请实施例描述的色域映射系统以及场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着色域映射系统的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请实施例提供的色域映射方法应用于拼接显示装置,而拼接显示装置开业包括拼接的第一显示屏和第二显示屏。可以对第一显示屏和第二显示屏中的像素建立色域坐标系,并将第一显示屏和第二显示屏中的像素映射到色域坐标系中,得到第一显示屏对应的第一色域三角形和第二显示屏对应的第二色域三角形。
如图2所示,为本申请实施例提供的色域映射方法一实施例流程示意图,可以包括:
21、对第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和第二色域三角形的各条色域边平行,得到旋转后的第三色域三角形。
虽然第一显示屏对应的第一色域三角形和第二显示屏对应的第二色域三角形,同时存在与预设的色域坐标系中,但第一色域三角形和第二色域三角形对应的色域是不同的。而本申请实施例需要将第一色域三角形和第二色域三角形进行统一,使得第一显示屏和第二显示屏可以显示相同色域中的颜色,避免显示画面不均,影响显示效果的问题。
其中,色域坐标系中包括一个色域白点,以及两条不同的坐标轴,分别为X轴和Y轴。且需要说明的是,色域坐标系通常仅包括X轴和Y轴;但由于显示屏显示的彩色画面通常为三原色组成,因此显示屏对应的色域是三个色域区域。
本申请实施例中的第一色域三角形和第二色域三角形都对应多个不同的色域边,首先需要将第一色域三角形中的色域边,和第二色域三角形的色域边调整为平行状态。
具体的,可以旋转第一色域三角形,以使得旋转后的第一色域三角形的各条色域边和第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
22、根据第三色域三角形和第一色域三角形,确定第一色域三角形的色域调整比例系数。
23、根据色域调整比例系数,对第三色域三角形进行比例缩放,使第三色域三角形变换至第二色域三角形,第一显示屏和第二显示屏色域匹配。
在将第一色域三角形进行旋转,得到旋转后的第三色域三角形后,还需要将第三色域三角形缩放到与第二色域三角形匹配的大小,这是才能认为第一色域三角形和第二色域三角形匹配,即第一显示屏和第二显示屏的色域匹配。
本申请实施例主要是根据旋转后的第三色域三角形和未旋转前的第一色域三角形,确定第一色域三角形对应的色域调整比例系数;并根据色域调整比例系数,对第三色域三角形进行相应的缩放处理,以将旋转得到的第三色域三角形变换至第二色域三角形。
本申请实施例提供的色域映射方法,应用于拼接显示装置;该拼接显示装置中的多个显示屏的色域不同。通过将多个显示屏的色域映射到拼接显示装置中的唯一确定的显示屏对应的显示屏中,使得拼接显示装置中的所有显示屏对应的色域相同,进而不同画面显示的颜色也相同,改善画面不均一,影响画面质量的问题。
在一些实施例中,第一色域三角形可以包括第一红色主顶点、第二绿色主顶点以及第一蓝色主顶点;而第二色域三角形包括第二红色主顶点、第二绿色主顶点和第二蓝色主顶点。不同的颜色顶点之间可以组合得到不同的色域边。
此时,对第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和第二色域三件新的各条色域边平行,得到变换后的第三色域三角形,可以包括:
确定第二显示屏中色域白点的位置;将第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着色域旋转,使旋转后的第一色域三角形各条色域边和第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
具体地,第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点中任意一个颜色顶点和色域白点均可以形成一个连接线,将不同的颜色顶点绕着色域白点进行旋转,实际上也是将不同的连接线绕着色域白点进行旋转。
即在本申请的实施例中,将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形,可以包括:
将第一连接线绕着色域白点旋转到第二连接线的延长线上,确定旋转交点为第三色域三角形的第三红色主顶点;第一连接线和第三连接线的长度相同,第一连接线为色域白点与第一红色主顶点之间的连接线,第二连接线为色域白点与第二红色主顶点之间的连接线,第三连接线为色域白点与第三红色主顶点之间的连接线。
将第四连接线绕着色域白点旋转到第五连接线的延长线上,确定旋转交点为第三色域三角形的第三绿色主顶点,第四连接线的长度和第六连接线的长度相同,第四连接线为色域白点与第一绿色主顶点之间的连接线,第五连接线为色域白点与第二绿色主顶点之间的连接线,第六连接线为色域白点与第三绿色主顶点之间的连接线。
将第七连接线绕着色域白点旋转到第八连接线的延长线上,确定旋转交点为第三色域三角形的第三蓝色主顶点,第七连接线的长度和第九连接线的长度相同,第七连接线为色域白点与第一蓝色主顶点之间的连接线,第八连接线为色域白点与第二蓝色主顶点之间的连接线,第九连接线为色域白点与第三蓝色主顶点之间的连接线。
其中,第三红色主顶点、第三蓝色主顶点和第三绿色主顶点之间的围合区域为第三色域三角形。
在上述实施例中,实际上是将第一色域三角形中的三个主顶点与色域白点确定的三个不同的连接线分别进行旋转,且旋转到第二色域三角形中的三个主顶点与色域白点确定的三个不同的连接线对应的方向上,且旋转前后的连接线的长度也相同。
在旋转得到多个不同的交点以得到第三色域三角形后,还需要对第三色域三角形进行缩放处理;具体的,是根据色域调整比例系数来缩放第三色域三角形。
如图3所示,为本申请实施例提供的确定色域调整比例系数一实施例流程示意图,可以包括:31、计算第一色域三角形中各颜色顶点与色域白点之间的连接线的第一角度参数。
具体地,计算第一色域三角形中各颜色顶点与色域白点之间的连接线的第一角度参数,可以包括:
确定第一绿色主顶点、色域白点和第一红色主顶点的第一夹角;确定第一红色主顶点、色域白点和第一绿色主顶点的第二夹角;确定第一红色主顶点、色域白点和第一蓝色主顶点的第三夹角。
其中,第一角度参数包括第一夹角、第二夹角和第三夹角。
32、计算第二色域三角形中各颜色顶点与色域白点之间的连接线的第二角度参数。
具体地,计算第三色域三角形中各颜色顶点与色域白点之间的连接线的第一角度参数,可以包括:
计算第三蓝色主顶点、色域白点和第三红色主顶点的第一夹角;计算第三红色主顶点、色域白点和第三绿色主顶点的第二夹角;计算第三红色主顶点、色域白点和第三蓝色主顶点的第三夹角。
其中,第二角度参数包括第四夹角、第五夹角和第六夹角。
33、根据第一角度参数和第二角度参数,计算第一色域三角形的色域调整比例系数。
在确定了不同色域三角形中的不同夹角之后,根据第一角度参数和第二角度参数,计算第一色域三角形的色域调整比例系数,可以包括:
根据第一夹角和第四夹角,计算第一色域调整比例系数;根据第一夹角和第五夹角,计算第二色域调整比例系数;根据第一夹角和第六夹角,计算第三色域调整比例系数。
其中,色域调整比例系数包括第一色域调整比例系数、第二色域调整比例系数和第三色域调整比例系数。
需要说明的是,本申请实施例中计算的色域调整比例系数是针对不同的颜色顶点分别进行计算的,即不同的颜色顶点对应的色域调整比例系数通常来说是不同的。在本申请的实施例中,色域调整比例系数可以为:第二角度参数/第一角度参数。
在对第一色域三角形进行旋转,得到第三色域三角形,且计算得到色域调整比例系数后,就可以对第三色域三角形进行比例缩放,以将第三色域三角形变换至第二色域三角形对应的大小。
具体地,如图4所示,为本申请实施例提供的缩放第三色域三角形一实施例流程示意图,可以包括:
41、分别以第一色域三角形中任意一个色点为目标色点,根据色域调整比例系数,计算目标色点在第二色域三角形中的色域坐标。
在本申请的实施例中,将第一色域三角形进行旋转,得到第三色域三角形,主要是利用第三色域三角形确定色域调整比例系数。
如图5所示,为本申请实施例提供的确定目标色点在第二色域三角形中的色域坐标一实施例示意图,可以包括:
51、计算目标色点与色域白点的距离。
52、计算目标色点和色域白点连接线,与预设坐标系中水平线的线夹角。
53、计算目标色点所在色域区域与预设坐标系中水平区域的面夹角。
54、根据距离、线夹角和面夹角,计算目标色点在第二色域三角形中的色域坐标。
在本申请的实施例中,根据色域白点的位置可以将第一色域三角形拆分为第一色域区域,第二色域区域和第三色域区域,第一色域区域为第一红色主顶点、色域白点和第一绿色主顶点的围合区域,第二色域区域为第一绿色主顶点、色域白点和第一蓝色主顶点的围合区域,第三色域区域为第一蓝色主顶点、色域白点和第一红色主顶点的围合区域。
而目标色点是第一色域三角形中任意一个色点,即第一色域区域,第二色域区域和第三色域区域中的任意一个色坐标点。可以先确定目标色点与色域白点之间的直线距离;进而再确定目标色点与色域白点连接线,与预设色坐标系中水平线的线夹角。
通常情况下,预设坐标系为色坐标系,且色坐标系通常是由互相垂直的X轴、Y轴以及色域白点组成;本申请实施例中的水平线通常指X轴。因此确定目标色点与色域白点连接线,与预设色坐标系中水平线的线夹角,实际上是确定目标色点与色域白点连接线,与预设色坐标系中X轴的线夹角。
在上述实施例的基础上,还需要进一步确定目标色点所在的色域区域,以确定目标色点所在的色域区域与预设色坐标系中水平区域的面夹角。
在确定了距离、线夹角和面夹角之后,就可以确定目标色点在第二色域三角形中的色域坐标。具体地,在本申请的一些实施例中,假设第一色域三角形中的任意一色点为S,且色点S与色域白点之间的距离为L,色点S对应的线夹角为θ1,色点S对应的面夹角为θ2。则色点S变换到第二色域三角形中得到的新的色点S1对应的新的面夹角为θ3=θ2*色域调整比例系数。即本申请实施例中,变换后的色点对应的新的面夹角,可以利用变换前的色点对应的面夹角和色域调整比例系数确定。且色域调整比例系数取决于色点所处的色域区域,当色点处于不同的色域区域时,色域调整比例系数也不同。
则色点S变化到第二色域三角形中得到的色点S1对应的新的线夹角为θ4=θ3+θ5。而θ5为第三色域三角形中任意一个颜色顶点与色域白点W之间的连接线,与水平线(即X轴)之间的夹角。
因此,在本申请的实施例中,第一色域三角形中的任意一点变换后的色点对应的线夹角为,变化后的色点S1对应的面夹角加上,第三色域三角形中目标颜色顶点与色域白点之间的连接线与水平线(即X轴)之间的夹角。
这是因为当色点S处于不同的色域三角形中且进行旋转时,不仅是色点S的位置发生了移动,色点S所处的色域区域也发生了移动。因此色点S所处的色域区域与水平面(即水平区域)的相对位置关系发生了变化,即色点S对应的面夹角发生了变化;且色点S与色域白点W的连接线与水平线(即X轴)的角度也发生了变化。
因此在本申请的实施例中,变换后的色点S1的面夹角直接由色域调整比例系数和未变换前的色点S的面夹角确定;而变换后的色点S1的线夹角需要利用变换后的色点S1的面夹角,以及旋转后的第三色域三角形中目标颜色顶点与色域白点之间的连接线与水平线(即X轴)之间的夹角确定。
在确定了新的色点对应的面夹角后,可以确定新的色点所在的方位,还需要进一步确定新的色点的坐标以确定新的色点在色坐标中的位置。
在本申请的实施例中,可以利用以下公式确定变换后的新的色点的坐标:
S X=L/cos∠θ3
S Y=L/sin∠θ3
其中,S X和S Y为新的色点S1对应的xy坐标;而本申请实施例中,可以利用变换前的色点S与色域白点之间的距离L,以及变换后的色点S1对应的新的面夹角确定新的色点S1的坐标。42、基于色域坐标对目标色点的坐标进行调整,使得目标色点变换到第二色域三角形中。由于目标色点可以为第一色域三角形中的任一个色坐标点,所以可以利用上述方法确定第一色域三角形中每一个色坐标点调整后的色坐标,进而得到一个新的第二色域三角形。而第二色域三角形即为第一色域三角形调整后的得到的色域三角形;调整后得到的色域三角形和原本的第二色域三角形匹配。
如图6所示,为本申请实施例提供的色坐标系一实施例示意图。在图6中,第一色域三角形可以为R 1G 1B 1,即图6中的虚线部分形成的色域三角形;而第三色域三角形为R 3G 3B 3,即图中未加粗的实线形成的色域三角形;第二色域三角形为R 2G 2B 2,即图中的加粗的实线形成的色域三角形;W为色坐标系中的色域白点。且可以将第一色域三角形划分为三个不同的区域,包括R 1WG 1、G 1WB 1、B 1WR 1
上述实施例中,将第一色域三角形划分为三个不同的区域,实际上是针对不同的颜色顶点,确定不同的色域三角形。由于显示屏显示的是三原色混合而成的画面,因此第一色域三角形实际上是第一色域三角体,包括三个不同的色域区域;同理对于第二色域三角形和第三色域三角形来说,也是一个立方体结构。
再将WR 1、WG 1、WB 1分别绕着色域白点W进行旋转,旋转到WR 3、WG 3、WB 3的延长线上,得到三个不同的交点R 2、G 2和B 2;分别为R 1、G 1、B 1旋转后的色点。其中,WR 1的长度等于WR 2,而WG 1的长度等于WG 2,WB 1的长度等于WB 3
进一步地,需要分别确定∠G 1WR 1、∠B 1WG 1、∠R 1WB 1、∠G 2WR 2、∠B 2WG 2、∠R 2WB 2等多个角度的度数;以根据这些角度的度数确定每一个区域各自对应的角度缩放系数(即色域调整比例系数)。
其中,θ RG=∠G 2WR 2/∠G 1WR 1,θ BR=∠R 2WB 2/∠R 1WB 1,θ GB=∠B 2WG 2/∠B 1WG 1。θ RG、θ BR和θ GB即为色域调整比例系数。
而不同的区域(或者说不同的颜色顶点)对应不同的色域比例调整系数。本申请实施例中,确定了色域调整系数后,还需要将第一色域三角形转换为第二色域三角形。
具体地,确定第一色域三角形中任意一个色点S对应的色点坐标,进而确定变换前的色点S与色域白点W之间的距离L SW,以及色点S与色域白点W之间的连接线与水平线(即X轴)之间的线夹角∠SWX。此外还需要确定色点S所在的区域,以确定色点S所在的色域区域与水平面之间的面夹角θ S
在一个具体实施例中,色点S在R 1WG 1区域,则色点S对应的面夹角θ S为∠SWR 1,此时可以确定色点S调整到第三色域三角形中所对应的面夹角。具体地,调整后的S’对应的面夹角θ S′可以为∠S′WR 2,具体为θ S′=θ SRG。其中,θ RG即为色域调整比例系数。
在上述实施例中,仅仅是确定了变换后的S’点在第三色域三角形中对应的面夹角,而确定一个色点在坐标系中的具体位置,还需要进一步确定XYZ的坐标数据。
以色点S的坐标为S X,变换后的S’的坐标为S Y,且变换后的S’在R 1WG 1为例:则:
∠S′WX=θ S′+∠R 2WX
S X=L SW/cos∠S′WX
S Y=L SW/sin∠S′WX
其中,∠S′WX为转换后的第二色域三角形中的色点S’对应的线夹角,而θ S′为转换后的 第二色域三角形中的色点S’对应的面夹角;∠R 2WX为第二色域三角形中的第二红色主顶点R 2与色域白点W的连接线,与水平线之间的夹角大小。
请参考图6,对于本申请的实施例来说,由于显示屏显示的是三原色混合形成的彩色画面,因此本申请实施例中的色域三角形实际上是三个三角形形成的立方体结构。但本申请的实施例可以针对图6所示的立方体结构的任意一个色域区域进行色域映射,映射的方法步骤不变。
且图6中的立方体结构包括三个不同的色域区域,分别为R 1WG 1、G 1WB 1、B 1WR 1,当色点位于不同的色域区域时,色点对应的色域调整比例系数也是不同的。
需要说明的是,本申请实施例所描述的拼接显示装置包括色域不同的第一显示屏和第二显示屏,对于包括更多色域不同的显示屏来说,本申请实施例所描述的色域映射方法也同样适用。
更好实施本发明实施例中色域映射方法,在色域映射方法基础之上,本发明实施例中还提供一种色域映射装置,应用于拼接显示装置,拼接显示装置包括拼接的第一显示屏和第二显示屏,第一显示屏的色域对应在预设坐标系建立的第一色域三角形,第二显示屏的色域对应在预设坐标系建立的第二色域三角形,第一显示屏和第二显示屏的色域不同。
如图7所示,为本申请实施例提供的色域映射装置一实施例示意图,可以包括:
旋转模块701,用于对第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;
确定模块702,用于根据第三色域三角形和第一色域三角形,确定第一色域三角形的色域调整比例系数;
缩放模块703,用于根据色域调整比例系数,对第三色域三角形进行比例缩放,使第三色域三角形变换至第二色域三角形,第一显示屏和第二显示屏色域匹配。
本申请实施例提供的色域映射装置,应用于拼接显示装置;该拼接显示装置中的多个显示屏的色域不同。通过将多个显示屏的色域映射到拼接显示装置中的唯一确定的显示屏对应的显示屏中,使得拼接显示装置中的所有显示屏对应的色域相同,进而不同画面显示的颜色也相同,改善画面不均一,影响画面质量的问题。
在本申请的一些实施例中,第一色域三角形包括第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点,第二色域三角形包括第二红色主顶点、第二绿色主顶点以及第二蓝色主顶点。而旋转模块701具体可以用于:确定第二显示屏中的色域白点的位置;将第一红色主顶 点、第一绿色主顶点以及第一蓝色主顶点绕着色域白点旋转,使旋转后的第一色域三角形各条色域边和第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
在本申请的一些实施例中,旋转模块701具体还可以用于:将第一连接线绕着色域白点旋转到第二连接线的延长线上,确定旋转交点为第三色域三角形的第三红色主顶点,第一连接线的长度和第三连接线的长度相同,第一连接线为色域白点与第一红色主顶点之间的连接线,第二连接线为色域白点与第二红色主顶点之间的连接线,第三连接线为色域白点与第三红色主顶点之间的连接线。
将第四连接线绕着色域白点旋转到第五连接线的延长线上,确定旋转交点为第三色域三角形的第三绿色主顶点,第四连接线的长度和第六连接线的长度相同,第四连接线为色域白点与第一绿色主顶点之间的连接线,第五连接线为色域白点与第二绿色主顶点之间的连接线,第六连接线为色域白点与第三绿色主顶点之间的连接线;
将第七连接线绕着色域白点旋转到第八连接线的延长线上,确定旋转交点为第三色域三角形的第三蓝色主顶点,第七连接线的长度和第九连接线的长度相同,第七连接线为色域白点与第一蓝色主顶点之间的连接线,第八连接线为色域白点与第二蓝色主顶点之间的连接线,第九连接线为色域白点与第三蓝色主顶点之间的连接线;
其中,第三红色主顶点,第三蓝色主顶点和第三绿色主顶点之间的围合区域为第三色域三角形。
在本申请的一些实施例中,确定模块702具体可以用于:计算第一色域三角形中各颜色顶点与色域白点之间的连接线的第一角度参数;计算第二色域三角形中各颜色顶点与色域白点之间的连接线的第二角度参数;根据第一角度参数和第二角度参数,计算第一色域三角形的色域调整比例系数。
在本申请的一些实施例中,确定模块702具体还可以用于:确定第一绿色主顶点、色域白点和第一红色主顶点的第一夹角;确定第一红色主顶点、色域白点和第一绿色主顶点的第二夹角;确定第一红色主顶点、色域白点和第一蓝色主顶点的第三夹角;第一角度参数包括第一夹角、第二夹角和第三夹角。
在本申请的一些实施例中,确定模块702具体还可以用于:计算第三蓝色主顶点、色域白点和第三红色主顶点的第一夹角;计算第三红色主顶点、色域白点和第三绿色主顶点的第二夹角;计算第三红色主顶点、色域白点和第三蓝色主顶点的第三夹角;第二角度参数包括第四夹角、第五夹角和第六夹角。
在本申请的一些实施例中,确定模块702具体还可以用于:根据第一夹角和第四夹角,计算第一色域调整比例系数;根据第一夹角和第五夹角,计算第二色域调整比例系数;根据第一夹角和第六夹角,计算第三色域调整比例系数;色域调整比例系数包括第一色域调整比例系数、第二色域调整比例系数和第三色域调整比例系数。
在本申请的一些实施例中,缩放模块703具体可以用于:分别以第一色域三角形中任意一个色点为目标色点,根据色域调整比例系数,计算目标色点在第二色域三角形中的色域坐标;基于色域坐标对目标色点的坐标进行调整,使得目标色点变换到第二色域三角形。
在本申请的一些实施例中,缩放模块703具体还可以用于:计算目标色点与色域白点的距离;计算目标色点和色域白点连接线,与预设坐标系中水平线的线夹角;计算目标色点所在色域区域与预设坐标系中水平区域的面夹角;根据距离、线夹角和面夹角,计算目标色点在第二色域三角形中的色域坐标。
本申请实施例还提供一种电子设备,其集成了本申请实施例所提供的任一种色域映射装置。如图8所示,其示出了本申请实施例所涉及的电子设备的结构示意图,具体来讲:
该电子设备可以包括一个或者一个以上处理核心的处理器801、一个或一个以上计算机可读存储介质的存储器802、电源803和输入单元804等部件。本领域技术人员可以理解,图中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
处理器801是该电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器802内的软件程序和/或模块,以及调用存储在存储器802内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器801可包括一个或多个处理核心;优选的,处理器801可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器801中。
存储器802可用于存储软件程序以及模块,处理器801通过运行存储在存储器802的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器802可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器802可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器802还可以包括 存储器控制器,以提供处理器801对存储器802的访问。
电子设备还包括给各个部件供电的电源803,优选的,电源803可以通过电源管理系统与处理器801逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源803还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
该电子设备还可包括输入单元804,该输入单元804可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。
尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,电子设备中的处理器801会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器802中,并由处理器801来运行存储在存储器802中的应用程序,从而实现各种功能,如下:
对第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;根据第三色域三角形和第一色域三角形,确定第一色域三角形的色域调整比例系数;根据色域调整比例系数,对第三色域三角形进行比例缩放,使第三色域三角形变换至第二色域三角形,第一显示屏和第二显示屏色域匹配。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。
为此,本申请实施例提供一种计算机可读存储介质,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。其上存储有计算机程序,计算机程序被处理器进行加载,以执行本申请实施例所提供的任一种色域映射方法中的步骤。例如,计算机程序被处理器进行加载可以执行如下步骤:
对第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;根据第三色域三角形和第一色域三角形,确定第一色域三角形的色域调整比例系数;根据色域调整比例系数,对第三色域三角形进行比例缩放,使第三色域三角形变换至第二色域三角形,第一显示屏和第二显示屏色域匹配。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。
具体实施时,以上各个单元或结构可以作为独立的实体来实现,也可以进行任意组合, 作为同一或若干个实体来实现,以上各个单元或结构的具体实施可参见前面的方法实施例,在此不再赘述。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
以上对本发明实施例所提供的一种色域映射方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种色域映射方法,其中,应用于拼接显示装置,所述拼接显示装置包括拼接的第一显示屏和第二显示屏,所述第一显示屏的色域在预设色域坐标系中对应第一色域三角形,所述第二显示屏的色在所述预设色域坐标系中对应第二色域三角形对应在预设坐标系建立的第一色域三角形,所述第二显示屏的色域对应在所述预设坐标系建立的第二色域三角形,所述第一显示屏和第二显示屏的色域不同,所述方法包括:
    对所述第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;
    根据所述第三色域三角形和所述第一色域三角形,确定所述第一色域三角形的色域调整比例系数;
    根据所述色域调整比例系数,对所述第三色域三角形进行比例缩放,使所述第三色域三角形变换至所述第二色域三角形,所述第一显示屏和所述第二显示屏色域匹配。
  2. 根据权利要求1所述的色域映射方法,其中,所述第一色域三角形包括第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点,所述第二色域三角形包括第二红色主顶点、第二绿色主顶点以及第二蓝色主顶点;
    所述对所述第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形,包括:确定所述第二显示屏中的色域白点的位置;
    将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着所述色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
  3. 根据权利要求2所述的色域映射方法,其中,所述将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着所述色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形,包括:
    将第一连接线绕着所述色域白点旋转到第二连接线的延长线上,确定旋转交点为所述第三色域三角形的第三红色主顶点,所述第一连接线的长度和第三连接线的长度相同,所述第一连接线为所述色域白点与第一红色主顶点之间的连接线,所述第二连接线为所述色域白点与所述第二红色主顶点之间的连接线,所述第三连接线为所述色域白点与第三红色主顶点之间的连接线;
    将第四连接线绕着所述色域白点旋转到第五连接线的延长线上,确定旋转交点为所述第三色域三角形的第三绿色主顶点,所述第四连接线的长度和第六连接线的长度相同,所述第四连接线为所述色域白点与第一绿色主顶点之间的连接线,所述第五连接线为所述色域白点与所述第二绿色主顶点之间的连接线,所述第六连接线为所述色域白点与第三绿色主顶点之间的连接线;
    将第七连接线绕着所述色域白点旋转到第八连接线的延长线上,确定旋转交点为所述第三色域三角形的第三蓝色主顶点,所述第七连接线的长度和第九连接线的长度相同,所述第七连接线为所述色域白点与第一蓝色主顶点之间的连接线,所述第八连接线为所述色域白点与所述第二蓝色主顶点之间的连接线,所述第九连接线为所述色域白点与第三蓝色主顶点之间的连接线;
    其中,所述第三红色主顶点,所述第三蓝色主顶点和所述第三绿色主顶点之间的 围合区域为所述第三色域三角形。
  4. 根据权利要求3所述的色域映射方法,其中,所述根据所述第三色域三角形和所述第一色域三角形,确定所述第一色域三角形的色域调整比例系数,包括:
    计算所述第一色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数;
    计算所述第二色域三角形中各颜色顶点与所述色域白点之间的连接线的第二角度参数;
    根据所述第一角度参数和所述第二角度参数,计算所述第一色域三角形的色域调整比例系数。
  5. 根据权利要求4所述的色域映射方法,其中,所述计算所述第一色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数,包括:
    确定所述第一绿色主顶点、所述色域白点和所述第一红色主顶点的第一夹角;
    确定所述第一红色主顶点、所述色域白点和所述第一绿色主顶点的第二夹角;
    确定所述第一红色主顶点、所述色域白点和所述第一蓝色主顶点的第三夹角;
    所述第一角度参数包括所述第一夹角、所述第二夹角和所述第三夹角。
  6. 根据权利要求5所述的色域映射方法,其中,所述计算所述第三色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数,包括:
    计算所述第三蓝色主顶点、所述色域白点和所述第三红色主顶点的第一夹角;
    计算所述第三红色主顶点、所述色域白点和所述第三绿色主顶点的第二夹角;
    计算所述第三红色主顶点、所述色域白点和所述第三蓝色主顶点的第三夹角;
    所述第二角度参数包括所述第四夹角、所述第五夹角和所述第六夹角。
  7. 根据权利要求6所述的色域映射方法,其中,所述根据所述第一角度参数和所述第二角度参数,计算所述第一色域三角形的色域调整比例系数,包括:
    根据所述第一夹角和第四夹角,计算第一色域调整比例系数;
    根据所述第一夹角和第五夹角,计算第二色域调整比例系数;
    根据所述第一夹角和第六夹角,计算第三色域调整比例系数;
    所述色域调整比例系数包括所述第一色域调整比例系数、所述第二色域调整比例系数和所述第三色域调整比例系数。
  8. 根据权利要求7所述的色域映射方法,其中,所述根据所述色域调整比例系数,对所述第三色域三角形进行比例缩放,使所述第三色域三角形变换至所述第二色域三角形,所述第一显示屏和所述第二显示屏色域匹配,包括:
    分别以所述第一色域三角形中任意一个色点为目标色点,根据所述色域调整比例系数,计算所述目标色点在所述第二色域三角形中的色域坐标;
    基于所述色域坐标对所述目标色点的坐标进行调整,使得所述目标色点变换到所述第二色域三角形。
  9. 根据权利要求8所述的色域映射方法,其中,所述根据所述色域调整比例系数,计算所述目标色点在所述第二色域三角形的中色域坐标,包括:
    计算所述目标色点与所述色域白点的距离;
    计算所述目标色点和所述色域白点连接线,与所述预设坐标系中水平线的线夹角;
    计算所述目标色点所在色域区域与所述预设坐标系中水平区域的面夹角;
    根据所述距离、所述线夹角和所述面夹角,计算所述目标色点在所述第二色域三角形中的色域坐标。
  10. 根据权利要求9所述的色域映射方法,其中,所述预设坐标系由互相垂直的X轴、Y轴以及所述色域白点组成,所述预设坐标系中水平线为所述X轴;所述 计算所述目标色点和所述色域白点连接线,与所述预设坐标系中水平线的线夹角,包括确定所述目标色点与所述色域白点连接线,与所述预设坐标系中X轴的线夹角。
  11. 一种色域映射装置,其中,应用于拼接显示装置,所述拼接显示装置包括拼接的第一显示屏和第二显示屏,所述第一显示屏的色域对应在预设坐标系建立的第一色域三角形,所述第二显示屏的色域对应在所述预设坐标系建立的第二色域三角形,所述第一显示屏和第二显示屏的色域不同,所述装置包括:
    旋转模块,用于对所述第一色域三角形进行旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形;
    确定模块,用于根据所述第三色域三角形和所述第一色域三角形,确定所述第一色域三角形的色域调整比例系数;
    缩放模块,用于根据所述色域调整比例系数,对所述第三色域三角形进行比例缩放,使所述第三色域三角形变换至所述第二色域三角形,所述第一显示屏和所述第二显示屏色域匹配。
  12. 根据权利要求11所述的色域映射装置,其中,所述第一色域三角形包括第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点,所述第二色域三角形包括第二红色主顶点、第二绿色主顶点以及第二蓝色主顶点;所述旋转模块用于:
    确定所述第二显示屏中的色域白点的位置;
    将所述第一红色主顶点、第一绿色主顶点以及第一蓝色主顶点绕着所述色域白点旋转,使旋转后的第一色域三角形各条色域边和所述第二色域三角形的各条色域边平行,得到变换后的第三色域三角形。
  13. 根据权利要求12所述的色域映射装置,其中,所述旋转模块用于:
    将第一连接线绕着所述色域白点旋转到第二连接线的延长线上,确定旋转交点为所述第三色域三角形的第三红色主顶点,所述第一连接线的长度和第三连接线的长度相同,所述第一连接线为所述色域白点与第一红色主顶点之间的连接线,所述第二连接线为所述色域白点与所述第二红色主顶点之间的连接线,所述第三连接线为所述色域白点与第三红色主顶点之间的连接线;
    将第四连接线绕着所述色域白点旋转到第五连接线的延长线上,确定旋转交点为所述第三色域三角形的第三绿色主顶点,所述第四连接线的长度和第六连接线的长度相同,所述第四连接线为所述色域白点与第一绿色主顶点之间的连接线,所述第五连接线为所述色域白点与所述第二绿色主顶点之间的连接线,所述第六连接线为所述色域白点与第三绿色主顶点之间的连接线;
    将第七连接线绕着所述色域白点旋转到第八连接线的延长线上,确定旋转交点为所述第三色域三角形的第三蓝色主顶点,所述第七连接线的长度和第九连接线的长度相同,所述第七连接线为所述色域白点与第一蓝色主顶点之间的连接线,所述第八连接线为所述色域白点与所述第二蓝色主顶点之间的连接线,所述第九连接线为所述色域白点与第三蓝色主顶点之间的连接线;
    其中,所述第三红色主顶点,所述第三蓝色主顶点和所述第三绿色主顶点之间的围合区域为所述第三色域三角形。
  14. 根据权利要求13所述的色域映射装置,其中,所述确定模块用于:
    计算所述第一色域三角形中各颜色顶点与所述色域白点之间的连接线的第一角度参数;
    计算所述第二色域三角形中各颜色顶点与所述色域白点之间的连接线的第二角 度参数;
    根据所述第一角度参数和所述第二角度参数,计算所述第一色域三角形的色域调整比例系数。
  15. 根据权利要求14所述的色域映射装置,其中,所述确定模块用于:
    确定所述第一绿色主顶点、所述色域白点和所述第一红色主顶点的第一夹角;
    确定所述第一红色主顶点、所述色域白点和所述第一绿色主顶点的第二夹角;
    确定所述第一红色主顶点、所述色域白点和所述第一蓝色主顶点的第三夹角;
    所述第一角度参数包括所述第一夹角、所述第二夹角和所述第三夹角。
  16. 根据权利要求15所述的色域映射装置,其中,所述确定模块用于:
    计算所述第三蓝色主顶点、所述色域白点和所述第三红色主顶点的第一夹角;
    计算所述第三红色主顶点、所述色域白点和所述第三绿色主顶点的第二夹角;
    计算所述第三红色主顶点、所述色域白点和所述第三蓝色主顶点的第三夹角;
    所述第二角度参数包括所述第四夹角、所述第五夹角和所述第六夹角。
  17. 根据权利要求16所述的色域映射装置,其中,所述确定模块用于:
    根据所述第一夹角和第四夹角,计算第一色域调整比例系数;
    根据所述第一夹角和第五夹角,计算第二色域调整比例系数;
    根据所述第一夹角和第六夹角,计算第三色域调整比例系数;
    所述色域调整比例系数包括所述第一色域调整比例系数、所述第二色域调整比例系数和所述第三色域调整比例系数。
  18. 根据权利要求17所述的色域映射装置,其中,所述缩放模块用于:
    分别以所述第一色域三角形中任意一个色点为目标色点,根据所述色域调整比例系数,计算所述目标色点在所述第二色域三角形中的色域坐标;
    基于所述色域坐标对所述目标色点的坐标进行调整,使得所述目标色点变换到所述第二色域三角形。
  19. 根据权利要求18所述的色域映射装置,其中,所述缩放模块用于:
    计算所述目标色点与所述色域白点的距离;
    计算所述目标色点和所述色域白点连接线,与所述预设坐标系中水平线的线夹角;
    计算所述目标色点所在色域区域与所述预设坐标系中水平区域的面夹角;
    根据所述距离、所述线夹角和所述面夹角,计算所述目标色点在所述第二色域三角形中的色域坐标。
  20. 根据权利要求19所述的色域映射装置,其中,所述预设坐标系由互相垂直的X轴、Y轴以及所述色域白点组成,所述预设坐标系中水平线为所述X轴;所述缩放模块用于:确定所述目标色点与所述色域白点连接线,与所述预设坐标系中X轴的线夹角。
PCT/CN2021/139708 2021-12-13 2021-12-20 色域映射方法及装置 WO2023108682A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/622,811 US12015885B2 (en) 2021-12-13 2021-12-20 Color gamut mapping method and color gamut mapping device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111523304.2A CN114222103B (zh) 2021-12-13 2021-12-13 色域映射方法及装置
CN202111523304.2 2021-12-13

Publications (1)

Publication Number Publication Date
WO2023108682A1 true WO2023108682A1 (zh) 2023-06-22

Family

ID=80701466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/139708 WO2023108682A1 (zh) 2021-12-13 2021-12-20 色域映射方法及装置

Country Status (3)

Country Link
US (1) US12015885B2 (zh)
CN (1) CN114222103B (zh)
WO (1) WO2023108682A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203802A (ja) * 2005-01-24 2006-08-03 Seiko Epson Corp 色域圧縮装置、色域圧縮方法および色域圧縮処理プログラム
CN101009852A (zh) * 2007-01-19 2007-08-01 广东威创日新电子有限公司 拼接墙颜色管理系统及其控制方法
CN102119532A (zh) * 2008-07-10 2011-07-06 英特尔公司 色域可缩放性技术
US20190147832A1 (en) * 2017-11-13 2019-05-16 Samsung Display Co., Ltd. Method of performing color gamut conversion and display device employing the same
CN110570811A (zh) * 2019-09-11 2019-12-13 宋清海 一种led色域校正方法
CN110728941A (zh) * 2019-09-23 2020-01-24 武汉华星光电技术有限公司 一种色域映射方法及装置
CN113496683A (zh) * 2020-04-01 2021-10-12 敦泰电子股份有限公司 车用显示器的显示调整方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7755817B2 (en) * 2004-12-07 2010-07-13 Chimei Innolux Corporation Color gamut mapping
CN111696479B (zh) * 2019-03-13 2021-08-10 北京小米移动软件有限公司 色域调节方法及装置
CN110989949B (zh) * 2019-11-13 2023-04-11 浙江大华技术股份有限公司 一种异形拼接显示的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203802A (ja) * 2005-01-24 2006-08-03 Seiko Epson Corp 色域圧縮装置、色域圧縮方法および色域圧縮処理プログラム
CN101009852A (zh) * 2007-01-19 2007-08-01 广东威创日新电子有限公司 拼接墙颜色管理系统及其控制方法
CN102119532A (zh) * 2008-07-10 2011-07-06 英特尔公司 色域可缩放性技术
US20190147832A1 (en) * 2017-11-13 2019-05-16 Samsung Display Co., Ltd. Method of performing color gamut conversion and display device employing the same
CN110570811A (zh) * 2019-09-11 2019-12-13 宋清海 一种led色域校正方法
CN110728941A (zh) * 2019-09-23 2020-01-24 武汉华星光电技术有限公司 一种色域映射方法及装置
CN113496683A (zh) * 2020-04-01 2021-10-12 敦泰电子股份有限公司 车用显示器的显示调整方法

Also Published As

Publication number Publication date
US20240031541A1 (en) 2024-01-25
CN114222103A (zh) 2022-03-22
CN114222103B (zh) 2023-07-07
US12015885B2 (en) 2024-06-18

Similar Documents

Publication Publication Date Title
US8398246B2 (en) Real-time projection management
KR102715870B1 (ko) 곡면 표시 패널 및 이를 포함하는 곡면 표시 장치
US9250700B2 (en) System and method for virtual displays
WO2020216085A1 (zh) 四面体插值计算方法及装置、色域转换方法及装置、介质
WO2018205493A1 (zh) 图形绘制方法、装置及设备
CN105430331A (zh) 调整监控图像显示方向的方法和装置
WO2019119621A1 (zh) 投影画面的校正方法、装置以及投影系统
TW201946435A (zh) 視頻牆媒體播放系統、方法及控制伺服器
JP2023549453A (ja) ビデオウォールディスプレイの動画像キャプチャにおける軸外色補正
WO2023173727A1 (zh) 图像处理方法、装置及电子设备
WO2023193639A1 (zh) 图像渲染方法、装置、可读介质及电子设备
WO2023108682A1 (zh) 色域映射方法及装置
CN114783335A (zh) 显示面板色偏改善方法、装置、服务器及存储介质
CN108922426B (zh) 拼接屏组合方法及拼接屏组合系统
US20120326946A1 (en) Three dimensional imaging system
JP2009251273A (ja) マルチディスプレイ方式のコンピュータ・システム
Wang et al. Automatic geometry calibration for multi‐projector display systems with arbitrary continuous curved surfaces
CN115222867A (zh) 重叠检测方法、装置、电子设备和存储介质
CN116418958A (zh) 投影校准方法、装置、电子设备及存储介质
CN113034362A (zh) 一种高速公路隧道监控全景影像拼接方法
US20140354627A1 (en) Rendering a 3d shape
WO2023108777A1 (zh) 拼接显示器驱动方法、装置、服务器及存储介质
WO2020062524A1 (zh) 像素电极单元及显示面板
JP7378865B1 (ja) 三次元オブジェクトの画像を生成する方法及びプログラム
US11978381B2 (en) Orientation-agnostic full-screen user interface displays for electronic devices

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 17622811

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21967814

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE