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 #91498 is a reply to message #91496] Tue, 21 July 2015 06:56 Go to previous messageGo to previous message
dg86 is currently offline  dg86
Messages: 118
Registered: September 2012
Senior Member
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)
[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 15:10:38 PDT 2025

Total time taken to generate the page: 0.00452 seconds