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

Home » Public Forums » archive » Byte-Scaling Tiff Stacks
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: Byte-Scaling Tiff Stacks [message #49433 is a reply to message #49346] Fri, 21 July 2006 06:47 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
Magdalena83 wrote:
> I used readtiffstack.pro to read in a stack of tiffs, but I think IDL
> cycles through the color tables several times because it isn't in 8-bit
> format, producing a weird image. I have tried using
> -->plot_image, sigrange(bytscl(image_name(*,*,0)))
> to just view the first frame after being byte-scaled, and also I have
> tried
> -->scaledimage=bytscl(image_name)
> plot_image, scaledimage(*,*,0)
> but bytscl seems to do nothing.
>
> What can I do to get my images properly byte-scaled? These are just
> black and white images. Thanks
>

Hello,

You have thrown a lot of things out here - many of which I don't follow.

Could you post to the news group the following...

print, SIZE(image_name)
print, MIN(image_name)
print, MAX(image_name)
DEVICE, GET_DECOMPOSED = thisDecomp
print, thisDecomp

Also, what do you mean by "black and white images"? Do you really mean
greyscale or do you mean bilevel (like 0 and 1 or 0 and 255)?

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Subpixel registration with idl/envi
Next Topic: Irregular grid -> 2D binned

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

Current Time: Wed Oct 08 15:13:46 PDT 2025

Total time taken to generate the page: 0.00397 seconds