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

Home » Public Forums » archive » sec : U Re: Producing potable color images from IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
sec : U Re: Producing potable color images from IDL? [message #32970 is a reply to message #32969] Sun, 24 November 2002 15:17 Go to previous messageGo to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
Chris Mulliss wrote:
>
> Hello,
>
> This is not strictly an IDL question, but here goes...
>
> When I produce 24-bit color images in IDL (running on a SUN) and try to
> display them on an SGI or Windows box, they tend to come out looking very
> dark.
>
> I have been told that it is probably a hardware-dependent gamma correction
> problem. I have been told also that the PNG image format has the ability to
> store the gamma value of the machine that the image was created so that the
> image can be "gamma corrected" on other platforms. IDL's help on PNG does
> not mention this feature and I have this problem with all file formats that
> I have tried including PNG.
>
> So, does anybody know what is going on? Has anyone found a way to make
> images in IDL that don't look dark on other platforms? Does anyone have a
> reference to the mathematical nature of this "gamma correction" so that I
> look into accounting for it in code.
>
> Thanks,
> Chris

Chris,

Have a look at the IDL source code for XLOADCT.PRO in the
lib/utilities directory of your RSI folder for the way they
treat gamma.

Andrew

------------------------------------------------------------ -----------------
Andrew D. Cool
Electromagnetics & Propagation Group
Intelligence, Surveillance & Reconnaissance Division
Defence Science & Technology Organisation
PO Box 1500, Edinburgh
South Australia 5111

Phone : 061 8 8259 5740 Fax : 061 8 8259 6673
Email : andrew.cool@dsto.defence.gov.au
------------------------------------------------------------ -----------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Producing potable color images from IDL?
Next Topic: Discrete Laplacian

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

Current Time: Sun Oct 12 02:39:54 PDT 2025

Total time taken to generate the page: 1.67980 seconds