资源描述:
《正在处理您的请求》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、正在处理您的请求...窗体顶部TheblogoftheZhijunDai CSDN
2、 社区
3、 技术中心
4、 BLOG首页
5、 我的首页
6、 个人档案
7、 联系作者
8、 聚合
9、 搜索
10、 登录 27篇原创:0篇翻译:0篇转载:3356次点击:0个评论:0个Trackbacks文章·DB2(RSS)·Emotion(RSS)·EnglishWord(RSS)·ImageProcessing(RSS)·Linux(RSS)·Oracle(RSS)收藏相册·MyGoldMemoryITSurvey存档·2006年12月(1)·2006年06月
11、(1)·2005年12月(1)·2005年07月(2)·2005年06月(4)·2005年05月(3)·2005年04月(7)·2005年03月(8)最近评论·dzjforth:[dzj@localhostdzj]$cdOraHome_2/bin[dzj@localhostbin]$diebash:die:commandnotfound[dzj@localhostbin]$diradaptersemutilloadpspOorapwd……·dzjforth:卸载数据库,然后重新用DBCA建数据库,建完后解除所以锁定,终于登陆成功 http:
12、//www.cs.rit.edu/~ncs/color/t_convert.htmlWhatcolorspaceweshouldusedinimageretrievalL*a*b*Becausetheeculediandistanceofthisspaceisthesameasthedistanceofwhichhumanmanperceived!ColorConversionAlgorithmsContents·RGBtoHSV&HSVtoRGB·RGBtoYIQ&YIQtoRGB·RGBtoXYZ&XYZtoRGB·XYZtoCIEL*
13、a*b*(CIELAB)&CIELABtoXYZ·XYZtoCIELUV&CIELUVtoXYZRGBtoHSV&HSVtoRGBTheHue/Saturation/ValuemodelwascreatedbyA.R.Smithin1978.Itisbasedonsuchintuitivecolorcharacteristicsastint,shadeandtone(orfamily,puretyandintensity).Thecoordinatesystemiscylindrical,andthecolorsaredefinedinsi
14、deahexcone.ThehuevalueHrunsfrom0to360º.ThesaturationSisthedegreeofstrengthorpurityandisfrom0to1.Purityishowmuchwhiteisaddedtothecolor,soS=1makesthepurestcolor(nowhite).BrightnessValsorangesfrom0to1,where0istheblack.ThereisnotransformationmatrixforRGB/HSVconversion,buttheal
15、gorithmfollows://r,g,bvaluesarefrom0to1//h=[0,360],s=[0,1],v=[0,1]//ifs==0,thenh=-1(undefined)voidRGBtoHSV(floatr,floatg,floatb,float*h,float*s,float*v){floatmin,max,delta;min=MIN(r,g,b);max=MAX(r,g,b);*v=max;//vdelta=max-min;if(max!=0)*s=delta/max;//selse{//r=g=b=0//s=0,v
16、isundefined*s=0;*h=-1;return;}if(r==max)*h=(g-b)/delta;//betweenyellow&magentaelseif(g==max)*h=2+(b-r)/delta;//betweencyan&yellowelse*h=4+(r-g)/delta;//betweenmagenta&cyan*h*=60;//degreesif(*h<0)*h+=360;}voidHSVtoRGB(float*r,float*g,float*b,floath,floats,floatv){inti;float
17、f,p,q,t;if(s==0){//achromatic(grey)*r=*g=*b=v;return;}h/=60;//sector0to5i=floor(h);f=h-i;