:2008O10O20:(1984-),,,,JDFRGB到CIEXYZ色彩空间转换的研究(,710048):RGBCIEXYZ,RGBCIEXYZ,,:;RGB-CIEXYZ;:TS801.1;TS807:A:1001-3563(2009)03-0079-03StudyonColorSpaceConversionModelfromRGBtoCIEXYZLIRui2juan(Xi'anUniversityofTechnology,Xi'an710048,China)Abstract:RGBandCIEXYZcolorspaceswereintroduced.ColorspaceconversionmodelsfromRGBtoCIEXYZwereestablishedwithpolynomialregressionalgorithm.Theconversionwasrealizedwithpro2grammingandtheaccuracyofthemodelwasanalyzed.Keywords:colorspace;RGB-CIEXYZconversion;polynomialregression,,,[1],,()RGB,RGBXYZLAB,RGB(CRT)CMYK(),[2],RGBCIEXYZPhotoShop,RGBCIEXYZ11.1RGB:3,R,G,B3,RGB,RGB,RGB,,:(1),R,G,BR,G,B,R,G,B3,;(2),R,G,B,,,;,RGB[2]1.2CIEXYZCIE1931RGB,,,,,1931,CIEXYZ[3]CIEXYZ,,2RGBCIEXYZ,[4]:,(),,,,79RGBCIEXYZ3D-LUTBPVisualC++6.0,PhotoShop,RGBCIEXYZ2.111Fig.1Flowchartofpolynomialregressionalgorithm,,,,,[5]:P(x,y,z)=a1x+a2y+a3zP(x,y,z)=a0+a1x+a2y+a3zP(x,y,z)=a1x+a2y+a3z+a4xy+a5yz+a6zxP(x,y,z)=a0+a1x+a2y+a3z+a4xy+a5yz+a6zx+a10xyz(1)P(x,y,z)=a1x+a2y+a3z+a4xy+a5yz+a6zx+a7x2+a8y2+a9z2P(x,y,z)=a0+a1x+a2y+a3z+a4xy+a5yz+a6zx+a7x2+a8y2+a9z2+a10xyzP(x,y,z)=a0+a1x+a2y+a3z+a4xy+a5yz+a6zx+a7x2+a8y2+a9z2+a10xyz+a11x3+a12y3+a13z32.2RGBCIEXYZ,RGBR,G,B6(0,51,102,153,204,255),216R,G,B,PhotoShop216R,G,B,L,A,BRGBXYZ,LABLABXYZ:X=Xn(Pc+a/500)3Y=YnPc3Z=Zn(Pc-b/200)3(2):Pc=(L+16)/116,Xn=95.047,Yn=100.00,Zn=108.883(2)CIEXYZ,,(3),RGBCIEXYZP(x,y,z)=a0+a1x+a2y+a3z+a4xy+a5yz+a6zx+a7x2+a8y2+a9z2+a10xyz+a11x3+a12y3+a13z3:v1=1,v2=x,v3=y,v4=z,v5=xy,v6=yz,v7=zx,v8=x2,v9=y2,v10=z2,v11=xyz,v12=x3,v13=y3,v14=z3:det|VVc|X0:V=1x1y1z1x1y1y1z1z1x1x21y21z21x1y1z1x31y31z311x2y2ssssssssssz321x3y3ssssssssssz33ssssssssssssss1x216y216,,,,,,,,,,z3216Vc=111,1x1x2x3,x216y1y2y3,y216z1z2z3,z216x1y1x2y2s,x216y216y1z1y2z2s,y216z216z1x1z2x2s,z216x216x21x22s,x2216y21y22s,y2216z21z22s,z2216x1y1z1x2y2z2s,x216y216z216x31x32s,x3216y31y32s,y3216z31z32s,z3216:p=p1p2p3p4p5p6p7p8p9p10p11p12p1380PACKAGINGENGINEERINGVol.30No.32009.03:a=(VVc)-1(Vp)(3)RGBCIEXYZRGBCIEXYZ2[6]2RGBCIEXYZFig.2RGBtoCIEXYZcolorspaceconversion3,3.1:$E=[($X)2+($Y)2+($Z)2]1/2(4)216RGB0,51,102,153,204,255,XYZ,XYZ,,:0.543521033393012;:1.86001229286194;:0.03453697636723523,3Fig.3Colordifferencecalculationbasedonsixlevelssegmentationmodelpoints,13.2RGBR,G,B8(0,36,72,108,144,180,216,255),512R,G,B,PhotoShop512R,G,B,L,A,BRGBXYZ,LAB,(2)CIEXYZ(4),512RGB0,36,72,108,144,180,216,255,XYZ,XYZ,,:0.676389;:6.06048;:0.01584564,4Fig.4Colordifferencecalculationbasedoneightlevelssegmentationtestpoints,13.334,0.7,1$E,6$E,,4,,,,,,,,,,:[1],,.CMYKL*a*b*[J].,2007,(1):165-167.[2].[EB/OL].(2002-03-15).ht2tp://[3].[M].:,1993.[4],珺.印刷色彩管理[M].北京:印刷工业出版社,2003.[5].)))[D].:,2004.[6],.VisualC++[M].:,2004.81RGBCIEXYZ