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

Home » Public Forums » archive » Re: Color table question
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: Color table question [message #427] Fri, 14 August 1992 14:38 Go to previous message
snoopy is currently offline  snoopy
Messages: 6
Registered: March 1992
Junior Member
If, after trying all the previous suggestions, the image still
doesn't improve the problem may lie in the distribution of the
data across the dynamic range of the display system. This can
be improved by normalizing the data-set so that the frequency
distribution (histogram) or the pdf (probability density
function) of the data will be flat across the entire range of
the data or the display system.

You can do a histogram equalization (or normalization) on the
data with the following command:

newdata = HIST_EQUAL(olddata)

and then redisplay the modified data.


Although this will improve the dynamic range of the data itself,
the result still depends somewhat upon the choice of the color-
table.

--rv


P.S.

Also, in the original posting where the data was scaled to fit
into bytes (using BYTSCL) and values less than 10 were zeroed
out, the following version of BYTSCL using keywords min and max
may be used instead with perhaps better results:

newdata = BYTSCL(olddata, min=10, max=max(olddata))
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL/PVWAVE History
Next Topic: /NORM with OPLOT and other thoughts

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

Current Time: Wed Oct 08 18:36:11 PDT 2025

Total time taken to generate the page: 0.00367 seconds