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