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

Home » Public Forums » archive » Re: COLOR_QUAN question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: COLOR_QUAN question [message #16776 is a reply to message #16763] Thu, 19 August 1999 00:00 Go to previous messageGo to previous message
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
David Fanning, davidf@dfanning.com writes:

> There is no requirement, I don't think, that the
> same value be assigned the same color in two different
> instances. Only that the pixel values and the colors
> fairly represent the colors in the 3D image.

A while back someone asked for a way to force COLOR_QUAN to use a
particular color table. I tried seeding it with a dummy image
containing 256 pixels and a simple ramp through the desired table,
hoping to use /MAP_ALL and /GET_TRANSLATION to force subsequent calls
to use the same colour map.

I gave up because the colour map returned by the first call was
always different from that used to generate the dummy image. That is,
even if you feed COLOR_QUAN an RGB image with only 256 pixels (which
it should be able to reproduce exactly with an 8-bit colour table) the
RGB values of the colour map it generates are different from the
pixels' RGB values.


Struan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Interfacing (was Re: COLOR_QUAN)
Next Topic: IDL 5.2.1L for Red Hat Linux 6.0

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

Current Time: Fri Oct 10 06:50:28 PDT 2025

Total time taken to generate the page: 0.48276 seconds