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

Home » Public Forums » archive » read_tiff - simple question
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: read_tiff - simple question [message #14506 is a reply to message #14502] Sun, 28 February 1999 00:00 Go to previous messageGo to previous message
Harald von der Osten- is currently offline  Harald von der Osten-
Messages: 15
Registered: February 1999
Junior Member
Dear David,


thank you very much for your answer. Your code did it and you were right, the
TIFF-file was a 3 x m x n array.

Just the last question: How can I split the image into three 2-dim arrays and
after working with them to create again a 3 x m x n array (TIFF-file) with
these three new files?

Thanks again for your help!!!

Harald




David Fanning wrote:

>
> My guess is that this is a 24-bit image in this
> TIFF file, so there are no R, G, and B vectors that
> would create an associated color palette. The RGB
> information is included inside the image itself. You
> can easily test this by looking at image, r, g, and b
> with the HELP command:
>
> Help, image, r, g, b
>
> I think you will find that image is a 3-by-m-by-n array
> and that r, g, and b are undefined. Try this code:
>
> Device, True=24
> image = Read_Tiff('zeragon.tif')
> TV, image, True=1 ; if image is 3-by-whatever
>
>

--
Harald von der Osten-Woldenburg
Geophysical Prospection of Archaeological Sites
Landesdenkmalamt Baden-Wuerttemberg
Silberburgstrasse 193
D-70178 Stuttgart
http://delos.lf.net/~hvdosten/index.html: Geomagnetics and Geoelectrics
http://www.region-lb.de/HomeSites/HvdOsten: Ground Penetrating Radar and EMI
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem using PCOMP
Next Topic: Re: Problem with too many open files

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

Current Time: Sun Oct 12 02:04:31 PDT 2025

Total time taken to generate the page: 1.28052 seconds