WO2018049754A1 - 色域保持系统和方法 - Google Patents

色域保持系统和方法 Download PDF

Info

Publication number
WO2018049754A1
WO2018049754A1 PCT/CN2016/112575 CN2016112575W WO2018049754A1 WO 2018049754 A1 WO2018049754 A1 WO 2018049754A1 CN 2016112575 W CN2016112575 W CN 2016112575W WO 2018049754 A1 WO2018049754 A1 WO 2018049754A1
Authority
WO
WIPO (PCT)
Prior art keywords
color gamut
converted
color
gamut
rgb
Prior art date
Application number
PCT/CN2016/112575
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 深圳Tcl数字技术有限公司
Priority to EP16916132.0A priority Critical patent/EP3518531B1/en
Priority to US16/461,973 priority patent/US10554862B2/en
Publication of WO2018049754A1 publication Critical patent/WO2018049754A1/zh

Links

Images

Classifications

    • 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/6002Corrections within particular colour systems
    • H04N1/6005Corrections within particular colour systems with luminance or chrominance signals, e.g. LC1C2, HSL or YUV
    • 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
    • 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/6016Conversion to subtractive 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/603Colour correction or control controlled by characteristics of the picture signal generator or the picture reproducer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to a color gamut maintaining system and method.
  • Color Gamut refers to the range of the number of colors that can be expressed.
  • the range of color gamut is different in different displays.
  • the internationally accepted color metric is the gamut range specified by the NTSC (National Television Standards Committee), which is the range of colors that can be displayed on a display.
  • the technology used in each TV set limits the range of colors it can handle.
  • the International Lighting Association (CIE) has developed a method for describing the color gamut: the CIE-xy chromaticity diagram, in which the gamut of various display devices can be represented by a triangular region consisting of RGB three-point lines. It is indicated that the larger the area of the triangle, the larger the gamut range of such a display device.
  • the black triangle is the source end, generally in the display, and the source end is displayed as BT.709.
  • the white area is the display end.
  • the range of the divided triangular areas is also different. The larger the triangle, the larger the display range.
  • the gamut of the image is maintained by displaying the gamut of the triangle region of the source at the gamut of the triangle region of the display, and finally the range of triangles displayed on the display is the triangle of the source.
  • the RGB three-point coordinates of the source end are kept unchanged and displayed in the color gamut of the display end.
  • the conventional image color gamut maintaining process as shown in FIG.
  • the main object of the present invention is to provide a color gamut maintaining system and method, which can speed up image processing, save a lot of time, and reduce CPU consumption.
  • a color gamut maintaining system for transferring an image from a first color gamut to a second by generating a standard color comparison table of an image color in a first color gamut and an image color in a second color gamut
  • the color gamut is maintained in the gamut, and the system includes:
  • a first conversion module configured to convert a color system of the first color gamut into a first converted color gamut, where coordinates of the first converted color gamut include a first chromaticity, a first brightness, and a first color gamut;
  • a second conversion module configured to convert a color system of the second color gamut into a second converted color gamut, where the coordinates of the second converted color gamut include a second chromaticity, a second brightness, and a second color tone;
  • a coordinate point corresponding module configured to calculate, according to the corresponding algorithm, a coordinate point corresponding to each coordinate point in the first conversion color gamut in the second conversion color gamut;
  • a correspondence table generating module configured to generate a correspondence table of the first converted color gamut to the second converted color gamut according to the correspondence between the coordinate points in the first converted color gamut and the coordinate points in the second converted color gamut;
  • a standard color comparison table generating module configured to convert a first converted color gamut in the correspondence table into a color system of a first color gamut, and convert a second converted color gamut in the corresponding table into a second color gamut a color system that generates a standard color comparison table based on the correspondence table.
  • the coordinate point correspondence module includes:
  • the second hues of each coordinate point in the second conversion color gamut are grouped in increasing order of equal difference, and the second chromaticity and the second brightness in the same group are recombined and divided into one group;
  • the coordinate point matching unit includes a coordinate point comparator for combining the first chromaticity and the first brightness of the coordinate point in the first converted color gamut with the second converted color gamut. The values of all of the second chrominance and the second luminance in the packet are compared to find the second chrominance value and the second luminance value that are closest to each other.
  • the method further includes:
  • An input information acquiring module configured to acquire coordinates of all pixel points of the input image in the first color gamut
  • An input information conversion module configured to acquire, according to a standard color comparison table, corresponding coordinates of each of the coordinates in the second color gamut;
  • an information output module configured to generate an output image in the second color gamut according to all corresponding coordinates in the second color gamut.
  • the first color gamut is an RGB color gamut of a source end
  • the first converted color gamut is an LCH color gamut corresponding to an RGB color gamut of a source end
  • the second color gamut is an RGB color gamut of the display end
  • the second converted color gamut is an LCH color gamut corresponding to an RGB color gamut of the display end.
  • the present invention also provides a color gamut maintaining method for transferring an image from a first color gamut to a second color gamut by generating a standard color comparison table of an image color in a first color gamut and an image color in a second color gamut.
  • the color gamut of the time is maintained, and the method for generating the standard color comparison table includes:
  • each coordinate point in the first conversion color gamut is in the second turn Corresponding coordinate points in the color change field;
  • the value of the first hue of each coordinate point in the first converted color gamut is calculated to find a corresponding second hue of the coordinate point in the second converted color gamut and the second hue
  • Corresponding algorithms for the corresponding second chrominance and second brightness include:
  • the second hues of each coordinate point in the second conversion color gamut are grouped in increasing order of equal difference, and the second chromaticity and the second brightness in the same group are recombined and divided into one group;
  • the second chrominance, the second luminance value, the first luminance corresponding to the first gradation, and the second chrominance and the second luminance value closest to the first gradation are found in the corresponding grouping.
  • the method is:
  • a method of achieving color gamut preservation when an image is transferred from a first color gamut to a second color gamut using a standard color look-up table is:
  • the first color gamut is an RGB color gamut of a source end
  • the first converted color gamut is an LCH color gamut corresponding to an RGB color gamut of a source end
  • the second color gamut is an RGB color gamut of the display end
  • the second converted color gamut is an LCH color gamut corresponding to an RGB color gamut of the display end.
  • the present invention is directed to the problem of color gamut preservation.
  • the image gamut conversion is used to sequentially convert the RGB color gamut of the source end and the display end to the LCH color gamut; and the H of the display end is divided into different according to the same equal value increment order.
  • the group determines whether the LC of the source end corresponds to which LC in the display end group, searches for the sequence corresponding to the display end LC, searches for the corresponding RGB value point according to the sequence, and generates a lookup table.
  • the RGB value point in the input picture is used to search for the output RGB using the lookup table, and finally the picture is output.
  • the invention can maintain the output result of the image on different displays, obtain the effect of color gamut maintenance, the picture processing speed becomes faster, saves a lot of time, and the CPU consumption is also greatly reduced.
  • Figure 1 is a CIE-xy chromaticity diagram for describing the color gamut developed by the CIE International Lighting Association;
  • 3(a) is a flowchart of a color gamut maintaining method according to an embodiment of the present invention.
  • 3(b) is a schematic diagram of a color gamut maintaining system according to an embodiment of the present invention.
  • 4(a) is a flowchart of a method for calculating coordinate points corresponding to each coordinate point in a second converted color gamut in a first converted color gamut according to an embodiment of the present invention
  • 4(b) is a schematic structural diagram of a coordinate point corresponding module according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of outputting a picture after color gamut of an input picture according to an embodiment of the present invention
  • FIG. 6 is a flow chart of generating a standard color comparison table according to an embodiment of the present invention.
  • Figure 7 (a) is an original picture of an embodiment of the present invention.
  • Fig. 7(b) is a view of the picture of Fig. 7(a) processed by the method of the present invention.
  • a color gamut maintaining method for transferring an image from a first color gamut to a second by generating a standard color comparison table of an image color in a first color gamut and an image color in a second color gamut
  • the gamut is maintained during the gamut.
  • the first color gamut refers to a color gamut of a source end
  • the second color gamut refers to a color gamut of a display end
  • the first color gamut and the second color gamut are generally an RGB color gamut or an LCH.
  • the gamut can also be other standard gamuts.
  • the first and second color gamuts are all RGB color gamuts.
  • the method for generating the standard color comparison table includes the following steps:
  • the color system of the first color gamut is an RGB color gamut of the source end, and the first converted color gamut is an LCH color gamut of the source end.
  • This step converts the RGB color gamut system, which is more sensitive to the display port, to the LCH color gamut, which is less correlated with the color display and the display port, so as to match the color gamut of the display.
  • the color system of the second color gamut is an RGB color gamut of the display end, and the second converted color gamut is an LCH color gamut of the display end.
  • the method of converting the RGB color gamut into the LCH color gamut is: first converting the RGB color space into an XYZ color space, that is, [0 0 0] to [255 255 255] vector space, where [0 0 0 The representative order is 1, [0 0 1] represents the order of 2, and so on, and the order is 1 to 16777216 (256 * 256 * 256).
  • the XYZ color matrix of the source end and the display end are calculated by calculating the x and y coordinate points of the Red, Green, Blue, and White points of the tongue-shaped triangle of the source end and the display end, respectively.
  • the XYZ color matrix is converted to an LCH color gamut.
  • the color system of different ports is converted into a converted color gamut with the same standard, that is, the LCH color gamut, forming a uniform color standard between the source end and the color system of the display end.
  • step S303 the coordinate points corresponding to each coordinate point in the second converted color gamut in the first converted color gamut are calculated by the corresponding algorithm, that is, each coordinate in the LCH color gamut of the source end is calculated. Point to the corresponding coordinate points in the LCH color gamut at the display end to find the correspondence between different color gamuts. See Figure 4(a), the method includes:
  • S3032 Find, according to the first hue H1 of each coordinate point in the first converted color gamut, a packet corresponding to the coordinate in the second converted color gamut; that is, according to a range of H1 of the coordinate point in the LCH color gamut of the source end, It is judged which one of the LCH color gamuts of the display end corresponds to the coordinate point.
  • S3033 Find a second chromaticity C2 in the corresponding group, a first chromaticity C1 corresponding to the first hue H1 and a second chromaticity C2 and a second brightness L2 that are closest to the first brightness L1. a value, generating a coordinate point corresponding to the coordinate point in the first conversion color gamut in the second conversion color gamut; comparing L1 and C1 of the source-side coordinate table point with L2 and C2 in the display end group, respectively, Which point is the closest, it is judged that the point is the coordinate point corresponding to the coordinate point of the display end.
  • Step S303 a one-to-one correspondence between the LCH color gamut of the source end and the display end is implemented, and then, in step S304, a correspondence table of the first converted color gamut to the second converted color gamut is generated according to the correspondence relationship, and finally, in step S305, a standard color comparison table is generated according to the correspondence table. For example, for a coordinate point [1 1 1] in the RGB color gamut of the source end, the first chromaticity H1 corresponding to the point is 1.2 degrees, and it is determined that the point corresponds to the second of the LCH coordinates of the display end.
  • the group next calculates whether L1C1 of the source side is closest to which LC in the second group, for example, the nearest order is 3, and the coordinate point of the source end is at the coordinate point [0 0 2] corresponding to the display end.
  • the coordinate conversion corresponding to each coordinate of the source end is sequentially performed, and a standard color comparison table of the color system of the source end and the color system of the display end is generated.
  • the method of maintaining color gamut when the image is transmitted from the first color gamut (ie, the source end) to the second color gamut (display side) is: acquiring an input image in the first color gamut Coordinates of all the pixels; acquiring corresponding coordinates of each coordinate in the second color gamut according to the table color comparison table; generating an output image in the second color gamut according to all corresponding coordinates in the second color gamut .
  • the first color gamut is an RGB color gamut of the source end
  • the first converted color gamut is an LCH color gamut corresponding to an RGB color gamut of the source end
  • the second color gamut is a display end.
  • the second converted color gamut is RGB color with the display end The LCH color gamut corresponding to the domain.
  • an effective process for maintaining the image color gamut display range in the image color gamut holding process and outputting the image after the color gamut of the input screen of different display screens is divided into two modules:
  • the first module calculating the RGB value of BT.709 corresponding to the RGB value of the Display, and generating a lookup table, wherein BT.709 is the source end and Display is the display end (the specific steps are as shown in FIG. 6).
  • the second module the RGB color gamut of the source BT.709 and the display end display is converted to the LCH color gamut.
  • Step 1 Convert the RGB color gamut to the XYZ color gamut. Specifically, the method includes the following steps:
  • RGB is arranged in the order of [0 0 0] to [255 255 255], that is, [0 0 0] represents the order of 1, and [0 0 1] represents the order of 2, . Therefore, the order is 1 to 16777216 (256*256*256).
  • the order in which BT.709 is saved is BT_index
  • the order in which Display is stored is D_index.
  • the BT.709 color gamut conversion matrix is BT_A
  • the Display gamut conversion matrix is D_A.
  • BT_A is calculated by measuring the x and y coordinate points of the Red, Green, Blue, and White points of the BT.709 triangle of the tongue map.
  • D_A is derived by measuring the four points of the tongue display.
  • the BT_A matrix is:
  • the D_A matrix is:
  • the conversion process multiplies the RGB value points by the conversion matrix. Convert BT.709 to XYZ After the gamut is BT.709_XYZ, Display is converted to XYZ gamut to Display_XYZ.
  • XYZ color gamut is converted to Lab color gamut, where L is brightness, a is red-green axis, b: yellow-blue axis.
  • the Lab color gamut is converted into the LCH color gamut, and the converted BT.709 and Display RGB correspond to 16777216 LCH values.
  • L luminance
  • C chromaticity
  • H is a hue
  • H is in the range of 0 to 360.
  • the conversion be BT_LCH and D_LCH color gamut.
  • the converted result is the L, C, H order of RGB corresponding to BT_LCH of [0 0 0] to [255 255 255] of BT.709, [0 0 0] to [255 255 255 of the display end.
  • the RGB of ] corresponds to the L, C, and H order of D_LCH.
  • Step 3 Calculate the B_LCH according to the RGB of the input BT.709 according to step 1. According to the H range of the B_LCH, determine which group in the second step, and then the L and C of the B_LCH and the display end respectively. When L and C are compared, which point is the closest, it is judged that the RGB corresponding to the order value of the LC at the display end is the RGB value corresponding to the input BT.709. Calculation formula:
  • L and C are first chrominance values and first luminance values of coordinate points in the first conversion gamut
  • Li and Ci are second colors of any one of the corresponding groups in the second conversion gamut
  • the degree value and the second brightness value, a(i) is the distance between the coordinate point in the first converted color gamut and the coordinate point in the second converted color gamut.
  • the corresponding LC of i is the point that it needs to find. According to the first few LCs in D_LCH in step 1, the order is found.
  • a(i) is the calculated result value
  • i is the number of the same H in the set of data
  • L and C are the LC of the input BT.709.
  • RGB of BT.709 is [1 1 1] and the corresponding H is 1.2 degrees
  • Step 4 Find the display-side RGB values of the corresponding order according to the order of the closest points in step 3. Then input 256.256*256 points of BT.709 corresponding to display terminal 256*256*256 points.
  • Fig. 6(a) is the original picture
  • Fig. 6(b) is the picture after the processing.
  • the RGB values of the display end corresponding to the corresponding color gamut expansion can be effectively processed according to different images input by the source end, and the corresponding output pictures are output according to the value. It is more conducive to the color gamut expansion of the image, and extends the gamut range of the source end to the gamut range of different display ends.
  • the present invention provides a color gamut maintaining system for realizing an image transfer from a first color gamut to a second color gamut by generating a standard color map of image colors within a first color gamut and image colors within a second color gamut
  • the color gamut is maintained, and the system described in Figure 3(b) includes:
  • a first conversion module 301 configured to convert a color system of the first color gamut into a first converted color gamut, the coordinates of the first converted color gamut include a first chromaticity C1, a first brightness L1, and a first color hue H1;
  • a second conversion module 302 configured to convert a color system of the second color gamut into a second converted color gamut, the coordinates of the second converted color gamut include a second chromaticity C2, a second brightness L2, and a second color tone H2;
  • a coordinate point corresponding module 303 configured to calculate, according to the corresponding algorithm, a coordinate point corresponding to each coordinate point in the first converted color gamut in the second converted color gamut;
  • the correspondence table generating module 304 is configured to generate a correspondence table of the first converted color gamut to the second converted color gamut according to the correspondence between the coordinate points in the first converted color gamut and the coordinate points in the second converted color gamut;
  • a standard color comparison table generating module 305 configured to convert the first one in the corresponding table Converting the color gamut into a color system of the first color gamut, converting the second converted color gamut in the correspondence table into a color system of the second color gamut, and generating a standard color comparison table according to the correspondence table.
  • the color system of the first color gamut is an RGB color gamut of the source end
  • the first converted color gamut is an LCH color gamut of the source end
  • the second conversion module 302 can convert the color display RGB color gamut system with respect to the display port to the LCH color gamut with low correlation between the color display and the display port, so as to facilitate matching with the color gamut of the display end.
  • the color system of the second color gamut is the RGB color gamut of the display end
  • the second converted color gamut is the LCH color gamut of the display end.
  • the coordinate point correspondence module 303 includes:
  • the tone matching unit 3032 is configured to find, according to the first hue H1 of each coordinate point in the first converted color gamut, a packet corresponding to the coordinate in the second converted color gamut; that is, according to the coordinate point in the LCH color gamut of the source end
  • the range of H1 determines whether the coordinate point corresponds to which group in the LCH color gamut of the display side.
  • the coordinate point matching unit 3033 is configured to find, in the corresponding group, the second chromaticity C2, the second chromaticity L2 value, the first chromaticity C1 corresponding to the first hue H1, and the second chromaticity closest to the first brightness L1.
  • the coordinate point matching unit 3033 Through the coordinate point matching unit 3033, a one-to-one correspondence between the LCH color gamut of the source end and the display end is realized, and then, through the correspondence table generating module 304, the first converted color gamut to the second converted color gamut is generated according to the corresponding relationship.
  • the standard color comparison table generation module 305 generates a standard color comparison table according to the correspondence table. For example, for a coordinate point [1 1 1] in the RGB color gamut of the source end, the first chromaticity H1 corresponding to the point is 1.2 degrees, and it is determined that the point corresponds to the second of the LCH coordinates of the display end.
  • the group next calculates whether L1C1 of the source side is closest to which LC in the second group, for example, the nearest order is 3, and the coordinate point of the source end is at the coordinate point [0 0 2] corresponding to the display end.
  • the coordinate conversion corresponding to each coordinate of the source end is sequentially performed, and a standard color comparison table of the color system of the source end and the color system of the display end is generated.
  • the system for maintaining color gamut when the image is transmitted from the first color gamut (ie, the source end) to the second color gamut (display side) further includes:
  • An input information obtaining module configured to acquire coordinates of all pixel points of the input image in the first color gamut; and an input information conversion module, configured to acquire corresponding coordinates of each of the coordinates in the second color gamut according to a standard color comparison table And an information output module, configured to generate an output image in the second color gamut according to all corresponding coordinates in the second color gamut.
  • the present invention is directed to the problem of color gamut preservation.
  • the image gamut conversion is used to sequentially convert the RGB color gamut of the source end and the display end to the LCH color gamut; and the H of the display end is divided into different according to the same equal value increment order.
  • the group determines whether the LC of the source end corresponds to which LC in the display end group, searches for the sequence corresponding to the display end LC, searches for the corresponding RGB value point according to the sequence, and generates a lookup table.
  • the RGB value point in the input picture is used to search for the output RGB using the lookup table, and finally the picture is output.
  • the invention can maintain the output result of the image on different displays, obtain the effect of color gamut maintenance, the picture processing speed becomes faster, saves a lot of time, and the CPU consumption is also greatly reduced.

Landscapes

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

Abstract

本发明提供了一种色域保持系统和方法,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持,所述系统包括:第一转换模块,用于将第一色域的色彩系统转换为第一转换色域;第二转换模块,用于将第二色域的色彩系统转换为第二转换色域;坐标点对应模块,用于根据对应算法计算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点;对应表生成模块,用于生成第一转换色域到第二转换色域的对应表;标准色彩对照表生成模块,根据所述对应表生成标准色彩对照表。本发明能够保持图像在不同显示器上的输出结果,得到色域保持的效果,能够提高图片处理速度,降低CPU功耗。

Description

色域保持系统和方法 技术领域
本发明涉及图像处理技术领域,尤其涉及一种色域保持系统和方法。
背景技术
图像色域(Color Gamut)是指某种能表达的颜色数量所构成的范围区域,在不同的显示器中,色域范围也不一样。通常国际上通行的色彩衡量标准是NTSC(美国国家电视标准委员会)规定的色域范围,也即能够在显示器上表现的色彩范围。每一部电视机所用的技术限制了它可以处理的色彩范围。国际照明协会(CIE)制定了一个用于描述色域的方法:CIE-xy色度图,在这个坐标系中,各种显示设备能表现的色域范围用RGB三点连线组成的三角形区域来表示,三角形的面积越大,则表示这种显示设备的色域范围越大。如图1所示,黑色三角形为信源端,一般在显示器中,信源端显示为BT.709。白色区域为显示器端,根据不同的显示器显示范围不同,则划分的三角形区域范围也不相同,三角形越大,则显示范围也越大。
图像的色域保持,是将信源端的三角形区域色域显示在显示器端的三角形区域色域内,且最后在显示器上显示的三角形范围即是信源端的三角形范围。如图1所示,将信源端的RGB三点坐标保持不变显示在显示器端的色域范围内。传统的图像色域保持处理过程,如图2所示,分别将信源端的的RGB和显示器端的RGB的色域转换到XYZ的色域;查找信源端的XYZ对应的显示器端XYZ的色域;将查找到的信源端XYZ的色域利用信源端XYZ转换回RGB的逆过程矩阵进行转换;最后再将结果输出。
传统的色域保持处理过程中,每输入一个像素点的RGB值则 需要对应的转换为XYZ,再去查找显示器端的XYZ,最后还需要将查找到的XYZ转换回RGB。当输入一个图片大小较大时,需要计算每一个像素点对应的RGB数值,需花费很长的时间去生成一幅新的图片。这样浪费了大量的时间,也消耗了CPU,计算效率大大降低。
发明内容
本发明的主要目的在于供一种色域保持系统和方法,能够加快图片处理速度,节约大量时间,降低CPU的消耗。
根据本发明的一个实施例,提供了一种色域保持系统,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持,所述系统包括:
第一转换模块,用于将第一色域的色彩系统转换为第一转换色域,所述第一转换色域的坐标包括第一色度、第一亮度和第一色调;
第二转换模块,用于将第二色域的色彩系统转换为第二转换色域,所述第二转换色域的坐标包括第二色度、第二亮度和第二色调;
坐标点对应模块,用于根据对应算法计算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点;
对应表生成模块,用于根据第一转换色域中的坐标点和第二转换色域中的坐标点的对应关系生成第一转换色域到第二转换色域的对应表;
标准色彩对照表生成模块,用于将所述对应表中的第一转换色域转换为第一色域的色彩系统,将所述对应表中的第二转换色域转换为第二色域的色彩系统,根据所述对应表生成标准色彩对照表。
根据本发明的其中一个方面,所述坐标点对应模块包括:
将第二转换色域中各个坐标点的第二色调按照等差递增顺序分组,将同一组中的第二色度、第二亮度重新组合并划分为一组;
根据第一转换色域中的各个坐标点的第一色调找出该坐标在 第二转换色域中对应的分组;
在对应的分组中找出第二色度、第二亮度值与第一色调对应的第一色度和第一亮度最接近的第二色度和第二亮度值,生成该第一转换色域中的坐标点在第二转换色域中对应的坐标点。
根据本发明的其中一个方面,所述坐标点匹配单元包括坐标点比较器,用于将第一转换色域中的坐标点的第一色度和第一亮度与第二转换色域中对应的分组中的全部的第二色度和第二亮度的值进行比较,找出距离最近的第二色度值和第二亮度值。
根据本发明的其中一个方面,还包括:
输入信息获取模块,用于获取第一色域中的输入图像的全部像素点的坐标;
输入信息转换模块,用于根据标准色彩对照表获取所述每一个坐标在第二色域中的对应坐标;
信息输出模块,用于根据所述第二色域中的全部对应坐标生成第二色域中的输出图像。
根据本发明的其中一个方面,所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
相应的,本发明还提供了一种色域保持方法,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持,所述标准色彩对照表的生成方法包括:
将第一色域的色彩系统转换为第一转换色域,所述第一转换色域的坐标包括第一色度、第一亮度和第一色调;
将第二色域的色彩系统转换为第二转换色域,所述第二转换色域的坐标包括第二色度、第二亮度和第二色调;
根据对应算法计算出第一转换色域中每一个坐标点在第二转 换色域中对应的坐标点;
根据第一转换色域中的坐标点和第二转换色域中的坐标点的对应关系生成第一转换色域到第二转换色域的对应表;
将所述对应表中的第一转换色域转换为第一色域的色彩系统,将所述对应表中的第二转换色域转换为第二色域的色彩系统,根据所述对应表生成标准色彩对照表。
根据本发明的其中一个方面,所述计算出第一转换色域中每一个坐标点的第一色调的值找出该坐标点在第二转换色域中对应的第二色调以及与第二色调对应的第二色度、第二亮度的对应算法包括:
将第二转换色域中各个坐标点的第二色调按照等差递增顺序分组,将同一组中的第二色度、第二亮度重新组合并划分为一组;
根据第一转换色域中的各个坐标点的第一色调找出该坐标在第二转换色域中对应的分组;
在对应的分组中找出第二色度、第二亮度值与第一色调对应的第一色度和第一亮度最接近的第二色度和第二亮度值,生成该第一转换色域中的坐标点在第二转换色域中对应的坐标点。
根据本发明的其中一个方面,在对应的分组中找出第二色度、第二亮度值与第一色调对应的第一亮度和第一色调最接近的第二色度和第二亮度值的方法为:
将第一转换色域中的坐标点的第一色度和第一亮度与第二转换色域中对应的分组中的全部的第二色度和第二亮度的值进行比较,找出距离最近的第二色度值和第二亮度值。
根据本发明的其中一个方面,使用标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持的方法为:
获取第一色域中的输入图像的全部像素点的坐标;
根据标准色彩对照表获取所述每一个坐标在第二色域中的对应坐标;
根据所述第二色域中的全部对应坐标生成第二色域中的输出 图像。
根据本发明的其中一个方面,所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
本发明针对色域保持中的问题,首先利用图像色域转换,将信源端和显示器端的RGB色域依次转换到LCH色域;对显示器端的H按照相同的等差数值递增顺序划分为不同的组;判断信源端的H对应显示器端划分组中的哪个LC,查找显示器端LC对应的序列,根据此序列查找对应的RGB数值点,生成查找表。当输入图片时,根据输入图片中的RGB数值点利用查找表查找输出RGB,最后输出图片。本发明能够保持图像在不同显示器上的输出结果,得到色域保持的效果,图片处理速度变快,节约了大量的时间,且CPU的消耗也大大降低。
附图说明
图1为CIE国际照明协会制定的一个用于描述色域CIE-xy色度图;
图2为传统的图像色域保持处理过程的流程图;
图3(a)为本发明一个实施例的色域保持方法流程图;
图3(b)为本发明一个实施例的色域保持系统的示意图;
图4(a)为本发明一个实施例的计算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点的方法流程图;
图4(b)为本发明一个实施例的坐标点对应模块的结构示意图;
图5为本发明一个实施例的输入图片的色域保持后输出图片的流程示意图;
图6为本发明一个实施例的标准色彩对照表生成的流程图;
图7(a)为本发明一个实施例的原始图片;
图7(b)为对图7(a)中的图片采用本发明的方法进行处理后的图片。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的 单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。
下面结合附图对本发明的技术方案作进一步详细描述。
根据本发明的一个实施例,提供了一种色域保持方法,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持。具体的,所述第一色域指的是信源端的色域,所述第二色域指的是显示器端的色域,所述第一色域和第二色域通常为RGB色域或LCH色域,也可以为其他标准色域。在本实施例中,所述第一和第二色域均为RGB色域。
参见图3(a),在本发明中,所述标准色彩对照表的生成方法包括以下步骤:
S301、将第一色域的色彩系统转换为第一转换色域,所述第一转换色域的坐标包括第一色度C1、第一亮度L1和第一色调H1;
S302、将第二色域的色彩系统转换为第二转换色域,所述第二转换色域的坐标包括第二色度C2、第二亮度L2和第二色调H2;
S303、根据对应算法计算出第一转换色域中每一个坐标点的第一色调H1在第二转换色域中对应的第二色调H2以及与第二色调H2对应的第二色度C2、第二亮度L2;
S304、根据第一转换色域中的坐标点和第二转换色域中的坐标点的对应关系生成第一转换色域到第二转换色域的对应表;
S305、将所述对应表中的第一转换色域转换为第一色域的色彩系统,将所述对应表中的第二转换色域转换为第二色域的色彩 系统,根据所述对应表生成标准色彩对照表。
下面将结合附图对上述步骤进行详细说明。
首先,在步骤S301中,所述第一色域的色彩系统为信源端的RGB色域,所述第一转换色域为信源端的LCH色域。此步骤能够将色彩显示关于显示端口较敏感的RGB色域系统转换为色彩显示与显示端口相关度较低的LCH色域,便于与显示器端的色域进行匹配。同样的,在步骤S302中,所述第二色域的色彩系统为显示器端的RGB色域,所述第二转换色域为显示器端的LCH色域。
在本实施例中,将RGB色域转换为LCH色域的方法为:先将RGB色彩空间转换为XYZ色彩空间,即[0 0 0]到[255 255 255]向量空间,其中[0 0 0]代表次序为1,[0 0 1]代表次序为2,等等依次类推,次序依次为1~16777216(256*256*256)。接下来,分别通过计算信源端和显示器端的舌形图三角形的Red、Green、Blue、White点的x和y坐标点计算得出信源端和显示器端的XYZ色彩矩阵。最后,将所述XYZ色彩矩阵转换为LCH色域。
通过步骤S301和S302,将不同端口的色彩系统转化为具有相同标准的转换色域,即LCH色域,形成了信源端和显示器端的色彩系统之间统一的色彩标准。
接下来,在步骤S303中,通过对应算法计算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点的,即,计算出信源端的LCH色域中每一个坐标点在显示器端的LCH色域中对应的坐标点,找出不同色域之间的对应关系,参见图4(a),该方法包括:
S3031、将第二转换色域中各个坐标点的第二色调H2按照等差递增顺序分组,将同一组中的第二色度C2、第二亮度L2重新组合并划分为一组;例如,当H2=0~1时,将显示器端的LCH色域中的H2对应L2、C2分别划分为一组,当H2=1~2时,将其相应的L2C2组合划分为一组。由于H2的范围为0~360,则根据显示器端的第二色调H2将该LCH色域划分为360个组。
S3032、根据第一转换色域中的各个坐标点的第一色调H1找出该坐标在第二转换色域中对应的分组;即根据信源端的LCH色域中的坐标点的H1的范围,判断该坐标点对应显示器端的LCH色域中的哪一组。
S3033、在对应的分组中找出第二色度C2、第二亮度L2值与第一色调H1对应的第一色度C1和第一亮度L1最接近的第二色度C2和第二亮度L2值,生成该第一转换色域中的坐标点在第二转换色域中对应的坐标点;即将信源端坐标表点的L1和C1分别和显示器端这组中的L2和C2进行对比,哪个点最近,则判断该点为显示器端的坐标点对应的坐标点。
通过步骤S303,实现了信源端和显示器端的LCH色域的一一对应,之后,在步骤S304中,根据所述对应关系生成第一转换色域到第二转换色域的对应表,最后,在步骤S305中,根据所述对应表生成标准色彩对照表。例如,对于信源端的RGB色域中的某一坐标点[1 1 1]而言,该点对应的第一色度H1为1.2度,则判断该点对应于显示器端的LCH坐标中的第2组,接下来计算信源端的L1C1与第二组中的哪个LC最近,例如判断最近的次序为3,则信源端的所述坐标点在显示器端对应的坐标点[0 0 2]。依次对信源端的每一个坐标进行上述坐标对应转换,生成信源端的色彩系统与显示器端的色彩系统的标准色彩对照表。
根据所述标准色彩对照表,在实现图像从第一色域(即信源端)传送到第二色域(显示器端)时的色域保持的方法为:获取第一色域中的输入图像的全部像素点的坐标;根据表转色彩对照表获取所述每一个坐标在第二色域中的对应坐标;根据所述第二色域中的全部对应坐标生成第二色域中的输出图像。
下面结合附图对上述色域保持方法作进一步详细描述。在本实施例中,所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色 域对应的LCH色域。
参见图5,示出了一种有效的针对图像色域保持过程中保持图像色域显示范围不变,对不同显示屏输入图片的色域保持后输出图片的过程,共分为两个模块:
第一模块:计算BT.709的RGB值对应Display的RGB值,生成查找表,其中BT.709为信源端,Display为显示器端(具体步骤如图6所示)。
第二模块:信源端BT.709和显示器端Display的RGB色域转化到LCH色域。
参见图6,下面对第一模块的各个步骤进行详细说明。
步骤1,将RGB色域转换为XYZ色域,具体的,包括以下步骤:
1.1、RGB按照[0 0 0]到[255 255 255]的次序排列,即[0 0 0]代表次序为1,[0 0 1]代表次序为2,……。因此,次序依次为1~16777216(256*256*256)。BT.709保存的次序BT_index,Display保存的次序D_index。BT.709色域转换矩阵为BT_A,Display色域转换矩阵为D_A。BT_A通过测量舌形图BT.709三角形的Red、Green、Blue、White点的x和y坐标点计算得出。同样,D_A通过测量舌形图Display四点得出。例如BT_A矩阵为:
0.4124 0.3576 0.1805
0.2126 0.7152 0.0722
0.0193 0.1192 0.9505
D_A矩阵为:
0.5148 0.1936 0.2298
0.2343 0.6537 0.1120
0.0069 0.0921 1.2341
转换过程为RGB数值点与转换矩阵相乘。BT.709转换为XYZ 色域后为BT.709_XYZ,Display转换为XYZ色域为Display_XYZ。
1.2、XYZ色域转换为Lab色域,其中,L为亮度,a为红-绿轴,b:黄-蓝轴。
1.3、Lab色域转化为LCH色域,转换后的BT.709和Display的RGB共对应16777216个LCH数值。其中,L为亮度,C为色度,H为色调,H的范围为0~360。设转换后为BT_LCH和D_LCH色域。与步骤1.1次序类似,转换后的结果为BT.709的[0 0 0]到[255 255 255]的RGB对应BT_LCH的L、C、H次序,显示器端的[0 0 0]到[255 255 255]的RGB对应D_LCH的L、C、H次序。
步骤2:转换后的显示器端D_LCH色域,按照H为1的等差递增顺序,对在相同度数范围内的L和C重新组合划分。即当H=0~1时,将D_LCH中的H对应L、C分别划分为一组,当H=1~2时,将其相应的LC组合划分为一组。由于H的范围为0~360,则共划分D_LCH有360个组。
步骤3:根据输入的BT.709的RGB依照步骤1,计算其B_LCH,根据B_LCH的H范围,判断是步骤二中的哪一组,再将B_LCH的L和C分别和显示器端这组中的L和C进行对比,哪个点最近,则判断其显示器端的LC的次序值对应的RGB为其输入BT.709对应的RGB值。计算公式:
Figure PCTCN2016112575-appb-000001
其中,L和C为第一转换色域中的坐标点的第一色度值和第一亮度值,Li和Ci为第二转换色域中对应的分组中的任一个坐标点的第二色度值和第二亮度值,a(i)为第一转换色域中的坐标点与第二转换色域中的坐标点的距离。判断a(i)距离哪个数值最近,则对应的i的LC为其需要寻找的点,根据步骤一中LC在D_LCH中第几个,则寻找到其次序。式中,a(i)为计算的结果值,i为这组数据中相同H的个数,L、C为输入的BT.709的LC。例如,当BT.709的RGB为[1 1 1]时,对应的H为1.2度,则判断为步骤二D_LCH的第2组,计算BT.709的LC与第二组中的哪个LC最近, 若判断最近的次序为3,则BT.709的RGB[1 1 1]值对应为Display的RGB[0 0 2]。
步骤4:根据步骤3中最接近的点的次序,查找对应次序的显示器端RGB值。则输入BT.709的256*256*256个点对应显示器端Display 256*256*256个点。
接下来,如第二模块所示,输入一幅图片,按照行列读取图片每一个像素点的RGB数值,按照第一模块中生成的标准色彩对照表,查找到图像每一个像素点对应的显示器端的像素点的RGB值。处理的结果为图6所示,图6(a)为原始图片,图6(b)为处理之后的图片。通过这种方法可以有效的处理根据信源端输入的不同图像求取相应的色域扩展后的显示器端的RGB数值,并根据此数值输出相应的输出图片。更有利于进行图像的色域扩展,将信源端的色域范围扩展到不同显示器端的色域范围。
相应的,本发明提供了一种色域保持系统,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持,参见图3(b)所述系统包括:
第一转换模块301,用于将第一色域的色彩系统转换为第一转换色域,所述第一转换色域的坐标包括第一色度C1、第一亮度L1和第一色调H1;
第二转换模块302,用于将第二色域的色彩系统转换为第二转换色域,所述第二转换色域的坐标包括第二色度C2、第二亮度L2和第二色调H2;
坐标点对应模块303,用于根据对应算法计算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点;
对应表生成模块304,用于根据第一转换色域中的坐标点和第二转换色域中的坐标点的对应关系生成第一转换色域到第二转换色域的对应表;
标准色彩对照表生成模块305,用于将所述对应表中的第一转 换色域转换为第一色域的色彩系统,将所述对应表中的第二转换色域转换为第二色域的色彩系统,根据所述对应表生成标准色彩对照表。
其中,所述第一色域的色彩系统为信源端的RGB色域,所述第一转换色域为信源端的LCH色域。第二转换模块302能够将色彩显示关于显示端口较敏感的RGB色域系统转换为色彩显示与显示端口相关度较低的LCH色域,便于与显示器端的色域进行匹配。同样的,在坐标点对应模块303,中,所述第二色域的色彩系统为显示器端的RGB色域,所述第二转换色域为显示器端的LCH色域。通过所述第一和第二转换模块将不同端口的色彩系统转化为具有相同标准的转换色域,即LCH色域,形成了信源端和显示器端的色彩系统之间统一的色彩标准。参见图4(b),所述坐标点对应模块303包括:
色调处理单元3031,用于将第二转换色域中各个坐标点的第二色调H2按照等差递增顺序分组,将同一组中的第二色度C2、第二亮度L2重新组合并划分为一组;例如,当H2=0~1时,将显示器端的LCH色域中的H2对应L2、C2分别划分为一组,当H2=1~2时,将其相应的L2C2组合划分为一组。由于H2的范围为0~360,则根据显示器端的第二色调H2将该LCH色域划分为360个组。
色调对应单元3032,用于根据第一转换色域中的各个坐标点的第一色调H1找出该坐标在第二转换色域中对应的分组;即根据信源端的LCH色域中的坐标点的H1的范围,判断该坐标点对应显示器端的LCH色域中的哪一组。坐标点匹配单元3033,用于在对应的分组中找出第二色度C2、第二亮度L2值与第一色调H1对应的第一色度C1和第一亮度L1最接近的第二色度C2和第二亮度L2值,生成该第一转换色域中的坐标点在第二转换色域中对应的坐标点;即将信源端坐标表点的L1和C1分别和显示器端这组中的L2和C2进行对比,哪个点最近,则判断该点为显示器端的坐标点对应的坐标点。
通过坐标点匹配单元3033,实现了信源端和显示器端的LCH色域的一一对应,之后,通过对应表生成模块304,根据所述对应关系生成第一转换色域到第二转换色域的对应表,最后,标准色彩对照表生成模块305根据所述对应表生成标准色彩对照表。例如,对于信源端的RGB色域中的某一坐标点[1 1 1]而言,该点对应的第一色度H1为1.2度,则判断该点对应于显示器端的LCH坐标中的第2组,接下来计算信源端的L1C1与第二组中的哪个LC最近,例如判断最近的次序为3,则信源端的所述坐标点在显示器端对应的坐标点[0 0 2]。依次对信源端的每一个坐标进行上述坐标对应转换,生成信源端的色彩系统与显示器端的色彩系统的标准色彩对照表。
根据所述标准色彩对照表,在实现图像从第一色域(即信源端)传送到第二色域(显示器端)时的色域保持的系统还包括:
输入信息获取模块,用于获取第一色域中的输入图像的全部像素点的坐标;输入信息转换模块,用于根据标准色彩对照表获取所述每一个坐标在第二色域中的对应坐标;信息输出模块,用于根据所述第二色域中的全部对应坐标生成第二色域中的输出图像。
本发明针对色域保持中的问题,首先利用图像色域转换,将信源端和显示器端的RGB色域依次转换到LCH色域;对显示器端的H按照相同的等差数值递增顺序划分为不同的组;判断信源端的H对应显示器端划分组中的哪个LC,查找显示器端LC对应的序列,根据此序列查找对应的RGB数值点,生成查找表。当输入图片时,根据输入图片中的RGB数值点利用查找表查找输出RGB,最后输出图片。本发明能够保持图像在不同显示器上的输出结果,得到色域保持的效果,图片处理速度变快,节约了大量的时间,且CPU的消耗也大大降低。
对于本领域技术人员而言,显然本发明不限于上述示范性实施例 的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。

Claims (16)

  1. 一种色域保持系统,其特征在于,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持,所述系统包括:
    第一转换模块,用于将第一色域的色彩系统转换为第一转换色域,所述第一转换色域的坐标包括第一色度(C1)、第一亮度(L1)和第一色调(H1);
    第二转换模块,用于将第二色域的色彩系统转换为第二转换色域,所述第二转换色域的坐标包括第二色度(C2)、第二亮度(L2)和第二色调(H2);
    坐标点对应模块,用于根据对应算法计算出第一转换色域中每一个坐标点在第二转换色域中对应坐标点;
    对应表生成模块,用于根据第一转换色域中的坐标点和第二转换色域中的坐标点的对应关系生成第一转换色域到第二转换色域的对应表;
    标准色彩对照表生成模块,用于将所述对应表中的第一转换色域转换为第一色域的色彩系统,将所述对应表中的第二转换色域转换为第二色域的色彩系统,根据所述对应表生成标准色彩对照表。
  2. 根据权利要求1所述的色域保持系统,其特征在于,所述坐标点对应模块包括:
    色调处理单元,用于将第二转换色域中各个坐标点的第二色调(H2)按照等差递增顺序分组,将同一组中的第二色度(C2)、第二亮度(L2)重新组合并划分为一组;
    色调对应单元,用于根据第一转换色域中的各个坐标点的第一色调(H1)找出该坐标在第二转换色域中对应的分组;
    坐标点匹配单元,用于在对应的分组中找出第二色度(C2)、第二亮度(L2)值与第一色调(H1)对应的第一色度(C1)和第一亮 度(L1)最接近的第二色度(C2)和第二亮度(L2)值,生成该第一转换色域中的坐标点在第二转换色域中对应的坐标点。
  3. 根据权利要求2所述的色域保持系统,其特征在于,所述坐标点匹配单元包括坐标点比较器,用于将第一转换色域中的坐标点的第一色度(C1)和第一亮度(L1)与第二转换色域中对应的分组中的全部的第二色度(C2)和第二亮度(L2)的值进行比较,找出距离最近的第二色度(C2)值和第二亮度(L2)值。
  4. 根据权利要求1所述的色域保持系统,其特征在于,还包括:
    输入信息获取模块,用于获取第一色域中的输入图像的全部像素点的坐标;
    输入信息转换模块,用于根据标准色彩对照表获取所述每一个坐标在第二色域中的对应坐标;
    信息输出模块,用于根据所述第二色域中的全部对应坐标生成第二色域中的输出图像。
  5. 根据权利要求1所述的色域保持系统,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  6. 根据权利要求2所述的色域保持系统,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  7. 根据权利要求3所述的色域保持系统,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  8. 根据权利要求4所述的色域保持系统,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  9. 一种色域保持方法,其特征在于,通过生成第一色域内的图像颜色与第二色域内的图像颜色的标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持,所述标准色彩对照表的生成方法包括:
    将第一色域的色彩系统转换为第一转换色域,所述第一转换色域的坐标包括第一色度(C1)、第一亮度(L1)和第一色调(H1);
    将第二色域的色彩系统转换为第二转换色域,所述第二转换色域的坐标包括第二色度(C2)、第二亮度(L2)和第二色调(H2);
    根据对应算法计算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点;
    根据第一转换色域中的坐标点和第二转换色域中的坐标点的对应关系生成第一转换色域到第二转换色域的对应表;
    将所述对应表中的第一转换色域转换为第一色域的色彩系统,将所述对应表中的第二转换色域转换为第二色域的色彩系统,根据所述对应表生成标准色彩对照表。
  10. 根据权利要求9所述的色域保持方法,其特征在于,所述计 算出第一转换色域中每一个坐标点在第二转换色域中对应的坐标点的对应算法包括:
    将第二转换色域中各个坐标点的第二色调(H2)按照等差递增顺序分组,将同一组中的第二色度(C2)、第二亮度(L2)重新组合并划分为一组;
    根据第一转换色域中的各个坐标点的第一色调(H1)找出该坐标在第二转换色域中对应的分组;
    在对应的分组中找出第二色度(C2)、第二亮度(L2)值与第一色调(H1)对应的第一色度(C1)和第一亮度(L1)最接近的第二色度(C2)和第二亮度(L2)值,生成该第一转换色域中的坐标点在第二转换色域中对应的坐标点。
  11. 根据权利要求10所述的色域保持方法,其特征在于,在对应的分组中找出第二色度(C2)、第二亮度(L2)值与第一色调(H1)对应的第一亮度(L1)和第一色调(H1)最接近的第二色度(C2)和第二亮度(L2)值的方法为:
    将第一转换色域中的坐标点的第一色度(C1)和第一亮度(L1)与第二转换色域中对应的分组中的全部的第二色度(C2)和第二亮度(L2)的值进行比较,找出距离最近的第二色度(C2)值和第二亮度(L2)值。
  12. 根据权利要求9所述的色域保持方法,其特征在于,使用标准色彩对照表实现图像从第一色域传送到第二色域时的色域保持的方法为:
    获取第一色域中的输入图像的全部像素点的坐标;
    根据标准色彩对照表获取所述每一个坐标在第二色域中的对应坐标;
    根据所述第二色域中的全部对应坐标生成第二色域中的输出图像。
  13. 根据权利要求9所述的色域保持方法,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  14. 根据权利要求10所述的色域保持方法,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  15. 根据权利要求11所述的色域保持方法,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
  16. 根据权利要求12所述的色域保持方法,其特征在于,
    所述第一色域为信源端的RGB色域,所述第一转换色域为与信源端的RGB色域对应的LCH色域;
    所述第二色域为显示器端的RGB色域,所述第二转换色域为与显示器端的RGB色域对应的LCH色域。
PCT/CN2016/112575 2016-09-19 2016-12-28 色域保持系统和方法 WO2018049754A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP16916132.0A EP3518531B1 (en) 2016-09-19 2016-12-28 Color gamut maintaining system and method
US16/461,973 US10554862B2 (en) 2016-09-19 2016-12-28 System and method for retaining color gamut

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610831790.7A CN106412544B (zh) 2016-09-19 2016-09-19 色域保持系统和方法
CN201610831790.7 2016-09-19

Publications (1)

Publication Number Publication Date
WO2018049754A1 true WO2018049754A1 (zh) 2018-03-22

Family

ID=57997991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112575 WO2018049754A1 (zh) 2016-09-19 2016-12-28 色域保持系统和方法

Country Status (4)

Country Link
US (1) US10554862B2 (zh)
EP (1) EP3518531B1 (zh)
CN (1) CN106412544B (zh)
WO (1) WO2018049754A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622744A (zh) * 2017-08-22 2018-01-23 四川长虹电器股份有限公司 一种液晶电视屏色度特性的可视化测试方法
CN108184037B (zh) * 2017-12-12 2019-09-27 维沃移动通信有限公司 一种图像显示方法及移动终端
CN109587467A (zh) * 2018-12-03 2019-04-05 新视家科技(北京)有限公司 一种色彩空间转换电路
CN111179801B (zh) * 2020-01-06 2024-01-09 京东方科技集团股份有限公司 显示面板的色彩空间调整方法、设备和系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079669A1 (en) * 2002-03-13 2003-09-25 Hewlett-Packard Company Variational models for spatially dependent gamut mapping
CN101621700A (zh) * 2008-10-21 2010-01-06 青岛海信电器股份有限公司 一种多媒体设备的色域匹配方法及电视机
CN101794565A (zh) * 2010-03-31 2010-08-04 青岛海信电器股份有限公司 一种图像显示方法、装置及系统
US20110013208A1 (en) * 2009-06-15 2011-01-20 Vasudev Bhaskaran System and methods for gamut bounded saturation adaptive color enhancement
CN102611897A (zh) * 2012-03-04 2012-07-25 北京佳泰信业技术有限公司 对彩色数字图像进行视觉感知高保真变换的方法及系统
CN104796679A (zh) * 2014-01-22 2015-07-22 中能激光显示技术(上海)有限公司 一种激光显示的色彩调整方法及其装置
CN105100761A (zh) * 2015-07-09 2015-11-25 西安电子科技大学 图像显示方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781716B1 (en) * 1999-08-03 2004-08-24 Fuji Photo Film Co., Ltd. Color conversion method, color conversion apparatus, and color conversion definition storage medium
US7755817B2 (en) * 2004-12-07 2010-07-13 Chimei Innolux Corporation Color gamut mapping
JP4534917B2 (ja) * 2005-09-08 2010-09-01 ソニー株式会社 色域圧縮方法、プログラム、色域圧縮装置
JP2007208736A (ja) * 2006-02-02 2007-08-16 Canon Inc 色処理方法および装置
KR20080025593A (ko) * 2006-09-18 2008-03-21 삼성전기주식회사 디스플레이 영상의 색 보정을 위한 장치 및 방법
KR100834762B1 (ko) * 2006-09-29 2008-06-05 삼성전자주식회사 이 기종간 색역 사상 방법 및 장치
KR100843089B1 (ko) * 2006-10-17 2008-07-02 삼성전자주식회사 영상의 시인성을 향상시키는 장치 및 방법
JP5933506B2 (ja) * 2013-10-30 2016-06-08 京セラドキュメントソリューションズ株式会社 色変換装置、色変換プログラムおよび色変換方法
EP2890107A1 (en) * 2013-12-26 2015-07-01 Thomson Licensing Method of mapping source colors of images of a video content into the target color gamut of a target color device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003079669A1 (en) * 2002-03-13 2003-09-25 Hewlett-Packard Company Variational models for spatially dependent gamut mapping
CN101621700A (zh) * 2008-10-21 2010-01-06 青岛海信电器股份有限公司 一种多媒体设备的色域匹配方法及电视机
US20110013208A1 (en) * 2009-06-15 2011-01-20 Vasudev Bhaskaran System and methods for gamut bounded saturation adaptive color enhancement
CN101794565A (zh) * 2010-03-31 2010-08-04 青岛海信电器股份有限公司 一种图像显示方法、装置及系统
CN102611897A (zh) * 2012-03-04 2012-07-25 北京佳泰信业技术有限公司 对彩色数字图像进行视觉感知高保真变换的方法及系统
CN104796679A (zh) * 2014-01-22 2015-07-22 中能激光显示技术(上海)有限公司 一种激光显示的色彩调整方法及其装置
CN105100761A (zh) * 2015-07-09 2015-11-25 西安电子科技大学 图像显示方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3518531A4 *

Also Published As

Publication number Publication date
CN106412544B (zh) 2019-02-01
EP3518531A1 (en) 2019-07-31
US10554862B2 (en) 2020-02-04
EP3518531A4 (en) 2020-03-25
US20190306378A1 (en) 2019-10-03
CN106412544A (zh) 2017-02-15
EP3518531B1 (en) 2022-11-02

Similar Documents

Publication Publication Date Title
WO2019114369A1 (zh) 基色转换方法及其转换器、显示控制方法、显示装置
US10347198B2 (en) Image displaying methods and display devices
WO2018049753A1 (zh) 色域扩展系统和方法
WO2018049754A1 (zh) 色域保持系统和方法
WO2005043498A2 (en) Converting from a source color space to a target color space
JP2008165231A (ja) 周辺光適応的な色補正装置および方法
TW201034471A (en) Image processing method
WO2019019856A1 (zh) 色域映射方法、显示终端及计算机可读存储介质
EP1560417A2 (en) System and method for clipping values of pixels in one color space so not to exceed the limits of a second color space
WO2017118040A1 (zh) 一种图像处理的方法及装置
JP2005501356A (ja) カラー画像にトーンマッピング関数を適用する装置
TWI415480B (zh) 影像處理方法與影像處理系統
TWI424426B (zh) 影像的色彩調整方法
WO2022120799A1 (zh) 图像处理方法、装置、电子设备及存储介质
TWI485694B (zh) 影像色彩調整方法與其電子裝置
TWI460712B (zh) 顯示器之色域補償方法
TWI544451B (zh) 影像處理方法
CN110490945B (zh) 一种图像色彩的调整方法
TWI475555B (zh) 顯示系統與顯示單元控制方法
TWI671725B (zh) 一種顯示裝置及其顯示方法
KR20070068087A (ko) 휴대 영상 장치의 이미지 구현 방법
JP2014030083A (ja) 画像処理装置、画像表示装置及び画像処理方法
CN106657945A (zh) 一种非线性分段的伽马校正实现方法
WO2021120105A1 (zh) 用于处理图像的方法及其存储介质、设备
TWI380700B (en) Color field sequential method based on color separation for color space of brightness and color difference space and display device using the same

Legal Events

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

Ref document number: 16916132

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2016916132

Country of ref document: EP

Effective date: 20190423