WO2013029528A1 - 基于hg1c1颜色空间的颜色处理方法 - Google Patents

基于hg1c1颜色空间的颜色处理方法 Download PDF

Info

Publication number
WO2013029528A1
WO2013029528A1 PCT/CN2012/080661 CN2012080661W WO2013029528A1 WO 2013029528 A1 WO2013029528 A1 WO 2013029528A1 CN 2012080661 W CN2012080661 W CN 2012080661W WO 2013029528 A1 WO2013029528 A1 WO 2013029528A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
hg1c1
vector
format
data
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.)
Ceased
Application number
PCT/CN2012/080661
Other languages
English (en)
French (fr)
Inventor
贾伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TYPONTEQ CO Ltd
Original Assignee
TYPONTEQ CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TYPONTEQ CO Ltd filed Critical TYPONTEQ CO Ltd
Priority to US14/241,879 priority Critical patent/US20150036923A1/en
Priority to JP2014527481A priority patent/JP2014525707A/ja
Priority to EP12827485.9A priority patent/EP2753059A4/en
Publication of WO2013029528A1 publication Critical patent/WO2013029528A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

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
    • 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

Definitions

  • the present invention relates to photometric application techniques, and more particularly to a color processing method for HG 1C 1 color space based on color appearance attributes. Background technique
  • Color superposition calculation and color difference calculation between colors is an important part of photometry and its application calculation, and it has a wide range of applications in industrial, artistic, and digital images.
  • the existing color chromatic aberration is defined as a difference value, which can be calculated in each color space.
  • the color difference in the C I ELAB color space is a scalar value, which is calculated as:
  • the CI EXYZ color space is a basic color space in colorimetry and is the basis for describing other color spaces.
  • Color data with CIEXYZ color space can be converted to any other color space, such as CIELAB et al., but for the newly defined color space HG1C1, there is no existing calculation to convert. Therefore, there is a need in the prior art for a method of processing color overlays and color differences in a new color space. Summary of the invention
  • the present invention solves the defects of the prior art by processing the color data by the HG1C1 color space based on the color appearance attribute, and realizes the color light superimposition and the color difference calculation directly in the color appearance color space, and can more clearly Get the information of the chromatic aberration to the three dimensions.
  • the present invention proposes a method of mutually converting color data in the C I EXYZ color space and the HG 1 C 1 color space, and the conversion method is as described in the following Equations 1 and 2.
  • the color space HG1C1 of the color appearance attribute is a color space described by a cylindrical coordinate system based on a CIEXYZ Cartesian color space;
  • the cylindrical coordinate system is composed of a color base plane and a a gray amount axis perpendicular to a plane of the color amount base plane, the gray amount axis describing a gray amount value of the color, the color base plane being a polar coordinate plane, and a color vector describing the color/
  • the color vector is a vector parallel to the base plane of the color amount, and is composed of a vector polar angle and a vector polar diameter represented in a polar coordinate system, wherein the vector polar angle is a hue angle H of the color vector,
  • the projection axis the unit vector of the projection axis direction is , , k;
  • the color C (X, ⁇ , Z) in the CIEXYZ color space in the color base plane is represented as C(i, Yj , Zk ), where X, ⁇ , ⁇ are respectively ⁇ , ⁇ , the modulus values of the three directions, 1, j, and the polar angles are respectively 0. , 120. And 240. ;
  • the color data is a numerical value of a color attribute of the color light, such as a tristimulus value X, Y, Z value or color tone, intensity, saturation value, etc. of the color light; the color is a visual stimulus of the color light;
  • the amount of precipitation means that if two different colors are mixed to produce white light, the process of producing white light is called gray precipitation, and the amount of ash obtained by ash amount precipitation is a gray amount precipitation value.
  • a method for processing color data according to a color appearance attribute HG1C1 color space comprising: acquiring color data of an HG1C1 format in a HG1C1 color space of a color appearance attribute; obtaining the HG1C1 format Color data of two HG1C1 formats are selected in the color data; color superimposition and/or color difference operations are performed on the color data of the two selected HG1C1 formats to obtain an operation-produced color data of the HG1C1 format.
  • a method for processing color data based on a color appearance attribute HG1C1 color space comprising: acquiring color data in an XYZ format in a CIE XYZ color space of interest; The acquired color data in the XYZ format is converted into color data in the HG1C1 format.
  • a method for processing color data based on a color appearance attribute HG1C1 color space comprising: acquiring color data of an HG1C1 format in a HG1C1 color space of interest; The acquired color data of the HG1C1 format is converted into color data of the XYZ format:
  • the color processing method in the HG1C1 color space proposed by the present invention has the advantages of direct operation in the color appearance space and more accurate description of the color difference to calculate the color difference.
  • the present invention is based on the need for a more accurate description of chromatic aberrations, and is proposed to calculate a clear difference in the three dimensions of hue, intensity and saturation, to obtain a precise color difference description of the color, and thus can be a color Compensation makes an accurate judgment basis.
  • FIG. 1 is a schematic diagram of the construction of the HG1C1 color space on which the present invention is based.
  • Figure 2 is a schematic diagram of the base plane of the color basis, ⁇ , j, unit vector and the base plane of the three equal parts.
  • Figure 3 is a schematic diagram of the HG1C1 color space on which the present invention is based.
  • Figure 4 is a schematic diagram of the C1 plane of the HG1C1 space.
  • Figure 5 is a schematic cross-sectional view of the HG1C1 color space ash volume axis.
  • Figure 6 is a flow diagram of a color processing method based on the HG1C1 color space, in accordance with one embodiment of the present invention.
  • Figure 7 is a flow chart showing the color data of the HG1C1 format in the HG1C1 color space for obtaining color appearance attributes in accordance with the present invention. detailed description
  • the calculation of the color superimposition and the calculation of the difference between the colors can be directly performed, and the color difference description information including the three dimensions of hue, intensity, and saturation can be calculated.
  • the HG1C1 color space utilized in accordance with the present invention is illustrated. It can be seen from Fig. 1 that the HG1C1 color space is a color space described by the cylindrical coordinate system based on the color appearance property of the CIE XYZ Cartesian color space; the cylindrical coordinate system is composed of a color base plane and an over-quantity base plane origin A gray quantity axis perpendicular to the plane of the basis of the color amount, the gray quantity axis describes the gray quantity value of the color; the base plane of the color amount is the polar coordinate plane, and the color vector of the color vector is a vector parallel to the plane of the basis of the color amount.
  • the projection axis, the unit vector of the projection axis direction is ⁇ , j one, k is 120 in the base plane of the color amount from the origin.
  • ⁇ , j a three vector directions divide the color basis plane into three regions; in the CIEXYZ color space unit coordinates and unit vector, j a, after normalization corresponding processing, in the CIEXYZ color space
  • the color C ( X, ⁇ , Z ) in the color base plane can be expressed as C ( , Yj , Zk ), where X, ⁇ , ⁇ are respectively, j one, three
  • the modulus values of the directions, 1, j , and polar angles are 0°, 120° and 240°, respectively.
  • the color data of a color in the HG1C1 format is in the CIE
  • the color data in the XYZ format in the XYZ space has the following relationship:
  • Min(X, Y, Z) represents the minimum of X, Y and Z
  • Figure 6 illustrates a method of color processing of a HG1C1 color space based on color appearance attributes, in accordance with one embodiment of the present invention.
  • the flow begins in step 600.
  • step 602 color data of the HG1C1 format in the HG1C1 color space of the color appearance attribute is obtained.
  • two HG1C1 format color data of any color are selected from the acquired color data of the HG1C1 format (step 604).
  • step 606 color data and/or color difference operations are performed on the selected two HG1C1 format color data to obtain an operation-generated HG1C1 format color data.
  • the user uses various methods to obtain the color data of the HG1C1 format in the HG1C1 color space of the color appearance attribute.
  • the user can specify color data of a plurality of HG1C1 formats of interest directly in the HG1C1 color space of the color appearance attribute.
  • Fig. 7 another manner of obtaining color data of the HG1C1 format in the HG1C1 color space of the color appearance attribute is shown.
  • step 702 color data of interest in the CIEXYZ color space is acquired.
  • the color data of interest is obtained according to Equation 1, respectively, to obtain color data of the corresponding HG1C1 format.
  • step 702 there are multiple ways to obtain color data of interest in the CIEXYZ color space.
  • the user can specify the number of colors in the XYZ format of interest directly in the CIEXYZ color space. According to.
  • the color data of interest in the CIEXYZ color space can also be obtained as follows.
  • the conversion of the physical color of the RGB format to the CIEXYZ color space can be done by the conversion method in the prior art, and will not be described here.
  • the color of d, C 2 can be superimposed by the following steps to obtain the color C 3 after the superimposition operation :
  • the color C 6 after the color difference operation can be performed on the two colors C 4 and C 5 by the following steps:
  • the H, G1 and C1 values of the color data CHG1C1 format are obtained by using the following formula 6 and the color vector ⁇ of the two colors C 4 and C 5 , and the gray amount precipitation value G/ c/W5 superimposed by the vector. : C 6 (3 ⁇ 4, Gl 6 , Cl 6 ):
  • the color data of the generated HG1C1 format can be regarded as an independent color after performing color superimposition operation or color difference operation on two color data in the HG1C1 color space.
  • the user can further convert the color data of the HG1C1 format generated by the operation into the CIEXYZ color space by the conversion method of the present invention, and further convert from the CIEXYZ color space to the actual physical color.
  • the conversion from the CIE ⁇ color space to the actual physical color can be accomplished by using the conversion method in the prior art, and will not be described here.
  • the color data of the HG1C1 format generated by the operation may also be converted into the color data of the ⁇ format in the CIE ⁇ color space (step 608).
  • the color data of the HG1C1 format generated by the operation is C ( ⁇ , Gl, C1), which is converted from the HG1C1 color space to the CIE ⁇ color space and then C (X, ⁇ , ⁇ )
  • the following formula 2 can be utilized. Convert color data from the HG1C1 color space to color data in the CIE ⁇ color space:
  • yet another method of color processing based on a color appearance attribute HG1C1 color space is provided.
  • the color data of interest (X, Y, Z) is obtained in the CIE XYZ color space.
  • substituting the acquired color data of interest (X, Y, Z) into Equation 1 The color data of the corresponding HGICI format in the HGICI color space.
  • the HG1C1 format color data can be processed in the HG1C1 color space or not.
  • obtaining the color data of interest (X, ⁇ , Z) in the CIE XYZ color space may directly select the color data of interest directly in the CIE XYZ color space, or may use formula 7-14
  • the physical color data of the UVW format is converted into XYZ format color data in the CIE XYZ color space to obtain color data of interest.
  • a method of color processing based on a color space attribute HG1C1 color space is obtained in the HG1C1 color space.
  • obtaining the color data of interest (H, G1, C1) in the HG1C1 color space may be the color data of the HG1C1 format selected directly in the HG1C1 color space, or may be the HG1C1 obtained by the second embodiment. Format color data.
  • the acquired color data of interest is substituted into Equation 2 to obtain color data of the corresponding XYZ format in the CIE XYZ color space.
  • the color data of the HG1C1 format can be processed in the HG1C1 color space or not.
  • the second embodiment and the third embodiment may also be combined, that is, the color data of the XYZ format in the CIE XYZ color space is converted into the color data of the HG1C1 format according to the formula 1 and the color data of the HG1C1 format is according to the formula. 2
  • the color data converted into XYZ format in the CIE XYZ color space is fused together to provide a complete process from CIE XYZ format, HG1C1 format, and then to CIE XYZ format.
  • the following is an experimental data to verify the color data processing method based on the HG1C1 color space of the present invention.
  • the ⁇ , ⁇ , ⁇ three stimulus values of the XYZ color space are converted to ⁇ , Gl, C1 in the HG1C1 color space, as shown below:
  • HG1C1 In the HG1C1 color space, take the HG1C1 values of the corresponding items in Table 1 and Table 2, and superimpose them according to the color superposition method of HG1C1 color's, and obtain the superimposed HG1C1 values as follows:
  • HG1C1 color space take the HG1C1 value of the corresponding item in Table 1 and Table 2, and perform the subtraction operation according to the color subtraction method of the HG1C1 color space.
  • the HG1C1 color difference value after the subtraction operation is obtained as follows: 5
  • two known color superposition results can be predicted by color superposition in the HG1C1 color space.
  • the prediction represents that the superposition result can be obtained by machine operation.
  • the result of the machine operation includes three quantities of H, Gl, and C1, and these three quantities can be subjectively compared with the real operation to obtain objective operation and subjective feeling.
  • Unity Traditional color processing methods do not have this feature, people only Only by inversely calculating from the specific color space used to the CIEXYZ space, and then by superimposing the tristimulus value XYZ, the superposition result is obtained, and then converted to the specific color space, in order to know that the superimposed color is subjectively visual. Feeling.
  • the color difference in the HG1C1 color space can be determined as the error of the target color production as defined by other color differences.
  • vector subtraction of the target color and the actually obtained color can be used to obtain a specific color difference.
  • C 5 ( H 5 , Gl 5 , Cl 5 ) is regarded as the target color
  • C 6 ( H 6 , Gl 6 , Cl 6 ) is the color difference.
  • the production color difference determination is completed by subtracting the CI value of the result (this CI is not a vector, which is a vector mode of the difference color) below a certain threshold.
  • the color difference and color superimposition operations in the HG1C1 color space in the present invention can also be applied to color prediction and color matching.
  • To get the target color first assume an existing color, then make the difference between the target color and the assumed color to get the tonal value of the second color. In this way, when looking for color matching, you can directly calculate what color you need to match. As long as you know the target color and a hypothetical color, you can get the second color so that it is the target color when it is superimposed with the assumed color.
  • the traditional color processing method can only inversely transform back to the machine's acceptable color color processing method (such as the ideal three primary color model), and then calculate the difference, and then change the operation result to know the result.
  • the color processing method based on the HG1C1 color space in the present invention is a simple analytical operation in the conversion calculation, which greatly simplifies the conversion calculation process and improves the conversion efficiency.
  • the mutual conversion formula of the HG1C1 format color data provided in the embodiment of the present invention is an analytical formula, and there is no cumulative error in the calculation, and thus the color data calculated by the conversion formula will be compared with the prior art.
  • the conversion formula provides higher precision of color data.

