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

Home » Public Forums » archive » bytscl problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
bytscl problems [message #7925] Fri, 24 January 1997 00:00
Phil Williams is currently offline  Phil Williams
Messages: 78
Registered: April 1996
Member
What's going on here:

IDL> help,slice
SLICE LONG = Array(64, 64)
IDL> print,!d.n_colors
256
IDL> print,max(slice)
395862411
IDL> bslice = bytscl(slice)
IDL> print,max(bslice)
255
IDL> bslice = bytscl(slice,top = 100)
IDL> print,max(bslice)
245

Shouldn't the max of bslice now be 100? Is this a bug in bslice?

Any help would be appreciated.

Thanks,
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
[Message index]
 
Read Message
Previous Topic: Re: Which Hi-Res Coastline Map does IDL Use? Other good maps?
Next Topic: Re: Reading Multiple Image TIFFs

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

Current Time: Sat Oct 11 14:42:59 PDT 2025

Total time taken to generate the page: 1.43840 seconds