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

Home » Public Forums » archive » Re: image contrast, bias a la DS9
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: image contrast, bias a la DS9 [message #70595 is a reply to message #70593] Thu, 22 April 2010 07:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> The image display/processing program DS9 has a feature where you can
> interactively adjust the colormap of the image by dragging the mouse;
> this changes the colormap's "contrast" (between 0 and 10) and
> "bias" (between 0 and 1). I'd like to be able to reproduce that kind
> of adjustment in IDL (not interactively - I want to be able to apply
> the same adjustments to a number of images), but I'm not sure exactly
> what it is they're doing. Can anyone give me guidance?

I don't have any idea what they are doing, but this sounds
suspiciously similar to "windowing and leveling" an image.
That is, you select a range of image values in the image
(the window) and you center that window at some value
in the image (the level). In your case, contrast is
the window and bias is the level, I would be willing to
bet.

http://www.dfanning.com/ip_tips/contrast.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
Previous Topic: Re: Getting state of a non-exclusive button (checkbox) widget
Next Topic: Is there a way to plot with axis breaks in IDL?

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

Current Time: Fri Oct 10 22:55:23 PDT 2025

Total time taken to generate the page: 0.40498 seconds