Re: color_quan - how for exactly 256 colors? [message #36681] |
Thu, 16 October 2003 08:50  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Oliver Thilmann writes:
> color_quan seems no viable choice: the statistical
> method does not produce exact results
What does this mean!? By definition, there will be
no "exact" results when you sample 16.7 million colors
down to 256. It just, uh..., mathematically can't be
done. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: color_quan - how for exactly 256 colors? [message #36762 is a reply to message #36681] |
Fri, 17 October 2003 01:01  |
justspam03
Messages: 36 Registered: October 2003
|
Member |
|
|
> David Fanning <david@dfanning.com> wrote in message
> news:<MPG.19f86c414eaf8be5989719@news.frii.com>...
> What does this mean!? By definition, there will be
> no "exact" results when you sample 16.7 million colors
> down to 256. It just, uh..., mathematically can't be
> done. :-)
What I mean is: I know that my image contains not more than
256 different RGB colors (out of 16.7 million) - I created
the RGB image from an indexed image and now I want to
transform it back. This can be done exactly and I wondered
whether IDL provides a method to get that done.
Cheers,
Oliver
|
|
|