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

Home » Public Forums » archive » Re: Function BYTSCL
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: Function BYTSCL [message #24641 is a reply to message #24637] Tue, 10 April 2001 06:55 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Steffen Kernchen (steffen.kernchen@student.uni-magdeburg.de) writes:

> *g* no, it is a condition for a given exercise.
> it�s for my first program, i�ve to write for a new lecture at my
> university.
> so the answer for my question should be quite simple. just 3 or 4 lines...
>
> do you have an idea?

No. Not really. :-)

This seems like a strange course. "Contrast" is a visual
property. It pertains to how something is *displayed*,
which always involves bytes sooner or later.

If you want to do something to improve contrast to an
array, I suppose you can multiply the array by some
non-linear spreading function, then "normalize" it
into the range 0 to 255, if you prefer not to use the
term "byte scale". (I guess something like
this is done with histogram equalization, come to think
of it.) Perhaps we should just wait for JD to provide
the HISTOGRAM solution. (He isn't the guest lecturer,
is he?)

Cheers,

David

P.S. Let's just say I'm glad I'm not taking an IDL
programming class. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sec : U Re: Dual head displays
Next Topic: Re: Error on shutdown of widget !@$%

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

Current Time: Wed Oct 08 13:36:33 PDT 2025

Total time taken to generate the page: 0.00431 seconds