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

Home » Public Forums » archive » Re: IDL 8 image 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: IDL 8 image function [message #74780 is a reply to message #74779] Wed, 02 February 2011 07:30 Go to previous messageGo to previous message
sh is currently offline  sh
Messages: 26
Registered: April 2010
Junior Member
On Feb 2, 2:31 pm, sh <sebastian.h...@gmail.com> wrote:
> On Feb 2, 12:44 pm, sh <sebastian.h...@gmail.com> wrote:
>
>
>
>> On Feb 2, 11:44 am, David Forcadell <david...@gmail.com> wrote:
>
>>> On Feb 2, 11:02 am, sh <sebastian.h...@gmail.com> wrote:
>
>>>> Hi,
>
>>>> Is there any option/keyword to turn of the scaling between 0-255? I
>>>> have already scaled by values e.g. between 0 and 100 because I only
>>>> want to use this colors in the colortable, and not all of them!
>>>> Thanks!
>
>>>> Sebastian
>
>>> I am not sure that i understand you question, but perhaps you want
>>> this :
>
>>> result=BYTSCL( MAT_IN , TOP=100)
>
>> Yes I do it exactly like this, but image() rescales it again between 0
>> and 255. How to turn this off?
>
> Another question, is there any possiblity to set a background value
> like NaN in iimage?
>
> All NaN values are transformed to 0 after bytscl?

Ok I think I found the problem. Within idlitvisimage__define.pro in
line 1801 there is the bytscl, without the possibility to turn it off.

Would be nice to specify the top and bottom or even turn it off if the
data is already scaled.

Then the next think is the colorbar which didn't match when I update
line 1801 with top and bottom.
[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
Read Message
Read Message
Read Message
Previous Topic: Lists in strsplit
Next Topic: Error Bar Thoughts

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

Current Time: Wed Oct 08 15:59:57 PDT 2025

Total time taken to generate the page: 0.00233 seconds