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

Home » Public Forums » archive » Re: Fanning's LogScl routine + Colorbar??
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: Fanning's LogScl routine + Colorbar?? [message #71830] Sat, 24 July 2010 08:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Joe Daal writes:

> I am using the logscl to enhance the contrast of an image, something
> like:
>
> loadct,39
> image = alog10(lin_image)
> imdisp, logscl(image, min=min(image), max=max(image), Exponent=8,
> Mean=0.65)
>
> where image values vary from -1.34 to +2.05, with zeroes included.
> The image looks nice for what I want, but how do I reflect a correct
> colorbar, either for real values or the scaled ones? What is
> logarithmic, the ticks or the colors?

After thinking about this some more this morning, I decided
I would write an article about it. Normally, when I write an
article I am about 90% sure I know what I'm talking about.
(My wife says I have been overly optimistic my whole life!)

In this case, it's more like 50%. But I figure the worst
thing that could happen to me would be that I might learn
something. ;-)

You can find the article here:

http://www.dfanning.com/ip_tips/logscaledbar.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to run a program for datasets located in different folders at a single stretch
Next Topic: Inequation resolution with IDL?

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

Current Time: Wed Oct 08 15:33:04 PDT 2025

Total time taken to generate the page: 0.00395 seconds