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

Home » Public Forums » archive » Re: read_tiff - simple question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: read_tiff - simple question [message #14472] Tue, 02 March 1999 00:00
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Harald von der Osten-Woldenburg wrote:
>
> Hi all,
>
> I am trying to read an existing tiff image. Doing this exactly as
> proposed in the online help menue I only get error messages. For
> example:
>
> device, true=24
> image=read_tiff(�zeraqon.tif�, r, g, b)
> tvlct, r, g, b
> tv, image
>
> leads to the error message unknown variable r in tvlct. What is missing?

Look at what you are getting for Image, R, G and B. If Image=0,
then R,G,B are the three separate images. From the OnLine help:

"For TIFF images that are RGB interleaved by image, READ_TIFF returns
the integer value zero, sets the variable defined by the PLANARCONFIG
keyword to 2, and returns three separate images in the variables defined
by the R, G, and B arguments."

If you are using IDL 5.2 then you can use QUERY_TIFF() to see what
is in your tiff file before reading it.

>
> By the way: Does something exist like an archive including all the
> discussion in this newsgroup, so that beginners like me can first have a
> look on this before asking such simple questions in this newsgroup?

There's a FAQ:

http://www.ivsoftware.com/pub/idl_faq.html

Dave

>
> Thanks a lot,
> Harald
>
> --
> 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

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: bug in systime(1) on IDL 5.2 Linux/Intel?
Next Topic: CALL_EXTERNAL

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

Current Time: Wed Oct 08 13:40:27 PDT 2025

Total time taken to generate the page: 0.00471 seconds