Landscapes

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

Abstract

本发明公开了基于色貌属性的HG1C1颜色空间进行颜色数据进行处理的方法。所述方法包括:获取色貌属性的HG1C1颜色空间中的HG1C1格式的颜色数据;从获得的HG1C1格式的颜色数据中选取两个HG1C1格式的颜色数据;对所选取的两个HG1C1格式的颜色数据进行颜色叠加和/或色差操作以获取一个经操作产生的HG1C1格式的颜色数据。所述方法还包括将操作产生的HG1C1格式的颜色数据转换成CIE XYZ格式的颜色数据。利用本发明的方法,可以方便地进行颜色误差判定、颜色预测和匹配和补偿。而且,本发明中的转换计算过程简单、转换速度快。

Description

基于 HG 1 C 1颜色空间的颜色处理方法 技术领域
本发明涉及光度学应用技术, 特别是涉及基于色貌属性的 HG 1C 1 颜色空间 的颜色处理方法。 背景技术
颜色叠加计算和颜色之间的色差计算是光度学及其应用计算中一个重要的 部分, 在工业、 艺术、 数字图像中有着广泛的应用。
现有的颜色叠加计算都是从现有的颜色空间如 CIELAB, CIELUV把颜色数据 转换到 CIEXYZ颜色空间进行, 无法在 C IELAB、 CI ELUV空间直接叠加, 在转换 中的转换关系非常复杂, 如下式所示: = 116 - 161
Figure imgf000002_0001
X0 = 95.045
= 500 A光源下 Y0 = 100
Z。 = 108.255 έ = 200
Figure imgf000002_0002
在 C IEXYZ颜色空间进行叠加计算后得到颜色叠加的结果, 再把计算后的数 据转换到所需要观察或者应用的颜色空间 CIELAB或者 CIELUV。这样的方法艮麻 烦, 同时因为上述转换公式是拟合出的公式, 也带来了精度的问题。
现有的颜色色差的定义为一个差别数值, 在各个颜色空间都可以进行计算, 如在 C I ELAB颜色空间的色差为一个标量数值, 其计算方式为:
AE = j(AL)2 + (Δα)2 + (Ab)2 , 其中 ΔΖ^ — 2, Αα ^ ^ - α^ Δέ = έ1 - έ2 该数值只说明颜色差别的大小而不说明颜色差异更深层属性, 无法为颜色 补偿提供依据。 新理论认为色差的本质也是一种颜色, 也有其色调, 强度和饱 和度的属性, 简单地用一个差别值来描述是不够精确的, 而是应该用一个颜色 来描述。
CI EXYZ颜色空间是色度学中一个基本的颜色空间, 是描述其他颜色空间的 基础, 有了 CIEXYZ 颜色空间的颜色数据可以转换到任何其他颜色空间中, 如 CIELAB等, 但是对于新定义的颜色空间 HG1C1, 不存在现有计算去进行转换。 因此, 现有技术中存在对可以在新的颜色空间中进行颜色叠加和颜色差进 行处理的方法的需要。 发明内容
针对现有的技术缺陷, 本发明通过基于色貌属性的 HG1C1 颜色空间对颜色 数据进行处理来解决现有技术的缺陷, 实现在色貌颜色空间直接进行色光叠加 和色差计算, 并能更明确地得到色差的精确到三个维度的信息。
本发明提出了颜色数据在 C I EXYZ颜色空间和 HG 1 C 1颜色空间的互相转换方 法, 转换方法如下述公式 1和公式 2所描述。
根据本发明,所述色貌属性的颜色空间 HG1C1为 基于 CIEXYZ笛卡尔颜色 空间的、 色貌属性的、 由柱坐标系描述的颜色空间; 所述柱坐标系由一个彩量 基平面和一个过彩量基平面原点的、 垂直于彩量基平面的灰量轴构成, 所述灰 量轴描述颜色的灰量数值, 所述彩量基平面为极坐标平面, 描述颜色的彩量矢 量 /, 所述彩量矢量是一个平行于彩量基平面的矢量, 由在极坐标系内表示的 矢量极角和矢量极径组成, 其中所述矢量极角为彩量矢量的色调角 H, 所述矢 量极径为彩量矢量的彩量数值 C1, 即一个颜色 C在色貌属性的 HG1C1颜色空间 内为 C= (Gl, / ) = (H, Gl, CI);
其中, 所述彩量基平面为 CIEXYZ笛卡尔颜色空间 X+Y+Z=K的平面, Κ 是实常数; 所述 CIEXYZ 笛卡尔颜色空间的 XYZ 轴沿直线 X=Y=Z 方向在 +丫+∑=1^平面上做投影,得到彩量基平面内的三条互为 120。的投影轴,投影轴 方向的单位矢量为 , , k; 在所述 CIEXYZ颜色空间中的颜色 C (X, Υ, Z) 在所述彩量基平面内的数据表示为 C( i, Yj , Zk ), 其中 X, Υ, Ζ分别为 ί, }·, 三个方向的模值, 1, j一 , 极角分别为 0。, 120。和 240。;
其中, CIE XYZ颜色空间到 HG1C1的转换方式如下述公式 1:
Figure imgf000003_0001
CI = Xi + Y^j + Zh
Υ> Ζ (公式 1 )
Figure imgf000003_0002
H
2X-Y-Z
2π - arccos <ζ
lJ{X-YY +{Y-Z) (X-Y)(Y-Z)
无定义, X = Υ ζ 式中, Min ( X, Y, Z )表示取 X, Y和 Z中的最小值。
本发明中, 所述颜色数据为色光的颜色属性的数值, 如色光的三刺激值 X, Y, Z值或者色调, 强度, 饱和度数值等; 所述颜色为色光的视觉刺激; 所述灰 量沉淀是指如果两个不同颜色混合时会产生白色光, 产生白色光的过程称作灰 色沉淀, 灰量沉淀得到的灰量值为灰量沉淀值。
根据本发明的一个方面, 提供了一种基于色貌属性的 HG1C1颜色空间进行 颜色数据进行处理的方法, 包括: 获取色貌属性的 HG1C1颜色空间中的 HG1C1 格式的颜色数据; 从获得的 HG1C1格式的颜色数据中选取两个 HG1C1格式的颜 色数据; 对所选取的两个 HG1C1格式的颜色数据进行颜色叠加和 /或色差操作以 获取一个经操作产生的 HG1C1格式的颜色数据。
根据本发明的另一个方面, 提供了一种基于色貌属性的 HG1C1颜色空间进 行颜色数据进行处理的方法, 包括: 获取感兴趣的 CIE XYZ颜色空间中的 XYZ 格式的颜色数据; 根据公式 1 将所获取的 XYZ格式的颜色数据转换成 HG1C1 格式的颜色数据。
根据本发明的在一个方面, 提供了一种基于色貌属性的 HG1C1颜色空间进 行颜色数据进行处理的方法, 包括: 获取感兴趣的 HG1C1颜色空间中的 HG1C1 格式的颜色数据;根据如下公式 2将所获取的 HG1C1格式的颜色数据转换成 XYZ 格式的颜色数据:
H
h = [- [·]慰寸 符, H e [0°, 360°) , h 1, 2
(公式 2 )。
Figure imgf000004_0001
本发明提出的在 HG1C1颜色空间中的颜色处理方法, 具有在色貌空间内直 接运算的优势和更精确描述色差计算色差的优势。
本发明基于对更精确的色差的描述需求, 提出用能描述颜色在色调, 强度 和饱和度三个维度的明确差别的计算方法进行计算, 得出颜色的精确的色差描 述, 也因此可以为颜色补偿做出精确的判断依据。 附图说明
图 1为本发明所依赖的 HG1C1颜色空间的构建示意图。 图 2 为彩量基平面 ί , j一 , 单位矢量以及三等分彩量基平面示意图。
图 3 为本发明所依赖的 HG1C1颜色空间示意图。
图 4 为 HG1C1空间的等 C1面示意图。
图 5 为 HG1C1颜色空间过灰量轴截面示意图。
图 6为根据本发明的一个实施例的基于 HG1C1颜色空间的颜色处理方法的流 程图。
图 7为根据本发明的获取色貌属性的 HG1C1颜色空间中的 HG1C1格式的颜色 数据的流程图。 具体实施方式
下面结合附图和实施例, 对本发明的具体实施方式作进一步详细描述。 以 下实施例用于说明本发明, 而不是用于限制本发明。
根据本发明的实施例, 在色貌属性的 HG1C1颜色空间中, 可以直接进行颜 色叠加的计算和颜色之间差别的计算, 并且计算出包含色调、 强度、 饱和度三 个维度的色差描述信息。
参见图 1-5, 示出了根据本发明所利用的 HG1C1颜色空间。 从图 1可知, HG1C1颜色空间是基于 CIE XYZ笛卡尔颜色空间的、 色貌属性的、 由柱坐标系 描述的颜色空间; 柱坐标系由一个彩量基平面和一个过彩量基平面原点的垂直 于彩量基平面的灰量轴构成, 灰量轴描述颜色的灰量数值; 彩量基平面为极坐 标平面, 描述颜色的彩量矢量 彩量矢量是一个平行于彩量基平面的矢量, 由在极坐标系内表示的矢量极角和矢量极径组成; 其中矢量极角描述彩量矢量 的色调角 Η,矢量极径描述彩量矢量的彩量数值 Cl。 因此,一个颜色 C在 HG1C1 颜色空间内可以表示为 C= ( Gl, / ) = ( H, Gl, Cl )。
彩量基平面为 CIE XYZ笛卡尔颜色空间 X+Y+Z=K^ 平面, Κ是实常数; CIE ΧΥΖ笛卡尔颜色空间的 ΧΥΖ轴沿直线 Χ=Υ=Ζ方向在 Χ+Υ+Ζ=Κ^面上做投影,得 到彩量基平面内的三条互为 120。的投影轴, 投影轴方向的单位矢量为 ί , j一, k 彩量基平面内由原点出发的互为 120。的 ί , j一 , 三个矢量方向将彩量基平面划 分为三个区域; 在进行 CIEXYZ颜色空间的单位坐标和单位矢量 , j一 , 进行归 一化对应处理之后, 在 CIEXYZ颜色空间的一个颜色 C ( X, Υ, Z )在彩量基平 面内的数据就可以表示为 C ( , Yj , Zk ), 其中 X, Υ, Ζ分别为 , j一 , 三 个方向的模值, 1, j , 极角分别为 0°, 120°和 240°。
一个颜色 C在 CIE XYZ颜色空间中的三刺激值为 X, Υ, Z,分别表示 CIE XYZ 颜色空间在 X、 Υ、 Ζ坐标轴上的数值, 即 C= (X, Y, Z);
在 HG1C1颜色空间中, 一个颜色的 HG1C1格式的颜色数据与该颜色在 CIE
XYZ空间中的 XYZ格式的颜色数据之间有如下关系:
Gl = Min(X, Υ, Z)
CI = Xi + Yj + Zk
CI Xi + Yj + Zk
2X-Y-Z
arccos Υ≥Ζ
iJ{x - γγ + (γ- ζγ + (Χ- Υ)(Υ (公式 1)
H
2Χ-Ύ -Ζ
2π - arccos Ύ <Ζ
2 l(x - γγ +(Υ- ζγ + (Χ- Υ)(Υ - Ζ)
无定义, = ;τ = ζ
式中, Min(X, Y, Z)表示取 X, Y和 Z中的最小值; 颜色 C在 CIE XYZ 颜色空间中为 C= (X, Υ, Ζ), 在纯彩量极坐标平面内为 C ( ί , Yj , Zk ), 在 HGICI颜色空间内为数对 C = ( GUCl) = ( Gl, (CI, H))。
图 6示出了根据本发明的一个实施例的基于色貌属性的 HG1C1颜色空间进 行颜色处理的方法。 如图 6所示, 流程起始于步骤 600。 在步骤 602, 获取色 貌属性的 HG1C1颜色空间中的 HG1C1格式的颜色数据。 在获取 HG1C1格式的 颜色数据之后,从获取的 HG1C1格式的颜色数据中选取两个任意颜色的 HG1C1 格式颜色数据(步骤 604 )。 接下来, 在步骤 606, 对所选取的两个 HG1C1格式 的颜色数据进行颜色叠加和 /或色差操作以获取一个经操作产生的 HG1C1格式 的颜色数据。
步骤 602中,用户使用多种方法来实现获取色貌属性的 HG1C1颜色空间中 的 HG1C1格式的颜色数据。例如,用户可以直接在色貌属性的 HG1C1颜色空间 中指定感兴趣的多个 HG1C1格式的颜色数据。 又例如, 参见图 7, 示出了获取 色貌属性的 HG1C1颜色空间中的 HG1C1格式的颜色数据的另一种方式。具体地, 在步骤 702, 获取在 CIEXYZ颜色空间中的感兴趣的颜色数据。 在步骤 704, 将感兴趣的颜色数据分别根据公式 1获得相应的 HG1C1格式的颜色数据。
步骤 702中,有多种方式获取在 CIEXYZ颜色空间中的感兴趣的颜色数据。 例如, 用户可以直接在 CIEXYZ颜色空间中指定感兴趣的 XYZ格式的颜色数 据。
可选地,也可以如下获取在 CIEXYZ颜色空间中的感兴趣的颜色数据。 RGB 格式的物理颜色转换到 CIEXYZ颜色空间可以釆用现有技术中的转换方法, 在 此不再赘述。
下面详细描述步骤 606中对所选取的两个 HG1C1格式的颜色数据进行颜色 叠加和 /或色差操作以获取一个经操作产生的 HG1C1格式的颜色数据的具体过 程。
首先描述在 HG1C1颜色空间中的颜色叠加。 假设所选取的两个 HG1C1格式 的颜色数据分别为 Ci=( , G1 Clj )和 C2=(H2, Gl2, Cl2 ),经操作产生的 HG1C1 格式的颜色数据为 C3= ( H3, Gl3, Cl3 )0
可以通过以下步骤对 d, C2两个颜色进行颜色叠加以获得叠加操作后的颜 色 C3:
利用下述公式 3获得 C C2两个颜色的彩量矢量 ^;, 矢量叠加后的灰量 沉淀值 Gl ciiCi2; = [-^ ], h2 = [^-], [·]是对 ·取整算符, Ηγ, 2 G[0°,360°)
120° 120
0, h, Ah2 =
Gl clcl2 skillO -Η,) smiH,) ΆΏ(240 -H7) ΆΏ(Η7 -120°)
min( -ah —ax+ — σ2, σ2), /¾=o, =i;
sin(60°) sin(60°) sin(60°) sin(60°)
sin(120° - H, ) sm(H7 - 240 ) skiH, ) ά ω—ΗΊ )
min( -ax+ σ2, —ah — σ2), ΑΙ=Ο,Α2 = 2 ,. sin(60°) sin(60°) sin(60°) sin(60°) (么式 3 sin ¾- 240°) sin(240° -Η) sm(H, -120°) ά ω ~H7)
min( σ2, -α αχ+ — σ2), ΑΙ = Ι,Α2 = 2
sin(60°) sin(60°) sin(60°) sin(60°)
利用下述公式 4以及所述 C C2两个颜色的彩量矢量^; , a2矢量叠加后的 灰量沉淀值 Glclxd2获得所述颜色数据 C3的 HG1C1格式的 H, G1和 C1值 C3( ¾, Gl3, Cl3): G =Gl2+Glx+Glckch
C/3 = ^Cl,2 + Cl2 2 + 2Clx x C/2 x cos(H! - H2)
£1 xcos(H) + C/2xcos(H2), C/,xsin(H) + C/2xsin(H2)、 n
arccos( ~ ! ^-^ ^^-), ~ ! ^-^ >0( - Α Λ
C/ CI, χ cosH!) + C/2 χ cos(H2) 么 ^^
Cl,xsm(H,) + Cl2xsm(H2) ;Q
Figure imgf000008_0001
Clx x cos(H! ) + C/2 x cos(H2 ) 接下来, 介绍 HG1C1颜色空间中的颜色差操作。 假设所选取的两个 HG1C1 格式的颜色数据分别为 C4= (¾, Gl4, CI4)和 C5= (H5, Gl5, Cl5), 经操作产 生的 HG1C1格式的颜色数据为 C6= ( H6, Gl6, Cl6 )。
可以通过以下步骤对 C4, C5两个颜色进行颜色差操作后的颜色 C6:
通过以下步骤获得 HG1C1颜色空间中的颜色 C4= (¾, GI4, CI4)相对于颜 色 C5= (¾, Gl5, Cl5) 的颜色色差 C6= (H6, Gl6, Cl6 ):
利用下述公式 5获得 C4, C5两个颜色的彩量矢量 , a5矢量叠加后的灰 量沉淀值 GI , , :
H,
H4, M e[0°,360°)
(公式 5 );
sin(60') sii<60') sii<60') sii<60')
Figure imgf000008_0003
利用下述公式 6 以及所述 C4, C5两个颜色的彩量矢量 ^ , 矢量叠加后 的灰量沉淀值 G/c/W5获得所述颜色数据 C HG1C1格式的 H、 G1和 C1值: C6 (¾, Gl6, Cl6 ):
Q6=G5-Q4+Gd4d5,
Figure imgf000009_0001
(公式 6 )。 α4 xcos( 4)-a, xcos( ,) a4xsin(H4)-a, xsin(H,)
27Γ— arccos (- ), <0
Figure imgf000009_0002
C74 x cos(H4) - CL x cos(H5 )
本发明中, 不论是对 HG1C1颜色空间中的两个颜色数据进行颜色叠加操作 还是颜色差操作之后, 所产生的 HG1C1格式的颜色数据均可以视为一个独立的 颜色。 用户可以将经操作产生的 HG1C1格式的颜色数据釆用本发明的转换方法 进一步转换到 CIEXYZ颜色空间,并且进一步从 CIEXYZ颜色空间转换成实际 的物理颜色。 从 CIE ΧΥΖ颜色空间转换成实际的物理颜色可以利用现有技术中 的转换方式完成, 在此不再赘述。
可选地, 在步骤 606之后, 还可以将经操作产生的 HG1C1格式的颜色数据 转换成 CIE ΧΥΖ颜色空间中的 ΧΥΖ格式的颜色数据 (步骤 608 )。 假设经操作 产生的 HG1C1格式的颜色数据为 C (Η, Gl, C1), 其从 HG1C1颜色空间转换到 CIE ΧΥΖ颜色空间中之后为 C (X, Υ, Ζ), 则可以利用下述公式 2将 HG1C1 颜色空间中的颜色数据转换到 CIE ΧΥΖ颜色空间中的颜色数据:
h = [ ~ ], [·]慰寸 符, He[0°,360o),h^),l,2
(公式 2 )。
Figure imgf000009_0003
根据本发明的第二实施例, 提供了又一种基于色貌属性的 HG1C1颜色空间 进行颜色处理的方法。首先,在 CIE XYZ颜色空间中获取感兴趣的颜色数据( X, Y, Z)。 其次, 将获取的感兴趣的颜色数据(X, Y, Z)代入公式 1 中获得在 HGICI颜色空间中的相应的 HGICI格式的颜色数据。 如前所述, 可以在 HG1C1 颜色空间中对 HG1C1格式的颜色数据进行处理, 也可以不进行处理。
在此实施例中, 在 CIE XYZ颜色空间中获取感兴趣的颜色数据 ( X, Υ, Z ) 可以是直接在 CIE XYZ颜色空间中直接选取感兴趣的颜色数据, 也可以是利用 公式 7-14将 UVW格式的物理颜色数据转换成 CIE XYZ颜色空间中的 XYZ格 式颜色数据来得到感兴趣的颜色数据。
本发明的第三实施例中, 一种基于色貌属性的 HG1C1颜色空间进行颜色处 理的方法。 首先, 在 HG1C1颜色空间中获取感兴趣的颜色数据(H, Gl, Cl )。 显然, 在 HG1C1颜色空间中获取感兴趣的颜色数据(H, Gl, C1 )可以是直接在 HG1C1颜色空间中选定感兴趣的 HG1C1格式的颜色数据, 也可以是利用第二实 施例获得的 HG1C1格式的颜色数据。 其次, 将获取的感兴趣的颜色数据代入公 式 2中获得在 CIE XYZ颜色空间中的相应的 XYZ格式的颜色数据。 如前所述, 可以在 HG1C1颜色空间中对 HG1C1格式的颜色数据进行处理, 也可以不进行处 理。
本发明中, 也可以将第二实施例和第三实施例合并起来, 即将 CIE XYZ颜 色空间中的 XYZ格式的颜色数据根据公式 1转换成 HG1C1格式的颜色数据和将 HG1C1格式的颜色数据根据公式 2转换成 CIE XYZ颜色空间中的 XYZ格式的颜 色数据融合在一起, 提供从 CIE XYZ格式、 HG1C1格式、 再到 CIE XYZ格式的 完整处理过程。
以下是通过实验数据来验证本发明的基于 HG1C1颜色空间的颜色数据处理 方法。
1. 基于 HG1C1颜色空间的颜色叠加验证
利用计算机取两组随机颜色, 将 XYZ颜色空间的 Χ,Υ,Ζ三刺激值数据转换 到 HG1C1颜色空间中的 Η, Gl, C1, 如下所示:
X, Υ, Ζ三原色数据 Testseql及其相应的 H、 Gl、 CI
Testseql Testseql的 HGICI表示
X Y Z H Gl CI
190 124 207 5.0409 124.0000 75.9408
48 111 136 3.4209 48.0000 78.5430
175 114 89 0.2865 89.0000 76.6225
47 78 239 4.0378 47.0000 178.5301 94 130 223 3.9150 94.0000 115.2953
160 130 140 5.9497 130.0000 26.4575
199 208 159 1.2206 159.0000 45.1774
21 203 150 2.8546 21.0000 162.1327
237 164 53 0.6423 53.0000 160.4774
198 97 77 0.1548 77.0000 112.3432
表 2 X, Y, Z三刺激值数据 Testseq2及其相应的 H、 Gl、 CI
Figure imgf000011_0001
在 CIEXYZ颜色空间进行表 1和表 2对应项的 XYZ三刺激值的分别叠加后 再转为 HG1C1值, 有 Testseql+Testseq2如下表 3所示:
表 3 testseql+testseq2及其相应的 H、 Gl、 CI
Testseql +Testseq2 Testseql+Testseq2 的 HG1C1颜色处理结果
X Y Z H Gl CI
310 234 361 4.8256 234.0000 110.6933
107 158 317 3.9538 107.0000 189.7129
390 345 146 0.8730 146.0000 224.9022
97 328 269 2.8933 97.0000 207.8774
152 242 299 3.5363 152.0000 128.3706
204 158 221 4.9721 158.0000 56.4535 257 274 267 2.7195 257.0000 14.7986
132 307 280 2.9978 132.0000 163.1839
316 316 75 1.0472 75.0000 241.0000
433 164 144 0.0620 144.0000 279.5371
在 HG1C1颜色空间, 取表 1和表 2的对应项的 HG1C1数值, 按 HG1C1颜色 '司的颜色叠加方法进行叠加, 得到叠加后的 HG1C1值如下:
表 4 testseql与 testseq2的利用 HG1C1颜色空间的颜色叠加处理结果
Figure imgf000012_0001
比较表 3和表 4的结果, 可以看出, 在 HG1C1颜色空间按 HG1C1颜色空间 进行想颜色叠加的结果和与在 CIEXYZ颜色空间三刺激值 X, Υ, Z直接相加结 果是完全一致的。
2. 基于 HG1C1颜色空间的颜色相减验证
在 CIE XYZ颜色空间进行表 1和表 2对应项的 XYZ三刺激值的分别作减 法后再转为 HG1C1值, 有 Testseql -Testseq2如下表 4所示:
表 4 testseql -testseq2及其 HG1C1颜色空间中的处理结果
Figure imgf000012_0002
-3 -172 209 4.6473 -172.000 330.6554
36 18 147 4.3180 18.0000 121.0083
116 102 59 0.8093 59.0000 51.4490
141 142 51 1.0568 51.0000 90.5041
-90 99 20 2.7124 -90.0000 164.4111
158 12 31 6.1632 12.0000 137.4882
-37 30 10 2.8466 -37.0000 59.5735 在 HG1C1颜色空间, 取表 1和表 2的对应项的 HG1C1数值, 按 HG1C1颜色 空间的颜色减法方法进行减法操作, 得到减法操作后的 HG1C1色差值如下: 表 5
Figure imgf000013_0001
比较表 4和表 5可知, 在 HG1C1颜色空间按 HG1C1颜色空间进行颜色减法 的结果和与在 CIE XYZ颜色空间三刺激值 X, Υ, Z直接做减法的结果是完全 一致的。
特别地, 在 HG1C1颜色空间进行颜色差操作时, 如果 G1为负, 说明被减颜 色 testseql的灰量值低于减颜色 testseq2的灰量值。
根据本发明, 通过在 HG1C1颜色空间中的颜色叠加, 可以预测两个已知颜 色叠加结果。 预测代表了可以通过机器运算获得叠加结果, 机器运算的结果包 含了 H, Gl, C1三个量, 而这 3个量在主观上就能够与真实操作相比对, 以获 得客观运算与主观感受的统一。 传统的颜色处理方法不具备这个功能, 人们仅 仅只能通过从使用的具体的颜色空间逆运算到 CIEXYZ空间 , 然后通过三刺激 值 XYZ的叠加, 获得叠加结果, 然后再转换到所述具体的颜色空间, 才能知道 叠加后的颜色在主观视觉上的感受。
本发明中, 在 HG1C1颜色空间中的颜色差, 可以象其他色差定义一样, 完 成对目标颜色生产时的误差判定。 具体地, 将目标颜色和实际获得的颜色做矢 量减法, 可以获得具体的色差是多少。 例如, 可以将 C4= ( H4, Gl4, CI4 )视为 实际获得的颜色, 将 C5= ( H5, Gl5, Cl5 )视为目标颜色, C6= ( H6, Gl6, Cl6 ) 即为色差。 以相减结果的 CI值(这个 CI不是矢量, 是差颜色 的矢量模)低于 某个阈值来完成生产色差判定。
本发明中的 HG1C1颜色空间中的颜色差和颜色叠加操作还可以应用在颜色 预测与颜色匹配上。 为了获取目标颜色, 先假定一个已有的颜色, 然后做目标 颜色与假定颜色的差, 获得第二个颜色的色调值。 这样, 在寻找颜色匹配时, 可以直接通过计算获得需要匹配的颜色是什么。 只要知道目标颜色和一个假定 颜色, 就可以获得第二个颜色, 使得它与假定颜色叠加即是目标颜色。 而传统 的颜色处理方法仍然只能逆变换回机器可接受的颜色颜色处理方法(比如理想 三原色模型), 然后再运算做差, 对运算结果做变换才能知道结果。
从上述各个实施例提供的颜色数据处理的方法可以看出, 本发明中的基于 HG1C1颜色空间的颜色处理方法在转换计算中都是简单的解析运算,大大简化了 转换计算过程, 提高了转换效率。 特别地, 本发明实施例中提供的与 HG1C1格 式颜色数据的相互转换公式为解析公式, 在计算中不会有累积误差, 由此转换 公式计算得到的颜色数据将会相比于现有技术的转换公式提供更高的颜色数据 的精度。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普通 技术人员来说, 在不脱离本发明技术原理的前提下, 还可以做出若干改进和润 饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权 利 要 求 书
1. 一种基于色貌属性的 HG1C1颜色空间进行颜色数据进行处理的方法, 包 获取色貌属性的 HG1C1颜色空间中的 HG1C1格式的颜色数据;
从获得的 HG1C1格式的颜色数据中选取两个 HG1C1格式的颜色数据; 对所选取的两个 HG1C1格式的颜色数据进行颜色叠加和 /或色差操作以获取 一个经操作产生的 HG1C1格式的颜色数据;
其中,所述色貌属性的颜色空间 HG1C1为基于 CIEXYZ笛卡尔颜色空间的、 色貌属性的、 由柱坐标系描述的颜色空间; 所述柱坐标系由一个彩量基平面和 一个过彩量基平面原点的、 垂直于彩量基平面的灰量轴构成, 所述灰量轴描述 颜色的灰量数值, 所述彩量基平面为极坐标平面, 描述颜色的彩量矢量 , 所 述彩量矢量是一个平行于彩量基平面的矢量, 由在极坐标系内表示的矢量极角 和矢量极径组成, 其中所述矢量极角为彩量矢量的色调角 H, 所述矢量极径为 彩量矢量的彩量数值 C1, 即一个颜色 C在色貌属性的 HG1C1颜色空间内为 C= (Gl, / ) = ( H, Gl, CI);
其中, 所述彩量基平面为 CIEXYZ笛卡尔颜色空间 X+Y+Z=K的平面, Κ 是实常数; 所述 CIEXYZ 笛卡尔颜色空间的 XYZ 轴沿直线 X=Y=Z 方向在 +丫+2=1^平面上做投影,得到彩量基平面内的三条互为 120。的投影轴,投影轴 方向的单位矢量为 ί , j一 , k - 在所述 CIEXYZ颜色空间中的颜色 C (X, Υ, Z) 在所述彩量基平面内的数据表示为 C ( ί , Yj— , Zk ), 其中 X, Υ, Ζ分别为 ί , }·, 三个方向的模值, 1, }·, 极角分别为 0。, 120。和 240。;
其中, 颜色 的11、 G1和 C1与三刺激值 X、 Υ、 Ζ的转换方式如下述公式
1:
Figure imgf000015_0001
CI = Xi + Yj + Z~k
Υ> Ζ (公式 1 )
Figure imgf000015_0002
H
2X -Y-Z
2π - arccos Y <z
2 f(X - YY +(Y- ZY + (Χ- Υ)(Υ - Ζ)
、 、无定义, = :τ = ζ
式中, Min (X, Υ, Ζ)表示取 X, Υ和 Ζ中的最小值
2. 如权利要求 1所述的方法, 其中, 所选取的两个 HG1C1格式的颜色数据 分别为 = ( , Gl Clj )和 C2= (¾, Gl2, Cl2), 经操作产生的 HGICI格式的 颜色数据为 C3= (¾, Gl3, Cl3), 对所选取的两个 HGICI格式的颜色数据进行颜 色叠加操作以获取一个经操作产生的 HG1C1格式的颜色数据包括:
通过以下步骤对 d, C2两个颜色进行颜色叠加操作以获得叠加操作后的颜 色 C3:
利用下述公式 3获得 d, C2两个颜色的彩量矢量 ^;, 矢量叠加后的灰量 沉淀 Glcl、cl,; 0°,360°)
= 0, = 1;
hi = 0, A2:
(公式 3 ); σ2), h\ = \,hi
Figure imgf000016_0001
利用下述公式 4以及所述 C C2两个颜色的彩量矢量^; , Cl2矢量叠加后的 灰量沉淀值 Glci、ci 获得所述颜色数据 C3的 HG1C1格式的 ¾, Gl3, Cl3:
Gl=GL+Gl+Gl
σ3 = ^ci,2 +ci2 2+ icix χ σ2 χ ΖΟ ΗΧ - Η2 )
> Q ,
" (公式 4)
Figure imgf000016_0002
3. 如权利要求 1所述的方法, 其中, 所选取的两个 HG1C1格式的颜色数据 分别为 C4= (H4, Gl4, Cl4)和 C5= (H5, Gl5, Cl5 ), 经操作产生的 HGICI格式 的颜色数据为 C6= ( H6, Gl6, Cl6 ), 对所选取的两个 HG1C1格式的颜色数据进行 颜色色差操作以获取一个经操作产生的 HG1C1格式的颜色数据包括: 通过以下步骤获得 HG1C1颜色空间中的颜色 C4= (¾, Gl4, Cl4)相对于颜 色 C5= (¾, Gl5, Cl5) 的颜色色差 C6= (H6, Gl6, Cl6):
利用下述公式 5获得 C4, C5两个颜色的彩量矢量^ , CL矢量叠加后的灰 量沉淀值 G/,
(公式 5 );
Figure imgf000017_0001
利用下述公式 6以及所述 C4, C5两个颜色的彩量矢量 , 矢量叠加后 的灰量沉淀值 Glckcl5获得所述颜色数据 C6的 HG1C1格式的 H6, Gl6, Cl6: α654+αΰΙΛ, ja4 2 +a5 2 -2θ4 a5 xcos(H4 -H5)
Q4 xcos(H4)-a5 xcos(H5) a4xsin(H4)_a5xsin(H5) 八 arccos( ), > ϋ
α. αΑ χ cos(H,) -σ,χ cos(H, )
(公式 6)。 α4 χ cos(H4) -α,χ cos(H.) σ4 χ ) -a χ sin(H,) -
27r_arccos( ), <U
α6 σ4 χ cos(H4) - α5 χ cos(H5 )
4. 如权利要求 1所述的方法, 其中, 获取色貌属性的 HG1C1颜色空间中的
HG1C1格式的颜色数据包括:
直接在色貌属性的 HG1C1颜色空间中指定感兴趣的多个 HG1C1格式的颜色 数据。
5. 如权利要求 1所述的方法, 其中, 获取色貌属性的 HG1C1颜色空间中的 HG1C1格式的颜色数据包括:
获取在 CIEXYZ颜色空间中的感兴趣的颜色数据;
将感兴趣的颜色数据分别根据公式 1获得相应的 HG1C1格式的颜色数据。
6. 如权利要求 1所述的方法, 进一步包括步骤:
利用公式 2将所述色貌属性的 HG1C1颜色空间中的 HG1C1格式的颜色数据 转换成 CIE XYZ颜色空间的 XYZ格式的颜色数据:
h = [ ~ ], [·]慰寸 符, He[0°,360o),h^),l,2
° (公式 2 )。
Figure imgf000018_0001
7. 一种基于色貌属性的 HGICI颜色空间进行颜色数据进行处理的方法, 包 括:
获取感兴趣的 CIE XYZ颜色空间中的 XYZ格式的颜色数据;
根据如下公式 1将所获取的 XYZ格式的颜色数据转换成 HG1C1格式的颜色 数据; 其中,所述色貌属性的颜色空间 HG1C1为 基于 CIEXYZ笛卡尔颜色空间的、 色貌属性的、 由柱坐标系描述的颜色空间; 所述柱坐标系由一个彩量基平面和 一个过彩量基平面原点的、 垂直于彩量基平面的灰量轴构成, 所述灰量轴描述 颜色的灰量数值, 所述彩量基平面为极坐标平面, 描述颜色的彩量矢量 , 所 述彩量矢量是一个平行于彩量基平面的矢量, 由在极坐标系内表示的矢量极角 和矢量极径组成, 其中所述矢量极角为彩量矢量的色调角 Η, 所述矢量极径为 彩量矢量的彩量数值 C1, 即一个颜色 C在色貌属性的 HG1C1颜色空间内为 C= (Gl, / ) = ( H, Gl, CI);
其中, 所述彩量基平面为 CIEXYZ笛卡尔颜色空间 X+Y+Z=K的平面, Κ 是实常数; 所述 CIEXYZ 笛卡尔颜色空间的 XYZ 轴沿直线 X=Y=Z 方向在 +丫+2=1^平面上做投影,得到彩量基平面内的三条互为 120。的投影轴,投影轴 方向的单位矢量为 , j一 , k- 在所述 CIEXYZ颜色空间中的颜色 C (X, Υ, Z) 在所述彩量基平面内的数据表示为 C ( ί , Yj , Zk ), 其中 X, Υ, Ζ分别为 , j一 , 三个方向的模值, 极角分别为 0°, 120°和 240C
Figure imgf000019_0001
CI Xi + Yj + Zk
CI Xi + Y^j + Zk
2X -Y-Z
arccos Υ> Ζ (公式 1 )
^χ.γγ + {γ.Ζγ +{X-Y){Y
H 2Χ -Υ-Ζ
2π - arccos ,Y <z
2^[(Χ -ΥΥ + (Υ - ΖΥ + (X -Υ)(Υ - Ζ)
、 、无定义, = :τ = ζ
式中, Min (X, Υ, Ζ)表示取 X, Υ和 Ζ中的最小值
8. 一种基于色貌属性的 HG1C1颜色空间进行颜色数据进行处理的方法, 包 括:
获取感兴趣的 HG1C1颜色空间中的 HG1C1格式的颜色数据;
根据如下公式 2将所获取的 HG1C1格式的颜色数据转换成 CIE XYZ颜色空 间中的 XYZ格式的颜色数据: h = [ ~ ], [·]慰寸 符, Ηε[0°,360°)Ή,1,2
° (公式 2)。
Figure imgf000020_0001
其中, 所述色貌属性的颜色空间 HG1C1为 基于 CIE XYZ笛卡尔颜色空间 的、 色貌属性的、 由柱坐标系描述的颜色空间; 所述柱坐标系由一个彩量基平 面和一个过彩量基平面原点的、 垂直于彩量基平面的灰量轴构成, 所述灰量轴 描述颜色的灰量数值, 所述彩量基平面为极坐标平面, 描述颜色的彩量矢量 , 所述彩量矢量是一个平行于彩量基平面的矢量, 由在极坐标系内表示的矢量极 角和矢量极径组成, 其中所述矢量极角为彩量矢量的色调角 H, 所述矢量极径 为彩量矢量的彩量数值 C1, 即一个颜色 C在色貌属性的 HG1C1颜色空间内为 C= (Gl, / ) = ( H, Gl, CI);
其中, 所述彩量基平面为 CIEXYZ笛卡尔颜色空间 X+Y+Z=K的平面, Κ 是实常数; 所述 CIEXYZ 笛卡尔颜色空间的 XYZ 轴沿直线 X=Y=Z 方向在 +丫+2=1^平面上做投影,得到彩量基平面内的三条互为 120。的投影轴,投影轴 方向的单位矢量为 , j一 , k- 在所述 CIEXYZ颜色空间中的颜色 C (X, Υ, Z) 在所述彩量基平面内的数据表示为 C ( ί, Yj— , Zk ), 其中 X, Υ, Ζ分别为 ί, }·, 三个方向的模值, 1, }·, 极角分别为 0。, 120。和 240。;
颜色 C的 H、 Gl和 C1的定义如下述公式 1:
Figure imgf000020_0002
CI = Xi + Y^j + Zk
Υ>Ζ (公式 1 )
Figure imgf000020_0003
H 2X-Y-Z
2π - arccos <ζ
2 f(x-YY + (Y-zy + (X-Y)(Y-Z)
、 、无定义, = :τ = ζ
式中, Min (X, Y, Z)表示取 X, Y和 Z中的最小值
9. 如权利要求 8 所述的方法, 其中, 获取感兴趣的 HG1C1颜色空间中的 HGICI格式的颜色数据包括:
直接在 HG1C1颜色空间中直接选取感兴趣的颜色数据;
或者, 利用权利要求 7所述的方法来获得 HG1C1格式的颜色数据。
PCT/CN2012/080661 2011-08-31 2012-08-28 基于hg1c1颜色空间的颜色处理方法 Ceased WO2013029528A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US14/241,879 US20150036923A1 (en) 2011-08-31 2012-08-28 Color processing method based on hg1c1
JP2014527481A JP2014525707A (ja) 2011-08-31 2012-08-28 HGlCl色空間に基づく色処理方法
EP12827485.9A EP2753059A4 (en) 2011-08-31 2012-08-28 COLOR PROCESSING METHOD BASED ON THE HG1C1 COLOR ROOM

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201110254162.4 2011-08-31
CN201110254162 2011-08-31
CN201210235897.7A CN102857766B (zh) 2011-08-31 2012-07-06 基于HGlCl颜色空间的颜色处理方法
CN201210235897.7 2012-07-06

Publications (1)

Publication Number Publication Date
WO2013029528A1 true WO2013029528A1 (zh) 2013-03-07

Family

ID=47403906

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/080661 Ceased WO2013029528A1 (zh) 2011-08-31 2012-08-28 基于hg1c1颜色空间的颜色处理方法

Country Status (5)

Country Link
US (1) US20150036923A1 (zh)
EP (1) EP2753059A4 (zh)
JP (1) JP2014525707A (zh)
CN (1) CN102857766B (zh)
WO (1) WO2013029528A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9854970B2 (en) 2012-02-21 2018-01-02 Massachusetts Eye & Ear Infirmary Calculating conjunctival redness
JP2017514658A (ja) 2014-05-02 2017-06-08 マサチューセッツ アイ アンド イヤー インファーマリー 角膜蛍光染色の等級付け

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004145198A (ja) * 2002-10-28 2004-05-20 Dainippon Ink & Chem Inc カラーマッチング方法及びそのプログラム
CN1673743A (zh) * 2005-03-30 2005-09-28 中国科学院长春光学精密机械与物理研究所 医学生化分析的色差评定方法
CN101100807A (zh) * 2007-07-10 2008-01-09 中华人民共和国青岛出入境检验检疫局 纺织品色牢度色差评级方法
CN101478698A (zh) * 2007-12-26 2009-07-08 三星Sdi株式会社 图像质量估计设备和方法

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4884130A (en) * 1988-04-29 1989-11-28 Minnesota Mining And Manufacturing Company Method of describing a color in a triaxial planar vector color space
WO2004088592A2 (en) * 2003-03-25 2004-10-14 General Electric Company Methods for processing color image data employing a chroma, hue, and intensity color representation
EP1966988A4 (en) * 2005-12-28 2009-07-29 Kwe International Inc COLOR COORDINATION SYSTEMS AND IMAGE PROCESSING
US8019150B2 (en) * 2007-10-11 2011-09-13 Kwe International, Inc. Color quantization based on desired upper bound for relative quantization step
JP5021504B2 (ja) * 2008-01-15 2012-09-12 株式会社リコー カラープロファイル作成装置、方法及びプログラムを記録したコンピュータ読取可能な記録媒体
US8446961B2 (en) * 2008-07-10 2013-05-21 Intel Corporation Color gamut scalability techniques
US9443327B2 (en) * 2008-08-06 2016-09-13 Adobe Systems Incorporated Rendering and un-rendering using profile replacement
CN101621703B (zh) * 2009-08-06 2011-12-21 大地辰星科技发展(北京)有限公司 一种图像序列色彩空间转换的方法
CN101778299A (zh) * 2010-01-28 2010-07-14 青岛大学 一种色度空间转换的方法及其系统
EP2561684A1 (en) * 2010-04-19 2013-02-27 Dolby Laboratories Licensing Corporation Quality assessment of high dynamic range, visual dynamic range and wide color gamut image and video

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004145198A (ja) * 2002-10-28 2004-05-20 Dainippon Ink & Chem Inc カラーマッチング方法及びそのプログラム
CN1673743A (zh) * 2005-03-30 2005-09-28 中国科学院长春光学精密机械与物理研究所 医学生化分析的色差评定方法
CN101100807A (zh) * 2007-07-10 2008-01-09 中华人民共和国青岛出入境检验检疫局 纺织品色牢度色差评级方法
CN101478698A (zh) * 2007-12-26 2009-07-08 三星Sdi株式会社 图像质量估计设备和方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP2753059A4 *
WANG LIXIA: "Color Difference Evaluation based on Image Color Appearance Model", GUANGDONG PRINTING, vol. 6, 31 December 2009 (2009-12-31), pages 17 - 19, XP008172746 *

Also Published As

Publication number Publication date
CN102857766B (zh) 2014-10-15
JP2014525707A (ja) 2014-09-29
EP2753059A4 (en) 2015-04-22
CN102857766A (zh) 2013-01-02
EP2753059A1 (en) 2014-07-09
US20150036923A1 (en) 2015-02-05

Similar Documents

Publication Publication Date Title
TW201243771A (en) Method for color feature extraction
CN112989904B (zh) 风格图像生成方法、模型训练方法、装置、设备和介质
Ribeiro et al. Recoloring algorithms for colorblind people: A survey
US9047804B1 (en) Lexical-based processing of color images
CN108476292A (zh) 统一多图像融合方法
CN104217409A (zh) 一种基于模拟退火最优化算法的图像色彩校正方法
TW201111836A (en) Method of comparing similarity of 3D visual objects
CN109903331A (zh) 一种基于rgb-d相机的卷积神经网络目标检测方法
CN103366364A (zh) 一种基于颜色差异的抠图方法
CN102609950A (zh) 一种二维视频深度图的生成方法
CN114998596A (zh) 基于视觉感知的高动态范围立体全向图像质量评价方法
WO2013029528A1 (zh) 基于hg1c1颜色空间的颜色处理方法
WO2019080243A1 (zh) 改善域外色重叠映射的方法
CN107464213B (zh) 基于单色色盘的Lab空间映射的重着色方法
CN104994362A (zh) 白平衡处理的方法及装置
CN112652024A (zh) 一种基于颜色和谐的对图像重新替色的方法
CN110287435A (zh) 网页展现方法、系统和机器可读存储介质
CN106373084B (zh) 一种特效推荐方法及装置
CN105335980B (zh) 一种适合图像sift特征匹配的彩色图像转亮度图像方法
Wong et al. Single image realism assessment and recoloring by color compatibility
Bologna et al. Sonification of color and depth in a mobility aid for blind people
Tan et al. Palette-based color harmonization
CN115063307A (zh) 一种基于亮度一致性的增强现实色度调节方法
CN112397138A (zh) 基于ai技术绘制毒株蛋白质二维谱的方法
Wang et al. To perform white balance using skin memory color

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: 12827485

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2014527481

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2012827485

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 14241879

Country of ref document: US