CN100450144C - Color management method capable of converting pixels with different color gamuts - Google Patents
Color management method capable of converting pixels with different color gamuts Download PDFInfo
- Publication number
- CN100450144C CN100450144C CNB2005100789348A CN200510078934A CN100450144C CN 100450144 C CN100450144 C CN 100450144C CN B2005100789348 A CNB2005100789348 A CN B2005100789348A CN 200510078934 A CN200510078934 A CN 200510078934A CN 100450144 C CN100450144 C CN 100450144C
- Authority
- CN
- China
- Prior art keywords
- color
- color coordinates
- coordinates
- gamut
- pixel
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Color Image Communication Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
针对采用不同色彩空间的设备所显示的色素,藉由寻找一中介色域的多个权值,在采用不同色彩空间的设备间进行色彩坐标转换,使不同设备所显示的像素具相同色彩特性,以达到跨设备之间的色彩沟通。
For pigments displayed by devices using different color spaces, color coordinate conversion is performed between devices using different color spaces by finding multiple weights of an intermediate color gamut, so that pixels displayed by different devices have the same color characteristics, thereby achieving color communication across devices.
Description
技术领域 technical field
本发明涉及一种色彩管理的方法,特别涉及一种跨设备的色彩管理的方法。The invention relates to a color management method, in particular to a cross-device color management method.
背景技术 Background technique
图像处理系统通常包含一图像输入装置,一图像输出装置,以及一色彩管理模块(color management module,CMM)。图像输入装置将代表一图像的数据输出至色彩管理模块,色彩管理模块将所接收到的数据加以处理,并将处理后的数据传至图像输出装置,最后在图像输出装置上产生接近原图像的图像。图像输入装置可包含光学扫描仪、数字相机和数字摄影机等,图像输出装置可包含各式打印机,绘图机或显示器等,色彩管理模块可为一般用途的计算机,藉由安装其上的软硬件来控制外围设备以及进行信号处理。An image processing system usually includes an image input device, an image output device, and a color management module (CMM). The image input device outputs the data representing an image to the color management module, the color management module processes the received data, and transmits the processed data to the image output device, and finally generates a color close to the original image on the image output device image. Image input devices may include optical scanners, digital cameras and digital video cameras, etc., image output devices may include various printers, plotters or monitors, etc., and the color management module may be a general-purpose computer. Controls peripherals and performs signal processing.
不同的图像装置会采用不同的色彩模型,色彩模型是一个立体的色彩空间,代表人眼能够看见的所有色彩,常用的色彩模型可分为两大类,分别是RGB色彩(红、绿、蓝)及CMYK色彩(青、洋红、黄、黑)。电视或计算机显示器一般采用RGB色彩模型,是由红绿蓝三原色依不同的比例所组成的色彩空间,而打印机或印刷装置一般采用CMYK色彩。从外观看,经常以各种固体形状如立方体、圆锥体或多角形体来表示这些色彩空间。而色域(color gamut)则代表一图像装置能够表现的全部色彩的范围。图像装置的色彩空间大致可以区分为两大类型:设备从属色彩(Device Dependent Color)和设备独立色彩(Device Independent Color)。因为每种图像装置均有其色彩特性,即使同一种厂牌的图像装置其显像色域的色彩空间也会有所不同,前述的RGB色彩及CMYK色彩皆属设备从属色彩。而设备独立色彩空间(如CIEXYZ,CIExyz,CIELAB,CIELUV等),是属于国际色彩标准委员会(CIE)所制定的色彩坐标系统,其图像色彩数据并不会因为设备不同而改变色彩坐标数据。Different image devices will use different color models. A color model is a three-dimensional color space that represents all colors that can be seen by the human eye. The commonly used color models can be divided into two categories, namely RGB colors (red, green, blue) ) and CMYK colors (cyan, magenta, yellow, black). TVs or computer monitors generally use the RGB color model, which is a color space composed of the three primary colors of red, green and blue in different proportions, while printers or printing devices generally use CMYK colors. Visually, these color spaces are often represented by various solid shapes such as cubes, cones, or polygons. The color gamut (color gamut) represents the range of all colors that an image device can represent. The color spaces of image devices can be roughly divided into two types: Device Dependent Color and Device Independent Color. Because each image device has its own color characteristics, even image devices of the same brand have different display color gamuts. The aforementioned RGB colors and CMYK colors are all device-dependent colors. The device-independent color space (such as CIEXYZ, CIExyz, CIELAB, CIELUV, etc.) belongs to the color coordinate system formulated by the International Color Standards Committee (CIE), and its image color data will not change the color coordinate data due to different devices.
由于不同装置产生的图像并不一定拥有相同的色彩信号,即使采用同样色彩空间的装置,往往因为设备从属色彩的特性,使得同样色彩坐标在不同装置上会显现出不同的色彩特性。因此,图像处理系统需要由色彩管理模块来进行色彩管理的工作,使得不同设备能够正确地表达具相同色彩特性的图像数据,以方便跨媒体之间的色彩沟通和色彩匹配。Because the images produced by different devices do not necessarily have the same color signal, even if the devices use the same color space, the same color coordinates will show different color characteristics on different devices because of the device-dependent color characteristics. Therefore, the image processing system needs a color management module to perform color management work, so that different devices can correctly express image data with the same color characteristics, so as to facilitate color communication and color matching between cross-media.
发明内容 Contents of the invention
本发明提供一种色彩管理的方法,以提供跨媒体之间的色彩沟通和色彩匹配。The invention provides a color management method to provide color communication and color matching between cross-media.
本发明是揭露一种色彩管理的方法,其包含下列步骤:(a)取得一显示装置产生的像素的色彩坐标,(b)寻找一中介色域的多个色彩坐标中最接近该像素的色彩坐标的色彩坐标,(c)依据步骤(a)所取得的色彩坐标及步骤(b)所找到的色彩坐标的多个中介色彩坐标产生多个权值,(d)产生一打印装置的多个色彩坐标中对应于该多个中介色彩坐标的多个色彩坐标,(e)依据该多个权值及步骤(d)产生的多个色彩坐标产生一色彩坐标,以及(f)依据步骤(e)产生的色彩坐标打印该像素。The present invention discloses a color management method, which includes the following steps: (a) obtaining the color coordinates of a pixel generated by a display device, (b) finding the color closest to the pixel among multiple color coordinates of an intermediate color gamut The color coordinates of the coordinates, (c) generate multiple weights according to the color coordinates obtained in step (a) and the color coordinates of the color coordinates found in step (b), and (d) generate multiple weights for a printing device. A plurality of color coordinates corresponding to the plurality of intermediate color coordinates in the color coordinates, (e) generating a color coordinate according to the plurality of weights and the plurality of color coordinates generated in step (d), and (f) according to step (e ) to print the pixel at the color coordinates produced.
本发明另揭露一种色彩管理的方法,其包含下列步骤:(a)取得一打印装置产生的像素的色彩坐标,(b)寻找一中介色域的多个色彩坐标中最接近该像素的色彩坐标的色彩坐标,(c)依据步骤(a)所取得的色彩坐标及步骤(b)所找到的色彩坐标的多个中介色彩坐标产生多个权值,(d)产生一显示装置的多个色彩坐标中对应于该多个中介色彩坐标的多个色彩坐标,(e)依据该多个权值及步骤(d)产生的多个色彩坐标产生一色彩坐标,以及(f)依据步骤(e)产生的色彩坐标显示该像素。The present invention also discloses a color management method, which includes the following steps: (a) obtaining the color coordinates of a pixel generated by a printing device, (b) finding the color closest to the pixel among multiple color coordinates of an intermediate color gamut The color coordinates of the coordinates, (c) generate a plurality of weights according to a plurality of intermediary color coordinates of the color coordinates obtained in step (a) and the color coordinates found in step (b), (d) generate a plurality of weights for a display device A plurality of color coordinates corresponding to the plurality of intermediate color coordinates in the color coordinates, (e) generating a color coordinate according to the plurality of weights and the plurality of color coordinates generated in step (d), and (f) according to step (e ) produces color coordinates displaying the pixel.
附图说明 Description of drawings
图1为一显示装置的色彩空间的示意图。FIG. 1 is a schematic diagram of a color space of a display device.
图2为一中介色域的示意图。FIG. 2 is a schematic diagram of an intermediate color gamut.
图3为一显示装置的中介色域三维内插表细部结构的示意图。FIG. 3 is a schematic diagram of a detailed structure of an intermediate color gamut three-dimensional interpolation table of a display device.
图4至图9为图3中介色域的一子中介色域的示意图。4 to 9 are schematic diagrams of a sub-intermediate color gamut of the intermediate color gamut in FIG. 3 .
图10为一打印装置的中介色域三维内插表细部结构的示意图。FIG. 10 is a schematic diagram of a detailed structure of an intermediate color gamut three-dimensional interpolation table of a printing device.
图11至图16为图10中介色域的一子中介色域的示意图。11 to 16 are schematic diagrams of a sub-intermediate color gamut of the intermediate color gamut in FIG. 10 .
附图符号说明Description of reference symbols
10:色彩空间10: Color space
20、30、100:中介色域三维内插表20, 30, 100: 3D interpolation table of intermediate color gamut
pQ1-pQ8、dQ1-dQ8:子中介色域pQ1-pQ8, dQ1-dQ8: sub-intermediate color gamut
pT1-pT6、dT1-dT6:四面体pT1-pT6, dT1-dT6: Tetrahedral
pP1-pP8、dP1-dP8:顶点pP1-pP8, dP1-dP8: vertices
pV1-pV4、dV1-dV4:向量pV1-pV4, dV1-dV4: vector
具体实施方式 Detailed ways
假设一显示装置采用设备从属色彩的RGB色彩空间,以R,G,B三坐标来表达一像素的色彩成分;一中介色域(例如sRGB色彩空间)则采用R”,G”,B”三坐标来表达一像素的色彩成分;一打印装置同样采用设备从属色彩的RGB色彩空间,以R’,G’,B’三坐标来表达一像素的色彩成分。由于RGB色彩空间属于设备从属色彩,同样的色彩坐标在显示装置与打印装置上会显现不同的色彩特性,因此色彩管理模块需进行色彩坐标的转换,根据欲打印像素在显示装置的色彩空间上的色彩坐标,在打印装置的色彩空间上产生一相对应的色彩坐标,使得打印装置能根据此相对应的色彩坐标,打印出具相同色彩特性的像素。Assuming that a display device adopts the RGB color space of device-dependent colors, the color components of a pixel are expressed by R, G, and B coordinates; an intermediate color gamut (such as sRGB color space) uses R", G", and B" coordinates coordinates to express the color component of a pixel; a printing device also uses the RGB color space of the device-dependent color, and expresses the color component of a pixel with the three coordinates of R', G', and B'. Since the RGB color space belongs to the device-dependent color, The same color coordinates will show different color characteristics on the display device and the printing device, so the color management module needs to convert the color coordinates, according to the color coordinates of the pixels to be printed in the color space of the display device, in the color space of the printing device Generate a corresponding color coordinate, so that the printing device can print out pixels with the same color characteristics according to the corresponding color coordinate.
请参考图1,图1代表一显示装置所采用的色彩空间10。一预打印的像素P在色彩空间10上的坐标为(R,G,B),坐标(R,G,B)代表像素P在色彩空间10上红色(R),绿色(G),以及蓝色(B)三色的成分。请参考图2,图2代表本发明由色彩空间10所建立的中介色域三维内插表20。中介色域三维内插表20是藉由色度量测过程来建立,其结构和色彩空间10类似,差别之处在于中介色域三维内插表20包含多个参考坐标,由图中的圆点表示。若色彩空间10属于设备从属色彩,则由采用色彩空间10的不同装置所求得的中介色域三维内插表会包含不同的多个参考坐标。举例而言,若一显示装置和一打印装置同样采用属于设备从属色彩的色彩空间10,藉由色度量测所得到相关于显示装置和打印装置的中介色域三维内插表结构相同,但其各包含的多个相异的参考坐标。Please refer to FIG. 1 , which represents a
本发明将一像素的色彩坐标从一显示装置的色彩空间转换至一打印装置的色彩空间。首先将像素P在色彩空间10的色彩坐标(R,G,B)对应至一中介色域(例如sRGB色彩空间),其色彩坐标由(iR,iG,iB)表示。根据色彩坐标(iR,iG,iB),在显示装置的中介色域三维内插表中寻找出最接近色彩坐标(iR,iG,iB)的参考坐标(R”,G”,B”)。The invention converts the color coordinates of a pixel from the color space of a display device to the color space of a printing device. Firstly, the color coordinates (R, G, B) of the pixel P in the
首先说明如何求得色彩坐标(iR,iG,iB)。请参考图3至图9,图3代表一显示装置的中介色域三维内插表30的细部结构。三维内插表30包含以色彩坐标(Rr”,Gr”,Br”)为中心的8个显示装置子中介色域dQ1-dQ8,图4至图9说明子中介色域dQ1的结构。子中介色域dQ1是由6个四面体dT1-dT6组成,分别如图4至图9所示。色彩坐标(iR,iG,iB)可能有下列情形:First, how to obtain the color coordinates (iR, iG, iB) is described. Please refer to FIG. 3 to FIG. 9 . FIG. 3 represents a detailed structure of an intermediate color gamut three-dimensional interpolation table 30 of a display device. The three-dimensional interpolation table 30 includes 8 display device sub-intermediate color gamuts dQ1-dQ8 centered on the color coordinates (Rr", Gr", Br"). Figures 4 to 9 illustrate the structure of the sub-intermediate color gamut dQ1. The sub-intermediate The color gamut dQ1 is composed of six tetrahedrons dT1-dT6, as shown in Figure 4 to Figure 9. The color coordinates (iR, iG, iB) may have the following situations:
(1)G>B>R:色彩坐标(iR,iG,iB)对应到子中介色域dQ1内的四面体dT1内;(1) G>B>R: the color coordinates (iR, iG, iB) correspond to the tetrahedron dT1 in the sub-intermediate color gamut dQ1;
(2)G>R>B:色彩坐标(iR,iG,iB)对应到子中介色域dQ1内的四面体dT2内;(2) G>R>B: the color coordinates (iR, iG, iB) correspond to the tetrahedron dT2 in the sub-intermediate color gamut dQ1;
(3)R>G>B:色彩坐标(iR,iG,iB)对应到子中介色域dQ1内的四面体dT3内;(3) R>G>B: the color coordinates (iR, iG, iB) correspond to the tetrahedron dT3 in the sub-intermediate color gamut dQ1;
(4)B>G>R:色彩坐标(iR,iG,iB)对应到子中介色域dQ1内的四面体dT4内;(4) B>G>R: the color coordinates (iR, iG, iB) correspond to the tetrahedron dT4 in the sub-intermediate color gamut dQ1;
(5)B>R>G:色彩坐标(iR,iG,iB)对应到子中介色域dQ1内的四面体dT5内;(5) B>R>G: the color coordinates (iR, iG, iB) correspond to the tetrahedron dT5 in the sub-intermediate color gamut dQ1;
(6)R>B>G:色彩坐标(iR,iG,iB)对应到子中介色域dQ1内的四面体dT6内。(6) R>B>G: The color coordinates (iR, iG, iB) correspond to the tetrahedron dT6 in the sub-intermediate color gamut dQ1.
请参考图4,假设像素P在显示装置的色彩空间10上的色彩坐标(R,G,B)落在子中介色域dQ1内的四面体dT1内,色彩坐标(iR,iG,iB)可由四面体dT1的4个顶点dP1-dP4所代表的向量dV1,dV2,dV3和dV4来表示。向量dV1,dV2,dV3和dV4分别由顶点dP1和dP2,顶点dP2和dP3,顶点dP3和dP4,以及顶点dP1和dP4来定义,包含四面体dT1内红绿蓝各色的成分。像素P的色彩坐标(R,G,B)对应到中介色域三维内插表30的色彩坐标(iR,iG,iB)和向量dV1-dV4有下列关系:Please refer to FIG. 4 , assuming that the color coordinates (R, G, B) of the pixel P on the
iR=w1*R1”+w2*R2”+w3*R3”+w4*R4”iR=w1*R1”+w2*R2”+w3*R3”+w4*R4”
iG=w1*G1”+w2*G2”+w3*G3”+w4*G4”iG=w1*G1”+w2*G2”+w3*G3”+w4*G4”
iB=w1*B1”+w2*B2”+w3*B3”+w4*B4”iB=w1*B1”+w2*B2”+w3*B3”+w4*B4”
其中,in,
R1”-R4”分别代表四面体dT1的向量dV1-dV4在显示装置中介色域三维内插表30中红色成分的比重;R1"-R4" respectively represent the proportion of the red component of the vector dV1-dV4 of the tetrahedron dT1 in the three-dimensional interpolation table 30 of the intermediary color gamut of the display device;
G1”-G4”分别代表四面体dT1的向量dV1-dV4在显示装置中介色域三维内插表30中绿色成分的比重;以及G1"-G4" respectively represent the proportion of the green component of the vector dV1-dV4 of the tetrahedron dT1 in the three-dimensional interpolation table 30 of the intermediary color gamut of the display device; and
B1”-B4”分别代表四面体dT1的向量dV1-dV4在显示装置中介色域三维内插表30中蓝色成分的比重;B1"-B4" respectively represent the proportion of the blue component of the vector dV1-dV4 of the tetrahedron dT1 in the three-dimensional interpolation table 30 of the intermediary color gamut of the display device;
其中,in,
w1-w4分别代表色彩坐标(iR,iG,iB)以向量dV1、dV2、dV3和dV4来表示时的权值,且w1+w2+w3+w4=1。w1-w4 respectively represent the weights when the color coordinates (iR, iG, iB) are represented by vectors dV1, dV2, dV3 and dV4, and w1+w2+w3+w4=1.
本发明依据像素P在色彩空间10上的色彩坐标(R,G,B),以上述的方法,得到对应至中介色域的色彩坐标(iR,iG,iB),再寻找打印装置中介色域三维内插表30的多个色彩坐标中最接近色彩坐标(iR,iG,iB)的色彩坐标(R”,G”,B”)。请参考图10,图10代表一打印装置的中介色域三维内插表100的细部结构。打印装置中介色域三维内插表100中包含以色彩坐标(R”,G”,B”)为中心的8个子中介色域pQ1-pQ8,每个子中介色域由6个四面体pT1-pT6组成,由定义每个子中介色域的8个顶点pP1-pP4中的其中4个顶点来定义,四面体pT1-pT6的结构如图11至图16所示。本发明以打印装置中介色域100的色彩坐标(R”,G”,B”)为搜寻起点,以尝试错误的方法求出多个权值α1-α4,使得色彩坐标(iR,iG,iB)可由下列公式表示:According to the color coordinates (R, G, B) of the pixel P in the
iR=α1*R1”+α2*R2”+α3*R3”+α4*R4”iR=α1*R1”+α2*R2”+α3*R3”+α4*R4”
iG=α1*G1”+α2*G2”+α3*G3”+α4*G4”iG=α1*G1"+α2*G2"+α3*G3"+α4*G4"
iB=α1*B1”+α2*B2”+α3*B3”+α4*B4”iB=α1*B1"+α2*B2"+α3*B3"+α4*B4"
其中,in,
R1”-R4”分别代表四面体pT1的向量pV1-pV4在打印装置中介色域三维内插表100中红色成分的比重;R1"-R4" respectively represent the proportion of the red component of the vector pV1-pV4 of the tetrahedron pT1 in the three-dimensional interpolation table 100 of the intermediary color gamut of the printing device;
G1”-G4”分别代表四面体pT1的向量pV1-pV4在打印装置中介色域三维内插表100中绿色成分的比重;G1"-G4" respectively represent the proportion of the green component of the vector pV1-pV4 of the tetrahedron pT1 in the three-dimensional interpolation table 100 of the intermediary color gamut of the printing device;
B1”-B4”分别代表四面体pT1的向量pV1-pV4在打印装置中介色域三维内插表100中蓝色成分的比重;以及B1"-B4" respectively represent the proportion of the blue component of the vectors pV1-pV4 of the tetrahedron pT1 in the three-dimensional interpolation table 100 of the intermediate color gamut of the printing device; and
α1-α4分别代表色彩坐标(iR,iG,iB)以向量pV1,pV2,pV3和pV4来表示时的权值,且α1+α2+α3+α4=1。α1-α4 respectively represent the weights when the color coordinates (iR, iG, iB) are represented by vectors pV1, pV2, pV3 and pV4, and α1+α2+α3+α4=1.
针对R1”-R4”,G1”-G4”和B1”-B4”,在一打印装置的色彩空间上相对应的数值为R1’-R4’,G1’-G4’和B1’-B4’,连同先前步骤所产生的权值α1-α4,在打印装置的色彩空间可产生像素P的目标色彩坐标(R’,G’,B’)。目标色彩坐标(R’,G’,B’)代表显示装置的色彩空间10上像素P的色彩坐标(R,G,B)对应至打印装置的色彩空间上的色彩坐标,可由下列公式表示:For R1"-R4", G1"-G4" and B1"-B4", the corresponding values in the color space of a printing device are R1'-R4', G1'-G4' and B1'-B4', Together with the weights α1-α4 generated in the previous steps, the target color coordinates (R′, G′, B′) of the pixel P can be generated in the color space of the printing device. The target color coordinates (R', G', B') represent the color coordinates (R, G, B) of the pixel P on the
R’=α1*R1’+α2*R2’+α3*R3’+α4*R4’R'=α1*R1'+α2*R2'+α3*R3'+α4*R4'
G’=α1*G1’+α2*G2’+α3*G3’+α4*G4’G'=α1*G1'+α2*G2'+α3*G3'+α4*G4'
B’=α1*B1’+α2*B2’+α3*B3’+α4*B4’B'=α1*B1'+α2*B2'+α3*B3'+α4*B4'
其中,α1+α2+α3+α4=1Among them, α1+α2+α3+α4=1
最后在打印装置的色彩空间上产生相对应的色彩坐标,连同先前步骤所产生的权值α1-α4,即可产生像素P从显示装置的色彩空间10对应到打印装置的色彩空间上的目标色彩坐标(R’,G’,B’)。Finally, the corresponding color coordinates are generated in the color space of the printing device, and together with the weights α1-α4 generated in the previous steps, the pixel P can be generated from the
图3和图10所示的中介色域三维内插表30和100为sRGB色彩空间,本发明亦可采用其它色彩空间来作为中介色域三维内插表30和100,例如RGB,Photo YCC,Adobe RGB等色彩空间。The intermediary color gamut three-dimensional interpolation tables 30 and 100 shown in Fig. 3 and Fig. 10 are sRGB color spaces, and the present invention also can adopt other color spaces as the intermediary color gamut three-dimensional interpolation tables 30 and 100, such as RGB, Photo YCC, Color spaces such as Adobe RGB.
此外,本发明亦可将一像素的色彩坐标从一打印装置的色彩空间转换至一显示装置的色彩空间。针对一打印装置的色彩空间上像素P’的色彩坐标(Rr’,Gr’,Br’),本发明将色彩坐标(Rr’,Gr’,Br’)以前述的方法对应至打印装置中介色域三维内插表100以得到相对应的色彩坐标(iRr’,iGr’,iBr’),再寻找显示装置中介色域三维内插表30的多个色彩坐标中最接近色彩坐标(iRr’,iGr’,iBr’)的色彩坐标(Rr”,Gr”,Br”)。In addition, the present invention can also convert the color coordinates of a pixel from the color space of a printing device to the color space of a display device. For the color coordinates (Rr', Gr', Br') of the pixel P' on the color space of a printing device, the present invention corresponds the color coordinates (Rr', Gr', Br') to the intermediate color of the printing device in the aforementioned method Gamut three-dimensional interpolation table 100 to obtain the corresponding color coordinates (iRr', iGr', iBr'), and then find the closest color coordinates (iRr', iGr', iBr') color coordinates (Rr", Gr", Br").
如图3所示,显示装置中介色域三维内插表30中包含以色彩坐标(Rr”,Gr”,Br”)为中心的8个子中介色域dQ1-dQ8,每个子中介色域由6个四面体dT1-dT6组成,由定义每个子中介色域的8个顶点dP1-dP4中的其中4个顶点来定义。本发明以色彩坐标(Rr”,Gr”,Br”)为显示装置中介色域中的搜寻起点,以尝试错误的方式判断色彩坐标(Rr’,Gr’,Br’)对应到中介色域三维内插表30的色彩坐标(iRr’,iGr’,iBr’)的位置。假设色彩坐标(iRr’,iGr’,iBr’)位于子中介色域dQ1内的四面体dT1内,色彩坐标(iRr’,iGr’,iBr’)可由四面体dT1的4个顶点dP1-dP4所代表的向量dV1,dV2,dV3和dV4来表示。向量dV1,dV2,dV3和dV4分别由顶点dP1和dP2,顶点dP2和dP3,顶点dP3和dP4,以及顶点dP1和dP4来定义,包含四面体dT1内红绿蓝各色的成分。本发明以尝试错误的方法求出多个权值α1-α4,使得色彩坐标(iRr’,iGr’,iBr’)可由下列公式表示:As shown in FIG. 3 , the intermediary color gamut three-dimensional interpolation table 30 of the display device includes 8 sub-intermediate color gamuts dQ1-dQ8 centered on the color coordinates (Rr", Gr", Br"), and each sub-intermediate color gamut is composed of 6 sub-intermediate color gamuts. Four tetrahedrons dT1-dT6 are formed, defined by 4 vertices among the 8 vertices dP1-dP4 of each sub-intermediate color gamut. The present invention uses color coordinates (Rr", Gr", Br ") as the display device intermediary The starting point of the search in the color gamut is to judge the position of the color coordinates (Rr', Gr', Br') corresponding to the color coordinates (iRr', iGr', iBr') of the intermediate color gamut three-dimensional interpolation table 30 by trial and error . Assuming that the color coordinates (iRr', iGr', iBr') are located in the tetrahedron dT1 within the sub-intermediate color gamut dQ1, the color coordinates (iRr', iGr', iBr') can be determined by the four vertices dP1-dP4 of the tetrahedron dT1 represented by vectors dV1, dV2, dV3 and dV4. Vectors dV1, dV2, dV3 and dV4 are respectively defined by vertices dP1 and dP2, vertices dP2 and dP3, vertices dP3 and dP4, and vertices dP1 and dP4, and contain the components of red, green and blue colors in tetrahedron dT1. The present invention obtains multiple weights α1-α4 with the method of trial and error, so that the color coordinates (iRr', iGr', iBr') can be represented by the following formula:
iRr’=1*R1”+2*R2”+3*R3”+4*R4”iRr’=1*R1”+2*R2”+3*R3”+4*R4”
iGr’=1*G1”+2*G2”+3*G3”+4*G4”iGr’=1*G1”+2*G2”+3*G3”+4*G4”
iBr’=1*B1”+2*B2”+3*B3”+4*B4”iBr'=1*B1"+2*B2"+3*B3"+4*B4"
其中,in,
R1”-R4”分别代表四面体dT1的向量dV1-dV4在显示装置中介色域三维内插表30中红色成分的比重;R1"-R4" respectively represent the proportion of the red component of the vector dV1-dV4 of the tetrahedron dT1 in the three-dimensional interpolation table 30 of the intermediary color gamut of the display device;
G1”-G4”分别代表四面体dT1的向量dV1-dV4在显示装置中介色域三维内插表30中绿色成分的比重;以及G1"-G4" respectively represent the proportion of the green component of the vector dV1-dV4 of the tetrahedron dT1 in the three-dimensional interpolation table 30 of the intermediary color gamut of the display device; and
B1”-B4”分别代表四面体dT1的向量dV1-dV4在显示装置中介色域三维内插表30中蓝色成分的比重;B1"-B4" respectively represent the proportion of the blue component of the vector dV1-dV4 of the tetrahedron dT1 in the three-dimensional interpolation table 30 of the intermediary color gamut of the display device;
其中,in,
1-4分别代表色彩坐标(iRr’,iGr’,iBr’)以向量dV1,dV2,dV3和dV4来表示时的权值,且1+2+3+4=1。1-4 respectively represent the weights when the color coordinates (iRr', iGr', iBr') are represented by vectors dV1, dV2, dV3 and dV4, and 1+2+3+4=1.
针对R1”-R4”,G1”-G4”和B1”-B4”在一显示装置的色彩空间上产生相对应的R1-R4,G1-G4和B1-B4,连同先前步骤所产生的权值1-4,在显示装置的色彩空间可产生像素P’的目标色彩坐标(Rr,Gr,Br)。目标色彩坐标(Rr,Gr,Br)代表打印装置的色彩空间中像素P’的色彩坐标(R,G,B)对应至显示装置的色彩空间上的色彩坐标,可由下列公式表示:For R1"-R4", G1"-G4" and B1"-B4" generate corresponding R1-R4, G1-G4 and B1-B4 in the color space of a display device, together with the weights generated in the previous steps 1-4, the target color coordinates (Rr, Gr, Br) of the pixel P' can be generated in the color space of the display device. The target color coordinates (Rr, Gr, Br) represent the color coordinates (R, G, B) of the pixel P' in the color space of the printing device corresponding to the color coordinates on the color space of the display device, which can be expressed by the following formula:
Rr=1*R1+2*R2+3*R3+4*R4Rr=1*R1+2*R2+3*R3+4*R4
Gr=1*G1+2*G2+3*G3+4*G4Gr=1*G1+2*G2+3*G3+4*G4
Br=1*B1+2*B2+3*B3+4*B4Br=1*B1+2*B2+3*B3+4*B4
其中,1+2+3+4=1Among them, 1+2+3+4=1
本发明所求得的目标色彩坐标(Rr,Gr,Br)即为像素P’从打印装置的色彩空间对应到显示装置的色彩空间上的色彩坐标,显示装置可依据目标色彩坐标(Rr,Gr,Br)显示像素P’,得到图像的色彩特性可符合打印装置上像素P’的色彩特性。The target color coordinates (Rr, Gr, Br) obtained by the present invention are the color coordinates corresponding to the color space of the pixel P' from the color space of the printing device to the color space of the display device, and the display device can be based on the target color coordinates (Rr, Gr , Br) Displaying the pixel P', the color characteristics of the obtained image can match the color characteristics of the pixel P' on the printing device.
综上所述,本发明提供一种色彩管理的方法,藉由寻找一中介色域的多个权值,在采用不同色彩空间的设备间进行色彩坐标转换,使得不同设备能够正确地表达具相同色彩特性的图像数据,以达到跨媒体之间的色彩沟通和色彩匹配。To sum up, the present invention provides a color management method. By finding multiple weights of an intermediate color gamut, color coordinate conversion is performed between devices using different color spaces, so that different devices can correctly express the same Image data of color characteristics to achieve color communication and color matching across media.
以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100789348A CN100450144C (en) | 2005-06-17 | 2005-06-17 | Color management method capable of converting pixels with different color gamuts |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100789348A CN100450144C (en) | 2005-06-17 | 2005-06-17 | Color management method capable of converting pixels with different color gamuts |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1882034A CN1882034A (en) | 2006-12-20 |
CN100450144C true CN100450144C (en) | 2009-01-07 |
Family
ID=37519991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100789348A Expired - Fee Related CN100450144C (en) | 2005-06-17 | 2005-06-17 | Color management method capable of converting pixels with different color gamuts |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100450144C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111292235A (en) | 2019-04-25 | 2020-06-16 | 展讯通信(上海)有限公司 | Tetrahedral interpolation calculation method and device, color gamut conversion method and device, and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1122485A (en) * | 1994-11-01 | 1996-05-15 | 联华电子股份有限公司 | Image Synthesis Method and Device Using Pixel as Processing Unit |
CN1160326A (en) * | 1995-12-30 | 1997-09-24 | 三星电子株式会社 | Color signal processing method and device using two-dimensional chroma separation |
WO2003101084A1 (en) * | 2002-05-23 | 2003-12-04 | Nec Corporation | Color conversion method and color conversion device |
-
2005
- 2005-06-17 CN CNB2005100789348A patent/CN100450144C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1122485A (en) * | 1994-11-01 | 1996-05-15 | 联华电子股份有限公司 | Image Synthesis Method and Device Using Pixel as Processing Unit |
CN1160326A (en) * | 1995-12-30 | 1997-09-24 | 三星电子株式会社 | Color signal processing method and device using two-dimensional chroma separation |
WO2003101084A1 (en) * | 2002-05-23 | 2003-12-04 | Nec Corporation | Color conversion method and color conversion device |
Also Published As
Publication number | Publication date |
---|---|
CN1882034A (en) | 2006-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101166388B1 (en) | Color space conversion apparatus and control method for thereof | |
CN101646010B (en) | Information processing device, method and program | |
EP1307042A2 (en) | Method and system for management of color through conversion between color spaces | |
JP5179829B2 (en) | Gray data correction apparatus and method | |
US8018619B2 (en) | Simulation of print via a network | |
CN103931169A (en) | A Universal Color Gamut Mapping and Color Management Method | |
US20070086028A1 (en) | Gamut mapping method and apparatus | |
CN101677407A (en) | Color adjustment method for display device and related device thereof | |
JP2007280402A (en) | System and method for generating gray tones from color image data | |
JPS61288690A (en) | Color picture processing method | |
CN100450144C (en) | Color management method capable of converting pixels with different color gamuts | |
US8358439B2 (en) | Color gamut surface generating apparatus and computer-readable medium | |
US7855802B2 (en) | Time-efficient generation of color look-up table | |
KR20080064711A (en) | Image forming apparatus and color output method | |
Holm et al. | Definition & use of the ISO 12640-3 reference color gamut | |
CN108566502A (en) | A kind of color management method based on expansible colored quantum noise | |
JP4321586B2 (en) | Color conversion condition setting method for image forming apparatus, image forming apparatus, and program | |
KR101509568B1 (en) | Color correction method using rgb data | |
JP2018074304A (en) | Color processing device, color processing method, color processing system and program | |
CN103079078B (en) | Method for managing color data of color image | |
JP2007243957A (en) | System, method and program for extracting gray information from color image data | |
US20060279582A1 (en) | Color management method capable of transforming color coordinates between different color spaces | |
Semba | High-accuracy color reproduction (color management systems) | |
CN1291353C (en) | Method for making output image color of printing device consistent with original color | |
Rosen | Color Management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C56 | Change in the name or address of the patentee | ||
CP03 | Change of name, title or address |
Address after: Taipei City, Taiwan, China Patentee after: Chengyan Science &. Technology Co., Ltd. Address before: Taipei County of Taiwan Province Patentee before: Chengyan Science &. Technology Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090107 Termination date: 20130617 |