comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: color_quan - how for exactly 256 colors?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: color_quan - how for exactly 256 colors? [message #36681] Thu, 16 October 2003 08:50 Go to next message
David Fanning is currently offline  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 Go to previous message
justspam03 is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Rotation of an IDLgrPolygon about a user specified axis
Next Topic: Widget and PostScript files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:46:18 PDT 2025

Total time taken to generate the page: 0.00529 seconds