home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / 12002 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.6 KB

  1. Path: sparky!uunet!ukma!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!lilleyc
  2. From: lilleyc@cs.man.ac.uk (Chris Lilley)
  3. Newsgroups: comp.graphics
  4. Subject: Re: CIE chromaticity diagram
  5. Message-ID: <6763@m1.cs.man.ac.uk>
  6. Date: 17 Nov 92 04:38:08 GMT
  7. References: <1992Nov14.174740.25347@watson.ibm.com>
  8. Sender: news@cs.man.ac.uk
  9. Organization: Dept Computer Science, University of Manchester, U.K.
  10. Lines: 53
  11.  
  12. In article <1992Nov14.174740.25347@watson.ibm.com>
  13. gaitat@gaitat.kgn.ibm.com (Saki) writes:
  14.  
  15. >I am trying to generate the CIE chromaticity diagram. 
  16.  
  17. In what way 'generate' it? Perhaps you could be more specific.
  18.  
  19. >In all the
  20. >books that I have looked they offer RGB <-> CIE conversion
  21. >matrices but they never say what are the max values for X, Y, Z.
  22.  
  23. There arent any. The colours just get brighter as you move from the
  24. origin. Remember these are measured light intensities. The sun for
  25. example, measured close to the surface, would be _very_ bright and
  26. have _very_ large X Y and Z values.
  27.  
  28. In other words, CIE XYZ is an open cone with the apex at the origin,
  29. but unbounded at the other end.
  30.  
  31. In general, relative values are sufficient. What is done is to take
  32. whatever is being treated as white, and give that a fixed, arbitrary Y
  33. value - 1,o, say, or 100 (%). Other colours are then given relative to
  34. this white.
  35.  
  36. >Given the triple (x,y,Y) = (0.628,0.346,67.2) you get 
  37. >(r,g,b) = (255,0,0).  
  38.  
  39. No, wrong. You may get that with your particular monitor, but other
  40. monitors will give different values. In other words, their R
  41. correcponds to a different colour. Or another way to look at it, other
  42. monitors use different (rgb) values to generate the same colour as is
  43. generated by (255,0,0) on yours.
  44.  
  45. It is a mistake to try and equate RGB and CIE colours. CIE can express
  46. any colour that can be seen, regardless of the hardware that is used
  47. to produce it. RGB is a device dependent way of expressing the limited
  48. range of colours that a monitor can display.
  49.  
  50. >My question is what is the reange for Y
  51. >and what happens lets say if I specify Y = 100.  What color,
  52. >if any, do I get?
  53.  
  54. I think you will now see why you don't need an answer to this question
  55. anymore.
  56.  
  57. --
  58. Chris Lilley
  59. ---------------------------------------------------------------------------
  60. Technical Author, ITTI Computer Graphics and Visualisation Training Project
  61. Computer Graphics Unit, Manchester Computing Centre, Manchester, UK
  62. Internet:   lilley@cgu.mcc.ac.uk        Janet:   lilley@uk.ac.mcc.cgu
  63. Voice:      +44 (0)61 275 6095          Fax:     +44 (0)61 275 6040
  64. ---------------------------------------------------------------------------
  65.