home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / 13135 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.graphics
  2. Path: sparky!uunet!spool.mu.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!dcdwest!benson
  3. From: benson@dcdwest.uucp (Peter Benson)
  4. Subject: Request: Computing Equally Spaced Colors
  5. Message-ID: <1992Dec21.222532.15501@dcdwest.uucp>
  6. Organization: ITT Aerospace/Communications Division - West
  7. Date: Mon, 21 Dec 92 22:25:32 GMT
  8. Lines: 27
  9.  
  10. I would like to be able to generate a set of N equally spaced colors of
  11. constant brightness.  By equally spaced, I mean in a perceptual sense so
  12. that each color is maximally distinct for that set of N.
  13.  
  14. I would also like to be able to generate sets of N equally spaced colors
  15. for the two most common classes of color-blind people, red-green and
  16. yellow-blue.  I am assuming that  this will be a similar algorithm to the
  17. early set but with one dimension excluded.
  18.  
  19. The goal is to specifiy the colors in RGB.  I suspect the correct way to
  20. do this is to sample a line in CIELUV space at N points and then transform
  21. the co-ordinates to RGB.
  22.  
  23. Is this possible?  Does the code exist to do this?  What incorrect
  24. assumptions am I making?  Is there a book somewhere that describes this
  25. process in explicit detail?
  26.  
  27. I don't read this group often so e-mail answers would be appreciated.
  28.  
  29. Thanks in advance.
  30.  
  31.  
  32. -- 
  33. Peter Benson, Ph.D.             | ITT Aerospace/Communications Division
  34. phone: (619)578-3080            | 10060 Carroll Canyon Road
  35. fax:   (619)578-5371            | San Diego, CA 92131
  36. email: dcdwest!benson@UCSD.EDU  |
  37.