home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / graphics / 14290 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: sparky!uunet!destroyer!cs.ubc.ca!unixg.ubc.ca!reg.triumf.ca!noel
  2. From: noel@reg.triumf.ca (NOEL GIFFIN)
  3. Newsgroups: comp.graphics
  4. Subject: Re: HSV to RGB mapping
  5. Date: 28 Jan 1993 11:29 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Lines: 25
  8. Distribution: world
  9. Message-ID: <28JAN199311295726@reg.triumf.ca>
  10. References: <C1KKq1.MD9@cs.dal.ca>
  11. NNTP-Posting-Host: reg.triumf.ca
  12. News-Software: VAX/VMS VNEWS 1.41    
  13.  
  14. In article <C1KKq1.MD9@cs.dal.ca>, rahman@ug.cs.dal.ca (Omar A. Rahman) writes...
  15. >       I have a question which I hope is not too basic, are there colours
  16. >which can be represented in the true HSV cone which cannot be represented
  17. >in the standard RGB cube? 
  18.  
  19.     From a hardware point of view, all colour monitors work in RGB. Conversion
  20. is done before it gets to your monitor.  Any colour value triple in HSV format
  21. is translated into RGB.  So in theory any HSV value should have it's
  22. counterpart in RGB.  There are some holes in this.  These numbers are integers
  23. that drive DACS for the colour guns. They have a fixed resolution, which
  24. depends on your system. Typically 6 -> 8 bits / gun. The algorithm which
  25. converts HSV -> RGB is not 1:1  There will be values for which two adjacent
  26. HSV values map into the same RGB value and the converse is also true. There
  27. will be RGB values which won't be mapped by any setting of HSV.  This is
  28. strictly an artifact of DAC resolution. The translation algorithms are 
  29. simple functions. There are no discontinuities in the algorithms that I
  30. have seen.
  31. -----------------------------------------------------------------------------
  32. If you're a horse, and someone gets on you, and falls off, and then gets right
  33. back on you, I think you should buck him off right away.
  34.                                          Deep Thoughts -- By Jack Handey
  35. -----------------------------------------------------------------------------
  36.                                 Noel@reg.triumf.ca
  37.  
  38.