CN106454301B - A kind of color gamut matching method based on Lxy linear chromas space - Google Patents
A kind of color gamut matching method based on Lxy linear chromas space Download PDFInfo
- Publication number
- CN106454301B CN106454301B CN201610886819.1A CN201610886819A CN106454301B CN 106454301 B CN106454301 B CN 106454301B CN 201610886819 A CN201610886819 A CN 201610886819A CN 106454301 B CN106454301 B CN 106454301B
- Authority
- CN
- China
- Prior art keywords
- color
- color gamut
- point
- gamut
- space
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/642—Multi-standard receivers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/643—Hue control means, e.g. flesh tone control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/77—Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
本发明公开了一种基于Lxy线性色度空间的色域匹配方法,通过色度学模型,在Lxy空间中重新定义了颜色标定的三种维度指标,包括相对亮度、色品方向和饱和度;根据该定义实现色域匹配,大大提高了计算速度与执行效率,有利于硬件编程的可实现性,对存储空间,最高主频等解码硬件参数的要求也更低,同时也保持了传统色域匹配算法白平衡点不漂移的优点。
The invention discloses a color gamut matching method based on the Lxy linear chromaticity space. Through the chromaticity model, three dimensional indicators of color calibration are redefined in the Lxy space, including relative brightness, chromaticity direction and saturation; According to this definition, the color gamut matching is realized, which greatly improves the calculation speed and execution efficiency, is conducive to the realization of hardware programming, and has lower requirements for decoding hardware parameters such as storage space and maximum main frequency, while maintaining the traditional color gamut The advantage of matching algorithm white balance point does not drift.
Description
技术领域technical field
本发明涉及显示器设计领域,具体涉及一种基于Lxy线性色度空间的色域匹配方法。The invention relates to the field of display design, in particular to a color gamut matching method based on Lxy linear chromaticity space.
背景技术Background technique
随着显示技术的不断发展与突破,相较于较早的CRT、LCD等类型的显示器,当下OLED技术、量子点背光技术使得显示设备所能表征的色彩范围大大扩展。然而,在显示效果不断优化,画质不断提高的同时,相同图像内容在不同色域范围显示器上所表现出的差异也越来越大。为了兼容不同显示器件基色、色域等基础属性的不同,色域匹配是最常使用的方法。传统的色域匹配方法是基于Lab色空间的。为了保证在该空间下色相角不变的色域匹配前提,需要大量的复杂运算与数据存储,将显示器的色域在Lab空间中以高密度采样的方式重构并存储,再根据不同的匹配算法进行色彩映射。传统色域匹配算法能够较大程度的保持匹配前后的色品波动,同时白平衡点不会因为匹配而漂移。但复杂的计算过程为实时解码的硬件实现提出了巨大的要求,设计与实现成本很高。With the continuous development and breakthrough of display technology, compared with earlier CRT, LCD and other types of displays, the current OLED technology and quantum dot backlight technology have greatly expanded the range of colors that display devices can represent. However, while the display effect is continuously optimized and the picture quality is continuously improved, the difference in the performance of the same image content on displays with different color gamuts is also increasing. In order to be compatible with different basic properties such as primary colors and color gamuts of different display devices, color gamut matching is the most commonly used method. The traditional color gamut matching method is based on the Lab color space. In order to ensure the premise of color gamut matching with constant hue angle in this space, a large number of complex calculations and data storage are required. The color gamut of the display is reconstructed and stored in the Lab space by high-density sampling, and then according to different matching Algorithm for color mapping. The traditional color gamut matching algorithm can maintain the chromaticity fluctuation before and after matching to a large extent, and at the same time, the white balance point will not drift due to matching. However, the complex calculation process puts forward huge requirements for the hardware implementation of real-time decoding, and the design and implementation costs are very high.
发明内容Contents of the invention
发明目的:为了克服现有技术中存在的不足,本发明提供一种基于Lxy线性色度空间的色域匹配方法,通过色度学模型,在Lxy空间中重新定义了颜色标定的三种维度指标,根据该定义实现色域匹配,计算过程简便,解决了现有技术的不足。Purpose of the invention: In order to overcome the deficiencies in the prior art, the present invention provides a color gamut matching method based on the Lxy linear chromaticity space. Through the chromaticity model, the three dimensional indicators of color calibration are redefined in the Lxy space , the color gamut matching is realized according to the definition, the calculation process is simple, and the deficiency of the prior art is solved.
技术方案:为实现上述目的,本发明采用一种基于Lxy线性色度空间的色域匹配方法,其特征在于,该方法包括以下步骤:Technical solution: In order to achieve the above object, the present invention adopts a color gamut matching method based on Lxy linear chromaticity space, which is characterized in that the method comprises the following steps:
1)在Lxy线性色域空间定义色彩维度;1) Define the color dimension in the Lxy linear color gamut space;
2)映射色坐标点,实现色域匹配。2) Map the color coordinate points to achieve color gamut matching.
进一步的,步骤1)中,所述色彩维度包括三个维度参数,该三个维度参数包括相对亮度、色品方向和饱和度;Further, in step 1), the color dimension includes three dimensional parameters, and the three dimensional parameters include relative brightness, chromaticity direction and saturation;
定义原始色域中,显示器最大亮度为Lomax,原始色域中色彩本身亮度为Lo,则原始色域的相对亮度 In the definition of the original color gamut, the maximum brightness of the display is L omax , and the brightness of the color itself in the original color gamut is L o , then the relative brightness of the original color gamut
定义原始色域中显示的白平衡点色坐标为(xwo,ywo),色彩色坐标为(xo,yo),则该色彩的色品方向为白平衡点到色彩点向量指向的方向;Define the color coordinates of the white balance point displayed in the original color gamut as (x wo , y wo ), and the color coordinates as (x o , y o ), then the chromaticity direction of the color is the direction from the white balance point to the color point vector direction;
定义原始色域中白平衡点沿色品方向与色域边界相交处为饱和度100%的点,色彩饱和度为该点到白平衡点距离与色域边界交点到白平衡点距离的比值。Define the point where the white balance point intersects the color gamut boundary along the chromaticity direction in the original color gamut is a point with 100% saturation, and the color saturation is the ratio of the distance from this point to the white balance point and the intersection point of the color gamut boundary to the white balance point.
进一步的,所述三个维度参数与色彩所在的显示器色域相关联。Further, the three dimensional parameters are associated with the color gamut of the display where the color is located.
进一步的,通过步骤1)中的三个维度参数,将原始色域中的色彩映射到目标色域中与其具有相同表征参数的色坐标点,实现色域匹配。Further, through the three dimensional parameters in step 1), the color in the original color gamut is mapped to the color coordinate point in the target color gamut that has the same characteristic parameters as it, to achieve color gamut matching.
进一步的,若色彩点在原始色域中饱和度为0,则该点的色品方向无需考虑,目标色域的映射点饱和度也应为0,且相对亮度不变。Furthermore, if the saturation of a color point in the original color gamut is 0, the chromaticity direction of the point does not need to be considered, and the saturation of the mapping point of the target color gamut should also be 0, and the relative brightness remains unchanged.
有益效果:本发明公开了一种基于Lxy线性色度空间的色域匹配方法,该方法基于1931CIE色度空间,通过合理的色度学模型,在Lxy空间中重新定义了颜色标定的三种维度指标。在原始色域与目标色域中根据新定义实现颜色的一一映射。这种色域匹配算法相较于传统的在Lab空间中的色域映射,大大提高了计算速度与执行效率,有利于硬件编程的可实现性,对存储空间,最高主频等解码硬件参数的要求也更低,同时也保持了传统色域匹配算法白平衡点不漂移的优点。Beneficial effects: the present invention discloses a color gamut matching method based on Lxy linear chromaticity space. The method is based on 1931CIE chromaticity space, and redefines three dimensions of color calibration in Lxy space through a reasonable chromaticity model index. One-to-one mapping of colors is realized according to the new definition in the original color gamut and the target color gamut. Compared with the traditional color gamut mapping in the Lab space, this color gamut matching algorithm greatly improves the calculation speed and execution efficiency, which is conducive to the realizability of hardware programming, and the storage space, the highest main frequency and other decoding hardware parameters. The requirements are also lower, and at the same time, the advantage of the traditional color gamut matching algorithm that the white balance point does not drift is maintained.
附图说明Description of drawings
图1为色品方向示意图Figure 1 is a schematic diagram of the chromaticity direction
图2为饱和度的取值示意图Figure 2 is a schematic diagram of the value of saturation
图3为色彩坐标点在原始色域色彩点与目标色域映射点在各自色域中相对亮度、色品方向和饱和度示意图Figure 3 is a schematic diagram of the relative brightness, chromaticity direction and saturation of the color coordinate point in the original color gamut color point and the target color gamut mapping point in their respective color gamuts
图4为实施示例中各个色坐标的分布Fig. 4 is the distribution of each color coordinate in the implementation example
具体实施方式Detailed ways
下面结合附图对本发明作更进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
一种基于Lxy线性色度空间的色域匹配方法,其特征在于,该方法包括以下步骤:A color gamut matching method based on Lxy linear chromaticity space, is characterized in that, the method comprises the following steps:
1)在Lxy线性色域空间定义色彩维度;1) Define the color dimension in the Lxy linear color gamut space;
所述色彩维度包括三个维度参数,该三个维度参数包括相对亮度、色品方向和饱和度;上述定义的三个维度参数均与色彩所在的显示器色域相关。即使xy坐标相同的点,在不同色域下三个维度参数也不一定相同。The color dimension includes three dimensional parameters, the three dimensional parameters include relative brightness, chromaticity direction and saturation; the three dimensional parameters defined above are all related to the color gamut of the display where the color is located. Even for points with the same xy coordinates, the three dimensional parameters are not necessarily the same under different color gamuts.
定义原始色域中,显示器最大亮度为Lomax,原始色域中色彩本身亮度为Lo,则原始色域的相对亮度 In the definition of the original color gamut, the maximum brightness of the display is L omax , and the brightness of the color itself in the original color gamut is L o , then the relative brightness of the original color gamut
定义原始色域中显示的白平衡点色坐标为(xwo,ywo),色彩色坐标为(xo,yo),则该色彩的色品方向为白平衡点到色彩点向量指向的方向;向量如图1所示。Define the color coordinates of the white balance point displayed in the original color gamut as (x wo , y wo ), and the color coordinates as (x o , y o ), then the chromaticity direction of the color is the direction from the white balance point to the color point vector Direction; Vector as shown in Figure 1.
定义原始色域中白平衡点沿色品方向与色域边界相交处为饱和度100%的点,色彩饱和度为该点到白平衡点距离与色域边界交点到白平衡点距离的比值。计算该比值的取值,如图2所示。Define the point where the white balance point intersects the color gamut boundary along the chromaticity direction in the original color gamut is a point with 100% saturation, and the color saturation is the ratio of the distance from this point to the white balance point and the intersection point of the color gamut boundary to the white balance point. Calculate the value of the ratio, as shown in Figure 2.
2)映射色坐标点,实现色域匹配。2) Map the color coordinate points to achieve color gamut matching.
进一步的,通过步骤1)中的三个维度参数,将原始色域中的色彩映射到目标色域中与其具有相同表征参数的色坐标点,实现色域匹配。Further, through the three dimensional parameters in step 1), the color in the original color gamut is mapped to the color coordinate point in the target color gamut that has the same characteristic parameters as it, to achieve color gamut matching.
即互相映射的色彩坐标点中,原始色域色彩点(xo,yo)与目标色域映射点(xt,yt)在各自色域中具有相同的相对亮度、色品方向和饱和度,如图3所示。若色彩点在原始色域中饱和度为0,则该点的色品方向无需考虑,目标色域的映射点饱和度也应为0,且相对亮度不变。That is, among the color coordinate points mapped to each other, the original color gamut color point (x o , y o ) and the target color gamut mapping point (x t , y t ) have the same relative brightness, chromaticity direction and saturation in their respective color gamuts degrees, as shown in Figure 3. If the saturation of a color point is 0 in the original color gamut, the chromaticity direction of the point does not need to be considered, and the saturation of the mapping point of the target color gamut should also be 0, and the relative brightness remains unchanged.
具体实施例:Specific examples:
仿真环境为两台三基色与白平衡点色坐标均不相同的显示器,两台显示器的gamma值均为2.2,其具体色域分布如下:The simulation environment is two monitors with different color coordinates of the three primary colors and the white balance point. The gamma values of the two monitors are both 2.2. The specific color gamut distribution is as follows:
原始色域中:In original color gamut:
原始红基色(xro,yro)=(0.64,0.33);Original red primary color (x ro , y ro )=(0.64,0.33);
原始绿基色(xgo,ygo)=(0.30,0.60);Original green primary color (x go , y go )=(0.30,0.60);
原始蓝基色(xbo,ybo)=(0.15,0.06);Original blue primary color (x bo , y bo )=(0.15,0.06);
原始白平衡(xwo,ywo)=(0.3127,0.329);Original white balance (x wo , y wo ) = (0.3127, 0.329);
目标色域中:In target color gamut:
目标红基色(xrt,yrt)=(0.67,0.33);Target red primary color (x rt , y rt )=(0.67,0.33);
目标绿基色(xgt,ygt)=(0.21,0.71);Target green primary color (x gt , y gt )=(0.21,0.71);
目标蓝基色(xbt,ybt)=(0.14,0.08);Target blue base color (x bt , y bt )=(0.14,0.08);
目标白平衡(xwt,ywt)=(0.31,0.316)。Target white balance (x wt , y wt )=(0.31, 0.316).
某像素点P灰阶组合为[128,234,65],则该点色坐标为(xs,ys)=(0.333,0.5408),原始色域中相对亮度lo=0.6422。The grayscale combination of a certain pixel point P is [128,234,65], then the color coordinates of this point are (x s , y s )=(0.333,0.5408), and the relative brightness l o in the original color gamut =0.6422.
该点的色品方向为白平衡点到色彩点向量指向的方向,具体的,即向量[0.0203,0.2118]表征的方向。The chromaticity direction of this point is the direction pointed by the vector from the white balance point to the color point, specifically, the direction represented by the vector [0.0203,0.2118].
该色品方向与原始色域边界交点为(0.3359,0.5715),通过计算色点到白点距离与边界交点到点距离的比值,可得该点饱和度为0.8735。The intersection point of the chromaticity direction and the boundary of the original color gamut is (0.3359, 0.5715). By calculating the ratio of the distance from the color point to the white point and the distance from the boundary intersection point to the point, the saturation of this point can be obtained as 0.8735.
至此该颜色在原始色域所有维度的表征参数均计算完毕。为了实现目标色域中的一一映射,在相同色品方向上,与目标色域边界交点为(0.3376,0.6043),饱和度相同时,目标色域的映射点色坐标为(0.3341,0.5679),逆向转换灰阶组合为[158,244,62]。So far, the characterization parameters of the color in all dimensions of the original color gamut have been calculated. In order to achieve one-to-one mapping in the target color gamut, in the same chromaticity direction, the intersection point with the target color gamut boundary is (0.3376, 0.6043), and when the saturation is the same, the color coordinates of the mapping point of the target color gamut are (0.3341, 0.5679) , the reverse conversion grayscale combination is [158,244,62].
以上算法中所涉及各个色坐标点分布如图4。The distribution of each color coordinate point involved in the above algorithm is shown in Figure 4.
至此,在原始色域与目标色域均确定的条件下,完整实现了任意灰阶组合的匹配。So far, under the condition that both the original color gamut and the target color gamut are determined, the matching of any grayscale combination is completely realized.
以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also possible. It should be regarded as the protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610886819.1A CN106454301B (en) | 2016-10-11 | 2016-10-11 | A kind of color gamut matching method based on Lxy linear chromas space |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610886819.1A CN106454301B (en) | 2016-10-11 | 2016-10-11 | A kind of color gamut matching method based on Lxy linear chromas space |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454301A CN106454301A (en) | 2017-02-22 |
CN106454301B true CN106454301B (en) | 2018-07-31 |
Family
ID=58173284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610886819.1A Active CN106454301B (en) | 2016-10-11 | 2016-10-11 | A kind of color gamut matching method based on Lxy linear chromas space |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454301B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107564493B (en) * | 2017-09-30 | 2020-02-07 | 上海顺久电子科技有限公司 | Color gamut compression method and device and display equipment |
CN110392243B (en) * | 2018-04-16 | 2021-04-09 | 华为技术有限公司 | Method and apparatus for gamut mapping |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1991969A (en) * | 2005-12-30 | 2007-07-04 | 财团法人工业技术研究院 | Display color adjustment method and device |
CN101155252A (en) * | 2006-09-29 | 2008-04-02 | 三星电子株式会社 | Method and apparatus for performing gamut mapping between heterogeneous devices |
CN104809994A (en) * | 2015-04-24 | 2015-07-29 | 青岛海信电器股份有限公司 | RGBW-type four-primary-color display gray scale combination conversion method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6720973B2 (en) * | 2002-02-26 | 2004-04-13 | Xerox Corporation | Method and apparatus for transforming color gamut from one color space to another |
-
2016
- 2016-10-11 CN CN201610886819.1A patent/CN106454301B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1991969A (en) * | 2005-12-30 | 2007-07-04 | 财团法人工业技术研究院 | Display color adjustment method and device |
CN101155252A (en) * | 2006-09-29 | 2008-04-02 | 三星电子株式会社 | Method and apparatus for performing gamut mapping between heterogeneous devices |
CN104809994A (en) * | 2015-04-24 | 2015-07-29 | 青岛海信电器股份有限公司 | RGBW-type four-primary-color display gray scale combination conversion method |
Also Published As
Publication number | Publication date |
---|---|
CN106454301A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104809994B (en) | A kind of RGBW types four primary display GTG Combination conversion method | |
CN103400566B (en) | Method and system for processing RGB (Red, Green, Blue) data | |
CN104036700B (en) | Display panel, display packing and display device | |
CN103700336B (en) | Chromacoder, method and display device | |
US10347198B2 (en) | Image displaying methods and display devices | |
CN105069756B (en) | Image enchancing method | |
CN105096890B (en) | A kind of white balance method of four color pixels system | |
CN102810306B (en) | Method for automatically controlling brightness of display screen wallpaper | |
CN107529049A (en) | Display device image processing method, image processing structure and display device | |
US20190385343A1 (en) | Image processing method, electronic device and apparatus having storage function | |
CN107610654A (en) | A kind of more primary colors backlight area light-dimming methods of image content-based | |
CN107888893A (en) | A kind of method of color gamut mapping of color and gamut mapping apparatus | |
CN105263009A (en) | Adaptive conversion method of images | |
CN103914124B (en) | Energy-conservation Color Mapping Approach towards three-dimensional scenic | |
CN108053797A (en) | Driving method and driving device of display device | |
CN110675797B (en) | Color gamut mapping method, component, display device and storage medium | |
JP2016505884A5 (en) | ||
US10728425B2 (en) | Color gamut mapping method and color gamut mapping device | |
CN107978289A (en) | Driving method and driving device of display device | |
CN104284168A (en) | Image color enhancement method and system | |
WO2015172336A1 (en) | Display method and display system for image | |
CN108717839B (en) | Method and device for converting RGB (red, green and blue) to RGBW (red, green and blue) and storage medium | |
CN107863084A (en) | Driving method and driving device of display device | |
CN106454301B (en) | A kind of color gamut matching method based on Lxy linear chromas space | |
US20230215321A1 (en) | Color gamut mapping method, color gamut mapping assembly, and display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |