颜色模型&颜色应用ColorModelsandColorApplications.pptVIP

  • 19
  • 0
  • 约6.36千字
  • 约 33页
  • 2018-06-23 发布于浙江
  • 举报

颜色模型&颜色应用ColorModelsandColorApplications.ppt

颜色模型&颜色应用ColorModelsandColorApplications

9.6HLS颜色模型 HLS和RGB之间的转换 RGB —〉HLS (R,G,B∈[0,255] ;L,S ∈[0,1] ;H ∈[0,360]) max=MAX(R,G,B) min=MIN(R,G,B) thelta=max-min L=(max+min)/(2*255) thelta/(max+min) 如果 L=0.5 S= thelta / (2*max - max - min) 如果 L0.5 60*(G-B)/delta 如果R=MAX H= 60*(B-R)/delta+120 如果G=MAX 60*(R-G)/ delat+240 如果B=Max 作业 Explain the derivation of CIE standard primary color and chromaticity diagram Derive expressions ior converting RCB color parameters to HSV values. Derive expressions (or converting RCB color values to HLS

文档评论(0)

1亿VIP精品文档

相关文档