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

Home » Public Forums » archive » BYTSCL function
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: BYTSCL function [message #91270 is a reply to message #91269] Thu, 25 June 2015 05:09 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
g.nacarts@gmail.com writes:

> I am using the BYTSCL function to scale all values of my array and also because I want to be returned in byte type.
>
> For the array A with max = 4745.34 and min = -726643. I used the BYTSCL(A, min=0., max=160.)
>
> For the array B with max = 7.82217e+007 and min = -5.47788e+008 I tried to used only BYTSCL(B) but my image is not good. I guess that's because the max and min values are very large and small respectively?

Linear scaling on such images may result in low-contrast images. You may
prefer a log-type scaling to improve the visual result:

http://www.idlcoyote.com/ip_tips/xstretch.php

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Extraction from *.txt file
Next Topic: HELP with IF statement

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

Current Time: Wed Oct 08 17:54:06 PDT 2025

Total time taken to generate the page: 0.00472 seconds