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

Home » Public Forums » archive » IDL Image Binary Coloring
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 Image Binary Coloring [message #91517 is a reply to message #91498] Thu, 23 July 2015 07:43 Go to previous message
Kai Heckel is currently offline  Kai Heckel
Messages: 51
Registered: April 2015
Member
Am Dienstag, 21. Juli 2015 15:56:18 UTC+2 schrieb David Grier:
> On Tuesday, July 21, 2015 at 8:33:16 AM UTC-4, Kai Heckel wrote:
>> Hey there!
>>
>> I produced an array with 0's and 1's and I would like to visualize that simply by using the "image"-command
>>
>> I tried to figure it out by looking in the manual but that didn't help....
>>
>> Is it even possible to do that?
>>
>>
>> Greetings
>
> The image() command does not expand its argument's
> dynamic range automatically. So 1 looks very similar to 0.
>
> To address this ...
>
> IDL> img = image(bytscl(array))
>
> or
>
> IDL> img = image(255*array)


Thanks David!

I also found out that it is possible to use the MIN and MAX keyword. This also leads to a binary map.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: error bar linestyles in cgplot
Next Topic: compass search

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

Current Time: Wed Oct 08 20:09:18 PDT 2025

Total time taken to generate the page: 0.36844 seconds