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 #49425 is a reply to message #49346] Fri, 21 July 2006 11:36 Go to previous messageGo to previous message
Magdalena83 is currently offline  Magdalena83
Messages: 2
Registered: July 2006
Junior Member
Thanks for replying; here are my answers for your inquiries:
> Could you post to the news group the following...
>
> print, SIZE(image_name)
3 512 170 492 1 42823680
print, MIN(image_name)
0
> print, MAX(image_name)
255
> DEVICE, GET_DECOMPOSED = thisDecomp
> print, thisDecomp
0
>
> 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)?
Sorry, I meant 16-bit grayscale images.

IDL can read them fine if I convert the tiffs to 8-bits in ImageJ
beforehand, but I am worried that I will lose too much info by doing
this. I believe that byte-scaling should fix the problem, but "bytscl"
isn't working.

Basically, I am looking for the best way to read in stacks of 16-bit
tiff images so that I can perform alignment procedures on them and then
FFT certain pixels to search for oscillations in intensity.

The data was originally .fits format, but I flatted and dark-subtracted
them in ImageJ, which can't write .fits files. Thus, I now have a stack
of 2500 .tif frames ready to be aligned, but IDL doesn't read them
correctly.
Thanks for any advice you can give.
[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: Thu Oct 09 18:57:56 PDT 2025

Total time taken to generate the page: 1.12745 seconds