Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!nntp-server.caltech.edu!gwoho From: gwoho@nntp-server.caltech.edu (g liu) Newsgroups: comp.graphics Subject: what is a good way to chose a palette? Message-ID: <1990Dec4.192455.24527@nntp-server.caltech.edu> Date: 4 Dec 90 19:24:55 GMT Organization: California Institute of Technology, Pasadena Lines: 14 what is a good way to chose a palette for a picture? when picking the palette, the number of bits per primary is reduced, and the number of colors is llimited. the algorithm must produce, when possable, colors which suround the actual colors in the picture. i.e. if 5% of pixels are, say 0, 5% are 100, and 90% are 50, and the program is told to pick 2 colors, it should pick 0 and 100, even though most pixels are 50. this is because 50 can be made by dithering the 0 and 100. if it chose, say 0 and 50, then the f-s error terms when mapping the picture would diverge, and the picture would look terible. i want the algorithm that produces the best results; i dont care about cpu time, as long as it doesn't take a few days. gwoho liu. Brought to you by Super Global Mega Corp .com