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 
Switch to threaded view of this topic Create a new topic Submit Reply
sec : U Re: Producing potable color images from IDL? [message #32969] Sun, 24 November 2002 15:55 Go to next 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.
>

"Producing potable color images..."


Curious typo. portable -> potable

I've been known to drink in colour images of young ladies wearing not
very much,
but seldom the sort of images that IDL generally pumps out.

Must be a pretty good program, Chris! ;-)


Andrew C.
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 next 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
------------------------------------------------------------ -----------------
Re: sec : U Re: Producing potable color images from IDL? [message #33068 is a reply to message #32969] Sun, 24 November 2002 16:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Andrew Cool (andrew.cool@dsto.defence.gov.au) writes:

> I've been known to drink in colour images of young ladies wearing not
> very much, but seldom the sort of images that IDL generally pumps out.
>
> Must be a pretty good program, Chris! ;-)

I would think something along this line would catch
the Chairman's eye and, quite possibly, lead to a
nomination in the IEPA if the images were, uh, you
know, *interesting* enough.

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Producing potable color images from IDL?
Next Topic: Discrete Laplacian

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

Current Time: Wed Oct 08 19:31:17 PDT 2025

Total time taken to generate the page: 0.07692 seconds